janssen@titan.sw.mcc.com (Bill Janssen) (03/12/89)
This setpgrp() was added for use under X. There appears to be a bug in BSD 4.{2,3} whereby the fcntl that is supposed to allow SIGIO to be sent to all members of the process group succeeds, but has no effect. When GNU Emac is not the process group leader, and is talking over a socket to an X server, it will not receive SIGIOs and will not notice X events arriving, and will sit forever. Bill