Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh 5.6 regression: a pipe sometimes yields a TTOU signal
- X-seq: zsh-workers 43379
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: zsh 5.6 regression: a pipe sometimes yields a TTOU signal
- Date: Wed, 5 Sep 2018 11:03:39 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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 <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author