Commit | Line | Data |
---|---|---|
5dc2d425 | 1 | .\" @(#)ttys.5 5.1 (Berkeley) %G% |
6d85239e | 2 | .\" |
5dc2d425 | 3 | .TH TTYS 5 "18 July 1983" |
6d85239e KM |
4 | .AT 3 |
5 | .SH NAME | |
6 | ttys \- terminal initialization data | |
7 | .SH DESCRIPTION | |
8 | The | |
9 | .I ttys | |
10 | file is read by the | |
11 | .I init | |
5dc2d425 KM |
12 | program and specifies which terminal special files are to have |
13 | a process created for them so that people can log in. | |
14 | There is one line in the | |
15 | .I ttys | |
16 | file per special file. | |
6d85239e | 17 | .PP |
5dc2d425 KM |
18 | The first character of a line in the |
19 | .I ttys | |
20 | file is either `0' or `1'. If the first character on the line is a `0', the | |
21 | .I init | |
22 | program ignores that line. If the first character on the line is a `1', the | |
23 | .I init | |
24 | program creates a login process for that line. | |
25 | The second character on each line is used as an argument to | |
6d85239e | 26 | .IR getty (8), |
5dc2d425 | 27 | which performs such tasks as baud-rate recognition, reading the login name, |
6d85239e KM |
28 | and calling |
29 | .I login. | |
5dc2d425 | 30 | For normal lines, the character is `0'; |
6d85239e | 31 | other characters can be used, for example, with hard-wired terminals |
5dc2d425 | 32 | where speed recognition is unnecessary or which have special characteristics. |
6d85239e KM |
33 | .RI ( Getty |
34 | will have to be fixed in such cases.) | |
5dc2d425 | 35 | The remainder of the line is the terminal's entry in the device directory, /dev. |
6d85239e KM |
36 | .SH FILES |
37 | /etc/ttys | |
38 | .SH "SEE ALSO" | |
5dc2d425 | 39 | gettytab(5), init(8), getty(8), login(1) |