freebsd-src/sbin/comcontrol/comcontrol.8

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

64 lines
1.6 KiB
Groff
Raw Normal View History

.Dd May 15, 1994
1993-12-10 19:27:16 +00:00
.Dt COMCONTROL 8
.Os
1993-12-10 19:27:16 +00:00
.Sh NAME
.Nm comcontrol
.Nd control a special tty device
1993-12-10 19:27:16 +00:00
.Sh SYNOPSIS
.Nm
.Ar special_device
.Op dtrwait Ar number
.Op drainwait Ar number
1993-12-10 19:27:16 +00:00
.Sh DESCRIPTION
2002-07-06 19:34:18 +00:00
The
.Nm
utility is used to examine and modify some of the special characteristics
of the specified tty device.
If no arguments other than the device (or "-" for stdin)
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:
.Bl -tag -width indent
.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.
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 5 minutes, 0 means
waiting forever.
This option is needed mainly to specify an upper limit of minutes
to prevent modem hanging.
.El
1993-12-10 19:27:16 +00:00
.Pp
The standard way to use
.Nm
1993-12-10 19:27:16 +00:00
is to put invocations of it in the
2003-12-23 07:16:38 +00:00
.Pa /etc/rc.d/serial
1993-12-10 19:27:16 +00:00
startup script.
.Sh FILES
.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/cuau?
dialout devices
2000-12-18 15:16:24 +00:00
.El
2005-01-18 10:09:38 +00:00
.Sh SEE ALSO
.Xr stty 1 ,
1993-12-10 19:27:16 +00:00
.Sh HISTORY
Originally part of cgd's com package patches, version 0.2.1, to
.Bx 386 0.1 .
Once controlled bidirectional capabilities.
Little is left to control now
that these capabilities are standard.
2005-01-18 10:09:38 +00:00
.Sh AUTHORS
.An Christopher G. Demetriou