Reading from stdin
Tim Panton - Westhawk Ltd
tpanton at ibm.net
Sat Nov 12 19:29:10 PST 2005
colinv <colinv at padd.press.net> wrote:
__________
>Nicholas Wright wrote:
>>
>> Hmmm... would you get anywhere by redirecting System.setOut() and
>> System.setErr()?
>>
>> Probably not, but just a suggestion.
>>
>
>You're right.... not :¬(
>
>
In pure java you can't, on Unix
the echo is done by the tty
driver in the kernel.
Your best bet is to exec 'stty -echo',
or better yet, do it in the shell
script that starts your program.
I don't know the windows (or mac)
equivelent.
---
URL http://www.westhawk.co.uk/
---
To unsubscribe, mail advanced-java-unsubscribe at xcf.berkeley.edu
To get help, mail advanced-java-help at xcf.berkeley.edu
More information about the Advanced-java
mailing list