From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20248 invoked from network); 14 Aug 2002 15:03:38 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Aug 2002 15:03:38 -0000 Received: (qmail 29153 invoked by alias); 14 Aug 2002 15:03:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5240 Received: (qmail 29134 invoked from network); 14 Aug 2002 15:03:10 -0000 X-VirusChecked: Checked cc: zsh-users@sunsite.dk In-reply-to: <1029335491.21222.75.camel@carrot> From: Oliver Kiddle References: <1029335491.21222.75.camel@carrot> To: Oliver Sturm Subject: Re: read -s MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15520.1029337339.1@logica.com> Date: Wed, 14 Aug 2002 16:02:40 +0100 Sender: kiddleo@logica.com Message-Id: On 14 Aug, you 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 I expect it would be fairly easy to add this -s option to the read in zsh. Does anyone think it would be worth doing? Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.