Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ttys(5) — SunOS 0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(8)

getty(8)

login(1)

TTYS(5)  —  System Interface Manual — File Formats

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

init(8), getty(8), login(1)

Sun System Release 0.3  —  15 January 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026