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