From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29468 invoked by alias); 5 Sep 2018 09:13:42 -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: 43379 Received: (qmail 21789 invoked by uid 1010); 5 Sep 2018 09:13:42 -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 2.171247 secs); 05 Sep 2018 09:13:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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 autolearn_force=no version=3.4.1 X-Envelope-From: vincent@vinc17.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Date: Wed, 5 Sep 2018 11:03:39 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: zsh 5.6 regression: a pipe sometimes yields a TTOU signal Message-ID: <20180905090339.GA18116@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.10.1+92 (9ed4bf53) vl-108074 (2018-09-02) Hi, After the upgrade to zsh 5.6 under Debian/unstable, I sometimes get: ypig:~> dpkg -l|gr mercurial ii mercurial 4.7-1 amd64 easy-to-use, scalable distributed version control system ii mercurial-common 4.7-1 all easy-to-use, scalable distributed version control system (common files) zsh: exit 150 zsh: suspended (tty output) pager-wrapper grep --color=always --line-buffered -E mercurial ypig:~[TTOU]> where gr: aliased to pager-wrapper grep --color=always --line-buffered -E and pager-wrapper is: pager-wrapper () { local -a opt while [[ $1 == -* ]] do opt+=$1 shift done if [[ -t 1 ]] then $@ $opt | less -+c -FRX else $@ fi } There was no such issue with previous zsh versions. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)