zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: stty not working
Date: Mon, 01 Sep 2014 01:27:26 -0700	[thread overview]
Message-ID: <140901012727.ZM1069@torch.brasslantern.com> (raw)
In-Reply-To: <CAPfhnkSBrySC4G_BggGkKiELj974aXzNDzsbp+ntnw4n1itUCQ@mail.gmail.com>

On Sep 1,  6:38am, 0x04210x04350x04400x04330x04350x0439 0x041D0x043E0 wrote:
}
} 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.

If you "unsetopt ZLE" to turn off the line editor, your "stty -echo"
will stick.  ZLE can't operate with echo turned off, so it turns it
back on again.

} but
} > stty -echo; read <enter>
} working fine. My brain is broken.

During execution of a command line such as that, the stty change takes
effect and remains in effect until ZLE re-initializes (approximately
until the next prompt is displayed).


  reply	other threads:[~2014-09-01  8:27 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 [this message]
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

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=140901012727.ZM1069@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).