home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man8 / getty.8 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.9 KB  |  71 lines

  1. .th GETTY VIII 2/11/75
  2. .sh NAME
  3. getty  \*- set typewriter mode
  4. .sh SYNOPSIS
  5. .bd /etc/getty
  6. [ char ]
  7. .sh DESCRIPTION
  8. .it Getty
  9. is invoked
  10. by
  11. .it init
  12. (VIII)
  13. immediately after a typewriter is opened
  14. following a dial-up.
  15. It reads the user's name and invokes the
  16. .it login
  17. command
  18. (I)
  19. with the name as argument.
  20. While reading the name
  21. .it getty
  22. attempts to adapt the system to the speed and type of terminal
  23. being used.
  24. .s3
  25. .it Init
  26. calls
  27. .it getty
  28. with an argument specified by the
  29. .it ttys
  30. file entry for the typewriter line.
  31. Arguments other than `0' can be used to make
  32. .it getty
  33. treat the line specially.
  34. Normally, it
  35. sets the speed of the interface to 300 baud,
  36. specifies that raw mode is to be used (break on every character),
  37. that echo is to be suppressed, and either parity
  38. allowed.
  39. It types the ``login:'' message,
  40. which includes the characters which put the Terminet 300
  41. terminal into full-duplex and
  42. return the GSI terminal to non-graphic mode.
  43. Then the user's name is read, a character at a time.
  44. If a null character is received, it is assumed to be the result
  45. of the user pushing the ``break'' (``interrupt'') key.
  46. The speed is then
  47. changed to 150 baud and the ``login:'' is typed again,
  48. this time including the character
  49. sequence which puts a Teletype 37
  50. into full-duplex.
  51. If a subsequent null character is received,
  52. the speed is changed back to 300 baud.
  53. .s3
  54. The user's name is terminated by a new-line or
  55. carriage-return character.
  56. The latter results in the system being set to
  57. treat carriage returns appropriately (see
  58. .it stty
  59. (II)).
  60. .s3
  61. The user's name is scanned to see if
  62. it contains any lower-case alphabetic characters; if not,
  63. and if the name is nonempty, the
  64. system is told to map any future upper-case characters
  65. into the corresponding lower-case characters.
  66. .s3
  67. Finally, login is called with the user's name as argument.
  68. .sh "SEE ALSO"
  69. init (VIII), login (I), stty (II), ttys (V)
  70. .sh BUGS
  71.