Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bloom-beacon!bu-cs!att!cbnewsh!ho5cad!wjc From: wjc@ho5cad.ATT.COM (Bill Carpenter) Newsgroups: gnu.emacs Subject: Re: loadst dies Message-ID: Date: 17 May 89 21:33:04 GMT References: Sender: nntp@cbnewsh.ATT.COM Reply-To: wjc@ho5cad.ATT.COM (Bill Carpenter) Distribution: gnu Organization: AT&T Bell Laboratories Lines: 42 In-reply-to: lynn@rave.phx.mcd.mot.com's message of 16 May 89 21:45:17 GMT In article lynn@rave.phx.mcd.mot.com (Lynn D. Newton) writes: > I just upgraded to GNU Emacs 18.54 last week and am experiencing > an annoying problem, which I wonder if anyone else has any > [loadst goes away, seems random] I would guess you have a SysV-ish UNIX (#define USG). See if your loadst is going away when you hit control-G. In GNUemacs, that's a SIGINT, and it's killing your subprocesses. This part of the 18.54 upgrade seems to be the culprit. Change it so you *do* get the setpgrp() for USG, and all will be well. (At least I have seen no problem after changing it back. I must assume it was changed in the first place to try to cure something, but I don't know what.) -- Bill Carpenter att!ho5cad!wjc or attmail!bill DON'T APPLY THIS PATCH! THIS IS THE bad-for-USG BIT FROM THE 18.54 UPGRADE. THIS IS NOT THE FIX FOR IT (do that manually). diff -rc2N dist-18.53/src/callproc.c dist-18.54/src/callproc.c *** dist-18.53/src/callproc.c Wed Feb 15 22:36:20 1989 --- dist-18.54/src/callproc.c Thu Apr 6 12:21:14 1989 *************** *** 374,383 **** close (err); ! #ifdef USG ! setpgrp (); /* No arguments but equivalent in this case */ ! #else setpgrp (pid, pid); - #endif /* USG */ setpgrp_of_tty (pid); #ifdef vipc --- 374,381 ---- close (err); ! #ifndef USG setpgrp (pid, pid); setpgrp_of_tty (pid); + #endif /* USG */ #ifdef vipc