rlogin sessions don't handle ^S/^Q in raw mode?

Chris Torek chris at umcp-cs.UUCP
Tue Jan 22 04:28:27 AEST 1985


It's a ``feature'': the PTY driver notifies masters only about changes
in the actual characters used for flow control, and only when they
change to/from ^S/^Q.  (I think this is totally bogus; the master
should get the entire tty state if anything.)

However, you can work around it (sort of) by making every program that
does ``stty raw'' (or equivalent) also set the ^S/^Q characters to -1
(undefined), which will make rlogin do the same.  Beware: whenever you
change the flow control characters, rlogin, in its headlong rush to get
the out-of-band data used for this, flushes every last bit of data that
it hasn't yet printed.  This means that you must (in general) set the
flow characters, then print whatever you're printing.
-- 
(This line accidently left nonblank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.bugs.4bsd.ucb-fixes mailing list