1 .\" $FreeBSD: src/sbin/comcontrol/comcontrol.8,v 1.15.2.7 2002/08/21 18:58:13 trhodes Exp $
2 .\" $DragonFly: src/sbin/comcontrol/comcontrol.8,v 1.4 2007/12/16 02:55:38 thomas Exp $
8 .Nd control a special tty device
13 .Op drainwait Ar number
17 utility is used to examine and modify some of the special characteristics
18 of the specified tty device.
19 If no arguments other than the device (or "-" for stdin)
21 it prints the settings of all controllable characteristics.
22 This usage requires only read access on the device.
23 Only the superuser can change the settings.
25 The following options are available:
26 .Bl -tag -width indent
27 .It Cm dtrwait Ar number
28 Set the time to wait after dropping DTR
30 The units are hundredths of a second.
31 The default is 300 hundredths, i.e., 3 seconds.
32 This option needed mainly to set proper recover time after
34 .It Cm drainwait Ar number
35 Set the time to wait for output drain
37 The units are seconds.
38 The default is 0 minutes, 0 means
40 This option needed mainly to specify upper limit of minutes
41 to prevent modem hanging.
44 The standard way to use
46 is to put invocations of it in the
50 .Bl -tag -width /dev/ttyd? -compact
52 dialin devices, hardwired terminals
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.
65 .An Christopher G. Demetriou