7 .Nd control a special tty device
12 .Op drainwait Ar number
16 utility is used to examine and modify some of the special characteristics
17 of the specified tty device.
18 If no arguments other than the device (or "-" for stdin)
20 it prints the settings of all controllable characteristics.
21 This usage requires only read access on the device.
22 Only the superuser can change the settings.
24 The following options are available:
25 .Bl -tag -width indent
26 .It Cm dtrwait Ar number
27 Set the time to wait after dropping DTR
29 The units are hundredths of a second.
30 The default is 300 hundredths, i.e., 3 seconds.
31 This option needed mainly to set proper recover time after
33 .It Cm drainwait Ar number
34 Set the time to wait for output drain
36 The units are seconds.
37 The default is 5 minutes, 0 means
39 This option needed mainly to specify upper limit of minutes
40 to prevent modem hanging.
43 The standard way to use
45 is to put invocations of it in the
49 .Bl -tag -width /dev/ttyd? -compact
51 dialin devices, hardwired terminals
59 Originally part of cgd's com package patches, version 0.2.1, to
61 Once controlled bidirectional capabilities.
62 Little is left to control now
63 that these capabilities are standard.
65 .An Christopher G. Demetriou