xon/xoff, signals, hangup

Chris Torek chris at mimsy.UUCP
Fri Nov 18 05:31:45 AEST 1988


>In article <14526 at mimsy.UUCP> I wrote:
>>[The kernel] *should* give up after a `reasonable' timeout, on the
>>assumption that output never will drain.

In article <460 at auspex.UUCP> guy at auspex.UUCP (Guy Harris) writes:
>Define "reasonable".  What if the line is going to a printer, and it
>runs out of paper?  It could be a while before those last few characters
>get transmitted....

That is why I put the word in quotes.  Perhaps the timeout should be
configurable (say, `n' seconds, where 0 = wait forever, set by an ioctl).

Even waiting forever for a printer or plotter may be wrong: if one
uses XON/XOFF flow control, but is reset after an XOFF, it may never
send an XON.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list