Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getty(1a) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ct(1C)

sttydefs(1M)

tty(7)

ttymon(1M)

login(1)

ioctl(2)



getty(1M)        SYSTEM ADMINISTRATION COMMANDS         getty(1M)



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

SYNOPSIS
     /usr/lib/saf/ttymon [ -h ] [ -t timeout ]  line  [  speed  [
     type [ linedisc ] ] ]
     /usr/lib/saf/ttymon -c file

DESCRIPTION
     getty is a symbolic  link  to  /usr/lib/saf/ttymon.   It  is
     included  for  compatibility  with previous releases for the
     few applications that still call getty directly.  getty  can
     only  be  executed  by  the superuser, that is, by a process
     with the user ID root.  Initially  getty  prints  the  login
     prompt,  waits  for  the user's login name, and then invokes
     the login command.  getty attempts to adapt  the  system  to
     the terminal speed by using the options and arguments speci-
     fied on the command line.

     line The name of a TTY line in /dev to  which  getty  is  to
          attach itself.  getty uses this string as the name of a
          file in the /dev directory  to  open  for  reading  and
          writing.

     -h   If the -h flag is not set, a hangup will be  forced  by
          setting  the  speed to zero before setting the speed to
          the default or specified speed.

     -t timeout
          specifies that getty should exit if  the  open  on  the
          line  succeeds  and  no  one  types anything in timeout
          seconds.

     speed
          The speed argument is a label to a speed and TTY defin-
          ition  in the file /etc/ttydefs.  This definition tells
          getty at what speed to run initially, what the  initial
          TTY  settings  are,  and what speed to try next, should
          the user indicate, by pressing the BREAK key, that  the
          speed is inappropriate.  The default speed is 300 baud.

     type and linedisc
          These options are obsolete and will be ignored.

     -c file
          The -c option is  no  longer  supported.   Instead  use
          sttydefs  -l  to  list the contents of the /etc/ttydefs
          file and perform a validity check on the file.

     When given no optional arguments, getty specifies  the  fol-
     lowing:   The  speed  of  the  interface is set to 300 baud,
     either parity is allowed, new-line characters are  converted



                                                                1





getty(1M)        SYSTEM ADMINISTRATION COMMANDS         getty(1M)



     to carriage return-line feed, and tab expansion is performed
     on the standard output.  getty types the login prompt before
     reading  the  user's  name a character at a time.  If a null
     character (or framing error) is received, it is  assumed  to
     be the result of the user pressing the BREAK key.  This will
     cause getty to attempt the next speed in  the  series.   The
     series  that  getty  tries is determined by what it finds in
     /etc/ttydefs.

FILES
     /etc/ttydefs

SEE ALSO
     ct(1C), sttydefs(1M), tty(7), ttymon(1M).
     login(1) in the User's Reference Manual.
     ioctl(2) in the Programmer's Reference Manual.







































                                                                2



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