pty.c in 4.1BSD ?

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Fri Mar 23 06:16:00 AEST 1984


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 at umcp-cs		ARPA:	chris.umcp-cs at CSNet-Relay



More information about the Comp.unix mailing list