UTERMINAL
TERMINAL
NEXT
$V1$
NEXT3
$PROMPT$
PAUSE
PAGETURNER
ENCORE5
ENCORE
BOX
COMMAND
GO
getty
SYNTAX
/etc/getty [ char ]
[type [line disc] ] ]
/etc/getty [-h] [-t timeout] line [speed
FUNCTION
getty is the principal UNIX terminal login
controller. It sets terminal type, modes, speed,
and other terminal line characteristics.
The getty process for every port is specified
in the /etc/inittab file as the last action
to be performed during multi-user initialization
process, and is started by the /etc/init process.
Once initialized, the getty process is constantly waiting
for an interrupt from the terminal. If an interrupt is received,
it sends a login: prompt to the terminal screen. After you
enter the login name, getty starts the login process which
prompts you for your password, and if the password is correct,
a shell is started for you; otherwise, a new login: prompt
is issued.
The steps from terminal initialization to
receiving the terminal prompt are:
init--> getty--> login--> shell
Let us specify the getty line discipline
with no timeout (no -t), no hangups (-h)
for the line /dev/ttyt3 with speed of 9600 baud!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type getty -h /dev/ttyt3 9600
Please type getty -h /dev/ttyt3 9600
You will be helped this time.
$PROMPT$
FORGET1
$PROMPT$getty -h /dev/ttyt3 9600
Observe the result on the terminal
$PROMPT$