Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: stty not working
- X-seq: zsh-workers 33084
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: stty not working
- Date: Mon, 1 Sep 2014 12:02:48 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Cc7Dh3rWJmhMgGXAkY+WwLrrmZTqcH/l40a2u2tysfY=; b=fg/ERT3+ZTsZZwkgG4j9HiClvPaQhQbvpYm1mpGbGR0jdbGax9Yi2PqV4EGRk4QXdT ppxZZQVeg0DKISLgxylZD//OYXX2OkMDOWwewBqZoYTdChc7mwiSeap760SxtzeDpAtT Bx1Vw5P/RnH1PGofgdH95pCmVbefxCZpyzH0k3Ot1JD6uoXG3lREND4RjEvxRkQjB+VC GOj/5/NfYGDu7/XspXgYMaJOKTE7KgeWfrJX1UfWxBoFSWOWzTfLDX8OW0sFmPYMCk0e AoVjHPxoMnUO7AQdIdSjd7dIlNbImyb6DOOecbEsWWz0FwbW1Zoie14XI8WZ4G32oUUQ AjJg==
- In-reply-to: <CAPfhnkSBrySC4G_BggGkKiELj974aXzNDzsbp+ntnw4n1itUCQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAPfhnkSBrySC4G_BggGkKiELj974aXzNDzsbp+ntnw4n1itUCQ@mail.gmail.com>
On 1 September 2014 04:38, Сергей Новиков <arrecck@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author