Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: read -s
- X-seq: zsh-users 5243
- From: Oliver Sturm <o.sturm@xxxxxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: read -s
- Date: 15 Aug 2002 09:49:13 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <E17ezfU-00042N-00@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <1029335491.21222.75.camel@carrot> <E17ezfU-00042N-00@xxxxxxxxxxxxxxxxxx>
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