|
|
1.1 root 1: .TH GETTY 8
2: .CT 1 sa_auto secur
3: .SH NAME
4: getty \- set terminal mode
5: .SH SYNOPSIS
6: .B /etc/getty
7: [
8: .I char
9: ]
10: .SH DESCRIPTION
11: .I Getty
12: is invoked by
13: .IR init (8)
14: after a terminal is opened.
15: While reading the user's name
16: .I getty
17: attempts to adapt the system to the speed and type of terminal
18: being used.
19: .PP
20: .I Init
21: calls
22: .I getty
23: with an argument specified by the
24: .IR ttys (5)
25: entry for the terminal line.
26: The argument
27: .I char
28: determines the line speed
29: and other characteristics;
30: see below.
31: .I Getty
32: then types a banner identifying the system (from
33: .FR /etc/whoami )
34: and the
35: .L login:
36: message.
37: The user's name is then read, a character at a time.
38: If a null character is received, it is assumed to be the result
39: of the user pushing the `break' (`interrupt') key.
40: The speed is then
41: changed to another baud rate and
42: .L login:
43: is typed again.
44: Successive breaks cycle through a set of speeds.
45: .PP
46: The user's name is terminated by a newline or
47: carriage return.
48: The latter results in the system being set to
49: treat carriage returns appropriately (see
50: .IR ioctl (2)).
51: .PP
52: Finally,
53: .IR login (8)
54: is called with the user's name as argument.
55: .PP
56: Here are the possible values for
57: .IR char .
58: If more than one speed is given,
59: the first speed is used initially;
60: others are selected by successive depressions of the
61: BREAK key.
62: Other things,
63: like delays and tab expansion,
64: are set in various ways as well.
65: .PP
66: .de fq
67: \f5\\$1 \fR\\$2 \\$3 \\$4 \\$5 \\$6
68: ..
69: .nf
70: char speed
71: .fq 0 300-1200-150-110
72: .fq 2 9600
73: .fq 3 1200-300
74: .fq 4 300
75: .fq 5 300-1200
76: .fq 6 2400
77: .fq 7 4800
78: .fq 8 9600-1200-300
79: .fq 9 300-9600-1200
80: .fq a 2400-1200
81: .fq b 1200-2400
82: .fq j exta (usually 19200)
83: .fi
84: .SH "SEE ALSO"
85: .IR init (8),
86: .IR login (8),
87: .IR ioctl (2),
88: .IR ttys (5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.