From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: stty not working
Date: Mon, 1 Sep 2014 12:02:48 +0200 [thread overview]
Message-ID: <CAHYJk3QUKdf0YRkpq-6a7Qab1ys2VS1NA-ArzxT=sAUoDcqWxw@mail.gmail.com> (raw)
In-Reply-To: <CAPfhnkSBrySC4G_BggGkKiELj974aXzNDzsbp+ntnw4n1itUCQ@mail.gmail.com>
On 1 September 2014 04:38, Сергей Новиков <arrecck@gmail.com> wrote:
> Hi,
> I am trying to unset ECHO flag for tty, but stty doesn't work. After
> reading documentation I am still not clear about its behavior.
>> ttyctl
>> tty is not frozen
>> stty -echo
>> test test
> but
>> stty -echo; read <enter>
> working fine. My brain is broken.
> With best regards.
You can do this too,
STTY=-echo cat
and zsh will set -echo for the duration of that command. Since read is
a builtin it doesn't work for that, but it has a flag to turn off
echoing already.
--
Mikael Magnusson
prev parent reply other threads:[~2014-09-01 10:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-01 2:38 Сергей Новиков
2014-09-01 8:27 ` Bart Schaefer
2014-09-01 10:16 ` Peter Stephenson
2014-09-01 18:28 ` Bart Schaefer
2014-09-02 8:47 ` Peter Stephenson
2014-09-02 13:26 ` Peter Stephenson
2014-09-02 15:52 ` Bart Schaefer
2014-09-02 16:04 ` Peter Stephenson
2014-09-03 1:32 ` Bart Schaefer
2014-09-01 10:02 ` Mikael Magnusson [this message]
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='CAHYJk3QUKdf0YRkpq-6a7Qab1ys2VS1NA-ArzxT=sAUoDcqWxw@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/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).