[gnu.emacs.bug] Emacs 18.52 and Job Control on SGI 4D

spike@BU-IT.BU.EDU (Joe Ilacqua) (02/28/89)

	A while back a set of files was sent out to allow emacs to run
on the Silicon Graphics 4D line.  This worked just find, it did not
however deal with job control, which is in fact supported.  This
simple fix takes care of that.

	In m-iris4d.h add the line:

#define killpg( pgrp, sig )  (kill( -(pgrp), (sig) ))

	as is found in m-ibmrt-aix.h

	And in sysdep.c change line 500 from:

#ifdef BSD 
  killpg (getpgrp (0), SIGTSTP);

	to

#if defined(BSD) || defined(IRIS_4D)
  killpg (getpgrp (0), SIGTSTP);

	Thats it.  As far as I can tell it works fine (I have tested
with running subprocesses and had no problems).  I sent this to the
original author and received no response.


->Spike

Joe Ilacqua
Associative Design Technology