xref: /csrg-svn/libexec/getty/ttys.5 (revision 20786)
@(#)ttys.5 5.1 (Berkeley) 05/15/85

TTYS 5 "18 July 1983"
.AT 3
NAME
ttys - terminal initialization data
DESCRIPTION
The ttys file is read by the init program and specifies which terminal special files are to have a process created for them so that people can log in. There is one line in the ttys file per special file.

The first character of a line in the ttys file is either `0' or `1'. If the first character on the line is a `0', the init program ignores that line. If the first character on the line is a `1', the init program creates a login process for that line. The second character on each line is used as an argument to getty (8), which performs such tasks as baud-rate recognition, reading the login name, and calling login. For normal lines, the character is `0'; other characters can be used, for example, with hard-wired terminals where speed recognition is unnecessary or which have special characteristics. ( Getty will have to be fixed in such cases.) The remainder of the line is the terminal's entry in the device directory, /dev.

FILES
/etc/ttys
"SEE ALSO"
gettytab(5), init(8), getty(8), login(1)