summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/ttyadm.1m
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1m/ttyadm.1m')
-rw-r--r--usr/src/man/man1m/ttyadm.1m40
1 files changed, 4 insertions, 36 deletions
diff --git a/usr/src/man/man1m/ttyadm.1m b/usr/src/man/man1m/ttyadm.1m
index 7abc5b8c4e..15772190f7 100644
--- a/usr/src/man/man1m/ttyadm.1m
+++ b/usr/src/man/man1m/ttyadm.1m
@@ -4,14 +4,14 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ttyadm 1M "14 Sep 1992" "SunOS 5.11" "System Administration Commands"
+.TH TTYADM 1M "Sep 14, 1992"
.SH NAME
ttyadm \- format and output port monitor-specific information
.SH SYNOPSIS
.LP
.nf
-\fB/usr/sbin/ttyadm\fR [\fB-b\fR] [\fB-c\fR] [\fB-h\fR] [\fB-I\fR] [\fB-r\fR \fIcount\fR] [\fB-i\fR \fImsg\fR]
- [\fB-m\fR \fImodules\fR] [\fB-p\fR \fIprompt\fR] [\fB-t\fR \fItimeout\fR] [\fB-S\fR y | n]
+\fB/usr/sbin/ttyadm\fR [\fB-b\fR] [\fB-c\fR] [\fB-h\fR] [\fB-I\fR] [\fB-r\fR \fIcount\fR] [\fB-i\fR \fImsg\fR]
+ [\fB-m\fR \fImodules\fR] [\fB-p\fR \fIprompt\fR] [\fB-t\fR \fItimeout\fR] [\fB-S\fR y | n]
[\fB-T\fR \fItermtype\fR] \fB-d\fR \fIdevice\fR \fB-l\fR \fIttylabel\fR \fB-s\fR \fIservice\fR
.fi
@@ -36,12 +36,10 @@ monitor-specific (\fBttymon\fR-specific) data to these commands.
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-b\fR\fR
.ad
.RS 15n
-.rt
Set the ``bi-directional port'' flag. When this flag is set, the line can be
used in both directions. \fBttymon\fR will allow users to connect to the
service associated with the port, but if the port is free, \fBuucico\fR(1M),
@@ -50,12 +48,10 @@ service associated with the port, but if the port is free, \fBuucico\fR(1M),
.sp
.ne 2
-.mk
.na
\fB\fB-c\fR\fR
.ad
.RS 15n
-.rt
Set the connect-on-carrier flag for the port. If the \fB-c\fR flag is set,
\fBttymon\fR will invoke the port's associated service immediately when a
connect indication is received (that is, no prompt is printed and no baud-rate
@@ -64,23 +60,19 @@ searching is done).
.sp
.ne 2
-.mk
.na
\fB\fB-d\fR\fI device\fR\fR
.ad
.RS 15n
-.rt
\fIdevice\fR is the full pathname of the device file for the TTY port.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-h\fR\fR
.ad
.RS 15n
-.rt
Set the hangup flag for the port. If the \fB-h\fR flag is not set, \fBttymon\fR
will force a hangup on the line by setting the speed to \fB0\fR before setting
the speed to the default or specified value.
@@ -88,12 +80,10 @@ the speed to the default or specified value.
.sp
.ne 2
-.mk
.na
\fB\fB-i\fR\fI message\fR\fR
.ad
.RS 15n
-.rt
Specify the inactive (disabled) response message. This message will be sent to
the TTY port if the port is disabled or the \fBttymon\fR monitoring the port is
disabled.
@@ -101,12 +91,10 @@ disabled.
.sp
.ne 2
-.mk
.na
\fB\fB-I\fR\fR
.ad
.RS 15n
-.rt
Initialize only. If the \fB-I\fR option is used, \fBttymon\fR will invoke the
service only once. This can be used to configure a particular device without
actually monitoring it, as with software carrier.
@@ -114,24 +102,20 @@ actually monitoring it, as with software carrier.
.sp
.ne 2
-.mk
.na
\fB\fB-l\fR\fI ttylabel\fR\fR
.ad
.RS 15n
-.rt
Specify which \fIttylabel\fR in the \fB/etc/ttydefs\fR file to use as the
starting point when searching for the proper baud rate.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-m\fR\fI modules\fR\fR
.ad
.RS 15n
-.rt
Specify a list of pushable STREAMS modules. The modules will be pushed in the
order in which they are specified before the service is invoked. \fImodules\fR
must be a comma-separated list of modules, with no white space included. Any
@@ -141,23 +125,19 @@ pushed.
.sp
.ne 2
-.mk
.na
\fB\fB-p\fR\fI prompt\fR\fR
.ad
.RS 15n
-.rt
Specify the prompt message, for example, ``\fBlogin:\fR''.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-r\fR\fI count\fR\fR
.ad
.RS 15n
-.rt
When the \fB-r\fR option is invoked, \fBttymon\fR will wait until it receives
data from the port before it displays a prompt. If \fIcount\fR is \fB0\fR,
\fBttymon\fR will wait until it receives any character. If \fIcount\fR is
@@ -167,12 +147,10 @@ been received.
.sp
.ne 2
-.mk
.na
\fB\fB-s\fR\fI service\fR\fR
.ad
.RS 15n
-.rt
\fIservice\fR is the full pathname of the service to be invoked when a
connection request is received. If arguments are required, the command and its
arguments must be enclosed in double quotes (" ").
@@ -180,48 +158,40 @@ arguments must be enclosed in double quotes (" ").
.sp
.ne 2
-.mk
.na
\fB\fB-S\fR \fBy|n\fR\fR
.ad
.RS 15n
-.rt
Set the software carrier value. \fBy\fR will turn software carrier on. \fBn\fR
will turn software carrier off.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-t\fR\fI timeout\fR\fR
.ad
.RS 15n
-.rt
Specify that \fBttymon\fR should close a port if the open on the port succeeds,
and no input data is received in \fItimeout\fR seconds.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-T\fR\fI termtype\fR\fR
.ad
.RS 15n
-.rt
Set the terminal type. The \fBTERM\fR environment variable will be set to
\fItermtype\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-V\fR\fR
.ad
.RS 15n
-.rt
Display the version number of the current \fB/usr/lib/saf/ttymon\fR command.
.RE
@@ -236,13 +206,11 @@ error and \fBttymon\fR will exit with a non-zero status.
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/etc/ttydefs\fR\fR
.ad
.RS 16n
-.rt
-
+
.RE
.SH SEE ALSO