LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   hide the characters? (http://www.linuxquestions.org/questions/linux-general-1/hide-the-characters-62793/)

alaios 05-30-2003 09: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 02:31 PM

help?`
 
help me plz!!

Crashed_Again 05-31-2003 03: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 05:21 AM

xmm
 
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 06:23 AM.