Move /var/svc/log to /var/log/svc
[unleashed/lotheac.git] / share / man / man4 / ttydefs.4
blob6b7b1995cf6e84b094b2075e8cde1ce91145c008
1 '\" te
2 .\"  Copyright 1989 AT&T  Copyright (c) 1997, Sun Microsystems, Inc.  All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH TTYDEFS 4 "Jan 27, 1994"
7 .SH NAME
8 ttydefs \- file contains terminal line settings information for ttymon
9 .SH DESCRIPTION
10 .sp
11 .LP
12 \fB/etc/ttydefs\fR is an administrative file that contains records divided into
13 fields by colons (":").   This information used by \fBttymon\fR to set up the
14 speed and terminal settings for a TTY port.
15 .sp
16 .LP
17 The \fBttydefs\fR file contains the following fields:
18 .sp
19 .ne 2
20 .na
21 \fB\fIttylabel\fR\fR
22 .ad
23 .RS 17n
24 The string \fBttymon\fR tries to match against the TTY port's \fIttylabel\fR
25 field in the port monitor administrative file. It often describes the speed at
26 which the terminal is supposed to run, for example, \fB1200\fR.
27 .RE
29 .sp
30 .ne 2
31 .na
32 \fB\fIinitial-flags\fR\fR
33 .ad
34 .RS 17n
35 Contains the initial  \fBtermio\fR(7I) settings to which the terminal is to be
36 set. For example, the system administrator will be able to specify what the
37 default erase and kill characters will be. \fIinitial-flags\fR must be
38 specified in the syntax recognized by the \fBstty\fR command.
39 .RE
41 .sp
42 .ne 2
43 .na
44 \fB\fIfinal-flags\fR\fR
45 .ad
46 .RS 17n
47 \fIfinal-flags\fR must be specified in the same format as \fIinitial-flags\fR.
48 \fBttymon\fR sets these final settings after a connection request has been made
49 and immediately prior to invoking a port's service.
50 .RE
52 .sp
53 .ne 2
54 .na
55 \fB\fIautobaud\fR\fR
56 .ad
57 .RS 17n
58 If the autobaud field contains the character 'A,' autobaud will  be enabled.
59 Otherwise, autobaud will be disabled. \fBttymon\fR determines what line speed
60 to set the TTY port to by analyzing the carriage returns entered. If autobaud
61 has been disabled, the hunt sequence is used for baud rate determination.
62 .RE
64 .sp
65 .ne 2
66 .na
67 \fB\fInextlabel\fR\fR
68 .ad
69 .RS 17n
70 If the user indicates that the current terminal setting is not appropriate by
71 sending a BREAK, \fBttymon\fR searchs for a \fBttydefs\fR entry whose
72 \fIttylabel\fR field matches  the \fInextlabel\fR field. If a match is found,
73 \fBttymon\fR uses that field as its \fIttylabel\fR field. A series of speeds is
74 often linked together in this way into a closed set called a hunt sequence. For
75 example, \fB4800\fR may be linked to \fB1200\fR, which in turn is linked to
76 \fB2400\fR, which is finally linked to \fB4800\fR.
77 .RE
79 .SH SEE ALSO
80 .sp
81 .LP
82 \fBsttydefs\fR(8), \fBttymon\fR(8), \fBtermio\fR(7I)
83 .sp
84 .LP
85 \fISystem Administration Guide: Basic Administration\fR