1.\" $Id$ 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 Fl 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.El 31.Bl -tag -width Fl 32.It Cm drainwait Ar number 33Set the time to wait for output drain 34to the given number. 35The units are seconds. 36The default is 0, i.e. wait forever. 37This option needed mainly to specify upper limit of minutes 38to prevent modem hanging. 39.El 40.Pp 41The standard way to use 42.Nm comcontrol 43is to put invocations of it in the 44.Ar /etc/rc.serial 45startup script. 46.Sh SEE ALSO 47.Xr stty 1 , 48.Xr sio 4 49.Sh FILES 50.Bl -tag -width Pa 51.It Pa /dev/ttyd? 52dialin devices, hardwired terminals 53.It Pa /dev/cuaa? 54dialout devices. 55.Sh AUTHOR 56Christopher G. Demetriou 57.Sh BUGS 58.Nm comcontrol 59should be named 60.Nm siocontrol . 61.Sh HISTORY 62Originally part of cgd's com package patches, version 0.2.1, to 386BSD 0.1. 63Once controlled bidirectional capabilities. Little is left to control now 64that these capabilities are standard. 65