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.

155 lines
3.2 KiB

  1. # $OpenBSD: gettytab,v 1.7 2019/03/12 11:01:25 nicm 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:ht:
  31. d|std.600|600-baud:\
  32. :nd#1:cd#1:sp#600:ht:
  33. f|std.1200|1200-baud:\
  34. :fd#1:sp#1200:ht:
  35. 6|std.2400|2400-baud:\
  36. :sp#2400:ht:
  37. 7|std.4800|4800-baud:\
  38. :sp#4800:ht:
  39. 2|std.9600|9600-baud:\
  40. :sp#9600:ht:
  41. g|std.19200|19200-baud:\
  42. :sp#19200:ht:
  43. std.38400|38400-baud:\
  44. :sp#38400:ht:
  45. std.57600|57600-baud:\
  46. :sp#57600:ht:
  47. std.115200|115200-baud:\
  48. :sp#115200:ht:
  49. std.1500000|1500000-baud:\
  50. :sp#1500000:ht:
  51. #
  52. # Dial in rotary tables, speed selection via 'break'
  53. #
  54. 0|d300|Dial-300:\
  55. :nx=d1200:cd#2:sp#300:
  56. d1200|Dial-1200:\
  57. :nx=d150:fd#1:sp#1200:
  58. d150|Dial-150:\
  59. :nx=d110:lm@:tc=150-baud:
  60. d110|Dial-110:\
  61. :nx=d300:tc=300-baud:
  62. #
  63. # Fast dialup terminals, 2400/1200/300 rotary (can start either way)
  64. #
  65. D2400|d2400|Fast-Dial-2400:\
  66. :nx=D1200:tc=2400-baud:
  67. 3|D1200|Fast-Dial-1200:\
  68. :nx=D300:tc=1200-baud:
  69. 5|D300|Fast-Dial-300:\
  70. :nx=D2400:tc=300-baud:
  71. #
  72. #telebit (19200)
  73. #
  74. t19200:\
  75. :nx=t2400:tc=19200-baud:
  76. t2400:\
  77. :nx=t1200:tc=2400-baud:
  78. t1200:\
  79. :nx=t19200:tc=1200-baud:
  80. #
  81. #telebit (9600)
  82. #
  83. t9600:\
  84. :nx=t2400a:tc=19200-baud:
  85. t2400a:\
  86. :nx=t1200a:tc=2400-baud:
  87. t1200a:\
  88. :nx=t9600:tc=1200-baud:
  89. #
  90. # Odd special case terminals
  91. #
  92. -|tty33|asr33|Pity the poor user of this beast:\
  93. :tc=110-baud:
  94. 4|Console|Console Decwriter II:\
  95. :nd@:cd@:rw:tc=300-baud:
  96. e|Console-1200|Console Decwriter III:\
  97. :fd@:nd@:cd@:rw:tc=1200-baud:
  98. i|Interdata console:\
  99. :uc:sp#0:
  100. l|lsi chess terminal:\
  101. :sp#300:
  102. X|Xwindow|X window system:\
  103. :fd@:nd@:cd@:rw:sp#9600:
  104. P|Pc|Pc console:\
  105. :np:sp#9600:
  106. # 8 bit clean Sun console
  107. S|suncons|Sun Console:\
  108. :np:sp#9600:
  109. #
  110. # Weirdo special case for fast crt's with hardcopy devices
  111. #
  112. 8|T9600|CRT with hardcopy:\
  113. :nx=T300:tc=9600-baud:
  114. 9|T300|CRT with hardcopy (300):\
  115. :nx=T9600:tc=300-baud:
  116. #
  117. # Plugboard, and misc other terminals
  118. #
  119. plug-9600|Plugboard-9600:\
  120. :pf#1:tc=9600-baud:
  121. p|P9600|Plugboard-9600-rotary:\
  122. :pf#1:nx=P300:tc=9600-baud:
  123. q|P300|Plugboard-300:\
  124. :pf#1:nx=P1200:tc=300-baud:
  125. r|P1200|Plugboard-1200:\
  126. :pf#1:nx=P9600:tc=1200-baud:
  127. #
  128. # XXXX Port selector
  129. #
  130. s|DSW|Port Selector:\
  131. :ps:sp#2400:
  132. #
  133. # Auto-baud speed detect entry for Micom 600.
  134. # Special code in getty will switch this out
  135. # to one of the NNN-baud entries.
  136. #
  137. A|Auto-baud:\
  138. :ab:sp#2400:i0#04000:o0#0:c0#045400:l0#0: