How to echo a flashing cursor?
Bash Shell script on RH8. How can I display a flashing cursor in an echo statement? I have stty disable the echo from stdin while read is waiting for input, but I would like to have a flashing cursor echo.
Example: echo -n "Enter your password: " stty -echo read PW I've read quite a few man pages but haven't seen anything yet. Any ideas? |
Re: How to echo a flashing cursor?
Quote:
|
Try changing your echo statement to:
Code:
echo -en "Enter your password: \033[47;05;40m_\033[00m" |
That works to a degree
David, thanks for the info.
Can you point me to a url that has more of those codes to use with echo? thanks |
Take a look at this howto:
http://www.64-bit.de/dokumentationen...OWTO.html#toc5 |
All times are GMT -5. The time now is 03:37 PM. |