Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!attunix.att.com!grk
From: grk@attunix.att.com
Newsgroups: gnu.emacs.bug
Subject: possible bug in USG emacs
Message-ID: <8909251648.AA05586@life.ai.mit.edu>
Date: 25 Sep 89 15:11:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 16

I believe that the code in process.c (18.55) is incorrect for USG.
The lines

	#ifdef USG
		setpgrp ();
	#endif /* USG */

appear only inside the "#ifdef HAVE_PTY".  If I do not HAVE_PTY then
the spawned process remains in the parent process group and ^G kills
the child.  The specific case happens with the display-time function.
The loadst process gets killed the first time a ^G is pressed.  I
think the code listed above should be moved above the
"#ifdef HAVE_PTY".  Is this correct?

			Thanks,
			Ralph (attunix.att.com!grk)