home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!gumby!yale!mintaka.lcs.mit.edu!hal.gnu.ai.mit.edu!mycroft
- From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
- Subject: TCSH hangup propagation under AIX and loopy processes
- Message-ID: <1992Aug19.173445.25120@mintaka.lcs.mit.edu>
- Sender: news@mintaka.lcs.mit.edu
- Organization: MIT Laboratory for Computer Science
- Date: Wed, 19 Aug 1992 17:34:45 GMT
- Lines: 41
-
-
- [If you see another article which looks very similar to this, disregard
- it.]
-
- (Well, any system with POSIX process groups, really.)
-
- The following patch to tcsh 6.02 seems to fix the problem for me:
-
- -----8<-----snip-----8<-----snip-----8<-----snip-----8<-----snip-----8<-----
- *** sh.c.orig Fri May 15 20:00:38 1992
- --- sh.c Wed Aug 19 13:23:43 1992
- ***************
- *** 1936,1942 ****
- #endif /* TIOCCDTR */
- }
- #endif /* TESLA */
- !
- untty();
- _exit(i);
- }
- --- 1936,1947 ----
- #endif /* TIOCCDTR */
- }
- #endif /* TESLA */
- ! if (loginsh) {
- ! struct process *pp;
- ! for (pp = proclist.p_next; pp; pp = pp->p_next)
- ! if (pp->p_procid == pp->p_jobid)
- ! (void) killpg (pp->p_jobid, SIGHUP);
- ! }
- untty();
- _exit(i);
- }
- -----8<-----snip-----8<-----snip-----8<-----snip-----8<-----snip-----8<-----
-
- Could someone at IBM *PLEASE* make the corresponding change to csh?
- <<Insert standard pitch for free software.>>
-
- --
- \ Charles Hannum, mycroft@ai.mit.edu
- /\ White heterosexual atheist male (WHAM) pride!
-