Date: Sun, 30 Jun 1996 19:39:59 -0500 (CDT) From: Rich Murphey <rich@rich.isdn.bcm.tmc.edu> To: freebsd-ports@FreeBSD.ORG Subject: Re: emacs 19.31 Message-ID: <199607010039.TAA04385@richc.isdn.bcm.tmc.edu> In-Reply-To: <199606292152.QAA28237@richc.isdn.bcm.tmc.edu> (message from Rich Murphey on Sat, 29 Jun 1996 16:52:25 -0500 (CDT))
next in thread | previous in thread | raw e-mail | index | archive | help
I'm still trying to sort out broken job control in emacs 'shell' buffers. I've narrowed it down somewhat. For some reason, in an emacs shell buffer the TIOCGPGRP ioctl fails. That is, you cannot find the current process group. The program below fails within an emacs shell buffer but not in an 'rsh' buffer or xterm, etc. Does this make sense to anyone? Rich #include <sys/ioctl.h> #include <stdio.h> main (argc, argv) char **argv; { int i; if (ioctl(1, TIOCGPGRP, (char *)&i) < 0) perror("TIOCGPGRP"); printf ("current process group=%d\n", i); return 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607010039.TAA04385>