From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7164 invoked by alias); 1 Sep 2014 10:03:03 -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: 33084 Received: (qmail 20430 invoked from network); 1 Sep 2014 10:02:51 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 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== MIME-Version: 1.0 X-Received: by 10.224.62.8 with SMTP id v8mr43525781qah.9.1409565768242; Mon, 01 Sep 2014 03:02:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Sep 2014 12:02:48 +0200 Message-ID: Subject: Re: stty not working From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 1 September 2014 04:38, =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 =D0=9D=D0= =BE=D0=B2=D0=B8=D0=BA=D0=BE=D0=B2 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 > working fine. My brain is broken. > With best regards. You can do this too, STTY=3D-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. --=20 Mikael Magnusson