/dev/ttyd?
dialin devices, hardwired terminals
Control a special tty device
comcontrol special_device
[drainwait
number]
The comcontrol utility is deprecated and will be removed in FreeBSD 16.0.
The comcontrol utility is used to examine and modify some of the special characteristics of the specified tty device. If no arguments other than the device (or "-" for stdin) are specified, it prints the settings of all controllable characteristics. This usage requires only read access on the device. Only the superuser can change the settings.
The following options are available:
drainwait numberSet the time to wait for output drain to the given number. The units are seconds. The default is 5 minutes, 0 means waiting forever. This option is needed mainly to specify an upper limit of minutes to prevent modem hanging.
The standard way to use comcontrol is to put invocations of it in the /etc/rc.d/serial startup script.
/dev/ttyd?
dialin devices, hardwired terminals
/dev/cuau?
dialout devices
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 49 times.