Commit | Line | Data |
---|---|---|
aa26a18b KT |
1 | .TH GETTY 8 |
2 | .SH NAME | |
3 | getty \- set typewriter mode | |
4 | .SH SYNOPSIS | |
5 | .B /etc/getty | |
6 | [ char ] | |
7 | .SH DESCRIPTION | |
8 | .I Getty | |
9 | is invoked | |
10 | by | |
11 | .IR init (8) | |
12 | immediately after a typewriter is opened | |
13 | following a dial-up. | |
14 | It reads the user's login name and calls | |
15 | .IR login (1) | |
16 | with the name as argument. | |
17 | While reading the name | |
18 | .I getty | |
19 | attempts to adapt the system to the speed and type of terminal | |
20 | being used. | |
21 | .PP | |
22 | .I Init | |
23 | calls | |
24 | .I getty | |
25 | with a single character argument taken from | |
26 | the | |
27 | .IR ttys (5) | |
28 | file entry for the terminal line. | |
29 | This argument determines a sequence of line speeds through which | |
30 | .I getty | |
31 | cycles, and also the `login:' greeting message, | |
32 | which can contain character sequences to put various kinds of | |
33 | terminals in useful states. | |
34 | .PP | |
35 | The user's name is terminated by a new-line or | |
36 | carriage-return character. | |
37 | In the second case CRMOD mode is set | |
38 | (see | |
39 | .IR ioctl (2)). | |
40 | .PP | |
41 | The name is scanned to see if | |
42 | it contains any lower-case alphabetic characters; if not, | |
43 | and if the name is nonempty, the | |
44 | system is told to map any future upper-case characters | |
45 | into the corresponding lower-case characters. | |
46 | .PP | |
47 | If the terminal's `break' key is depressed, | |
48 | .I getty | |
49 | cycles to the next speed appropriate to the type of line | |
50 | and prints the greeting message again. | |
51 | .PP | |
52 | Finally, login is called with the user's name as argument. | |
53 | .PP | |
54 | The following arguments from the | |
55 | .I ttys | |
56 | file are understood. | |
57 | .TP | |
58 | 0 | |
59 | Cycles through 300-1200-150-110 baud. | |
60 | Useful as a default for dialup lines accessed by a variety | |
61 | of terminals. | |
62 | .TP | |
63 | \- | |
64 | Intended for an on-line Teletype model 33, for example | |
65 | an operator's console. | |
66 | .TP | |
67 | 1 | |
68 | Optimized for a 150-baud Teletype model 37. | |
69 | .TP | |
70 | 2 | |
71 | Intended for an on-line 9600-baud terminal, for example | |
72 | the Textronix 4104. | |
73 | .TP | |
74 | 3 | |
75 | Starts at 1200 baud, cycles to 300 and back. | |
76 | Useful with 212 datasets where most terminals | |
77 | run at 1200 speed. | |
78 | .TP | |
79 | 5 | |
80 | Same as `3' but starts at 300. | |
81 | .TP | |
82 | 4 | |
83 | Useful for on-line console DECwriter (LA36). | |
84 | .SH "SEE ALSO" | |
85 | init(8), login(1), ioctl(2), ttys(5) |