Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Trapping Real Time Signals in ZSH
- X-seq: zsh-users 26802
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: bagnaramatt@xxxxxxxxx
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Trapping Real Time Signals in ZSH
- Date: Fri, 23 Jul 2021 13:41:39 -0700
- Archived-at: <https://zsh.org/users/26802>
- In-reply-to: <sympa.1626920946.42619.937@zsh.org>
- List-id: <zsh-users.zsh.org>
- References: <sympa.1626920946.42619.937@zsh.org>
On Wed, Jul 21, 2021 at 7:31 PM <bagnaramatt@xxxxxxxxx> wrote:
>
> In bash the trap builtin is able to handle all signals including SRTMIN-
> SIGRTMAX. In ZSH the kill builtin dos not provide the ability to utilize all
> of there signals. Is there any supported way to handle trapping real-time
> signals in ZSH?
Currently there is not. The scripts in the build process that extract
signal names from the system headers do not recognize SIGRTMIN or or
SIGRTMAX, and the faux signals SIGZERR and SIGDEBUG may overlap with
the range of realtime signals.
However, it's possible to send any of these signals by number with the
kill builtin, even though "kill -l" doesn't list them.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author