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