TTYSFILE
1mconsole
1mtty02
1mtty03
1mtty04
0mtty05
0mtty06
06tty11
06tty12
01tty13
01tty14
TTY1FILE
1console
1mtty02
1mtty03
1mtty04
0mtty05
0mtty06
06tty11
06tty12
01tty13
01tty14
TTY2FILE
1mconsole
1mtty02
1mtty03
1mtty04
0mtty05
0mtty06
06tty11
06tty12
01tty13
01tty14
TTY3FILE
1mconsole
1mtty02
1mtty03
1mtty04
0mtty05
0mtty06
06tty11
06tty12
01tty13
01tty14
BOTCLEAN
LNEXT
ONELCLEAN
UTERMINAL
TERMINAL
NEXT
$V1$
HILINE
PAUSE
GO
Let's look once more at
our /etc/ttys 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 display /etc/ttys
Please type cat /etc/ttys
You will be helped this time!
FORGET1
cat /etc/ttys
Observe the result above.
Remember, the first field is the mode which
if set to 1 indicates that login is enabled,
if set to 0 indicates login is disabled.
Assume that you have /etc/ttys in the
editor. Specify a new entry for the
device tty17 to operate at 4800 (7)
baud with login disabled, i.e.,
to be used as a callout port.
At the : , type the required entry:
:
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type 07tty17
Please type 07tty17
You will be helped this time!
FORGET2
07tty17
Observe the result above.
07tty17
NEXT3
$PROMPT$
PAUSE
PAGETURNER
ENCORE5
ENCORE
BOX
COMMAND
GO2
kill
SYNTAX
kill [ - signo ] process ID ...
FUNCTION
Terminate active process(es) on the system. kill sends
a signal 15 (terminate) to the specified process.
kill may be used to issue a HANGUP signal (-HUP or -1) for
the process id 1 which forces init to close and open
terminals according to what is in /etc/ttys.
To create a login process for the
device you just defined as a
callout port, enter the command to
issue a HANGUP signal.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please use kill with a -HUP or -1
signal for process 1
Please type kill -1 1 or kill -HUP 1
I will help you this time.
$PROMPT$
FORGET3
$PROMPT$kill -1 1
Observe the result on the terminal!
$PROMPT$
At this point you should be able to use
tty17 as a callout port.