1GETTY(8)                    System Manager's Manual                   GETTY(8)
2
3
4

NAME

6       getty  - set typewriter mode
7

SYNOPSIS

9       /etc/getty [ char ]
10

DESCRIPTION

12       Getty  is  invoked  by init(8) immediately after a typewriter is opened
13       following a dial-up.  It reads the user's login name and calls login(1)
14       with  the  name  as argument.  While reading the name getty attempts to
15       adapt the system to the speed and type of terminal being used.
16
17       Init calls getty with  a  single  character  argument  taken  from  the
18       ttys(5)  file  entry for the terminal line.  This argument determines a
19       sequence of line speeds  through  which  getty  cycles,  and  also  the
20       `login:' greeting message, which can contain character sequences to put
21       various kinds of terminals in useful states.
22
23       The user's name is terminated by a new-line or carriage-return  charac‐
24       ter.  In the second case CRMOD mode is set (see ioctl(2)).
25
26       The  name  is  scanned  to see if it contains any lower-case alphabetic
27       characters; if not, and if the name is nonempty, the system is told  to
28       map  any future upper-case characters into the corresponding lower-case
29       characters.
30
31       If the terminal's `break' key is depressed, getty cycles  to  the  next
32       speed  appropriate  to the type of line and prints the greeting message
33       again.
34
35       Finally, login is called with the user's name as argument.
36
37       The following arguments from the ttys file are understood.
38
39       0      Cycles through 300-1200-150-110 baud.  Useful as a  default  for
40              dialup lines accessed by a variety of terminals.
41
42       -      Intended for an on-line Teletype model 33, for example an opera‐
43              tor's console.
44
45       1      Optimized for a 150-baud Teletype model 37.
46
47       2      Intended for an on-line 9600-baud terminal, for example the Tex‐
48              tronix 4104.
49
50       3      Starts  at  1200  baud, cycles to 300 and back.  Useful with 212
51              datasets where most terminals run at 1200 speed.
52
53       5      Same as `3' but starts at 300.
54
55       4      Useful for on-line console DECwriter (LA36).
56

SEE ALSO

58       init(8), login(1), ioctl(2), ttys(5)
59
60
61
62                                                                      GETTY(8)
Impressum