summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-03-28 15:25:13 +0000
committerache <ache@FreeBSD.org>1995-03-28 15:25:13 +0000
commit8974e853cd221385cdca3d2e3802f2cd27b6a5d9 (patch)
tree3f309267ce4816d5590742e555375f84e605ad00 /share
parentd8eb7d083387d8c95af5dff4cbacff0de7e2514a (diff)
downloadFreeBSD-src-8974e853cd221385cdca3d2e3802f2cd27b6a5d9.zip
FreeBSD-src-8974e853cd221385cdca3d2e3802f2cd27b6a5d9.tar.gz
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:
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud