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