Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix Subject: Re: pty.c in 4.1BSD ? Message-ID: <6084@umcp-cs.UUCP> Date: Thu, 22-Mar-84 15:16:00 EST Article-I.D.: umcp-cs.6084 Posted: Thu Mar 22 15:16:00 1984 Date-Received: Sun, 25-Mar-84 09:43:31 EST References: <140@vaxwalle.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 13 The supplied pty driver works. It has a bug: as distributed it only runs OTTYDISC (i.e. "stty new" works but has no effect). There is a very simple fix (find the place(s?) where it calls the old tty routines directly and change the code to call the appropriate routine based on the line switch table and tp->t_ldisc). If you make nodes for these ptys and put them in your init table, you can log in by opening the control name. This is how the BBN "telnet" program for 4.1 works. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay