newtty lmode LLITIN

utzoo!decvax!ucbvax!dove at mit-dspg utzoo!decvax!ucbvax!dove at mit-dspg
Thu Jul 1 11:04:49 AEST 1982


From: dove at mit-dspg at mit-mc
Could you add that mode to the tty driver?

#define LLITIN  0100000		/* Don't translate input chars */

I can send a copy of our ttynew code if you like.  It does what raw does
but only for input (i.e. no translation and wakeup per each input char).
(Actually, our driver wakes the proc up every .1s or input char or half
full input buffer whichever comes last).

LLITIN|LLITOUT allows one to implement screen editors that use 0200 bit
tty chars for timing instead of padding with nulls.  That appears to be
the only way to use ambassadors at 19200b, since they treat nulls just like
ordinary chars and will bust if you try to pad with them.  In any case, it
cuts down on the # of chars sent.




More information about the Comp.bugs.2bsd mailing list