vtgetty(1M) (RM400 only) vtgetty(1M)
NAME
vtgetty - sets terminal type, modes, speed, and line discipline
SYNOPSIS
/etc/vtgetty [-h] [-t timeout] line [speed [type [linedisc]]]
DESCRIPTION
The vtgetty command is a program invoked by init(1M). It is the second
process in the series (init-vtgetty-getty-login-shell). The /etc/getty
process will ultimately connect a user with the Reliant UNIX system.
vtgetty can be executed only by the superuser (a process with the
user-ID of root).
The command options are identical to those of getty(1M).
Initially, vtgetty opens the device and determines if any virtual ter-
minals (vts) are open for that device. If there are active vts, the
user will be prompted to determine if the vts should be closed
automatically or manually when the user logs out.
If the automatic option is selected, vtgetty will send the signals,
SIGHUP and SIGTERM, to each open vt.
It will then wait 3 seconds and send a SIGKILL signal to the vts to
ensure that all the vts are terminated.
If the manual closure option is selected, the highest numbered vt will
be activated and the user can manually close the vt. This will be
repeated until all open vts are manually closed.
DIAGNOSTICS
vtgetty will fail under the following conditions:
- There is no memory available.
- It cannot open the device it was given.
- It cannot convert from a file descriptor to a file pointer.
- It cannot get the file status [stat(2)] of the device it was given.
- An ioctl(2) call fails.
FILES
/etc/gettydefs
SEE ALSO
kill(1), tty(1), getty(1M), init(1M), ioctl(2), stat(2), gettydefs(4),
inittab(4).
Page 1 Reliant UNIX 5.44 Printed 11/98