Trapping SIGTSTP from /bin/sh

Roy Mongiovi roy at prism.gatech.edu
Thu Jan 18 03:21:18 AEST 1990


I'm trying to prevent a SIGTSTP from being sent to a shell script with
the command:

trap "" 21

since /usr/include/sys/signal.h #define's SIGTSTP 21, but sh complains:

21: bad trap

Is this just something I'm not supposed to want to do, or doesn't sh
understand the Berkeley signals?

Roy J. Mongiovi     Systems Support Specialist     Office of Computing Services
Georgia Institute of Technology	  Atlanta, Georgia  30332-0275   (404) 894-4660
	uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!roy
	ARPA: roy at prism.gatech.edu



More information about the Comp.sys.sgi mailing list