Click to See Complete Forum and Search --> : How can I hide information while reading from System.in


Axel Goldbach
October 11th, 1999, 03:42 AM
Hi there,

how can I hide information while reading from System.in ?

I want to develop a remote console for applications. This console reads from System.in. The problem is: every keystroke of printable characters is printed immediately to the screen. If I have to ask for a password I want (have ?) to hide the input of the user. Is there a possibility to read data from System.in before the user presses the enter key ? I don't want to use any graphical components like login dialog boxes (if it's possible).

Bye
Axel.