Bug 28109

Summary: [PATCH] Add "kill -s" to tcsh builtin for doc and POSIX compatibility
Product: Base System Reporter: Mark Peek <mark>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Mark Peek 2001-06-12 23:50:00 UTC
Several man pages (such as mountd and exports) contain instructions to
use "kill -s HUP" to invoke behaviors within the commands. However, the
"-s" option is not implemented in the default tcsh shell builtin kill. This
can lead to users scratching their heads when they get an error message:
	"s: Unknown signal; kill -l lists signals."

Fix: This can be fixed a variety of ways:

1. Change the documentation to use the obsolete "kill -HUP" or the
   non-builtin "/bin/kill -HUP".
2. Apply the patch below to add "kill -s" to the tcsh command
3. Wait for the next version of tcsh to become available that (hopefully)
   will have the patch below contributed (I sent it to the tcsh mailing list).

I don't believe #1 should be done since that moves us backwards instead of
forwards. I'd like to see #2 but this might require moving this file off the
vendor branch. I'm just not sure about #3, since it would require the patch
to be applied to the tcsh source base and I'm unclear when the next tcsh
release will be available.

--------
How-To-Repeat: 	/bin/tcsh -c "kill -s HUP 1"
Comment 1 Mark Peek freebsd_committer freebsd_triage 2001-09-05 23:18:50 UTC
State Changed
From-To: open->closed

Close my own bug after importing the fix in tcsh-6.11.