From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9532 invoked from network); 15 Aug 2002 07:49:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Aug 2002 07:49:48 -0000 Received: (qmail 25920 invoked by alias); 15 Aug 2002 07:49:20 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5243 Received: (qmail 25903 invoked from network); 15 Aug 2002 07:49:17 -0000 Subject: Re: read -s From: Oliver Sturm To: Oliver Kiddle Cc: zsh-users@sunsite.dk In-Reply-To: References: <1029335491.21222.75.camel@carrot> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 15 Aug 2002 09:49:13 +0200 Message-Id: <1029397753.8590.37.camel@carrot> Mime-Version: 1.0 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