From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1937 invoked by alias); 1 Sep 2014 08:27:39 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33082 Received: (qmail 20739 invoked from network); 1 Sep 2014 08:27:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140901012727.ZM1069@torch.brasslantern.com> Date: Mon, 01 Sep 2014 01:27:26 -0700 In-reply-to: Comments: In reply to 0x04210x04350x04400x04330x04350x0439 0x041D0x043E0x04320x04380x043A0x043E0x0432 "stty not working" (Sep 1, 6:38am) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: stty not working MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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 } 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).