[Pkg-zsh-devel] Bug#908033: Bug#908033: zsh: A pipe sometimes yields a TTOU signal (regression in zsh 5.6)

Vincent Lefevre vincent at vinc17.net
Thu Sep 6 13:54:16 BST 2018


Hi,

On 2018-09-05 10:34:18 +0000, Daniel Shahaf wrote:
> Thanks for the report.  In the future, if you report an issue both down-
> and upstream, could we ask you to set the appropriate metadata yourself
> on the downstream report?  That would reduce our workload.  Thanks!

Sorry, my mail to the zsh mailing-list got greylisted and I didn't
know whether it would have appeared in the archives before I had to
leave.

> (Upstream has responded to the substantive issue so let's keep the
> discussion about that there.)

Here's a summary, for the record:

One can also reproduce the bug simply with:

    : | { : | tput init }
    : | { : | more }
    : | { : | less }

(the third one, with "less", is the most reliable to test workarounds,
as not all issues are visible with the first two).

A workaround is to use ( ) instead of { }, e.g.

    : | ( : | less )

-- 
Vincent Lefèvre <vincent at vinc17.net> - 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)



More information about the Pkg-zsh-devel mailing list