[net.emacs] Process Control

pedz@smu.UUCP (06/10/84)

#N:smu:12400003:000:1554
smu!pedz    Jun  9 18:43:00 1984


First, a small note to "tay" who asked a little while ago about emacs
jumping out after the new compile command.  The response to that note
from "chris" was correct in that the code for 264 had some bad uses of
short for pid's and gid's, however, fixing these errors did not fix
the problem.  The note from "glenn" did fix the problem.  Thanks to
all and I hope this will cause everyone to install the fixes.

Second, I have had problems with the "process" package (for 264).  The
problem is that the ^D did not work.  In fact sending an eof to the
child process was a real problem.  In the process of looking for the
bug, I discovered a bug in the pty driver/documentation.  Please look
at my note about this in net.unix.  However this still did not fix the
problem.  The final resolution was to remove the ioctl call in mchan.c
to setup the TIOCREMOTE protocal.  Also, change the line in mchan.c
about sending an EOT to a process.  The original code sent a null
string.  According to the documentation this should work but it does
not (at least for me).  I finally changed it to send the character 204
(octal) which makes assumptions about the setup of the tty characters.
If all of this is not clear enough I will be happy to send diff's.

Last, I have modified dired so that it now makes sence to visit
a directory.  By typing v on a line which contains a directory name it
recursively calles itself with that directory.  Typing ^C gets you
back out.  If anyone is interrested send me a note and I will send you
a copy of it.

Perry
convex!smu!pedz