Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vtgetty(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getty(1M)

gettydefs(4)

init(1M)

inittab(4)

ioctl(2)

kill(1)

stat(2)

tty(1)






       vtgetty(1M)                                              vtgetty(1M)


       NAME
             vtgetty - set terminal type, modes, speed, and line discipline

       SYNOPSIS
             /etc/vtgetty [-h] [-ttimeout] line [[speed[type [linedisc]]]

       DESCRIPTION
             The vtgetty command is invoked by init(1M).  It is the second
             process in the series (init-vtgetty-getty-login-shell) that
             passes its arguments and executes /etc/getty.  The /etc/getty
             process will eventually connect a user with the UNIX system.
             vtgetty can be executed only by a user with appropriate
             privilege (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 terminals (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 2 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 fails 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.





                           Copyright 1994 Novell, Inc.               Page 1













      vtgetty(1M)                                              vtgetty(1M)


      FILES
            /etc/gettydefs

      REFERENCES
            getty(1M), gettydefs(4), init(1M), inittab(4), ioctl(2),
            kill(1), stat(2), tty(1)










































                          Copyright 1994 Novell, Inc.               Page 2








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