[comp.sys.sgi] Trapping SIGTSTP from /bin/sh

roy@prism.gatech.edu (Roy Mongiovi) (01/18/90)

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@prism.gatech.edu