]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement FLUSHO
authorWarner Losh <imp@FreeBSD.org>
Thu, 27 Aug 2020 05:11:15 +0000 (05:11 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 27 Aug 2020 05:11:15 +0000 (05:11 +0000)
commitcbda6f66f480cf647a55da90120c882faa4ed971
treeaa8fae38010ab9b64d95999da019567224e55f03
parent23f93ed79b47052eea79a125c97296341f09f16d
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