Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I disable terminal echoing of input?

Status
Not open for further replies.

mike2312

IS-IT--Management
Aug 27, 2003
38
US
In C/C++ we have curses to use to manipulate the terminal in Unix/Linux/SunOS and there are functions one can use to turn off terminal echoing and then turn it back on.

Heres the issue, I want to read in a user password, the program is all text based, so I would like the password to be hidden.

What ways are there in Java to do this? Ive seen something out there called Jcurses (on sourceforge) except it looks like a dead project.
 
Hmm, maybe this is just telnet but I think there is a ECHO_OFF character perhaps per operating system?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top