File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man5 / ttys.5
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH TTYS 5  "18 July 1983"
.SH NAME
ttys \- terminal initialization data
.SH DESCRIPTION
The
.I ttys
file is read by the
.I 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 
.I ttys
file per special file.
.PP
The first character of a line in the 
.I ttys
file is either `0' or `1'.  If the first character on the line is a `0', the 
.I init
program ignores that line.  If the first character on the line is a `1', the
.I init
program creates a login process for that line.
The second character on each line is used as an argument to
.IR getty (8),
which performs such tasks as baud-rate recognition, reading the login name,
and calling
.I 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.
.RI ( Getty
will have to be fixed in such cases.)
The remainder of the line is the terminal's entry in the device directory, /dev.
.SH FILES
/etc/ttys
.SH "SEE ALSO"
gettytab(5), init(8), getty(8), login(1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.