From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43398-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 412ebd43 for ; Thu, 6 Sep 2018 12:26:34 +0000 (UTC) Received: (qmail 7613 invoked by alias); 6 Sep 2018 12:26:22 -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: 43398 Received: (qmail 14571 invoked by uid 1010); 6 Sep 2018 12:26:22 -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.545875 secs); 06 Sep 2018 12:26:22 -0000 X-Envelope-From: vincent@vinc17.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Date: Thu, 6 Sep 2018 14:26:18 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: zsh 5.6 regression: a pipe sometimes yields a TTOU signal Message-ID: <20180906122618.GC29649@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> <20180905133704.GC4516@cventin.lip.ens-lyon.fr> <20180905144049eucas1p29a22151c8a47745343b899adefaa3fc2~Rh-iZ0O7_1601216012eucas1p2j@eucas1p2.samsung.com> <20180906114011.GA29649@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: <20180906114011.GA29649@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) On 2018-09-06 13:40:11 +0200, Vincent Lefevre wrote: > On 2018-09-05 15:40:47 +0100, Peter Stephenson wrote: > > If you don't actually care about where the command is run, I'd suggest > > using ( ) instead of { } which should avoid the issue entirely --- > > no "Rimmerworld" nested pipeline management as each pipe is in a > > different shell. > > No, this doesn't solve the problem for all commands, e.g. with: > > sww () { > svnwrapper diff "$@" | wdiff -n -w $'\033[30;41m' -x $'\033[0m' -y $'\033[30;42m' -z $'\033[0m' -d > } > > where svnwrapper and wdiff are external command. Sorry, this may be a different problem, this time specific to "less", but also introduced in zsh 5.6 (if not a bit before). echo | { (sleep 1; sww) | tput init; } echo | { (sleep 1; sww) | more; } echo | { (sleep 1; sww) | less; } are all fine with zsh 5.3.1, but the 3rd one (with "less") yields zsh: suspended (tty output) { ( sleep 1; sww; ) | less; } after quitting "less". -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)