From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43388-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 812560c6 for ; Wed, 5 Sep 2018 13:37:20 +0000 (UTC) Received: (qmail 11419 invoked by alias); 5 Sep 2018 13:37:08 -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: List-Unsubscribe: X-Seq: 43388 Received: (qmail 25783 invoked by uid 1010); 5 Sep 2018 13:37:08 -0000 X-Qmail-Scanner-Diagnostics: from cventin.lip.ens-lyon.fr by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(140.77.13.17):SA:0(-1.9/5.0):. Processed in 0.477965 secs); 05 Sep 2018 13:37:08 -0000 X-Envelope-From: vincent@vinc17.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Date: Wed, 5 Sep 2018 15:37:04 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: zsh 5.6 regression: a pipe sometimes yields a TTOU signal Message-ID: <20180905133704.GC4516@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-workers@zsh.org References: <20180905090339.GA18116@cventin.lip.ens-lyon.fr> <20180905100356eucas1p29702acd7569a94c8c78003e6b124daaa~ReNxz4yht0327203272eucas1p2s@eucas1p2.samsung.com> <20180905105510.GA2116@cventin.lip.ens-lyon.fr> <20180905122246.GA4516@cventin.lip.ens-lyon.fr> <20180905131706.GB4516@cventin.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180905131706.GB4516@cventin.lip.ens-lyon.fr> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.10.1+92 (9ed4bf53) vl-108074 (2018-09-02) As a workaround, putting the middle command in { } can help a bit. For instance, instead of echo foo | { cat | less -+c -FX } writing echo foo | { { cat } | less -+c -FX } seems to avoid the issue most of the time, and echo foo | { { sleep 0.001; cat } | less -+c -FX } is even better. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)