ache 8974e853cd ttyinput() fixes:
1) Preserve old buffer contents when input buffer overflows.

Old code clear buffer and rewrite it again, if !MAXBEL
(for MAXBEL it does right thing :-).
F.e. if you type too long string, last chars passed,
not first ones as expected.
Moreover, it flush output queue too in this case without any needs.

2) Don't do IXOFF, if IGNCR and c==\r, ignore completely.

3) If PARMRK is active and !ISTRIP and char == 0377
put yet one 0377 to distinguish it from parity mark sequence.
POSIX standard (thanx Bruce).

Reviewed by:
Submitted by:
Obtained from:
CVS:
1995-03-28 15:25:13 +00:00
..
1995-02-24 08:51:34 +00:00
1995-03-25 12:07:31 +00:00
1995-02-26 03:15:36 +00:00
1995-02-27 19:47:53 +00:00
1995-03-28 15:25:13 +00:00
1994-11-12 01:47:43 +00:00
1994-11-12 01:47:43 +00:00