Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: read -s



On Wed, 2002-08-14 at 17:02, Oliver Kiddle wrote:

> > In bash, I can do "read -s" to emulate a password prompt without any
> > echoing. Is there some way to do the same in zsh? The -s or a similar
> > parameter isn't supported, is it? Is there an external command that I
> > don't know? Thanks for any input!
> 
> You can use stty to turn off echoing. Like this:
> 
> stty -echo
> read password
> stty echo

Great, that works for me. Thanks!


                       Oliver Sturm

-- 
Fa. Manfred Dahlhoff - Buellenkothenweg 37a - 40229 Duesseldorf
Tel.: 0211-2202821   - Fax: 0211-2202822    -
http://www.Manfred-Dahlhoff.de



Messages sorted by: Reverse Date, Date, Thread, Author