xref: /minix3/libexec/getty/gettytab.5 (revision a06e2ab3959428ebf7e32b1cde13e386df9115ab)
1*a06e2ab3SBen Gras.\"	$NetBSD: gettytab.5,v 1.36 2012/04/21 12:27:28 roy Exp $
2*a06e2ab3SBen Gras.\"
3*a06e2ab3SBen Gras.\" Copyright (c) 1983, 1991, 1993
4*a06e2ab3SBen Gras.\"	The Regents of the University of California.  All rights reserved.
5*a06e2ab3SBen Gras.\"
6*a06e2ab3SBen Gras.\" Redistribution and use in source and binary forms, with or without
7*a06e2ab3SBen Gras.\" modification, are permitted provided that the following conditions
8*a06e2ab3SBen Gras.\" are met:
9*a06e2ab3SBen Gras.\" 1. Redistributions of source code must retain the above copyright
10*a06e2ab3SBen Gras.\"    notice, this list of conditions and the following disclaimer.
11*a06e2ab3SBen Gras.\" 2. Redistributions in binary form must reproduce the above copyright
12*a06e2ab3SBen Gras.\"    notice, this list of conditions and the following disclaimer in the
13*a06e2ab3SBen Gras.\"    documentation and/or other materials provided with the distribution.
14*a06e2ab3SBen Gras.\" 3. Neither the name of the University nor the names of its contributors
15*a06e2ab3SBen Gras.\"    may be used to endorse or promote products derived from this software
16*a06e2ab3SBen Gras.\"    without specific prior written permission.
17*a06e2ab3SBen Gras.\"
18*a06e2ab3SBen Gras.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19*a06e2ab3SBen Gras.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*a06e2ab3SBen Gras.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*a06e2ab3SBen Gras.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22*a06e2ab3SBen Gras.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23*a06e2ab3SBen Gras.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24*a06e2ab3SBen Gras.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25*a06e2ab3SBen Gras.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26*a06e2ab3SBen Gras.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27*a06e2ab3SBen Gras.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28*a06e2ab3SBen Gras.\" SUCH DAMAGE.
29*a06e2ab3SBen Gras.\"
30*a06e2ab3SBen Gras.\"     from: @(#)gettytab.5	8.4 (Berkeley) 4/19/94
31*a06e2ab3SBen Gras.\"
32*a06e2ab3SBen Gras.Dd April 5, 2012
33*a06e2ab3SBen Gras.Dt GETTYTAB 5
34*a06e2ab3SBen Gras.Os
35*a06e2ab3SBen Gras.Sh NAME
36*a06e2ab3SBen Gras.Nm gettytab
37*a06e2ab3SBen Gras.Nd terminal configuration data base
38*a06e2ab3SBen Gras.Sh SYNOPSIS
39*a06e2ab3SBen Gras.Nm
40*a06e2ab3SBen Gras.Sh DESCRIPTION
41*a06e2ab3SBen GrasThe
42*a06e2ab3SBen Gras.Nm
43*a06e2ab3SBen Grasfile
44*a06e2ab3SBen Grasis a simplified version of the
45*a06e2ab3SBen Gras.Xr capfile 5
46*a06e2ab3SBen Grasdata base
47*a06e2ab3SBen Grasused to describe terminal lines.
48*a06e2ab3SBen GrasThe initial terminal login process
49*a06e2ab3SBen Gras.Xr getty 8
50*a06e2ab3SBen Grasaccesses the
51*a06e2ab3SBen Gras.Nm
52*a06e2ab3SBen Grasfile each time it starts, allowing simpler
53*a06e2ab3SBen Grasreconfiguration of terminal characteristics.
54*a06e2ab3SBen GrasEach entry in the data base
55*a06e2ab3SBen Grasis used to describe one class of terminals.
56*a06e2ab3SBen Gras.Pp
57*a06e2ab3SBen GrasWhere to run
58*a06e2ab3SBen Gras.Xr getty 8
59*a06e2ab3SBen Grasprocesses is normally defined by
60*a06e2ab3SBen Gras.Xr ttys 5 .
61*a06e2ab3SBen Gras.Pp
62*a06e2ab3SBen GrasThere is a default terminal class,
63*a06e2ab3SBen Gras.Em default ,
64*a06e2ab3SBen Grasthat is used to set global defaults for all other classes.
65*a06e2ab3SBen Gras(That is, the
66*a06e2ab3SBen Gras.Em default
67*a06e2ab3SBen Grasentry is read, then the entry for the class required
68*a06e2ab3SBen Grasis used to override particular settings.)
69*a06e2ab3SBen GrasThe
70*a06e2ab3SBen Gras.Em default
71*a06e2ab3SBen Grasentry is also normally read by other programs that present login prompts
72*a06e2ab3SBen Grasto the user, such as
73*a06e2ab3SBen Gras.Xr telnetd 8 ,
74*a06e2ab3SBen Grasin order to retrieve the values of the
75*a06e2ab3SBen Gras.Em he ,
76*a06e2ab3SBen Gras.Em hn ,
77*a06e2ab3SBen Gras.Em im ,
78*a06e2ab3SBen Grasand
79*a06e2ab3SBen Gras.Em if
80*a06e2ab3SBen Grascapabilities.
81*a06e2ab3SBen Gras.Sh CAPABILITIES
82*a06e2ab3SBen GrasRefer to
83*a06e2ab3SBen Gras.Xr capfile 5
84*a06e2ab3SBen Grasfor a description of the file layout.
85*a06e2ab3SBen GrasThe
86*a06e2ab3SBen Gras.Em default
87*a06e2ab3SBen Grascolumn below lists defaults obtained if there is
88*a06e2ab3SBen Grasno entry in the table obtained, nor one in the special
89*a06e2ab3SBen Gras.Em default
90*a06e2ab3SBen Grastable.
91*a06e2ab3SBen Gras.Bl -column Namexx /usr/bin/login Default
92*a06e2ab3SBen Gras.It Sy Name	Type	Default	Description
93*a06e2ab3SBen Gras.It "ab	bool	false	Auto-baud speed select mechanism for the Micom 600 portselector. Selection is done by looking at how the character `\er' is garbled at 300, 1200, 4800, and 9600 baud."
94*a06e2ab3SBen Gras.It "al	str	NULL	user to auto-login instead of prompting"
95*a06e2ab3SBen Gras.It "ap	bool	false	terminal uses any parity"
96*a06e2ab3SBen Gras.It "bk	str	0377	alternative end of line character (input break)"
97*a06e2ab3SBen Gras.It "b2	str	0377	alternative end of line character (input break)"
98*a06e2ab3SBen Gras.It "c0	num	unused	tty control flags to write messages"
99*a06e2ab3SBen Gras.It "c1	num	unused	tty control flags to read login name"
100*a06e2ab3SBen Gras.It "c2	num	unused	tty control flags to leave terminal as"
101*a06e2ab3SBen Gras.It "ce	bool	false	use crt erase algorithm"
102*a06e2ab3SBen Gras.It "ck	bool	false	use crt kill algorithm"
103*a06e2ab3SBen Gras.It "cl	str" Ta Dv NULL Ta
104*a06e2ab3SBen Gras.No "screen clear sequence"
105*a06e2ab3SBen Gras.It "co	bool	false	console - add"
106*a06e2ab3SBen Gras.Ql \er\en
107*a06e2ab3SBen Grasafter login prompt
108*a06e2ab3SBen Gras.It "cs	bool	false	clear screen based on terminal type in /etc/ttys"
109*a06e2ab3SBen Gras.It "ds	str" Ta So Li ^Y Sc Ta
110*a06e2ab3SBen Gras.No "delayed suspend character"
111*a06e2ab3SBen Gras.It "dx	bool	false	set"
112*a06e2ab3SBen Gras.Dv DECCTLQ
113*a06e2ab3SBen Gras.It "ec	bool	false	leave echo"
114*a06e2ab3SBen Gras.Tn OFF
115*a06e2ab3SBen Gras.It "ep	bool	false	terminal uses even parity"
116*a06e2ab3SBen Gras.It "er	str" Ta So Li ^? Sc Ta
117*a06e2ab3SBen Gras.No "erase character"
118*a06e2ab3SBen Gras.It "et	str" Ta So Li ^D Sc Ta
119*a06e2ab3SBen Gras.No "end of text"
120*a06e2ab3SBen Gras.Pq Dv EOF
121*a06e2ab3SBen Grascharacter
122*a06e2ab3SBen Gras.It "ev	str" Ta Dv NULL Ta
123*a06e2ab3SBen Gras.No "initial environment"
124*a06e2ab3SBen Gras.It "f0	num	unused	tty mode flags to write messages"
125*a06e2ab3SBen Gras.It "f1	num	unused	tty mode flags to read login name"
126*a06e2ab3SBen Gras.It "f2	num	unused	tty mode flags to leave terminal as"
127*a06e2ab3SBen Gras.It "fl	str" Ta So Li ^O Sc Ta
128*a06e2ab3SBen Gras.No "output flush character"
129*a06e2ab3SBen Gras.It "hc	bool	false	do"
130*a06e2ab3SBen Gras.Tn NOT
131*a06e2ab3SBen Grashangup line on last close
132*a06e2ab3SBen Gras.It "he	str" Ta Dv NULL Ta
133*a06e2ab3SBen Gras.No "hostname editing string"
134*a06e2ab3SBen Gras.It "hn	str	hostname	hostname"
135*a06e2ab3SBen Gras.It "ht	bool	false	terminal has real tabs"
136*a06e2ab3SBen Gras.It "i0	num	unused	tty input flags to write messages"
137*a06e2ab3SBen Gras.It "i1	num	unused	tty input flags to read login name"
138*a06e2ab3SBen Gras.It "i2	num	unused	tty input flags to leave terminal as"
139*a06e2ab3SBen Gras.It "if	str	NULL	display named file before prompt, like /etc/issue"
140*a06e2ab3SBen Gras.It "ig	bool	false	ignore garbage characters in login name"
141*a06e2ab3SBen Gras.It "im	str" Ta Dv NULL Ta
142*a06e2ab3SBen Gras.No "initial (banner) message"
143*a06e2ab3SBen Gras.It "in	str" Ta So Li ^C Sc Ta
144*a06e2ab3SBen Gras.No "interrupt character"
145*a06e2ab3SBen Gras.It "is	num	unused	input speed"
146*a06e2ab3SBen Gras.It "kl	str" Ta So Li ^U Sc Ta
147*a06e2ab3SBen Gras.No "kill character"
148*a06e2ab3SBen Gras.It "l0	num	unused	tty local flags to write messages"
149*a06e2ab3SBen Gras.It "l1	num	unused	tty local flags to read login name"
150*a06e2ab3SBen Gras.It "l2	num	unused	tty local flags to leave terminal as"
151*a06e2ab3SBen Gras.It "lc	bool	false	terminal has lower case"
152*a06e2ab3SBen Gras.It "lm	str	login:	login prompt"
153*a06e2ab3SBen Gras.It "ln	str" Ta So Li ^V Sc Ta
154*a06e2ab3SBen Gras.No "``literal next'' character"
155*a06e2ab3SBen Gras.It "lo	str" Ta Pa /usr/bin/login Ta
156*a06e2ab3SBen Gras.No "program to exec when name obtained"
157*a06e2ab3SBen Gras.It "mb	bool	false	do flow control based on carrier"
158*a06e2ab3SBen Gras.It "nl	bool	false	terminal has (or might have) a newline character"
159*a06e2ab3SBen Gras.It "nn	bool	false	do not prompt for a login name"
160*a06e2ab3SBen Gras.It "np	bool	false	terminal uses no parity (i.e. 8-bit characters)"
161*a06e2ab3SBen Gras.It "nx	str	default	next table (for auto speed selection)"
162*a06e2ab3SBen Gras.It "o0	num	unused	tty output flags to write messages"
163*a06e2ab3SBen Gras.It "o1	num	unused	tty output flags to read login name"
164*a06e2ab3SBen Gras.It "o2	num	unused	tty output flags to leave terminal as"
165*a06e2ab3SBen Gras.It "op	bool	false	terminal uses odd parity"
166*a06e2ab3SBen Gras.It "os	num	unused	output speed"
167*a06e2ab3SBen Gras.It "pc	str" Ta So Li \e0 Sc Ta
168*a06e2ab3SBen Gras.No "pad character"
169*a06e2ab3SBen Gras.It "pe	bool	false	use printer (hard copy) erase algorithm"
170*a06e2ab3SBen Gras.It "pf	num	0	delay"
171*a06e2ab3SBen Grasbetween first prompt and following flush (seconds)
172*a06e2ab3SBen Gras.It "pp	str	unused	PPP authentication program"
173*a06e2ab3SBen Gras.It "ps	bool	false	line connected to a"
174*a06e2ab3SBen Gras.Tn MICOM
175*a06e2ab3SBen Grasport selector
176*a06e2ab3SBen Gras.It "qu	str" Ta So Li \&^\e Sc Ta
177*a06e2ab3SBen Gras.No "quit character"
178*a06e2ab3SBen Gras.It "rp	str" Ta So Li ^R Sc Ta
179*a06e2ab3SBen Gras.No "line retype character"
180*a06e2ab3SBen Gras.It "rw	bool	false	do"
181*a06e2ab3SBen Gras.Tn NOT
182*a06e2ab3SBen Grasuse raw for input, use cbreak
183*a06e2ab3SBen Gras.It "sp	num	unused	line speed (input and output)"
184*a06e2ab3SBen Gras.It "st	str" Ta So Li ^T Sc Ta
185*a06e2ab3SBen Gras.No "status character"
186*a06e2ab3SBen Gras.It "su	str" Ta So Li ^Z Sc Ta
187*a06e2ab3SBen Gras.No "suspend character"
188*a06e2ab3SBen Gras.It "tc	str	none	table continuation"
189*a06e2ab3SBen Gras.It "to	num	0	timeout (seconds)"
190*a06e2ab3SBen Gras.It "tt	str" Ta Dv NULL Ta
191*a06e2ab3SBen Gras.No "terminal type (for environment)"
192*a06e2ab3SBen Gras.It "ub	bool	false	do unbuffered output (of prompts etc)"
193*a06e2ab3SBen Gras.It "we	str" Ta So Li ^W Sc Ta
194*a06e2ab3SBen Gras.No "word erase character"
195*a06e2ab3SBen Gras.It "xc	bool	false	do"
196*a06e2ab3SBen Gras.Tn NOT
197*a06e2ab3SBen Grasecho control chars as
198*a06e2ab3SBen Gras.Ql ^X
199*a06e2ab3SBen Gras.It "xf	str" Ta So Li ^S Sc Ta Dv XOFF
200*a06e2ab3SBen Gras(stop output) character
201*a06e2ab3SBen Gras.It "xn	str" Ta So Li ^Q Sc Ta Dv XON
202*a06e2ab3SBen Gras(start output) character
203*a06e2ab3SBen Gras.El
204*a06e2ab3SBen Gras.Pp
205*a06e2ab3SBen GrasThe following capabilities are no longer supported by
206*a06e2ab3SBen Gras.Xr getty 8 :
207*a06e2ab3SBen Gras.Bl -column Namexx /usr/bin/login Default
208*a06e2ab3SBen Gras.It "bd	num	0	backspace delay"
209*a06e2ab3SBen Gras.It "cb	bool	false	use crt backspace mode"
210*a06e2ab3SBen Gras.It "cd	num	0	carriage-return delay"
211*a06e2ab3SBen Gras.It "fd	num	0	form-feed (vertical motion) delay"
212*a06e2ab3SBen Gras.It "nd	num	0	newline (line-feed) delay"
213*a06e2ab3SBen Gras.It "uc	bool	false	terminal is known upper case only"
214*a06e2ab3SBen Gras.El
215*a06e2ab3SBen Gras.Pp
216*a06e2ab3SBen GrasIf no line speed is specified, speed will not be altered
217*a06e2ab3SBen Grasfrom that which prevails when getty is entered.
218*a06e2ab3SBen GrasSpecifying an input or output speed will override
219*a06e2ab3SBen Grasline speed for stated direction only.
220*a06e2ab3SBen Gras.Pp
221*a06e2ab3SBen GrasTerminal modes to be used for the output of the message,
222*a06e2ab3SBen Grasfor input of the login name,
223*a06e2ab3SBen Grasand to leave the terminal set as upon completion,
224*a06e2ab3SBen Grasare derived from the boolean flags specified.
225*a06e2ab3SBen GrasIf the derivation should prove inadequate,
226*a06e2ab3SBen Grasany (or all) of these three may be overridden
227*a06e2ab3SBen Graswith one of the
228*a06e2ab3SBen Gras.Em \&c0 ,
229*a06e2ab3SBen Gras.Em \&c1 ,
230*a06e2ab3SBen Gras.Em \&c2 ,
231*a06e2ab3SBen Gras.Em \&i0 ,
232*a06e2ab3SBen Gras.Em \&i1 ,
233*a06e2ab3SBen Gras.Em \&i2 ,
234*a06e2ab3SBen Gras.Em \&l0 ,
235*a06e2ab3SBen Gras.Em \&l1 ,
236*a06e2ab3SBen Gras.Em \&l2 ,
237*a06e2ab3SBen Gras.Em \&o0 ,
238*a06e2ab3SBen Gras.Em \&o1 ,
239*a06e2ab3SBen Grasor
240*a06e2ab3SBen Gras.Em \&o2
241*a06e2ab3SBen Grasnumeric specifications, which can be used to specify
242*a06e2ab3SBen Gras(usually in octal, with a leading '0')
243*a06e2ab3SBen Grasthe exact values of the flags.
244*a06e2ab3SBen GrasThese flags correspond to the termios
245*a06e2ab3SBen Gras.Em c_cflag ,
246*a06e2ab3SBen Gras.Em c_iflag ,
247*a06e2ab3SBen Gras.Em c_lflag ,
248*a06e2ab3SBen Grasand
249*a06e2ab3SBen Gras.Em c_oflag
250*a06e2ab3SBen Grasfields, respectively.
251*a06e2ab3SBen GrasEach these sets must be completely specified to be effective.
252*a06e2ab3SBen GrasThe
253*a06e2ab3SBen Gras.Em \&f0 ,
254*a06e2ab3SBen Gras.Em \&f1 ,
255*a06e2ab3SBen Grasand
256*a06e2ab3SBen Gras.Em \&f2
257*a06e2ab3SBen Grasare excepted for backwards compatibility with a previous incarnation of
258*a06e2ab3SBen Grasthe TTY sub-system.
259*a06e2ab3SBen GrasIn these flags the bottom 16 bits of the (32 bits) value contain the sgttyb
260*a06e2ab3SBen Gras.Em sg_flags
261*a06e2ab3SBen Grasfield, while the top 16 bits represent the local mode word.
262*a06e2ab3SBen Gras.Pp
263*a06e2ab3SBen GrasShould
264*a06e2ab3SBen Gras.Xr getty 8
265*a06e2ab3SBen Grasreceive a null character
266*a06e2ab3SBen Gras(presumed to indicate a line break)
267*a06e2ab3SBen Grasit will restart using the table indicated by the
268*a06e2ab3SBen Gras.Em nx
269*a06e2ab3SBen Grasentry.
270*a06e2ab3SBen GrasIf there is none, it will re-use its original table.
271*a06e2ab3SBen Gras.Pp
272*a06e2ab3SBen GrasDelays are specified in milliseconds, the nearest possible
273*a06e2ab3SBen Grasdelay available in the tty driver will be used.
274*a06e2ab3SBen GrasShould greater certainty be desired, delays
275*a06e2ab3SBen Graswith values 0, 1, 2, and 3 are interpreted as
276*a06e2ab3SBen Graschoosing that particular delay algorithm from the driver.
277*a06e2ab3SBen Gras.Pp
278*a06e2ab3SBen GrasThe
279*a06e2ab3SBen Gras.Em \&cl
280*a06e2ab3SBen Grasscreen clear string may be preceded by a (decimal) number
281*a06e2ab3SBen Grasof milliseconds of delay required (a la termcap).
282*a06e2ab3SBen GrasThis delay is simulated by repeated use of the pad character
283*a06e2ab3SBen Gras.Em \&pc .
284*a06e2ab3SBen Gras.Pp
285*a06e2ab3SBen GrasThe initial message, and login message,
286*a06e2ab3SBen Gras.Em \&im
287*a06e2ab3SBen Grasand
288*a06e2ab3SBen Gras.Em \&lm
289*a06e2ab3SBen Grasmay include any of the following character sequences, which expand to
290*a06e2ab3SBen Grasinformation about the environment in which
291*a06e2ab3SBen Gras.Xr getty 8
292*a06e2ab3SBen Grasis running.
293*a06e2ab3SBen Gras.Pp
294*a06e2ab3SBen Gras.Bl -tag -width \&%xxx -compact
295*a06e2ab3SBen Gras.It \&%d
296*a06e2ab3SBen GrasThe current date.
297*a06e2ab3SBen Gras.It \&%h
298*a06e2ab3SBen GrasThe hostname of the machine, which is normally obtained from the
299*a06e2ab3SBen Grassystem using
300*a06e2ab3SBen Gras.Xr gethostname 3 ,
301*a06e2ab3SBen Grasbut may also be overridden by the
302*a06e2ab3SBen Gras.Em \&hn
303*a06e2ab3SBen Grastable entry.
304*a06e2ab3SBen GrasIn either case it may be edited with the
305*a06e2ab3SBen Gras.Em \&he
306*a06e2ab3SBen Grasstring.
307*a06e2ab3SBen GrasA '@' in the
308*a06e2ab3SBen Gras.Em \&he
309*a06e2ab3SBen Grasstring causes one character from the real hostname to
310*a06e2ab3SBen Grasbe copied to the final hostname.
311*a06e2ab3SBen GrasA '#' in the
312*a06e2ab3SBen Gras.Em \&he
313*a06e2ab3SBen Grasstring causes the next character of the real hostname
314*a06e2ab3SBen Grasto be skipped.
315*a06e2ab3SBen GrasEach character that
316*a06e2ab3SBen Grasis neither '@' nor '#' is copied into the final hostname.
317*a06e2ab3SBen GrasSurplus '@' and '#' characters are ignored.
318*a06e2ab3SBen Gras.It \&%t
319*a06e2ab3SBen GrasThe tty name.
320*a06e2ab3SBen Gras.It "\&%m, \&%r, \&%s, \&%v"
321*a06e2ab3SBen GrasThe type of machine, release of the operating system, name of the
322*a06e2ab3SBen Grasoperating system, and version of the kernel, respectively, as
323*a06e2ab3SBen Grasreturned by
324*a06e2ab3SBen Gras.Xr uname 3 .
325*a06e2ab3SBen Gras.It \&%%
326*a06e2ab3SBen GrasA
327*a06e2ab3SBen Gras.Dq %
328*a06e2ab3SBen Grascharacter.
329*a06e2ab3SBen Gras.El
330*a06e2ab3SBen Gras.Pp
331*a06e2ab3SBen GrasWhen getty execs the login process, given
332*a06e2ab3SBen Grasin the
333*a06e2ab3SBen Gras.Em \&lo
334*a06e2ab3SBen Grasstring (usually
335*a06e2ab3SBen Gras.Dq Pa /usr/bin/login ) ,
336*a06e2ab3SBen Grasit will have set
337*a06e2ab3SBen Grasthe environment to include the terminal type, as indicated
338*a06e2ab3SBen Grasby the
339*a06e2ab3SBen Gras.Em \&tt
340*a06e2ab3SBen Grasstring (if it exists).
341*a06e2ab3SBen GrasThe
342*a06e2ab3SBen Gras.Em \&ev
343*a06e2ab3SBen Grasstring, can be used to enter additional data into
344*a06e2ab3SBen Grasthe environment.
345*a06e2ab3SBen GrasIt is a list of comma separated strings, each of which
346*a06e2ab3SBen Graswill presumably be of the form
347*a06e2ab3SBen Gras.Em name=value .
348*a06e2ab3SBen Gras.Pp
349*a06e2ab3SBen GrasIf a non-zero timeout is specified, with
350*a06e2ab3SBen Gras.Em \&to ,
351*a06e2ab3SBen Grasthen getty will exit within the indicated
352*a06e2ab3SBen Grasnumber of seconds, either having
353*a06e2ab3SBen Grasreceived a login name and passed control
354*a06e2ab3SBen Grasto
355*a06e2ab3SBen Gras.Xr login 1 ,
356*a06e2ab3SBen Grasor having received an alarm signal, and exited.
357*a06e2ab3SBen GrasThis may be useful to hangup dial in lines.
358*a06e2ab3SBen Gras.Pp
359*a06e2ab3SBen GrasOutput from
360*a06e2ab3SBen Gras.Xr getty 8
361*a06e2ab3SBen Grasis even parity unless
362*a06e2ab3SBen Gras.Em \&op
363*a06e2ab3SBen Grasor
364*a06e2ab3SBen Gras.Em \&np
365*a06e2ab3SBen Grasis specified.
366*a06e2ab3SBen GrasThe
367*a06e2ab3SBen Gras.Em \&op
368*a06e2ab3SBen Grasstring
369*a06e2ab3SBen Grasmay be specified with
370*a06e2ab3SBen Gras.Em \&ap
371*a06e2ab3SBen Grasto allow any parity on input, but generate odd parity output.
372*a06e2ab3SBen GrasNote: this only applies while getty is being run,
373*a06e2ab3SBen Grasterminal driver limitations prevent a more complete
374*a06e2ab3SBen Grasimplementation.
375*a06e2ab3SBen Gras.Xr getty 8
376*a06e2ab3SBen Grasdoes not check parity of input characters in
377*a06e2ab3SBen Gras.Dv RAW
378*a06e2ab3SBen Grasmode.
379*a06e2ab3SBen Gras.Pp
380*a06e2ab3SBen GrasIf
381*a06e2ab3SBen Gras.Em \&pp
382*a06e2ab3SBen Grasstring is specified and a Point to Point Protocol
383*a06e2ab3SBen Gras.Pq Tn PPP
384*a06e2ab3SBen Graslink bringup sequence is recognized,
385*a06e2ab3SBen Gras.Xr getty 8
386*a06e2ab3SBen Graswill invoke the program referenced by the
387*a06e2ab3SBen Gras.Em \&pp
388*a06e2ab3SBen Grasstring, e.g.
389*a06e2ab3SBen Gras.Xr pppd 8 .
390*a06e2ab3SBen GrasThis can be used to handle incoming
391*a06e2ab3SBen Gras.Tn PPP
392*a06e2ab3SBen Grascalls.
393*a06e2ab3SBen Gras.Sh SEE ALSO
394*a06e2ab3SBen Gras.Xr login 1 ,
395*a06e2ab3SBen Gras.Xr gethostname 3 ,
396*a06e2ab3SBen Gras.Xr uname 3 ,
397*a06e2ab3SBen Gras.Xr capfile 5 ,
398*a06e2ab3SBen Gras.Xr ttys 5 ,
399*a06e2ab3SBen Gras.Xr getty 8 ,
400*a06e2ab3SBen Gras.Xr pppd 8 ,
401*a06e2ab3SBen Gras.Xr telnetd 8
402*a06e2ab3SBen Gras.Sh HISTORY
403*a06e2ab3SBen GrasThe
404*a06e2ab3SBen Gras.Nm
405*a06e2ab3SBen Grasfile format appeared in
406*a06e2ab3SBen Gras.Bx 4.2 .
407*a06e2ab3SBen Gras.Sh BUGS
408*a06e2ab3SBen GrasThe special characters (erase, kill, etc.) are reset to system defaults
409*a06e2ab3SBen Grasby
410*a06e2ab3SBen Gras.Xr login 1 .
411*a06e2ab3SBen GrasIn
412*a06e2ab3SBen Gras.Em all
413*a06e2ab3SBen Grascases, '#' or '^H' typed in a login name will be treated as
414*a06e2ab3SBen Grasan erase character, and '@' will be treated as a kill character.
415*a06e2ab3SBen Gras.Pp
416*a06e2ab3SBen GrasThe delay stuff is a real crock.
417*a06e2ab3SBen GrasApart from its general lack of flexibility, some
418*a06e2ab3SBen Grasof the delay algorithms are not implemented.
419*a06e2ab3SBen GrasThe terminal driver should support sane delay settings.
420*a06e2ab3SBen Gras.Pp
421*a06e2ab3SBen GrasThe
422*a06e2ab3SBen Gras.Em \&he
423*a06e2ab3SBen Grascapability is stupid.
424