Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ctrl-\ while executing a pipeline made zsh quit
On Mon, Apr 25, 2022 at 8:00 PM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
>
> > I did discover that if "less" exits with an error, the whole pipeline
> > becomes unkillable with either INT or QUIT; the shell is hung until
> > the left side exits.
>
> If "less" really exits, how could this happen?
When I couldn't replicate your problem, I thought perhaps I was
running the mless function the wrong way, so I did this:
( zsh -fc 'print a few words; /bin/sleep 30' ) | mless -
This causes less to exit with a no-such-file error, at which point all
signals were ignored and no prompt returned until the "sleep 30"
finished.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author