Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!goanna.oz.AU!ejd From: ejd@goanna.oz.AU (Erick Delios) Newsgroups: comp.sys.encore Subject: TIOCSTI and the call protocol dont mix Message-ID: <8907040132.927@munnari.oz.au> Date: 4 Jul 89 14:35:22 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 35 There is a problem with the interaction between the Call protocol and TIOCSTI. The problems occurs here with the 4.3BSD tahoe csh that I have just put on the 310. The problem is that the input line generated by TIOCSTI is not output to the terminal until the user types a character at the keyboard (or manually does a ^R). Repeat by: First compile the bsd4.3 tahoe csh There is a kernel bug in the handling of dup2 and dup. follow each occurrence of either of these in the file sh.misc.c with "(void) ioctl(k, FIONCLEX, (char *)0);" Run the shell and try the following: % set filec % ls /bin/d date df dis dd diff du % This behaviour also occurs on the /bin/csh that is supplied with Umax 2.2f. Does anyone know what the problem is and how to work around it. Thanks, Erick Delios ACSnet: ejd@goanna.cs.rmit.oz UUCP: ...!uunet!munnari!goanna.cs.rmit.oz!ejd CSNET: ejd@goanna.cs.rmit.oz ARPA: ejd%goanna.cs.rmit.oz@uunet.uu.net BITNET: ejd%goanna.cs.rmit.oz@CSNET-RELAY PHONE: + 61 3 660 2291 Department of Computer Science, Royal Melbourne Institute of Technology, P.O. Box 2476V, 124 Latrobe St, Melbourne, 3000, Australia ------