Page MenuHomeFreeBSD

stty: add the ability to set the tty drainwait
Needs ReviewPublic

Authored by kevans on Sep 4 2025, 2:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 30, 12:01 PM
Unknown Object (File)
Sat, May 30, 3:48 AM
Unknown Object (File)
Thu, May 28, 12:52 AM
Unknown Object (File)
May 20 2026, 12:22 PM
Unknown Object (File)
May 19 2026, 6:03 PM
Unknown Object (File)
May 17 2026, 9:11 AM
Unknown Object (File)
Apr 29 2026, 12:37 PM
Unknown Object (File)
Apr 29 2026, 12:30 PM
Subscribers

Details

Reviewers
emaste
imp
Summary

drainwait is the only configurable bit left in comcontrol(8) after
4b4cf0d52c43e ("tty: Retire zombie dtrwait"). drainwait has a very
simple implementation in the tty layer, so it both makes little sense to
try and remove it and makes plenty of sense as something that stty(1)
can work with. Let's move it over with an eye towards retiring
comcontrol(8) in 16.0.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66808
Build 63691: arc lint + arc unit