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