Manual Page Result
0
Command: getty | Section: 8 | Source: UNIX v10 | File: getty.8
GETTY(8) System Manager's Manual GETTY(8)
NAME
getty - set terminal mode
SYNOPSIS
/etc/getty [ char ]
DESCRIPTION
Getty is invoked by init(8) after a terminal is opened. While reading
the user's name getty attempts to adapt the system to the speed and
type of terminal being used.
Init calls getty with an argument specified by the ttys(5) entry for
the terminal line. The argument char determines the line speed and
other characteristics; see below. Getty then types a banner identify-
ing the system (from and the message. The user's name is then read, a
character at a time. If a null character is received, it is assumed to
be the result of the user pushing the `break' (`interrupt') key. The
speed is then changed to another baud rate and is typed again. Succes-
sive breaks cycle through a set of speeds.
The user's name is terminated by a newline or carriage return. The
latter results in the system being set to treat carriage returns appro-
priately (see ioctl(2)).
Finally, login(8) is called with the user's name as argument.
Here are the possible values for char. If more than one speed is
given, the first speed is used initially; others are selected by suc-
cessive depressions of the BREAK key. Other things, like delays and
tab expansion, are set in various ways as well.
char speed
0 300-1200-150-110
2 9600
3 1200-300
4 300
5 300-1200
6 2400
7 4800
8 9600-1200-300
9 300-9600-1200
a 2400-1200
b 1200-2400
j exta (usually 19200)
SEE ALSO
init(8), login(8), ioctl(2), ttys(5)
GETTY(8)