Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ttys(5) — Unisoft V7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(8)

getty(8)

login(1)

TTYS(5)  —  UNIX Programmer’s Manual

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 which will allow people to log in.  It contains one line per special file. 

The first character of a line is either ’0’ or ’1’; the former causes the line to be ignored, the latter causes it to be effective. 

The second character is used as an argument to getty(8), which performs such tasks as baud-rate recognition, reading the login name, and calling login. 

The following chart lists the characters to be used for the second character:

Single Speed
1       50
2       75
3      110
4      134.5
5      150
6      200
7      300
8      600
9     1200
a     1800
b     2400
c     4800
d     9600
e     Ext A and 19200
f     Ext B
 CONSOLES
A     110 console
B     Decwriter
C     Interdata
 OTHERS
D-E-F-G         300/1200/150/110
                for modems
 H-I             1200/300
                for modems

The remainder of the line is the terminal’s entry in the device directory, /dev. 

EXAMPLE

1 d console
1 d tty0
1 9 tty1
1 9 tty2

FILES

/etc/ttys

SEE ALSO

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

7th Edition

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