Research V4 development
[unix-history] / man / man7 / getty.7
CommitLineData
cab0468e
DR
1.th GETTY VII 9/19/73
2.sh NAME
3getty \*- set typewriter mode
4.sh SYNOPSIS
5.bd /etc/getty
6.sh DESCRIPTION
7.it Getty
8is invoked
9by
10.it "init (VII)"
11immediately after a typewriter is opened
12following a dial-up.
13The user's login name is read and the login(I) command
14is called with this name as an argument.
15While reading this name
16.it getty
17attempts to adapt the system to the speed and type of terminal
18being used.
19.s3
20.it Getty
21initially sets the speed of the interface to 150 baud,
22specifies that raw mode is to be used (break on every character),
23that echo is to be suppressed, and either parity
24allowed.
25It types the ``login:'' message
26(which includes the characters which put the 37 Teletype
27terminal into full-duplex and unlock its keyboard).
28Then the user's name is read, a character at a time.
29If a null character is received, it is assumed to be the result
30of the user pushing the ``break'' (``interrupt'') key.
31The speed is then
32changed to 300 baud and the ``login:'' is typed again,
33this time with the appropriate
34sequence which puts a GE TermiNet 300 into full-duplex.
35This sequence is acceptable to other 300 baud terminals also.
36If a subsequent null character is received,
37the speed is changed back to 150 baud.
38.s3
39The user's name is terminated by a new-line or
40carriage-return character.
41The latter results in the system being set to
42to treat carriage returns appropriately (see stty(II)).
43.s3
44The user's name is scanned to see if
45it contains any lower-case alphabetic characters; if not,
46and if the name is nonempty, the
47system is told to map any future upper-case characters
48into the corresponding lower-case characters.
49Thus UNIX is usable from upper-case-only terminals.
50.s3
51Finally, login is called with the user's name as argument.
52.sh "SEE ALSO"
53init(VII), login(I), stty(II)