Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ctrl-\ while executing a pipeline made zsh quit
- X-seq: zsh-workers 50097
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Ctrl-\ while executing a pipeline made zsh quit
- Date: Mon, 25 Apr 2022 18:24:15 -0700
- Archived-at: <https://zsh.org/workers/50097>
- In-reply-to: <20220426003649.GA100943@zira.vinc17.org>
- List-id: <zsh-workers.zsh.org>
- References: <20220426003649.GA100943@zira.vinc17.org>
On Mon, Apr 25, 2022 at 5:37 PM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
>
> With zsh 5.8.1 under Linux (zsh 5.8.1-1 Debian/unstable package),
> while I was executing a pipeline, I typed Ctrl-\ to interrupt it
> (Ctrl-C had no effect), which made unexpectedly zsh quit: SIGQUIT
> should interrupt the commands zsh starts, not the interactive shell
> itself.
I'm unable to reproduce this on Ubuntu 20.04 with 5.8.1.2-test.
I vaguely recall there's actually a bug in some version(s?) of "less"
that causes its parent to exit?
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author