rlogin -8 uses RAW rather than CBREAK mode

Chris Torek chris at mimsy.umd.edu
Tue Dec 25 02:01:30 AEST 1990


barmar at think (Barry Margolin) asks why -8 uses RAW, not CBREAK.

In article <88236 at lll-winken.LLNL.GOV> casey at gauss.llnl.gov (Casey Leedom)
answers:
>  "-8" is used to implement an 8-bit transparent link.  Allowing START
>and STOP character processing would defeat that purpose. ..

Well, yes and no.  The real reason rlogin -8 uses RAW is that it was
coded under 4.2BSD, where raw mode was the only way to get 8 bits.
LPASS8 appeared in 4.3BSD (imported from Utah).

Now that 4BSD has a POSIXified tty driver, all of this should be redone.
But when the new ``bstreams'' code is working things may change again
anyway.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at cs.umd.edu	Path:	uunet!mimsy!chris



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