GBurk
asked on
no echo for a password field
I'm on a unix system running "SunOS Release 4.1.2 (GENERIC)" on a Sun SPARC station 670MP. I'm using the GNU project C and C++ Compiler (v2.4).
I need to get keyboard input and store it without echoing the typed characters to the screen like in a password prompt...
I've recieved many suggestions (on IRC) telling me to use the getchar(), getch(), getc() functions. When I use these, however, I can still see typed characters...
I've also tried changing the text color with textcolor() to that of the background, but the compiler I'm using doesn't have the conio.h header file.
If you have any suggestions let me know, please tell me the header files and libraries required to do this.
I need to get keyboard input and store it without echoing the typed characters to the screen like in a password prompt...
I've recieved many suggestions (on IRC) telling me to use the getchar(), getch(), getc() functions. When I use these, however, I can still see typed characters...
I've also tried changing the text color with textcolor() to that of the background, but the compiler I'm using doesn't have the conio.h header file.
If you have any suggestions let me know, please tell me the header files and libraries required to do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.