zsh-users
 help / color / mirror / code / Atom feed
* Trapping Real Time Signals in ZSH
@ 2021-07-22  2:30 bagnaramatt
  2021-07-23 20:41 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: bagnaramatt @ 2021-07-22  2:30 UTC (permalink / raw)
  To: zsh-users

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Trapping Real Time Signals in ZSH
  2021-07-22  2:30 Trapping Real Time Signals in ZSH bagnaramatt
@ 2021-07-23 20:41 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2021-07-23 20:41 UTC (permalink / raw)
  To: bagnaramatt; +Cc: Zsh Users

On Wed, Jul 21, 2021 at 7:31 PM <bagnaramatt@gmail.com> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-23 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22  2:30 Trapping Real Time Signals in ZSH bagnaramatt
2021-07-23 20:41 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).