Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » console input doesn't work
console input doesn't work [message #176276] Wed, 01 September 2004 17:42 Go to next message
Derrick Hudson is currently offline Derrick HudsonFriend
Messages: 6
Registered: July 2009
Junior Member
I am developing a Java application that needs to read user input from
stdin. When I run the app in eclipse, the output is correctly
displayed in the Console view, however I am unable to type any input
in the console and the application doesn't receive any input.

I finally managed to find one relevant reference on the web:
http://dev.eclipse.org/newslists/news.eclipse.tools/msg20406 .html
however it doesn't mention a resolution.

I am using eclipse 3.0 on linux with java 1.4.2 (from Sun) and gtk 2.4.4.

Thanks for any suggestions!

-D

--
"He is no fool who gives up what he cannot keep to gain what he cannot lose."
--Jim Elliot

www: http://dman13.dyndns.org/~dman/ jabber: dman@dman13.dyndns.org
Re: console input doesn't work [message #176435 is a reply to message #176276] Thu, 02 September 2004 16:10 Go to previous messageGo to next message
Darin Wright is currently offline Darin WrightFriend
Messages: 454
Registered: July 2009
Senior Member
Is the cursor at the bottom/end of the console? We only allow typing at the
end.

Darin

"Derrick 'dman' Hudson" <dman@dman13.dyndns.org> wrote in message
news:b8eh02-kf7.ln1@dman13.dyndns.org...
>I am developing a Java application that needs to read user input from
> stdin. When I run the app in eclipse, the output is correctly
> displayed in the Console view, however I am unable to type any input
> in the console and the application doesn't receive any input.
>
> I finally managed to find one relevant reference on the web:
> http://dev.eclipse.org/newslists/news.eclipse.tools/msg20406 .html
> however it doesn't mention a resolution.
>
> I am using eclipse 3.0 on linux with java 1.4.2 (from Sun) and gtk 2.4.4.
>
> Thanks for any suggestions!
>
> -D
>
> --
> "He is no fool who gives up what he cannot keep to gain what he cannot
> lose."
> --Jim Elliot
>
> www: http://dman13.dyndns.org/~dman/ jabber:
> dman@dman13.dyndns.org
Re: console input doesn't work [message #176441 is a reply to message #176435] Thu, 02 September 2004 22:42 Go to previous message
Derrick Hudson is currently offline Derrick HudsonFriend
Messages: 6
Registered: July 2009
Junior Member
On Thu, 2 Sep 2004 11:10:11 -0500, Darin Wright wrote:
> Is the cursor at the bottom/end of the console?

I thought so.

> We only allow typing at the end.

That makes sense being a stream and not an entire cursor-addressable
terminal.

At any rate it worked today. Go figure. Maybe when I tried before
the cursor just happened to be one character (a space) before the end
of the stream and that's why it didn't work? Oh well. At least it
works now.

Thanks for your response!

-D


> Darin
>
> "Derrick 'dman' Hudson" <dman@dman13.dyndns.org> wrote in message
> news:b8eh02-kf7.ln1@dman13.dyndns.org...
>>I am developing a Java application that needs to read user input from
>> stdin. When I run the app in eclipse, the output is correctly
>> displayed in the Console view, however I am unable to type any input
>> in the console and the application doesn't receive any input.
>>
>> I finally managed to find one relevant reference on the web:
>> http://dev.eclipse.org/newslists/news.eclipse.tools/msg20406 .html
>> however it doesn't mention a resolution.
>>
>> I am using eclipse 3.0 on linux with java 1.4.2 (from Sun) and gtk 2.4.4.
>>
>> Thanks for any suggestions!
>>
>> -D

--
One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.

www: http://dman13.dyndns.org/~dman/ jabber: dman@dman13.dyndns.org
Previous Topic:How do you configure auto-build
Next Topic:Templates: modifying ${type_declaration}
Goto Forum:
  


Current Time: Sat Aug 10 07:46:53 GMT 2024

Powered by FUDForum. Page generated in 0.03613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top