pedz@smu.UUCP (06/10/84)
#N:smu:18500011:000:840 smu!pedz Jun 9 19:18:00 1984 #junk food This pertains to 4.2bsd unix on a vax 11/780 While I was tracking down a problem with Emacs, I came accross a "bug" in the pty driver. The problem is about the TIOCREMOTE ioctl call. The documentation and ioctl.h agree that this call does not take an argument. However the code says that it does (because it tests *(int *)data ). I changed the ioctl.h file to make the call take an integer argument but it still does not work to send a block of 0 characters in order to get an eof through to the other side. I solved the eof problem by sending a "\204" which of course makes assumptions about the mapping of the tty characters. I am also concerned that I may have borken something else. Has anyone else come accross this problem and has anyone fixed the problem of sending an eof via pseudo tty's? Perry convex!smu!pedz