1998-06-30 06:09:37 +00:00
|
|
|
.\" $Id: comcontrol.8,v 1.13 1998/03/19 07:46:39 charnier Exp $
|
1994-05-30 03:50:01 +00:00
|
|
|
.Dd May 15, 1994
|
1993-12-10 19:27:16 +00:00
|
|
|
.Dt COMCONTROL 8
|
|
|
|
.Os FreeBSD
|
|
|
|
.Sh NAME
|
|
|
|
.Nm comcontrol
|
1994-05-30 03:50:01 +00:00
|
|
|
.Nd control an sio device.
|
1993-12-10 19:27:16 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm comcontrol
|
|
|
|
.Ar sio_special_device
|
1994-05-30 03:50:01 +00:00
|
|
|
.Op options
|
1993-12-10 19:27:16 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm Comcontrol
|
1996-01-30 16:34:52 +00:00
|
|
|
is used to examine and modify some of the special characteristics
|
1994-05-30 03:50:01 +00:00
|
|
|
of the specified sio device.
|
|
|
|
If no arguments other than the device are specified,
|
|
|
|
it prints the settings of all controllable characteristics.
|
|
|
|
This usage requires only read access on the device.
|
|
|
|
Only the superuser can change the settings.
|
|
|
|
.Pp
|
|
|
|
The following options are available:
|
1998-06-30 06:09:37 +00:00
|
|
|
.Bl -tag -width indent
|
1994-05-30 03:50:01 +00:00
|
|
|
.It Cm dtrwait Ar number
|
|
|
|
Set the time to wait after dropping DTR
|
|
|
|
to the given number.
|
|
|
|
The units are hundredths of a second.
|
|
|
|
The default is 300 hundredths, i.e., 3 seconds.
|
1995-01-05 00:03:06 +00:00
|
|
|
This option needed mainly to set proper recover time after
|
|
|
|
modem reset.
|
|
|
|
.It Cm drainwait Ar number
|
|
|
|
Set the time to wait for output drain
|
|
|
|
to the given number.
|
|
|
|
The units are seconds.
|
|
|
|
The default is 0, i.e. wait forever.
|
|
|
|
This option needed mainly to specify upper limit of minutes
|
|
|
|
to prevent modem hanging.
|
1994-05-30 03:50:01 +00:00
|
|
|
.El
|
1993-12-10 19:27:16 +00:00
|
|
|
.Pp
|
|
|
|
The standard way to use
|
1998-06-30 06:09:37 +00:00
|
|
|
.Nm
|
1993-12-10 19:27:16 +00:00
|
|
|
is to put invocations of it in the
|
1998-06-30 06:09:37 +00:00
|
|
|
.Pa /etc/rc.serial
|
1993-12-10 19:27:16 +00:00
|
|
|
startup script.
|
|
|
|
.Sh SEE ALSO
|
1997-01-13 00:25:51 +00:00
|
|
|
.Xr stty 1 ,
|
|
|
|
.Xr sio 4
|
1993-12-10 19:27:16 +00:00
|
|
|
.Sh FILES
|
1998-06-30 06:09:37 +00:00
|
|
|
.Bl -tag -width /dev/ttyd? -compact
|
1994-05-03 18:50:13 +00:00
|
|
|
.It Pa /dev/ttyd?
|
1994-12-05 19:52:29 +00:00
|
|
|
dialin devices, hardwired terminals
|
|
|
|
.It Pa /dev/cuaa?
|
1998-06-30 06:09:37 +00:00
|
|
|
dialout devices
|
1998-03-19 07:47:10 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Christopher G. Demetriou
|
1993-12-10 19:27:16 +00:00
|
|
|
.Sh BUGS
|
1998-06-30 06:09:37 +00:00
|
|
|
.Nm Comcontrol
|
1994-05-30 03:50:01 +00:00
|
|
|
should be named
|
|
|
|
.Nm siocontrol .
|
1993-12-10 19:27:16 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
Originally part of cgd's com package patches, version 0.2.1, to 386BSD 0.1.
|
1994-05-30 03:50:01 +00:00
|
|
|
Once controlled bidirectional capabilities. Little is left to control now
|
|
|
|
that these capabilities are standard.
|