Xref: utzoo comp.emacs:5986 gnu.emacs.bug:751 Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!execu!sequoia!attdso!shuxd!att!cbnewsh!ho5cad!wjc From: wjc@ho5cad.ATT.COM (Bill Carpenter) Newsgroups: comp.emacs,gnu.emacs.bug Subject: setpgrp bug in 18.54 for USG? Message-ID: Date: 1 May 89 09:52:22 GMT Sender: nntp@cbnewsh.ATT.COM Distribution: na Organization: AT&T Bell Laboratories Lines: 37 Using GNU Emacs 18.54.1 of Sun Apr 30 1989 on ho5cad (usg-unix-v) After bringing our 18.53 to 18.54 by patching in the diffs, we notice the following behavior: hitting C-G kills subprocesses. (We have observed this with loadst as well as the emacs server.) Am I right in speculating that this part of the 18.54 changes is possibly to blame? (Right at the moment, I don't have time to fiddle with this.) ================================================================ + * process.c (create_process): + On all USG systems, not just IRIS and AIX, don't pre-open pty's tty. + Move the setpgrp done for USG (no real change). + * callproc.c (child_setup): Don't do setpgrp on USG. ================================================================ [callproc.c] ! #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 */ ================================================================ -- -- Bill Carpenter att!ho5cad!wjc or attmail!bill