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