From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Oliver Sturm <o.sturm@manfred-dahlhoff.de>
Cc: zsh-users@sunsite.dk
Subject: Re: read -s
Date: Wed, 14 Aug 2002 16:02:40 +0100 [thread overview]
Message-ID: <E17ezfU-00042N-00@bimbo.logica.co.uk> (raw)
In-Reply-To: <1029335491.21222.75.camel@carrot>
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.
next prev parent reply other threads:[~2002-08-14 15:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-14 14:31 Oliver Sturm
2002-08-14 15:02 ` Oliver Kiddle [this message]
2002-08-15 7:49 ` Oliver Sturm
2002-08-15 9:59 ` DervishD
2002-08-15 11:57 ` Oliver Kiddle
2002-08-16 11:30 ` DervishD
2002-08-19 16:34 Chet Ramey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17ezfU-00042N-00@bimbo.logica.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=o.sturm@manfred-dahlhoff.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).