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