path: root/sbin/comcontrol/comcontrol.8
diff options
authorAndrey A. Chernov <ache@FreeBSD.org>2000-04-30 18:06:04 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-04-30 18:06:04 +0000
commit85a23112fdf24643c7df2afc9a0f4b19e95c9515 (patch)
tree7dfcf8dada97807db44d12412eaaf95ef54cf7f7 /sbin/comcontrol/comcontrol.8
parent43175e5e19255612f2b3a1ba868bada979443bd5 (diff)
Allow "-" for working with STDIN
Allow printing of each option separately when keyword specified without a number
Notes: svn path=/head/; revision=59791
Diffstat (limited to 'sbin/comcontrol/comcontrol.8')
1 files changed, 13 insertions, 6 deletions
diff --git a/sbin/comcontrol/comcontrol.8 b/sbin/comcontrol/comcontrol.8
index 4b12b6e0be0c..84ef5b5817c3 100644
--- a/sbin/comcontrol/comcontrol.8
+++ b/sbin/comcontrol/comcontrol.8
@@ -4,22 +4,26 @@
.Os FreeBSD
.Nm comcontrol
-.Nd control an sio device.
+.Nd control an special tty device.
.Nm comcontrol
-.Ar sio_special_device
-.Op options
+.Ar special_device | -
+.Op dtrwait Op number
+.Op drainwait Op number
.Nm Comcontrol
is used to examine and modify some of the special characteristics
-of the specified sio device.
-If no arguments other than the device are specified,
+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.
The following options are available:
.Bl -tag -width indent
+.It Cm dtrwait
+Print current DTR wait time.
.It Cm dtrwait Ar number
Set the time to wait after dropping DTR
to the given number.
@@ -27,11 +31,14 @@ 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
+Print current output drain timeout.
.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.
+The default is 5 minutes, 0 means
+waiting forever.
This option needed mainly to specify upper limit of minutes
to prevent modem hanging.