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, Oct 11, 2:07 PM
Unknown Object (File)
Sat, Oct 11, 2:07 PM
Unknown Object (File)
Sat, Oct 11, 2:07 PM
Unknown Object (File)
Sat, Oct 11, 12:56 PM
Unknown Object (File)
Thu, Oct 2, 5:38 PM
Unknown Object (File)
Sat, Sep 27, 1:30 AM
Unknown Object (File)
Tue, Sep 23, 9:28 PM
Unknown Object (File)
Tue, Sep 23, 12:44 AM
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