Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: The curious incident of the feep in the night-time
- X-seq: zsh-workers 48737
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: The curious incident of the feep in the night-time
- Date: Wed, 28 Apr 2021 18:04:32 -0700
- Archived-at: <https://zsh.org/workers/48737>
- In-reply-to: <CAH+w=7aadRw01MvNZjvgF=eNGJBO-+pUKmcA8meS83M96ysNfA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7aadRw01MvNZjvgF=eNGJBO-+pUKmcA8meS83M96ysNfA@mail.gmail.com>
On Tue, Apr 27, 2021 at 2:35 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> [...] The reference to "what
> interrupt set" seems to imply that it is sendbreak() that should be
> assigning lastval, because it is simulating a SIGINT and the handler
> for SIGINT assigns lastval directly.
>
> The other question is, to what should lastval be set?
With a quick grep for integer assignments to lastval, the shell
appears to use only 1, 127, or 128+SIGxx. Unless someone knows of a
different circumstance, it appears sendbreak() should probably just
continue to use lastval = 1.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author