Date: Mon, 16 Jul 2001 12:07:27 -0700 From: Charles Clark <cmc@ralf.org> To: Donn Miller <hackr_d@yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: kill list signals - newsyslog Message-ID: <20010716190732.F40FA28554@maniac.deathstar.org>
next in thread | raw e-mail | index | archive | help
> From: Donn Miller <hackr_d@yahoo.com> > kill -l shows all the signal numbers. Not really. "kill" is a builtin command for most any shell that you would use interactively, but not for /bin/sh (man builtin). If you run /bin/kill -l, or kill -l from most available shells (csh, tcsh, zsh) it lists the names of the signals on one line, in numerical order, but not their corresponding signal numbers. The builtin kill in bash (I have bash version 2.something installed; don't know about bash 1. versions) lists the signals in a table next to their signal numbers. The canonical place to look for the name/number mapping is where programs get it, ie /usr/include/sys/signal.h. If newsyslog really only takes numbers, it would be nice to have it take signal names for portability's sake. The name/number mappings are NOT the same across all unices. -- cmc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010716190732.F40FA28554>