rlogin drops output when stop/start characters change
Chris Torek
chris at umcp-cs.UUCP
Sat Aug 31 12:45:16 AEST 1985
(Oops, one more. I do not wish to seem wroth with your fix: rlogin's
handling of out of band data has long been a sore point with me,
and you have finally prodded me enough that I am investigating it.)
> "rlogind" also sends an out-of-band message if it receives a
> TIOCPKT_FLUSHWRITE packet from the master side of the pty. (I
> haven't look at the code myself, but I'm told that the kernel never
> produces this packet type.)
Ah, but it does! Look at the code for ptsstop and note the comment;
and compare the values of TIOCPKT_FLUSHREAD and FREAD, and those of
TIOCPKT_FLUSHWRITE and FWRITE. Recall that a TTY stop routine is
called both for flow control (^S/^Q) and for I/O flushes (TIOCFLUSH
and signals).
The new code is certainly correct; I hope the kernel is as well.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP: seismo!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris at maryland
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list