🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #867

Bash Script not terminating on SystemV

#867
From: Terry Hull
Date: Wed, 24 Jan 1990 20:06
15 lines
1251 bytes
I have been having trouble with shell scripts not terminating when
they receive an interrupt using bash-1.04 with Chip Salzenburg's
patches installed on SCO UNIX, so I decided to try to get bash to run
on an AT&T 3B15 to see how it worked there.  Well the 3B15 does not
have a sigignore, so I defined it out in nojobs.c.  I was then able to
get it compiled and the interrupt signal worked correctly on the 3B15.
Well, I decided to try this fix on SCO UNIX, and it solved the problem
there too.  Why is the sigignore(SIGINT) in the wait_for() function in
nojobs.c?  What did I break by removing it?

-- 
Terry Hull 
Department of Electrical and Computer Engineering, Kansas State University
Work:  terry@eecea.eece.ksu.edu, rutgers!ksuvax1!eecea!terry
Play:  terry@tah386.manhattan.ks.us, rutgers!ksuvax1!eecea!tah386!terry
Technical Details
Message-ID: <948@eecea.eece.ksu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!psuvax1!rutgers!deimos!eecea!terry

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!psuvax1!rutgers!deimos!eecea!terry
From: terry@eecea.eece.ksu.edu (Terry Hull)
Newsgroups: gnu.bash.bug
Subject: Bash Script not terminating on SystemV
Message-ID: <948@eecea.eece.ksu.edu>
Date: 24 Jan 90 20:06:38 GMT
Reply-To: terry@eecea.eece.ksu.edu (Terry Hull)
Distribution: usa
Organization: Kansas State University, Manhattan
Lines: 15