]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/kern/tty.c
Implement FLUSHO
authorimp <imp@FreeBSD.org>
Thu, 27 Aug 2020 05:11:15 +0000 (05:11 +0000)
committerimp <imp@FreeBSD.org>
Thu, 27 Aug 2020 05:11:15 +0000 (05:11 +0000)
commit8be2b31a6c4b97e16b36ef7dbd2b8c723ce8fbbb
treeaa8fae38010ab9b64d95999da019567224e55f03
parent2438303fa8f965158e2880474dfb711c3b8c42c0
Implement FLUSHO

Turn FLUSHO on/off with ^O (or whatever VDISCARD is). Honor that to
throw away output quickly. This tries to remain true to 4.4BSD
behavior (since that was the origin of this feature), with any
corrections NetBSD has done. Since the implemenations are a little
different, though, some edge conditions may be handled differently.

Reviewed by: kib, kevans
Differential Review: https://reviews.freebsd.org/D26148
sys/kern/tty.c
sys/kern/tty_ttydisc.c