Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 5.6 regression: a pipe sometimes yields a TTOU signal
On 2018-09-05 14:22:46 +0200, Vincent Lefevre wrote:
> Even simpler:
>
> echo foo | { : | tput init }
And this one is even worse, as "fg" does clean the status:
echo foo | { sleep 1 ; : | tput init }
For instance:
cventin% echo foo | { sleep 1 ; : | tput init }
zsh: done echo foo |
zsh: suspended (tty output) { sleep 1; : | tput init; }
cventin% jobs
[1] + done echo foo |
suspended (tty output) { sleep 1; : | tput init; }
cventin% fg
[1] + done echo foo |
continued { sleep 1; : | tput init; }
zsh: done echo foo | { sleep 1; : | tput init; }
cventin% jobs
[1] + done echo foo | { sleep 1; : | tput init; }
cventin% fg
[1] + done echo foo | { sleep 1; : | tput init; }
zsh: done echo foo | { sleep 1; : | tput init; }
cventin% jobs
[1] + done echo foo | { sleep 1; : | tput init; }
cventin%
--
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