xref: /freebsd/sbin/comcontrol/comcontrol.8 (revision 17ee9d00bc1ae1e598c38f25826f861e4bc6c3ce)
1.Dd May 15, 1994
2.Dt COMCONTROL 8
3.Os FreeBSD
4.Sh NAME
5.Nm comcontrol
6.Nd control an sio device.
7.Sh SYNOPSIS
8.Nm comcontrol
9.Ar sio_special_device
10.Op options
11.Sh DESCRIPTION
12.Nm Comcontrol
13is used to examine and modify some of the special characterstics
14of the specified sio device.
15If no arguments other than the device are specified,
16it prints the settings of all controllable characteristics.
17This usage requires only read access on the device.
18Only the superuser can change the settings.
19.Pp
20The following options are available:
21.Bl -tag -width Fl
22.It Cm dtrwait Ar number
23Set the time to wait after dropping DTR
24to the given number.
25The units are hundredths of a second.
26The default is 300 hundredths, i.e., 3 seconds.
27This option needed mainly to set proper recover time after
28modem reset.
29.El
30.Bl -tag -width Fl
31.It Cm drainwait Ar number
32Set the time to wait for output drain
33to the given number.
34The units are seconds.
35The default is 0, i.e. wait forever.
36This option needed mainly to specify upper limit of minutes
37to prevent modem hanging.
38.El
39.Pp
40The standard way to use
41.Nm comcontrol
42is to put invocations of it in the
43.Ar /etc/rc.serial
44startup script.
45.Sh SEE ALSO
46.Xr sio 4 ,
47.Xr stty 1 .
48.Sh FILES
49.Bl -tag -width Pa
50.It Pa /dev/ttyd?
51dialin devices, hardwired terminals
52.It Pa /dev/cuaa?
53dialout devices.
54.Sh AUTHOR
55Christopher G. Demetriou
56.Sh BUGS
57.Nm comcontrol
58should be named
59.Nm siocontrol .
60.
61.Sh HISTORY
62Originally part of cgd's com package patches, version 0.2.1, to 386BSD 0.1.
63Once controlled bidirectional capabilities.  Little is left to control now
64that these capabilities are standard.
65