Page MenuHomeFreeBSD

stty: fetch and print the configured drainwait
Needs ReviewPublic

Authored by kevans on Sep 4 2025, 2:01 AM.
Tags
None
Referenced Files
F153673635: D52372.diff
Wed, Apr 22, 8:12 PM
Unknown Object (File)
Sun, Apr 19, 12:40 PM
Unknown Object (File)
Sun, Apr 19, 12:39 PM
Unknown Object (File)
Mon, Apr 13, 5:17 PM
Unknown Object (File)
Mon, Apr 6, 7:04 PM
Unknown Object (File)
Sun, Apr 5, 4:43 PM
Unknown Object (File)
Sat, Apr 4, 9:15 PM
Unknown Object (File)
Sat, Apr 4, 1:28 AM
Subscribers
None

Details

Reviewers
emaste
imp
Summary

In the future, we will be removing comcontrol(8) in favor of just using
stty(1) for the one remaining feature, drainwait, which is configured
and implemented at the tty layer rather than per-driver. Start
collecting and rendering it for stty -a and stty -e, since the data
isn't really accessible otherwise unless it's at the default
kern.tty_drainwait.

Diff Detail

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