-   Linux - General (
-   -   hide the characters? (

alaios 05-30-2003 10:06 PM

hide the characters?
Hi there..... i need some help with a little script file
How i can hide the characters that the user is typing...Something like the passwd command.. users writes his password , but none of the characters are visible in the screen....
I think tha command is the stty (i cant find the parameter)
Something else now.. How can i read a variable without a line feed?
I want to write a message and the cursor to stay at the right of the text to read the new value...
If i use the read command it changes automatically the line..
What i must do?

alaios 05-31-2003 03:31 PM

help me plz!!

Crashed_Again 05-31-2003 04:13 PM

No bumps sir! Don't know much about it but when I man'ed stty I saw an echo option.

alaios 06-01-2003 06:21 AM

When i use this command
stty -echo
I stop the echo of the characters///
How can i enable it again?

All times are GMT -5. The time now is 02:35 AM.