Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

SUGGESTION: kill -l could show numbers, too



I have a suggestion for the kill builtin:

It would be nice if when you did '-l' to show the list of signal
that it show the signal number.  I saw this on a friends system
where it did the following:
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL
 5) SIGTRAP      6) SIGABRT      7) SIGBUS       8) SIGFPE
 9) SIGKILL     10) SIGUSR1     11) SIGSEGV     12) SIGUSR2
13) SIGPIPE     14) SIGALRM     15) SIGTERM     17) SIGCHLD
18) SIGCONT     19) SIGSTOP     20) SIGTSTP     21) SIGTTIN
22) SIGTTOU     23) SIGURG      24) SIGXCPU     25) SIGXFSZ
26) SIGVTALRM   27) SIGPROF     28) SIGWINCH    29) SIGIO
30) SIGPWR      31) SIGSYS      33) SIGRTMIN    34) SIGRTMIN+1
35) SIGRTMIN+2  36) SIGRTMIN+3  37) SIGRTMIN+4  38) SIGRTMIN+5
39) SIGRTMIN+6  40) SIGRTMIN+7  41) SIGRTMIN+8  42) SIGRTMIN+9
43) SIGRTMIN+10 44) SIGRTMIN+11 45) SIGRTMIN+12 46) SIGRTMIN+13
47) SIGRTMIN+14 48) SIGRTMIN+15 49) SIGRTMAX-15 50) SIGRTMAX-14
51) SIGRTMAX-13 52) SIGRTMAX-12 53) SIGRTMAX-11 54) SIGRTMAX-10
55) SIGRTMAX-9  56) SIGRTMAX-8  57) SIGRTMAX-7  58) SIGRTMAX-6
59) SIGRTMAX-5  60) SIGRTMAX-4  61) SIGRTMAX-3  62) SIGRTMAX-2
63) SIGRTMAX-1  64) SIGRTMAX

I thought it was a keen feature.  I'm not sure listing everything
plus the kitchen sink is actually worthwhile, but if only for the
ones that show up by default in the current version.

Ciao!

-- 
...experience declares that man is the only animal which devours his own
kind, for I can apply no milder term to the governments of Europe, and to
the general prey of the rich on the poor.
		-- Thomas Jefferson to Edward Carrington, 16 Jan 1787

The Doctor What: Da Man                          http://docwhat.gerf.org/
docwhat *at* gerf *dot* org                                        KF6VNC

Outgoing mail is certified Virus Free.
Checked by Debian GNU/Linux (http://www.debian.org).
Version: 3.0  / 9368 out of 12296 packages installed



Messages sorted by: Reverse Date, Date, Thread, Author