Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
3.1 KiB

  1. # $OpenBSD: gettytab,v 1.4 2000/09/08 02:27:36 pjanzen Exp $
  2. #
  3. # Most of the table entries here are just copies of the old getty table.
  4. # It is by no means certain, or even likely, that any of them are optimal
  5. # for any purpose whatever. Nor is it likely that more than a couple are
  6. # even correct.
  7. #
  8. # The default gettytab entry, used to set defaults for all other
  9. # entries, and in cases where getty is called with no table name
  10. #
  11. default:\
  12. :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
  13. #
  14. # Fixed speed entries
  15. #
  16. # The "std.NNN" names are known to the special case
  17. # portselector code in getty, however they can
  18. # be assigned to any table desired.
  19. # The "NNN-baud" names are known to the special case
  20. # autobaud code in getty, and likewise can
  21. # be assigned to any table desired (hopefully the same speed).
  22. #
  23. a|std.110|110-baud:\
  24. :nd#1:cd#1:uc:sp#110:
  25. b|std.134|134.5-baud:\
  26. :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
  27. 1|std.150|150-baud:\
  28. :ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
  29. c|std.300|300-baud:\
  30. :nd#1:cd#1:sp#300:
  31. d|std.600|600-baud:\
  32. :nd#1:cd#1:sp#600:
  33. f|std.1200|1200-baud:\
  34. :fd#1:sp#1200:
  35. 6|std.2400|2400-baud:\
  36. :sp#2400:
  37. 7|std.4800|4800-baud:\
  38. :sp#4800:
  39. 2|std.9600|9600-baud:\
  40. :sp#9600:
  41. g|std.19200|19200-baud:\
  42. :sp#19200:
  43. std.38400|38400-baud:\
  44. :sp#38400:
  45. std.57600|57600-baud:\
  46. :sp#57600:
  47. std.115200|115200-baud:\
  48. :sp#115200:
  49. #
  50. # Dial in rotary tables, speed selection via 'break'
  51. #
  52. 0|d300|Dial-300:\
  53. :nx=d1200:cd#2:sp#300:
  54. d1200|Dial-1200:\
  55. :nx=d150:fd#1:sp#1200:
  56. d150|Dial-150:\
  57. :nx=d110:lm@:tc=150-baud:
  58. d110|Dial-110:\
  59. :nx=d300:tc=300-baud:
  60. #
  61. # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
  62. #
  63. D2400|d2400|Fast-Dial-2400:\
  64. :nx=D1200:tc=2400-baud:
  65. 3|D1200|Fast-Dial-1200:\
  66. :nx=D300:tc=1200-baud:
  67. 5|D300|Fast-Dial-300:\
  68. :nx=D2400:tc=300-baud:
  69. #
  70. #telebit (19200)
  71. #
  72. t19200:\
  73. :nx=t2400:tc=19200-baud:
  74. t2400:\
  75. :nx=t1200:tc=2400-baud:
  76. t1200:\
  77. :nx=t19200:tc=1200-baud:
  78. #
  79. #telebit (9600)
  80. #
  81. t9600:\
  82. :nx=t2400a:tc=19200-baud:
  83. t2400a:\
  84. :nx=t1200a:tc=2400-baud:
  85. t1200a:\
  86. :nx=t9600:tc=1200-baud:
  87. #
  88. # Odd special case terminals
  89. #
  90. -|tty33|asr33|Pity the poor user of this beast:\
  91. :tc=110-baud:
  92. 4|Console|Console Decwriter II:\
  93. :nd@:cd@:rw:tc=300-baud:
  94. e|Console-1200|Console Decwriter III:\
  95. :fd@:nd@:cd@:rw:tc=1200-baud:
  96. i|Interdata console:\
  97. :uc:sp#0:
  98. l|lsi chess terminal:\
  99. :sp#300:
  100. X|Xwindow|X window system:\
  101. :fd@:nd@:cd@:rw:sp#9600:
  102. P|Pc|Pc console:\
  103. :np:sp#9600:
  104. # 8 bit clean Sun console
  105. S|suncons|Sun Console:\
  106. :np:sp#9600:
  107. #
  108. # Weirdo special case for fast crt's with hardcopy devices
  109. #
  110. 8|T9600|CRT with hardcopy:\
  111. :nx=T300:tc=9600-baud:
  112. 9|T300|CRT with hardcopy (300):\
  113. :nx=T9600:tc=300-baud:
  114. #
  115. # Plugboard, and misc other terminals
  116. #
  117. plug-9600|Plugboard-9600:\
  118. :pf#1:tc=9600-baud:
  119. p|P9600|Plugboard-9600-rotary:\
  120. :pf#1:nx=P300:tc=9600-baud:
  121. q|P300|Plugboard-300:\
  122. :pf#1:nx=P1200:tc=300-baud:
  123. r|P1200|Plugboard-1200:\
  124. :pf#1:nx=P9600:tc=1200-baud:
  125. #
  126. # XXXX Port selector
  127. #
  128. s|DSW|Port Selector:\
  129. :ps:sp#2400:
  130. #
  131. # Auto-baud speed detect entry for Micom 600.
  132. # Special code in getty will switch this out
  133. # to one of the NNN-baud entries.
  134. #
  135. A|Auto-baud:\
  136. :ab:sp#2400:f0#040: