TTYSFILE
1mconsole
1mtty02
1mtty03
1mtty04
0mtty05
0mtty06
06tty11
06tty12
01tty13
01tty14
TTYTYPE
ansi console
ansi tty02
ansi tty03
ansi tty04
ansi tty05
ansi tty06
dialup tty11
dialup tty12
dialup tty13
dialup tty14
INITTAB
s = single-user
2 = general single- or multi-user mode
is:s:initdefault:
sy:s:sysinit:/etc/brc </dev/console >/dev/console 2>&1
br:2:wait:/etc/bcheckrc </dev/console >/dev/console 2>&1
rc:2:wait:/etc/rc > /dev/window < /dev/w1 2>&1
co:s01234562:respawn:/etc/getty console console
ph0:2:off:/etc/getty ph0 1200
ph1:2:respawn:/etc/getty ph1 1200
00:2:respawn:/etc/getty -t60 tty000 9600 kt7
01:2:respawn:/etc/getty -t60 tty001 9600 vt100
02:2:respawn:/etc/getty -t60 tty002 9600 wy50
TTYDEFS
# 4-5-6: 2400 - 4800 - 9600 baud cycle (direct connect via patchboard)
4 # B2400 HUPCL # B2400 SANE HUPCL TAB3 ECHOE FF1 IXANY #\r\n@!login: # 6
5 # B4800 HUPCL # B4800 SANE HUPCL TAB3 ECHOE FF1 IXANY #\r\n@!login: # 4
6 # B9600 HUPCL # B9600 SANE HUPCL TAB3 ECHOE FF1 IXANY #\r\n@!login: # 5
l # B4800 HUPCL # B4800 SANE HUPCL TAB3 ECHOE FF1 IXANY #\r\n@!login: # l
m # B9600 HUPCL # B9600 SANE HUPCL TAB3 ECHOE FF1 IXANY #\r\n@!login: # m
n # EXTA HUPCL # EXTA SANE HUPCL TAB3 FF1 IXANY #\r\n@!login: # n
o # EXTB HUPCL # EXTB SANE HUPCL TAB3 FF1 IXANY #\r\n@!login: # o
LNEXT
UTERMINAL
TERMINAL
NEXT
$V1$
LINE
PAUSE
q to quit, <CR> to continue
BOX
COMMAND
GO
Adding terminals to the system involves
several steps besides connecting a wire
from the computer to the terminal:
COMPUTER SYSTEM
CPU
Memory
-------------------
NEXT7
$V1$
$V1$
-------------------
Operating System
U N I X
Terminals
--------------
| |
| |
| |
| |
| |
--------------
--------------
| |
| |
| |
| |
| |
--------------
--------------
| |
| |
| |
| |
| Terminal |
--------------
------
--------
----------
The system administrator needs to make corresponding
entries in several configuration files.
These files are:
/etc/ttys, . . .
/etc/ttys
/etc/inittab
/etc/inittab, . . .
/etc/ttys and /etc/ttytype.
/etc/inittab and /etc/gettydefs.
/etc/ttys /etc/ttytype
/etc/inittab /etc/gettydefs
You will learn more about modifying these files in a
later lesson, so for now we'll just take a quick look
at the contents of these files:
Let us check the contents of a
typical /etc/ttys file by
typical /etc/inittab file by
using the cat command:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Use cat to look at /etc/ttys
Please type cat /etc/ttys
Use cat to look at /etc/inittab
Please type cat /etc/inittab
You will be helped this time.
FORGET1
cat /etc/inittab
cat /etc/ttys
Observe the result above.
Now let us check the contents of a
typical /etc/ttytype file by
typical /etc/gettydefs file by
using the cat command:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please use cat to look at
/etc/ttytype
Please use cat to look at
/etc/gettydefs
Please type cat /etc/ttytype
Please type cat /etc/gettydefs
You will be helped this time!
FORGET2
cat /etc/ttytype
cat /etc/gettydefs
Observe the result above.