1 /*
   2           Multics Standard Terminal Type File
   3 
   4   Created by J. Stern 6/77
   5   Modified 8/18/78 by J. Stern to add many new terminal types
   6   Modified 3/14/79 by G. Palter to add TELERAY1061_ECHO and scroll modes
   7   Modified 3/20/79 by J. Stern to add many new terminal types
   8   Modified 79Nov2 by Art Beattie; added new terminal types and improved current ones.
   9   Modified 80Jun1 by Art Beattie; removed echoplexed terminal types.
  10   Modified 81July20 by G. Palter and Art Beattie to add new terminals types and improved current ones.
  11   Modified 81Nov13 by G. Palter to specify can_type mode for terminal types
  12   Modified 82July21 by Art Beattie; added support for terminals TI940, DG132,
  13    BANTAM550, DIABLO1640 and TVI912.  Added synonyms H19 and Z19 to HEATH19.
  14    Added terminal types to support X.25.  Added video info to AJ510.  Added
  15    function key specifications for TVI940, TVI950 and VT1xx terminal types.
  16   Modified 82Sep12 by Art Beattie; added ASCII_PRINTER_OSR, ADM1, BITGRAPH,
  17    HP2621, HP2622, HP2623, HP2648, TDV2220 and VIP7803 terminal types.
  18   Modified 82Sep18 by Art Beattie to add NL7009 and SUPERBRAIN terminal types.
  19   Modified 83Sep18 by Art Beattie to add LA120_12C6L, TI787, VIP7201, VT100S,
  20    VT102 series, fix clear_screen video_info for VT1xx series entries, and add
  21    answerbacks for VT10* series and VIP7201.
  22   Modified 83Nov21 by Art Beattie to add VIP7300, VIP7813, VIP7814 and VIP7823
  23    terminal types with answerbacks.
  24   Modified 84Jan11 by Art Beattie to add SMARTERM.
  25   Modified 84Feb10 by Art Beattie to add TEK4027.
  26   Modified 84Feb12 by Art Beattie to add TI765.
  27   Modified 84May16 by Art Beattie to add DKU7001, DKU7002 and TTE415.
  28   Modified 84Jun3 by Art Beattie to rework initial string for HEATH19 to reset
  29    essential modes and clear 25th line.
  30   Modified 84Aug1 by Art Beattie to add VT2xx series with answerbacks.
  31   Modified 84Aug5 by Art Beattie to add CONCEPT108 series.
  32   Modified 84Aug29 by Jon Rochlis to add Ann Arbor GURU terminal types.
  33   Modified 84Nov7 by Art Beattie to remove 25th line handling in HEATH19
  34     terminal types, add video_info to VIP7300 that includes delays for
  35     insert/delete_line operations and added VIP7303.
  36   Modified 84Nov13 by Art Beattie to add function_key and special table
  37     definitions to VIP7300 series.
  38   Modified 84Nov18 by Art Beattie to add TAB and WY50 terminal types.
  39   Modified 85Mar4 by Art Beattie to correct abs_pos for WY50_80C.
  40   Modified 85Apr18 by Art Beattie to add AJ520.
  41   Modified 85Jun13 by Art Beattie to add shifted key definitions to AJ520.
  42   Modified 85Dec13 by Art Beattie to add terminal types TEK4107 and XEROX820
  43     supplied by AFDSC site.
  44   Modified 86Mar14 by Art Beattie to make CONCEPT108 terminal type group like
  45     ASCII_CRT to pick up ASCII conversion and special table specifications
  46     (TR19865).
  47   Modified 86May13 by Art Beattie to add MACKERMIT.
  48 */
  49 
  50 /****^  HISTORY COMMENTS:
  51   1) change(1986-07-14,Beattie), approve(1986-07-14,MCR7459),
  52      audit(1986-09-11,Brunelle), install(1987-08-11,MR12.1-1080):
  53      Add and enhance terminal types for MR12.0
  54   2) change(1986-07-28,Beattie), approve(1986-07-28,MCR7486),
  55      audit(1986-09-11,Brunelle), install(1987-08-11,MR12.1-1080):
  56      Add Versaterm terminal types.
  57   3) change(1986-07-28,Beattie), approve(1986-07-28,MCR7489),
  58      audit(1986-09-11,Brunelle), install(1987-08-11,MR12.1-1080):
  59      Add Teleray7 terminal type.
  60   4) change(1986-08-04,Beattie), approve(1986-08-04,MCR7496),
  61      audit(1986-09-11,Brunelle), install(1987-08-11,MR12.1-1080):
  62      Remove TTF entries for 1050 and 2741, along with ARDS and 202ETX line
  63      types.
  64   5) change(1986-10-23,Beattie), approve(1987-07-20,MCR7745),
  65      audit(1987-08-10,Brunelle), install(1987-08-11,MR12.1-1080):
  66      Added Honeywell Bull laserwriter printer (RICOH) entries in Portrait
  67      (10C), Landscape and Elite (12C in both 6LPI and 8LPI) modes.
  68   6) change(1987-03-26,Beattie), approve(1987-07-20,MCR7745),
  69      audit(1987-08-10,Brunelle), install(1987-08-11,MR12.1-1080):
  70      The right and left character sequences in the vt1xx_function_keys were
  71      reversed.
  72   7) change(1987-07-02,Beattie), approve(1987-07-20,MCR7745),
  73      audit(1987-08-10,Brunelle), install(1987-08-11,MR12.1-1080):
  74      Added MOWSE_ANSI (MOWSE) and MOWSE_FANSI (MOUSEF) terminal types to
  75      support MOWSE facility.
  76   8) change(1988-01-16,GDixon), approve(1988-09-27,MCR7993),
  77      audit(1988-09-30,Brunelle), install(1988-10-04,MR12.2-1129):
  78      Added VERSATERM220_80C_36L (VERSATERM_80C_36L), VERSATERM220_80C_36L_OFLOW
  79      (VERSATERM_80C_36L_OFLOW), VERSATERM220_102C_36L (VERSATERM_102C_36L), and
  80      VERSATERM220_102C_36L_OFLOW (VERSATERM_102C_36L_OFLOW) terminal types.
  81      Corrected "jump scroll" sequence in the initial string for the
  82      VERSATERM220_132C terminal type.
  83   9) change(1988-07-29,Beattie), approve(1988-09-27,MCR7993),
  84      audit(1988-09-30,Brunelle), install(1988-10-04,MR12.2-1129):
  85      Change ^pl mode for TEK4023 to pl23.
  86  10) change(1988-09-06,Beattie), approve(1988-09-27,MCR7993),
  87      audit(1988-09-30,Brunelle), install(1988-10-04,MR12.2-1129):
  88      Add HB_LW_PRINTER_FORMS_BASE terminal type for use by a driver using forms
  89      options in processing requests to HB Laserwriter.  Added DD8260 (by Delta
  90      Data) series of terminal types developed at ACTC by EDSchroth.
  91  11) change(2017-02-25,Swenson), approve(2017-02-25,MCR10033),
  92      audit(2017-02-25,GDixon), install(2017-02-25,MR12.6f-0018):
  93      Added TTF entries for VT102_132C_50L and VT102_132C_78L
  94                                                    END HISTORY COMMENTS */
  95 
  96 /****************************************
  97 *                                       *
  98 *         TERMINAL TYPES                *
  99 *                                       *
 100 ****************************************/
 101 
 102 
 103 Input_conversion: standard_input_conv;
 104 
 105 
 106 /***** Typical ASCII teleprinter terminal *****/
 107 
 108 terminal_type: ASCII;
 109  modes: default,ll79,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 110  bauds:              110      133      150      300      600      1200      1800      2400      4800      7200      9600;
 111   vert_nl_delays:      0        1        1        5        9        18        27        36        72       108       127;
 112   horz_nl_delays:      0.00     0.012    0.025    0.019    0.060     0.120     0.180     0.240     0.480     0.720     0.960;
 113   const_tab_delays:    0        0        0        0        2         3        10        16        42        68        94;
 114   var_tab_delays:      0        0.180    0.250    0.250    0.500     1.000     1.000     1.000     1.000     1.000     1.000;
 115   backspace_delays:    0        0        0        0        1         2         3         4         8        12        16;
 116   vt_ff_delays:        9       24       29       59      100       200       300       400       511       511       511;
 117  output_conversion: ascii_output_conv;
 118  special: ascii_special;
 119  line_types: ASCII, VIP, POLLED_VIP;
 120  old_type: 11;
 121 
 122 
 123 /***** ASCII teleprinter terminal (upper-case only) *****/
 124 
 125 terminal_type: ASCII_CAPS like ASCII;
 126  modes: default,ll79,^pl,can_type=overstrike,hndlquit,capo,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 127  special: ascii_caps_special;
 128  input_translation: ascii_caps_input_trans;
 129  old_type: 7;
 130 
 131 
 132 /***** Typical ASCII crt terminal *****/
 133 
 134 terminal_type: ASCII_CRT like ASCII;
 135  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 136  bauds:              110      133      150      300      600      1200      1800      2400      4800      7200      9600;
 137 
 138 
 139 /***** ASCII CRT terminal (upper-case only) *****/
 140 
 141 terminal_type: ASCII_CRT_CAPS like ASCII_CAPS;
 142  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,capo,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 143  bauds:              110      133      150      300      600      1200      1800      2400      4800      7200      9600;
 144 
 145 
 146 /***** Template I/O daemon line printer attached via tty_printer_ *****/
 147 
 148    /* Output conversion for this terminal type is defined to pass all
 149       characters except newline directly to the printer; newline is
 150       converted to CR/LF to insure proper output; prt_conv_ handles use of
 151       octal escapes, overprinting, etc.
 152 
 153       This template can only be used with terminals that either need no
 154       padding at all or support some form of flow control.  Even if delays
 155       were specified, the tty_ I/O module would never add any on output as
 156       all characters are defined to be ordinary and not needing padding.
 157       This template is defined using XON/XOFF output resume/suspend flow
 158       control.
 159 
 160       The terminal in use must recognize formfeed to advance to the next
 161       page; if not, it can't be used with tty_printer_.  Horizontal and
 162       vertical tabs need not be recognized; if the terminal doesn't support
 163       them, do not specify -htab/-vtab in the attach description (desc=)
 164       for tty_printer_.
 165 
 166       If the printer being used supports XON/XOFF flow control and does not
 167       require an initial string, this terminal type may be used directly.
 168       Otherwise, define a terminal type "like" this one with appropriate
 169       initial string and flow control parameters.  If flow control is to be
 170       disabled, be sure to include a modes statement for the terminal type
 171       which includes ^oflow. */
 172 
 173 terminal_type: ASCII_PRINTER_OSR like ASCII;
 174  modes: default,^ll,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
 175  output_suspend: ^S;
 176  output_resume: ^Q;
 177  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
 178  output_conversion: ascii_printer_output_conv;
 179 
 180 
 181 /***** Lear Siegler, Inc. Model ADM-3A *****/
 182 
 183 terminal_type: ADM3A like ASCII_CRT;
 184  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 185  special: adm3a_kaypro_ktm3_special;
 186  video_info:
 187   screen_line_length: 79;
 188   screen_height:    24;
 189   clear_screen:     ^Z;
 190   cursor_up:        VT;
 191   cursor_down:      LF;
 192   cursor_right:     FF;
 193   cursor_left:      BS;
 194   home:             ^^;
 195   abs_pos:          ESC = (LINE + 037) (COLUMN + 037);
 196 
 197 
 198 /***** Lear Siegler ADM-1 CRT (upper-case only) *****/
 199 
 200 terminal_type: ADM1 like ADM3A;
 201  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,capo,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 202  special: adm1_special;
 203  input_translation: ascii_caps_input_trans;
 204 
 205 
 206 /***** Anderson-Jacobsen Model 510 ASCII/APL CRT *****/
 207 
 208 terminal_type: AJ510 like ASCII_CRT;
 209  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 210  initial_string: ESC """R" (10) <NUL> ESC """S" ESC "+" ESC "&O" SI ESC "'B" (7) <(10) <SP> ESC 1> ESC H;
 211  special: aj510_special;
 212  video_info:
 213   screen_line_length: 79;
 214   screen_height:    24;
 215   clear_to_eos:     ESC "'" P;
 216   clear_to_eol:     ESC "'" L;
 217   cursor_up:        ESC Y;
 218   cursor_down:      ESC Z;
 219   cursor_right:     ESC X;
 220   cursor_left:      ESC W;
 221   home:             ESC H;
 222   abs_pos:          ESC B (decimal 3 LINE - 001) ESC A (decimal 3 COLUMN - 001);
 223   insert_chars:     ESC "'" I;
 224   end_insert_chars: ESC "'" J;
 225   delete_chars:     ESC "'" D;
 226   insert_lines:     ESC "&" I;
 227   delete_lines:     ESC "&" D;
 228 
 229 
 230 /***** Anderson-Jacobson Model 520 ASCII/APL/GRAPHICS CRT (24 lines) *****/
 231 
 232 terminal_type: AJ520 like ASCII_CRT;
 233  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
 234  initial_string:
 235 /*        ESC "[H" ESC "[J"                                 /* Home, clear screen */
 236           ESC "[?3h"                                        /* Put into 132 char/line mode so all tabs can be set */
 237           ESC "[" 3 g  (13) <ESC "[10C" ESC H> CR           /* Set all tabs */
 238           ESC "[?3l";                                       /* Put into 80 char/line mode */
 239  output_suspend: 023;
 240  output_resume: 021;
 241  function_keys: aj520_function_keys;
 242  video_info:
 243   screen_line_length: 79;
 244   screen_height:    24;
 245   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 246   clear_to_eos:     ESC "[" J;
 247   home:             ESC "[" H;
 248   clear_to_eol:     ESC "[" K;
 249   cursor_up:        ESC "[" (decimal N) A;
 250   cursor_right:     ESC "[" (decimal N) C;
 251   cursor_down:      ESC "[" (decimal N) B;
 252   cursor_left:      ESC "[" (decimal N) D;
 253   insert_chars:     ESC "[" (decimal N) @;
 254   delete_chars:     ESC "[" (decimal N) P;
 255   insert_lines:     ESC "[" (decimal N) L, pad 40 ms;
 256   delete_lines:     ESC "[" (decimal N) M, pad 50 ms;
 257 
 258 
 259 /***** Anderson-Jacobson Model 520 ASCII/APL/GRAPHICS CRT (132 chars/line) *****/
 260 
 261 terminal_type: AJ520_132L like ASCII_CRT;
 262  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
 263  initial_string:
 264 /*        ESC "[H" ESC "[J"                                 /* Home, clear screen */
 265           ESC "[?3h"                                        /* Put into 132 char/line mode so all tabs can be set */
 266           ESC "[" 3 g  (13) <ESC "[10C" ESC H> CR;          /* Set all tabs */
 267  output_suspend: 023;
 268  output_resume: 021;
 269  function_keys: aj520_function_keys;
 270  video_info:
 271   screen_line_length: 132;
 272   screen_height:    24;
 273   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 274   clear_to_eos:     ESC "[" J;
 275   home:             ESC "[" H;
 276   clear_to_eol:     ESC "[" K;
 277   cursor_up:        ESC "[" (decimal N) A;
 278   cursor_right:     ESC "[" (decimal N) C;
 279   cursor_down:      ESC "[" (decimal N) B;
 280   cursor_left:      ESC "[" (decimal N) D;
 281   insert_chars:     ESC "[" (decimal N) @;
 282   delete_chars:     ESC "[" (decimal N) P;
 283   insert_lines:     ESC "[" (decimal N) L;
 284   delete_lines:     ESC "[" (decimal N) M;
 285 
 286 
 287 /***** Anderson-Jacobson Model 630 *****/
 288 
 289 terminal_type: AJ630 like ASCII;
 290  modes: default,ll140,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 291  initial_string: CR (9) <NUL> ESC 2 (14) <(10) <SP> ESC 1> CR (9) <NUL>;
 292  bauds:              300;
 293   vert_nl_delays:      3;
 294   horz_nl_delays:      0.050;
 295   const_tab_delays:    1;
 296   var_tab_delays:      0.300;
 297   vt_ff_delays:        4;
 298 
 299 
 300 /***** Ann Arbor Ambassador CRT (24 lines) *****/
 301 
 302 terminal_type: AMBASSADOR_24L like ASCII_CRT;
 303  modes: default,pl23,can_type=replace,ll79,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
 304  initial_string:
 305           ESC "[60;;;24p" ESC "[J" ESC "[>30;29;40;18l"
 306           ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
 307  special: ambassador_special;
 308  video_info:
 309   screen_line_length: 79;
 310   screen_height:    24;
 311   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 312   clear_to_eos:     ESC "[" J;
 313   home:             ESC "[" H;
 314   clear_to_eol:     ESC "[" K;
 315   cursor_up:        ESC M;
 316   cursor_right:     ESC "[" C;
 317   cursor_down:      LF;
 318   cursor_left:      BS;
 319   insert_chars:     ESC "[" (decimal N) "@";
 320   delete_chars:     ESC "[" (decimal N)  P;
 321   insert_lines:     ESC "[" (decimal N)  L;
 322   delete_lines:     ESC "[" (decimal N)  M;
 323 
 324 
 325 /***** Ann Arbor Ambassador CRT (30  lines) *****/
 326 
 327 terminal_type: AMBASSADOR_30L like ASCII_CRT;
 328  modes: default,pl29,can_type=replace,ll79,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
 329  initial_string:
 330           ESC "[60;;;30p" ESC "[J" ESC "[>30;29;40;18l"
 331           ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
 332  special: ambassador_special;
 333  video_info:
 334   screen_line_length: 79;
 335   screen_height:    30;
 336   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 337   clear_to_eos:     ESC "[" J;
 338   home:             ESC "[" H;
 339   clear_to_eol:     ESC "[" K;
 340   cursor_up:        ESC M;
 341   cursor_right:     ESC "[" C;
 342   cursor_down:      LF;
 343   cursor_left:      BS;
 344   insert_chars:     ESC "[" (decimal N) "@";
 345   delete_chars:     ESC "[" (decimal N)  P;
 346   insert_lines:     ESC "[" (decimal N)  L;
 347   delete_lines:     ESC "[" (decimal N)  M;
 348 
 349 
 350 /***** Ann Arbor Ambassador CRT (30 lines) *****/
 351 
 352 terminal_type: AMBASSADOR like AMBASSADOR_30L;
 353 
 354 
 355 /***** Ann Arbor Ambassador CRT (48 lines) *****/
 356 
 357 terminal_type: AMBASSADOR_48L like ASCII_CRT;
 358  modes: default,pl47,can_type=replace,ll79,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
 359  initial_string:
 360           ESC "[60;;;48p" ESC "[J" ESC "[>30;29;40;18l"
 361           ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
 362  special: ambassador_special;
 363  video_info:
 364   screen_line_length: 79;
 365   screen_height:    48;
 366   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 367   clear_to_eos:     ESC "[" J;
 368   home:             ESC "[" H;
 369   clear_to_eol:     ESC "[" K;
 370   cursor_up:        ESC M;
 371   cursor_right:     ESC "[" C;
 372   cursor_down:      LF;
 373   cursor_left:      BS;
 374   insert_chars:     ESC "[" (decimal N) "@";
 375   delete_chars:     ESC "[" (decimal N)  P;
 376   insert_lines:     ESC "[" (decimal N)  L;
 377   delete_lines:     ESC "[" (decimal N)  M;
 378 
 379 
 380 /***** Ann Arbor Ambassador CRT (60 lines) *****/
 381 
 382 terminal_type: AMBASSADOR_60L like ASCII_CRT;
 383  modes: default,pl59,can_type=replace,ll79,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
 384  initial_string:
 385           ESC "[60;;;60p" ESC "[J" ESC "[>30;29;40;18l"
 386           ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
 387  special: ambassador_special;
 388  video_info:
 389   screen_line_length: 79;
 390   screen_height:    60;
 391   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 392   clear_to_eos:     ESC "[" J;
 393   home:             ESC "[" H;
 394   clear_to_eol:     ESC "[" K;
 395   cursor_up:        ESC M;
 396   cursor_right:     ESC "[" C;
 397   cursor_down:      LF;
 398   cursor_left:      BS;
 399   insert_chars:     ESC "[" (decimal N) "@";
 400   delete_chars:     ESC "[" (decimal N)  P;
 401   insert_lines:     ESC "[" (decimal N)  L;
 402   delete_lines:     ESC "[" (decimal N)  M;
 403 
 404 
 405 /***** Perkin-Elmer Bantam 550 *****/
 406 
 407 terminal_type: BANTAM550 like ASCII_CRT;
 408  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 409  bauds:              110      300      1200      1800      2400      4800      9600;
 410  vt_ff_delays:         1        4        16        24        32        64       127;
 411  video_info:
 412   screen_line_length: 79;
 413   screen_height:    24;
 414   clear_screen:     ESC J, pad 132 ms;
 415   cursor_up:        ESC A;
 416   cursor_down:      ESC B;
 417   cursor_right:     ESC C;
 418   cursor_left:      BS;
 419   home:             ESC H;
 420   clear_to_eol:     ESC I, pad 20 ms;
 421   abs_pos:          ESC Y (COLUMN + 037) ESC X (LINE + 037);
 422 
 423 
 424 /***** BITGRAPH -- BBN BitGraph terminal */
 425 
 426 terminal_type: BITGRAPH like ASCII_CRT;
 427  modes: default,ll85,pl63,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 428  initial_string: CAN ESC "<" ESC "(B" ESC "[1;64r" ESC "[J" ESC ":e" ESC "[3g" CR (7) <ESC "[10C" ESC H> CR;
 429  output_suspend: ^S;
 430  output_resume: ^Q;
 431  function_keys: vt1xx_function_keys;
 432  video_info:
 433   screen_line_length: 84;
 434   screen_height:    64;
 435   clear_screen:     ESC "[2J";
 436   clear_to_eos:     ESC "[J";
 437   clear_to_eol:     ESC "[K";
 438   cursor_up:        ESC "[A";
 439   cursor_down:      ESC "[B";
 440   cursor_left:      ESC "[D";
 441   cursor_right:     ESC "[C";
 442   home:             ESC "[H";
 443   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
 444   insert_lines:     ESC "[L", pad 100 us;
 445   delete_lines:     ESC "[M", pad 100 us;
 446   insert_chars:     ESC "[@";
 447   delete_chars:     ESC "[P";
 448 
 449 
 450 /***** Control Data Model 713 *****/
 451 
 452 terminal_type: CDC713 like ASCII_CRT;
 453  modes: default,ll80,pl19,can_type=replace,hndlquit,fulldpx,scroll,lfecho,crecho,^tabs,tabecho;
 454 
 455 
 456 /***** HDS (Human Designed Systems) Concept 100 *****/
 457 
 458 terminal_type: CONCEPT100 like ASCII_CRT;
 459  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 460  initial_string:
 461           ESC "U" ESC "f" ESC "7" ESC "5" ESC "8" ESC "l" ESC "NH"
 462           ESC ^G "!" ESC ^H "A@ "
 463           CR (10) <HT ESC "_">                              /* clear all tabs */
 464           CR (7) <(10) <SP> ESC "]"> CR;                    /* set tabs */
 465  special: concept100_special;
 466  bauds:              110      150      300      600      1200      1800      2400      4800      9600;
 467   vt_ff_delays:        1        1        2        3         6         9        12        24        47;
 468  video_info:
 469   screen_line_length: 79;
 470   screen_height:    24;
 471   abs_pos:          ESC "a" (LINE + 037) (COLUMN + 037);
 472   home:             ESC "?";
 473   cursor_up:        ESC ";";
 474   cursor_right:     ESC "=";
 475   cursor_down:      LF;
 476   cursor_left:      BS;
 477   clear_screen:     ^L, pad 48 ms;
 478   clear_to_eos:     ESC ^E, pad 384 ms;
 479   clear_to_eol:     ESC ^U, pad 16 ms;
 480   insert_chars:     ESC ^P;
 481   end_insert_chars: ESC ^@;
 482   delete_chars:     ESC ^Q, pad 8 ms;
 483   insert_lines:     ESC ^R, pad 72 ms;
 484   delete_lines:     ESC ^B, pad 72 ms;
 485 
 486 
 487 /***** HDS (Human Designed Systems) Concept 108 (also known as Concept GVT and AVT) *****/
 488 
 489 terminal_type: CONCEPT108 like ASCII_CRT;
 490  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 491  initial_string:
 492           ESC "[2g"
 493                                                             /* set horizontal tabs */
 494           ESC "[11G" ESC H ESC "[21G" ESC H ESC "[31G" ESC H ESC "[41G" ESC H
 495           ESC "[51G" ESC H ESC "[61G" ESC H ESC "[71G" ESC H ESC "[1G";
 496  bauds:              300     1200     2400      4800      9600;
 497  line_types:    ASCII;
 498  output_suspend: ^S;
 499  output_resume: ^Q;
 500  video_info:
 501   screen_line_length: 79;
 502   screen_height:    24;
 503   home:             ESC "[" H;
 504   clear_screen:     ESC "[" 2 J;
 505   clear_to_eos:     ESC "[" J;
 506   clear_to_eol:     ESC "[" K;
 507   cursor_up:        ESC "[" A;
 508   cursor_right:     ESC "[" C;
 509   cursor_down:      ESC "[" B;
 510   cursor_left:      ESC "[" D;
 511   insert_chars:     ESC 1;
 512   end_insert_chars: ESC 1;
 513   delete_chars:     ESC "[" P;
 514   insert_lines:     ESC "[" L;
 515   delete_lines:     ESC "[" M;
 516   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
 517 
 518 terminal_type: CONCEPT_AVT like CONCEPT108;
 519 
 520 terminal_type: CONCEPT_GVT like CONCEPT108;
 521 
 522 
 523 /***** Delta Data 8260 THF French terminal in 7bit and 80 column mode *****/
 524 
 525 terminal_type: DD8260THF_80C like ASCII_CRT;
 526  modes: force,default,ll79,pl26,can_type=replace,hndlquit,scroll,fulldpx,echoplex,lfecho,crecho,tabs,^tabecho,^no_outp,^8bit,^oddp;
 527  initial_string:
 528           CR
 529           SO _                                              /* clear to end of split */
 530           SO H                                              /* clear all tabs */
 531           CR (13) <(10) <SO "{"> SO I>                      /* set tabs */
 532           CR
 533           SO &                                              /* Program PF-keys */
 534           "@" RS "1" SOH   "^" RS US "1" SOH                /* F1 and CTRL-numpad-1 */
 535           "A" RS "2" SOH   "_" RS US "2" SOH                /* F2 ... */
 536           "B" RS "3" SOH   "`" RS US "3" SOH
 537           "C" RS "4" SOH   "[" RS US "4" SOH
 538           "D" RS "5" SOH   "\" RS US "5" SOH
 539           "E" RS "6" SOH   "]" RS US "6" SOH
 540           "F" RS "7" SOH   "X" RS US "7" SOH
 541           "G" RS "8" SOH   "Y" RS US "8" SOH
 542           "H" RS "9" SOH   "Z" RS US "9" SOH
 543           "I" RS "0" SOH   "b" RS US "0" SOH                /* F10 and CTRL-numpad-0 */
 544           "J" RS TAB SOH   "a" RS US TAB SOH                /* F11 and CTRL-numpad-TAB */
 545           "K" RS "." SOH   "c" RS US "." SOH                /* F12 and CTRL-numpad-. */
 546           SOH                                               /* end pf-key defs */
 547           ;
 548  output_translation: dd8260thf_output_trans;
 549  output_conversion: dd8260thf_output_conv;
 550  special: dd8260thf_special;
 551  function_keys: dd8260thf_function_keys;
 552  video_info:
 553   screen_line_length: 79;
 554   screen_height:    27;
 555   clear_screen:     SO R, pad 25 ms;
 556   clear_to_eos:     SO _, pad 25 ms;
 557   home:             SO Q, pad 10 ms;
 558   clear_to_eol:     SO U, pad 10 ms;
 559   cursor_up:        SO n, pad 10 ms;
 560   cursor_right:     SO "{", pad 10 ms;
 561   cursor_down:      SO o, pad 10 ms;
 562   cursor_left:      SO m, pad 10 ms;
 563   insert_chars:     SO Y, pad 20 ms;
 564   end_insert_chars: SO X, pad 20 ms;
 565   delete_chars:     SO V, pad 20 ms;
 566   insert_lines:     SO M, pad 90 ms;
 567   delete_lines:     SO L, pad 75 ms;
 568   abs_pos:          SI (decimal COLUMN) ";" (decimal LINE) H, pad 20 ms;
 569 
 570 
 571 /***** Delta Data 8260 THF French terminal in 7bit and 80 column mode *****/
 572 
 573 terminal_type: DD8260THF like DD8260THF_80C;
 574 
 575 
 576 /***** Delta Data 8260 THF in 7bit and 132 column mode */
 577 
 578 terminal_type: DD8260THF_132C like DD8260THF_80C;
 579  /*
 580     ONLY 131 columns are usable as the display wraps when position 132 is
 581     filled, and scrolls when position 132 is filled on the last line.
 582  */
 583  modes: force,default,ll131,pl26,can_type=replace,hndlquit,scroll,fulldpx,echoplex,lfecho,crecho,tabs,^tabecho,^no_outp,^8bit,^oddp;
 584  video_info:
 585   screen_line_length: 131;
 586   screen_height:    27;
 587   home:             SO Q, pad 10 ms;
 588   clear_screen:     SO R, pad 25 ms;
 589   clear_to_eos:     SO _, pad 25 ms;
 590   clear_to_eol:     SO U, pad 10 ms;
 591   cursor_up:        SO n, pad 10 ms;
 592   cursor_right:     SO "{", pad 10 ms;
 593   cursor_down:      SO o, pad 10 ms;
 594   cursor_left:      SO m, pad 10 ms;
 595   insert_chars:     SO Y, pad 20 ms;
 596   end_insert_chars: SO X, pad 20 ms;
 597   delete_chars:     SO V, pad 20 ms;
 598   insert_lines:     SO M, pad 90 ms;
 599   delete_lines:     SO L, pad 75 ms;
 600   abs_pos:          SI (decimal COLUMN) ";" (decimal LINE) H, pad 20 ms;
 601 
 602 
 603 /***** Delta Data 8260 THF French terminal in 8bit and 80 column mode *****/
 604 
 605 terminal_type: DD8260THF_8BIT like DD8260THF_80C;
 606  modes: force,default,ll79,pl26,can_type=replace,hndlquit,scroll,fulldpx,echoplex,lfecho,crecho,tabs,^tabecho,no_outp,8bit,^oddp;
 607 
 608 
 609 /***** DD8260THF with 8bit turned on in the config. for 132 display mode *****/
 610 
 611 terminal_type: DD8260THF_8BIT_132C like DD8260THF_132C;
 612  modes: force,default,ll131,pl26,can_type=replace,hndlquit,scroll,fulldpx,echoplex,lfecho,crecho,tabs,^tabecho,no_outp,8bit,^oddp;
 613 
 614 
 615 /***** Delta Data Systems Model 4000 *****/
 616 
 617 terminal_type: DELTA4000 like ASCII_CRT;
 618  modes: default,ll79,pl24,can_type=replace,hndlquit,scroll,fulldpx,^crecho,lfecho,tabs,^tabecho;
 619  initial_string: CR NUL NUL NUL ESC 4 (7) <(10) <SP> ESC 1> CR NUL NUL NUL;
 620  framing_chars: STX ETX;
 621  bauds:              110      300      600      1200      2400      4800      9600;
 622   vert_nl_delays:      0        0        0         0         0         0         3;
 623   vt_ff_delays:        1        1        2         3         5        10        20;
 624  special: delta4000_special;
 625  video_info:
 626   screen_line_length: 79;
 627   screen_height:    25;
 628   clear_screen:     ESC E;
 629   home:             ESC H;
 630   clear_to_eos:     ESC J, pad 15 ms;
 631   clear_to_eol:     ESC K, pad 7500 us;
 632   cursor_up:        ESC A, pad 2500 us;
 633   cursor_down:      ESC B, pad 2500 us;
 634   cursor_right:     ESC C, pad 2500 us;
 635   cursor_left:      ESC D, pad 2500 us;
 636   insert_chars:     ESC Q;
 637   end_insert_chars: ESC R;
 638   delete_chars:     ESC P, pad 2500 us;
 639   insert_lines:     ESC L, pad 2500 us;
 640   delete_lines:     ESC M, pad 100 ms;
 641   abs_pos:          ESC F (decimal 3 COLUMN) (decimal 3 LINE), pad 5 ms;
 642 
 643 
 644 /***** Datagraphix 132 terminal (132 columns, 30 line screen without function keys) *****/
 645 
 646 terminal_type: DG132A like ASCII_CRT;
 647  modes: default,ll132,pl29,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 648  initial_string: ESC "2" CR ESC "1" (13) <(10) <SP> ESC "1"> ESC "H" NUL NUL NUL;
 649  framing_chars: NUL ETX;
 650  output_suspend: ^S;
 651  output_resume: ^Q;
 652  video_info:
 653   screen_line_length: 132;
 654   screen_height:    30;
 655   abs_pos:          ESC "8" (decimal 3 LINE) (decimal 3 COLUMN), pad 10 ms;
 656   clear_screen:     ESC "H", pad 150 ms;
 657   clear_to_eos:     ESC "I", pad 150 ms;
 658   home:             ESC "T", pad 10 ms;
 659   clear_to_eol:     ESC "O", pad 10 ms;
 660   cursor_left:      BS;
 661   cursor_down:      ESC "M";
 662   cursor_right:     ESC "L";
 663   cursor_up:        ESC "K";
 664   insert_chars:     ESC "0", pad 10 ms;
 665   end_insert_chars: ESC "5", pad 10 ms;
 666   delete_chars:     ESC "6", pad 10 ms;
 667   insert_lines:     ESC "3", pad 500 ms;
 668   delete_lines:     ESC "4", pad 500 ms;
 669 
 670 
 671 /***** Datagraphix 132 terminal (132 columns, 60 line screen without function keys) *****/
 672 
 673 terminal_type: DG132A_60L like DG132A;
 674  modes: default,ll132,pl59,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 675  video_info:
 676   screen_line_length: 132;
 677   screen_height:    60;
 678   abs_pos:          ESC "8" (decimal 3 LINE) (decimal 3 COLUMN), pad 10 ms;
 679   clear_screen:     ESC "H", pad 150 ms;
 680   clear_to_eos:     ESC "I", pad 150 ms;
 681   home:             ESC "T", pad 10 ms;
 682   clear_to_eol:     ESC "O", pad 10 ms;
 683   cursor_left:      BS;
 684   cursor_down:      ESC "M";
 685   cursor_right:     ESC "L";
 686   cursor_up:        ESC "K";
 687   insert_chars:     ESC "0", pad 10 ms;
 688   end_insert_chars: ESC "5", pad 10 ms;
 689   delete_chars:     ESC "6", pad 10 ms;
 690   insert_lines:     ESC "3", pad 500 ms;
 691   delete_lines:     ESC "4", pad 500 ms;
 692 
 693 
 694 /***** Datagraphix 132 terminal (132 columns, 120 line screen without function keys) *****/
 695 
 696 terminal_type: DG132A_120L like DG132A;
 697  modes: default,^blk_xfer,ll132,pl119,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 698  video_info:
 699   screen_line_length: 132;
 700   screen_height:    120;
 701   abs_pos:          ESC "8" (decimal 3 LINE) (decimal 3 COLUMN), pad 10 ms;
 702   clear_screen:     ESC "H", pad 150 ms;
 703   clear_to_eos:     ESC "I", pad 150 ms;
 704   home:             ESC "T", pad 10 ms;
 705   clear_to_eol:     ESC "O", pad 10 ms;
 706   cursor_left:      BS;
 707   cursor_down:      ESC "M";
 708   cursor_right:     ESC "L";
 709   cursor_up:        ESC "K";
 710   insert_chars:     ESC "0", pad 10 ms;
 711   end_insert_chars: ESC "5", pad 10 ms;
 712   delete_chars:     ESC "6", pad 10 ms;
 713   insert_lines:     ESC "3", pad 500 ms;
 714   delete_lines:     ESC "4", pad 500 ms;
 715 
 716 
 717 /***** Datagraphix 132 terminal (132 columns, 30 line screen with function keys) *****/
 718 
 719 terminal_type: DG132B like DG132A;
 720  function_keys: dg132b_function_keys;
 721 
 722 
 723 /***** Datagraphix 132 terminal (132 columns, 60 line screen with function keys) *****/
 724 
 725 terminal_type: DG132B_60L like DG132A_60L;
 726  function_keys: dg132b_function_keys;
 727 
 728 
 729 /***** Datagraphix 132 terminal (132 columns, 120 line screen with function keys) *****/
 730 
 731 terminal_type: DG132B_120L like DG132A_120L;
 732  function_keys: dg132b_function_keys;
 733 
 734 
 735 /***** Diablo HyTerm 1620 *****/
 736 
 737 terminal_type: DIABLO1620 like ASCII;
 738           /*
 739              Setting the line length to 132 assumes the terminal is set for 10 char/in.
 740              The initial string will set 15 tab stops.
 741              This allows the operator to set the terminal for 10 or 12 char/in and get all tab stops set.
 742           */
 743  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 744  initial_string:
 745           ESC 2 CR ESC 1 ESC TAB VT ESC 1 ESC TAB NAK ESC 1 ESC TAB US ESC 1 ESC TAB ")"
 746           ESC 1 ESC TAB 3 ESC 1 ESC TAB "=" ESC 1 ESC TAB G ESC 1 ESC TAB Q ESC 1 ESC TAB "["
 747           ESC 1 ESC TAB e ESC 1 ESC TAB o ESC 1 ESC TAB y ESC 1 (3) <(10) <SP> ESC 1> CR NUL NUL;
 748  bauds:              110      150      300      1200;
 749   vert_nl_delays:      0        0        1        10;
 750   horz_nl_delays:      0        0        0.1       0.187;
 751   var_tab_delays:      0        0        0         0.18;
 752   vt_ff_delays:       30       45       90       360;
 753 
 754 
 755 /***** Diablo HyTerm 1620 (with output block acknowledgement) *****/
 756 
 757 terminal_type: DIABLO1620_OBA like DIABLO1620;
 758  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 759  output_end_of_block: ETX;
 760  output_acknowledge: ACK;
 761  buffer_size: 158;
 762 
 763 
 764 /***** Diablo 1640 terminal *****/
 765 
 766 terminal_type: DIABLO1640 like DIABLO1620;
 767  initial_string:
 768           ESC 2                                             /* clears all horizontal and vertical tabs */
 769           CR                                                /* get to left edge of paper */
 770           ESC 1                                             /* set horizontal tabs */
 771           ESC TAB VT  ESC 1 ESC TAB NAK ESC 1 ESC TAB US  ESC 1
 772           ESC TAB ")" ESC 1 ESC TAB 3   ESC 1 ESC TAB "=" ESC 1
 773           ESC TAB G   ESC 1 ESC TAB Q   ESC 1 ESC TAB "[" ESC 1
 774           ESC TAB e   ESC 1 ESC TAB o   ESC 1 ESC TAB y   ESC 1
 775           (10) <SP> ESC 1
 776           CR NUL NUL;                                       /* go back to left margin */
 777 
 778 
 779 /***** Diablo 1640 terminal (with output block acknowledgement) *****/
 780 
 781 terminal_type: DIABLO1640_OBA like DIABLO1640;
 782  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 783  output_end_of_block: ETX;
 784  output_acknowledge: ACK;
 785  buffer_size: 128;
 786 
 787 
 788 /***** Diablo 1640 terminal (with output suspend/resume) *****/
 789 
 790 terminal_type: DIABLO1640_OSR like DIABLO1640_OBA;
 791  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 792  output_suspend: DC3;
 793  output_resume: DC1;
 794 
 795 
 796 /***** Diablo Systems Inc., Series 1640 (10 pitch, 6 lpi, vertsp and oflow on) *****/
 797 
 798 terminal_type: DIABLO1640_OSR_10C6L like DIABLO1640_OSR;
 799  modes: default,ll132,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
 800  bauds:              110      150      300      1200;
 801  initial_string:
 802           ESC US CR                                         /* set 10 pitch */
 803           ESC RS HT                                         /* set 6 lines/in */
 804           ESC FF B                                          /* set 66 lines/page */
 805           ESC 2                                             /* clears all horizontal and vertical tabs */
 806           CR                                                /* get to edge of paper */
 807           ESC 1                                             /* set horizontal tabs */
 808           ESC TAB VT  ESC 1 ESC TAB NAK ESC 1 ESC TAB US  ESC 1
 809           ESC TAB ")" ESC 1 ESC TAB 3   ESC 1 ESC TAB "=" ESC 1
 810           ESC TAB G   ESC 1 ESC TAB Q   ESC 1 ESC TAB "[" ESC 1
 811           ESC TAB e   ESC 1 ESC TAB o   ESC 1 ESC TAB y   ESC 1
 812           (10) <SP> ESC 1 SP
 813           CR;                                               /* go back to left margin */
 814 
 815 
 816 /***** Diablo Systems Inc., Series 1640 (10 pitch, 6 lpi, oflow and echoplex on for console use) *****/
 817 
 818 terminal_type: DIABLO1640_OSR_10C6L_CONSOLE like DIABLO1640_OSR_10C6L;
 819  modes: default,ll132,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,^polite,^replay,^prefixnl;
 820 
 821 
 822 /***** Diablo Systems Inc., Series 1640 (12 pitch, 6 lines/in, vertsp and oflow on) *****/
 823 
 824 terminal_type: DIABLO1640_OSR_12C6L like DIABLO1640_OSR;
 825  modes: default,ll158,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
 826  bauds:              110      150      300      1200;
 827  initial_string:
 828           ESC US VT                                         /* set 12 pitch */
 829           ESC RS HT                                         /* set 6 lines/in */
 830           ESC FF B                                          /* set 66 lines/page */
 831           ESC 2                                             /* clears all horizontal and vertical tabs */
 832           CR                                                /* get to left edge of paper */
 833           ESC 1                                             /* set horizontal tabs */
 834           ESC TAB VT  ESC 1 ESC TAB NAK ESC 1 ESC TAB US  ESC 1
 835           ESC TAB ")" ESC 1 ESC TAB 3   ESC 1 ESC TAB "=" ESC 1
 836           ESC TAB G   ESC 1 ESC TAB Q   ESC 1 ESC TAB "[" ESC 1
 837           ESC TAB e   ESC 1 ESC TAB o   ESC 1 ESC TAB y   ESC 1
 838           (3) <(10) <SP> ESC 1> (7) <SP>
 839           CR;                                               /* go back to left margin */
 840 
 841 
 842 /***** Diablo Systems Inc., Series 1640 (12 pitch, 8 lpi, vertsp and oflow on) *****/
 843 
 844 terminal_type: DIABLO1640_OSR_12C8L like DIABLO1640_OSR;
 845  modes: default,ll158,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
 846  bauds:              110      150      300      1200;
 847  initial_string:
 848           ESC US VT                                         /* set 12 pitch */
 849           ESC RS ^G                                         /* set 8 lines/inch */
 850           ESC FF X                                          /* set 88 lines/page */
 851           ESC 2                                             /* clears all horizontal and vertical tabs */
 852           CR                                                /* get to left edge of paper */
 853           ESC 1                                             /* set horizontal tabs */
 854           ESC TAB VT  ESC 1 ESC TAB NAK ESC 1 ESC TAB US  ESC 1
 855           ESC TAB ")" ESC 1 ESC TAB 3   ESC 1 ESC TAB "=" ESC 1
 856           ESC TAB G   ESC 1 ESC TAB Q   ESC 1 ESC TAB "[" ESC 1
 857           ESC TAB e   ESC 1 ESC TAB o   ESC 1 ESC TAB y   ESC 1
 858           (3) <(10) <SP> ESC 1> (7) <SP>
 859           CR;                                               /* go back to left margin */
 860 
 861 
 862 /***** Cii-Bull DKU7002 ANSI CRT *****/
 863 
 864 terminal_type: DKU7002 like ASCII_CRT;
 865  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 866  initial_string: ESC "[?=h" ESC "[=h";
 867  function_keys: dku7102_function_keys;
 868  video_info:
 869   screen_line_length: 80;
 870   screen_height:    24;
 871   home:             ESC "[" H;
 872   clear_screen:     ESC "[" 2 J ESC "[" = l;
 873   clear_to_eol:     ESC "[" 0 K;
 874   clear_to_eos:     ESC "[" 0 J;
 875   cursor_up:        ESC "[" A;
 876   cursor_right:     ESC "[" C;
 877   cursor_down:      ESC "[" B;
 878   cursor_left:      ESC "[" D;
 879   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) f;
 880 
 881 
 882 /***** Cii-Bull DKU7102 ANSI CRT *****/
 883 
 884 terminal_type: DKU7102 like ASCII_CRT;
 885  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
 886  initial_string: ESC "[2J" ESC "[H" ESC "[?=h" ESC "[=h";
 887  function_keys: dku7102_function_keys;
 888  video_info:
 889   screen_line_length: 79;
 890   screen_height:    24;
 891   home:             ESC "[H";
 892   clear_screen:     ESC "[2J" ESC "[=l";
 893   clear_to_eos:     ESC "[0J";
 894   clear_to_eol:     ESC "[0K";
 895   cursor_up:        ESC "[" (decimal N) A;
 896   cursor_right:     ESC "[" (decimal N) C;
 897   cursor_down:      ESC "[" (decimal N) B;
 898   cursor_left:      ESC "[" (decimal N) D;
 899   insert_chars:     ESC "[4h";
 900   end_insert_chars: ESC "[4l";
 901   delete_chars:     ESC "[" (decimal N) P;
 902   insert_lines:     ESC "[" (decimal N) L;
 903   delete_lines:     ESC "[" (decimal N) M;
 904   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) f;
 905 
 906 
 907 /***** Data Terminals & Communications DTC-300/S *****/
 908 
 909 terminal_type: DTC300S like ASCII;
 910  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 911  initial_string:
 912           ESC TAB CR ESC 1
 913           ESC T LF  ESC 1 ESC T DC4 ESC 1 ESC T RS ESC 1 ESC T "(" ESC 1
 914           ESC T 2   ESC 1 ESC T "<" ESC 1 ESC T F  ESC 1 ESC T P   ESC 1
 915           ESC T Z   ESC 1 ESC T d   ESC 1 ESC T n  ESC 1 ESC T x   ESC 1
 916           (10) <SP> ESC 1 CR NUL NUL;
 917  bauds:              300;
 918   vert_nl_delays:      1;
 919   horz_nl_delays:      0.1;
 920 
 921 
 922 /***** Data Terminals & Communications DTC-300/S (using 12 pitch) *****/
 923 
 924 terminal_type: DTC300S_12C like DTC300S;
 925  modes: default,ll158,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 926  initial_string:
 927           ESC TAB CR ESC 1
 928           ESC T LF  ESC 1 ESC T DC4 ESC 1 ESC T RS ESC 1 ESC T "(" ESC 1
 929           ESC T 2   ESC 1 ESC T "<" ESC 1 ESC T F  ESC 1 ESC T P   ESC 1
 930           ESC T Z   ESC 1 ESC T d   ESC 1 ESC T n  ESC 1 ESC T x   ESC 1
 931           (3) <(10) <SP> ESC 1> CR NUL NUL;
 932 
 933 
 934 /***** Data Terminals & Communications DTC-302 *****/
 935 
 936 terminal_type: DTC302 like DTC300S;
 937  initial_string:
 938           ESC TAB CR ESC 1
 939           ESC T LF ESC 1 ESC T DC4 ESC 1 ESC T RS ESC 1 ESC T "(" ESC 1
 940           ESC T 2  ESC 1 ESC T "<" ESC 1 ESC T F  ESC 1 ESC T P   ESC 1
 941           ESC T Z  ESC 1 ESC T d   ESC 1 ESC T n  ESC 1 ESC T x   ESC 1
 942           (10) <SP> ESC 1 CR NUL NUL;
 943  bauds:              300;
 944   horz_nl_delays:      0.1;
 945 
 946 
 947 /***** Data Terminals & Communications Model 302 (in 12 pitch mode) *****/
 948 
 949 terminal_type: DTC302_12C like DTC302;
 950  modes: default,ll158,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 951  initial_string:
 952           ESC TAB CR ESC 1
 953           ESC T LF ESC 1 ESC T DC4 ESC 1 ESC T RS ESC 1 ESC T "(" ESC 1
 954           ESC T 2  ESC 1 ESC T "<" ESC 1 ESC T F  ESC 1 ESC T P   ESC 1
 955           ESC T Z  ESC 1 ESC T d   ESC 1 ESC T n  ESC 1 ESC T x   ESC 1
 956           (3) <(10) <SP> ESC 1> CR NUL NUL;
 957 
 958 
 959 /***** Perkin-Elmer Fox-1100 *****/
 960 
 961 terminal_type: FOX1100 like ASCII_CRT;
 962  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
 963  initial_string: ESC 3 CR (8) <(10) <SP> ESC 1> CR NUL NUL;
 964  bauds:              110      150      300      1200      1800      2400      4800      9600;
 965   vt_ff_delays:        1        3        5        20        30        40        80       160;
 966 
 967 
 968 /***** GRTS 115 *****/
 969 
 970 terminal_type: G115;
 971  modes: rawi,rawo;
 972  input_conversion: ;
 973  erase: 400;                                                /* Only way to turn off erase and kill processing. */
 974  kill: 400;
 975  line_types: G115;
 976  old_type: 9;
 977 
 978 
 979 /***** GRTS 115 (upper-case only) *****/
 980 
 981 terminal_type: G115_UPPER like G115;
 982  output_conversion: g115_upper_output_conv;
 983  special: remote_printer_special;
 984 
 985 
 986 /***** Ann Arbor GURU CRT (Up to 66 lines and 160 columns) *****/
 987 
 988 /***
 989 
 990    The GURU can vary in both number of columns and number of lines so
 991    there are potentially lots of GURU terminal types.  The following
 992    types define a 80 column, 132 column, and 160 column type for each
 993    of the line lengths, 24, 30, 48 and 66 (except 24 x 160).
 994 
 995           GURU_66L_80C        (GURU_66L)
 996           GURU_66_132C
 997           GURU_66_160C
 998 
 999           GURU_48L_80C        (GURU_48L, GURU)
1000           GURU_48L_132C
1001           GURU_48L_160C
1002 
1003           GURU_30L_80C        (GURU_30L)
1004           GURU_30L_132C
1005           GURU_30L_160C
1006 
1007           GURU_24L_80C        (GURU_24L)
1008 
1009 ***/
1010 
1011 terminal_type: GURU_66L_80C like ASCII_CRT;
1012  modes: default,ll79,pl65,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1013  initial_string: ESC "[66;;;66;80;80p" ESC "[J" ESC "[>30;29;40;18l"
1014                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1015  special: ambassador_special;
1016  video_info:
1017   screen_line_length: 79;
1018   screen_height:    66;
1019   home:             ESC "[" H;
1020   clear_to_eol:     ESC "[" K;
1021   clear_to_eos:     ESC "[" J;
1022   cursor_up:        ESC M;
1023   cursor_right:     ESC "[" C;
1024   cursor_down:      LF;
1025   cursor_left:      BS;
1026   insert_chars:     ESC "[" (decimal N) "@";
1027   delete_chars:     ESC "[" (decimal N)  P;
1028   insert_lines:     ESC "[" (decimal N)  L;
1029   delete_lines:     ESC "[" (decimal N)  M;
1030   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1031 
1032 terminal_type: GURU_66L like GURU_66L_80C;
1033 
1034 terminal_type: GURU_66L_132C like ASCII_CRT;
1035  modes: default,ll131,pl65,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1036  initial_string: ESC "[66;;;66;132;132p" ESC "[J" ESC "[>30;29;40;18l"
1037                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1038  special: ambassador_special;
1039  video_info:
1040   screen_line_length: 131;
1041   screen_height:    66;
1042   home:             ESC "[" H;
1043   clear_to_eol:     ESC "[" K;
1044   clear_to_eos:     ESC "[" J;
1045   cursor_up:        ESC M;
1046   cursor_right:     ESC "[" C;
1047   cursor_down:      LF;
1048   cursor_left:      BS;
1049   insert_chars:     ESC "[" (decimal N) "@";
1050   delete_chars:     ESC "[" (decimal N)  P;
1051   insert_lines:     ESC "[" (decimal N)  L;
1052   delete_lines:     ESC "[" (decimal N)  M;
1053   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1054 
1055 terminal_type: GURU_66L_160C like ASCII_CRT;
1056  modes: default,ll159,pl65,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1057  initial_string: ESC "[66;;;66;160;160p" ESC "[J" ESC "[>30;29;40;18l"
1058                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1059  special: ambassador_special;
1060  video_info:
1061   screen_line_length: 159;
1062   screen_height:    66;
1063   home:             ESC "[" H;
1064   clear_to_eol:     ESC "[" K;
1065   clear_to_eos:     ESC "[" J;
1066   cursor_up:        ESC M;
1067   cursor_right:     ESC "[" C;
1068   cursor_down:      LF;
1069   cursor_left:      BS;
1070   insert_chars:     ESC "[" (decimal N) "@";
1071   delete_chars:     ESC "[" (decimal N)  P;
1072   insert_lines:     ESC "[" (decimal N)  L;
1073   delete_lines:     ESC "[" (decimal N)  M;
1074   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1075 
1076 /* GURU ttp's with 48 lines ... */
1077 
1078 terminal_type: GURU_48L_80C like ASCII_CRT;
1079  modes: default,ll79,pl47,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1080  initial_string: ESC "[48;;;48;80;80p" ESC "[J" ESC "[>30;29;40;18l"
1081                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1082  special: ambassador_special;
1083  video_info:
1084   screen_line_length: 79;
1085   screen_height:    48;
1086   home:             ESC "[" H;
1087   clear_to_eol:     ESC "[" K;
1088   clear_to_eos:     ESC "[" J;
1089   cursor_up:        ESC M;
1090   cursor_right:     ESC "[" C;
1091   cursor_down:      LF;
1092   cursor_left:      BS;
1093   insert_chars:     ESC "[" (decimal N) "@";
1094   delete_chars:     ESC "[" (decimal N)  P;
1095   insert_lines:     ESC "[" (decimal N)  L;
1096   delete_lines:     ESC "[" (decimal N)  M;
1097   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1098 
1099 terminal_type: GURU_48L     like GURU_48L_80C;
1100 terminal_type: GURU         like GURU_48L_80C;
1101 
1102 terminal_type: GURU_48L_132C like ASCII_CRT;
1103  modes: default,ll131,pl47,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1104  initial_string: ESC "[48;;;48;132;132p" ESC "[J" ESC "[>30;29;40;18l"
1105                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1106  special: ambassador_special;
1107  video_info:
1108   screen_line_length: 131;
1109   screen_height:    48;
1110   home:             ESC "[" H;
1111   clear_to_eol:     ESC "[" K;
1112   clear_to_eos:     ESC "[" J;
1113   cursor_up:        ESC M;
1114   cursor_right:     ESC "[" C;
1115   cursor_down:      LF;
1116   cursor_left:      BS;
1117   insert_chars:     ESC "[" (decimal N) "@";
1118   delete_chars:     ESC "[" (decimal N)  P;
1119   insert_lines:     ESC "[" (decimal N)  L;
1120   delete_lines:     ESC "[" (decimal N)  M;
1121   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1122 
1123 terminal_type: GURU_48L_160C like ASCII_CRT;
1124  modes: default,ll159,pl47,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1125  initial_string: ESC "[48;;;48;160;160p" ESC "[J" ESC "[>30;29;40;18l"
1126                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1127  special: ambassador_special;
1128  video_info:
1129   screen_line_length: 159;
1130   screen_height:    48;
1131   home:             ESC "[" H;
1132   clear_to_eol:     ESC "[" K;
1133   clear_to_eos:     ESC "[" J;
1134   cursor_up:        ESC M;
1135   cursor_right:     ESC "[" C;
1136   cursor_down:      LF;
1137   cursor_left:      BS;
1138   insert_chars:     ESC "[" (decimal N) "@";
1139   delete_chars:     ESC "[" (decimal N)  P;
1140   insert_lines:     ESC "[" (decimal N)  L;
1141   delete_lines:     ESC "[" (decimal N)  M;
1142   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1143 
1144 /* GURU's with 30 lines ... */
1145 
1146 terminal_type: GURU_30L_80C like ASCII_CRT;
1147  modes: default,ll79,pl29,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1148  initial_string: ESC "[30;;;30;80;80p" ESC "[J" ESC "[>30;29;40;18l"
1149                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1150  special: ambassador_special;
1151  video_info:
1152   screen_line_length: 79;
1153   screen_height:    30;
1154   home:             ESC "[" H;
1155   clear_to_eol:     ESC "[" K;
1156   clear_to_eos:     ESC "[" J;
1157   cursor_up:        ESC M;
1158   cursor_right:     ESC "[" C;
1159   cursor_down:      LF;
1160   cursor_left:      BS;
1161   insert_chars:     ESC "[" (decimal N) "@";
1162   delete_chars:     ESC "[" (decimal N)  P;
1163   insert_lines:     ESC "[" (decimal N)  L;
1164   delete_lines:     ESC "[" (decimal N)  M;
1165   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1166 
1167 terminal_type: GURU_30L_132C like ASCII_CRT;
1168  modes: default,ll131,pl29,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1169  initial_string: ESC "[30;;;30;132;132p" ESC "[J" ESC "[>30;29;40;18l"
1170                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1171  special: ambassador_special;
1172  video_info:
1173   screen_line_length: 131;
1174   screen_height:    30;
1175   home:             ESC "[" H;
1176   clear_to_eol:     ESC "[" K;
1177   clear_to_eos:     ESC "[" J;
1178   cursor_up:        ESC M;
1179   cursor_right:     ESC "[" C;
1180   cursor_down:      LF;
1181   cursor_left:      BS;
1182   insert_chars:     ESC "[" (decimal N) "@";
1183   delete_chars:     ESC "[" (decimal N)  P;
1184   insert_lines:     ESC "[" (decimal N)  L;
1185   delete_lines:     ESC "[" (decimal N)  M;
1186   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1187 
1188 terminal_type: GURU_30L_160C like ASCII_CRT;
1189  modes: default,ll159,pl29,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1190  initial_string: ESC "[30;;;30;160;160p" ESC "[J" ESC "[>30;29;40;18l"
1191                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1192  special: ambassador_special;
1193  video_info:
1194   screen_line_length: 159;
1195   screen_height:    29;
1196   home:             ESC "[" H;
1197   clear_to_eol:     ESC "[" K;
1198   clear_to_eos:     ESC "[" J;
1199   cursor_up:        ESC M;
1200   cursor_right:     ESC "[" C;
1201   cursor_down:      LF;
1202   cursor_left:      BS;
1203   insert_chars:     ESC "[" (decimal N) "@";
1204   delete_chars:     ESC "[" (decimal N)  P;
1205   insert_lines:     ESC "[" (decimal N)  L;
1206   delete_lines:     ESC "[" (decimal N)  M;
1207   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1208 
1209 terminal_type: GURU_30L like GURU_30L_80C;
1210 
1211 /* GURU ttp's with 24 lines ... */
1212 
1213 terminal_type: GURU_24L_80C like ASCII_CRT;
1214  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,^crecho,lfecho,tabs,^tabecho;
1215  initial_string: ESC "[24;;;24;80;80p" ESC "[J" ESC "[>30;29;40;18l"
1216                  ESC "[H" ESC "[" 3 g  (7) <ESC "[10C" ESC H> CR;
1217  special: ambassador_special;
1218  video_info:
1219   screen_line_length: 79;
1220   screen_height:    24;
1221   home:             ESC "[" H;
1222   clear_to_eol:     ESC "[" K;
1223   clear_to_eos:     ESC "[" J;
1224   cursor_up:        ESC M;
1225   cursor_right:     ESC "[" C;
1226   cursor_down:      LF;
1227   cursor_left:      BS;
1228   insert_chars:     ESC "[" (decimal N) "@";
1229   delete_chars:     ESC "[" (decimal N)  P;
1230   insert_lines:     ESC "[" (decimal N)  L;
1231   delete_lines:     ESC "[" (decimal N)  M;
1232   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1233 
1234 terminal_type: GURU_24L like GURU_24L_80C;
1235 
1236 /***** Hazeltine Model 1500 CRT *****/
1237 
1238 terminal_type: HAZELTINE1500 like ASCII_CRT;
1239  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1240  output_conversion: hazeltine1500_output_conv;
1241  special: hazeltine1500_special;
1242  video_info:
1243   screen_line_length: 79;
1244   screen_height:    24;
1245   abs_pos:          "~" DC1 (COLUMN - 001) (LINE - 001);
1246   clear_to_eos:     "~" ETB;
1247   home:             "~" DC2;
1248   clear_to_eol:     "~" SI;
1249   cursor_up:        "~" FF;
1250   cursor_right:     DLE;
1251   cursor_down:      "~" VT;
1252   cursor_left:      BS;
1253   insert_lines:     "~" SUB;
1254   delete_lines:     "~" DC3;
1255 
1256 
1257 /***** Hazeltine Model 1510 CRT *****/
1258 
1259 terminal_type: HAZELTINE1510 like ASCII_CRT;
1260  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1261  initial_string: ESC DC2 ESC FS;
1262  special: hazeltine1510_special;
1263  video_info:
1264   screen_line_length: 79;
1265   screen_height:    24;
1266   home:             ESC DC2;
1267   clear_to_eos:     ESC ETB;
1268   cursor_up:        ESC FF;
1269   cursor_right:     DLE;
1270   cursor_down:      ESC VT;
1271   cursor_left:      BS;
1272   clear_to_eol:     ESC SI;
1273   insert_lines:     ESC SUB;
1274   delete_lines:     ESC DC3;
1275   abs_pos:          ESC DC1 (COLUMN - 001) (LINE - 001);
1276 
1277 
1278 /***** Heathkit Model H19 CRT (also known as the Zenith Z19) *****/
1279 
1280 terminal_type: HEATH19 like ASCII_CRT;
1281  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1282  initial_string:
1283           ESC "<"                                           /* enter ANSI mode if not already since next */
1284                                                             /* sequence in HEATH mode displays "?2h" on terminal */
1285           ESC "[?2h"                                        /* enter Heath mode */
1286           ESC "y3"                                          /* exit hold screen mode */
1287           ESC "y5"                                          /* cursor on */
1288           ESC "y8"                                          /* no auto LF */
1289           ESC "y9"                                          /* no auto CR */
1290           ESC G                                             /* exit graphics mode */
1291           ESC "{"                                           /* keyboard enabled */
1292           ESC q;                                            /* exit reverse video mode */
1293  special: heath19_special;
1294  function_keys: heath19_function_keys;
1295  video_info:
1296   screen_line_length: 79;
1297   screen_height:    24;
1298   home:             ESC H;
1299   clear_screen:     ESC E;
1300   clear_to_eos:     ESC J , pad 1;
1301   cursor_up:        ESC A;
1302   cursor_right:     ESC C;
1303   cursor_down:      LF;
1304   cursor_left:      BS;
1305   clear_to_eol:     ESC K;
1306   insert_chars:     ESC "@";
1307   end_insert_chars: ESC O;
1308   delete_chars:     ESC N;
1309   insert_lines:     ESC L, pad 24 ms;
1310   delete_lines:     ESC M, pad 24 ms;
1311   abs_pos:          ESC Y (LINE + 037) (COLUMN + 037);
1312 
1313 terminal_type: H19 like HEATH19;
1314 
1315 terminal_type: Z19 like HEATH19;
1316 
1317 
1318 /***** Heathkit Model H19 CRT in ANSI mode (also known as the Zenith Z19) *****/
1319 
1320 terminal_type: HEATH19_ANSI like ASCII_CRT;
1321  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1322  initial_string:
1323           ESC "<"                                           /* enters ANSI mode if not already */
1324           ESC "[>3l"                                        /* exit hold screen mode */
1325           ESC "[>5l"                                        /* cursor on */
1326           ESC "[>8l"                                        /* no auto LF */
1327           ESC "[>9l"                                        /* no auto CR */
1328           ESC "[2l"                                         /* keyboard enabled */
1329           ESC "[m";                                         /* exit reverse video mode */
1330  special: heath19_ansi_special;
1331  function_keys: heath19_function_keys;
1332  video_info:
1333   screen_line_length: 79;
1334   screen_height:    24;
1335   home:             ESC "[H";
1336   clear_screen:     ESC "[2J" ESC "[H";
1337   clear_to_eos:     ESC "[0J", pad 1;
1338   clear_to_eol:     ESC "[0K";
1339   cursor_up:        ESC "[" (decimal N) A;
1340   cursor_down:      ESC "[" (decimal N) B;
1341   cursor_right:     ESC "[" (decimal N) C;
1342   cursor_left:      ESC "[" (decimal N) D;
1343   insert_chars:     ESC "[4h";
1344   end_insert_chars: ESC "[4l";
1345   delete_chars:     ESC "[" (decimal N) P;
1346   insert_lines:     ESC "[" (decimal N) L, pad 24 ms;
1347   delete_lines:     ESC "[" (decimal N) M, pad 24 ms;
1348   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "f";
1349 
1350 
1351 /***** Hewlett-Packard Model 26xx CRTs *****/
1352 
1353 terminal_type: HP26XX like ASCII_CRT;
1354  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1355  initial_string: ESC 3 CR (7) <(10) <SP> ESC 1> CR;
1356  special: hp26xx_special;
1357  function_keys: hp26xx_function_keys;
1358  video_info:
1359   screen_height:    24;
1360   screen_line_length: 79;
1361   abs_pos:          ESC "&" a  (decimal LINE - SOH) r (decimal COLUMN - SOH) C;
1362   clear_screen:     ESC H ESC J, pad 1;
1363   clear_to_eos:     ESC J, pad 1;
1364   home:             ESC H;
1365   clear_to_eol:     ESC K;
1366   cursor_up:        ESC A;
1367   cursor_right:     ESC C;
1368   cursor_down:      LF;
1369   cursor_left:      BS;
1370   insert_chars:     ESC Q;
1371   end_insert_chars: ESC R;
1372   delete_chars:     ESC P;
1373   insert_lines:     ESC L;
1374   delete_lines:     ESC M;
1375 
1376 terminal_type: HP2621 like HP26XX;
1377 terminal_type: HP2622 like HP26XX;
1378 terminal_type: HP2623 like HP26XX;
1379 terminal_type: HP2648 like HP26XX;
1380 
1381 
1382 /***** IBM 2780 *****/
1383 
1384 terminal_type: IBM2780;
1385  input_conversion: ;
1386  output_conversion: ibm2780_output_conv;
1387  special: remote_printer_special;
1388  input_translation: ebcdic_input_trans;
1389  output_translation: ebcdic_output_trans;
1390  erase: 400;                                                /* Only way to turn off erase and kill processing. */
1391  kill: 400;
1392  line_types: BSC;
1393 
1394 
1395 /***** IBM 2780 (upper and lower case) *****/
1396 
1397 terminal_type: IBM2780_FULL like IBM2780;
1398  output_conversion: ibm2780_full_output_conv;
1399  special: remote_printer_special;
1400 
1401 
1402 /***** IBM 3101 ASCII CRT terminal series *****/
1403 
1404 terminal_type: IBM3101 like ASCII_CRT;
1405  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1406  initial_string: ESC L (7) <(10) <SP> ESC 0> CR;
1407 
1408 
1409 /***** IBM 3271 Control Unit for IBM 3270 terminal cluster *****/
1410 
1411 terminal_type: IBM3271;
1412  line_types: BSC;
1413  input_translation: ;
1414  output_translation: ;
1415  additional_info: "";
1416 
1417 
1418 /***** IBM 3277 Display stations *****/
1419 
1420 terminal_type: IBM3277_M1;
1421  modes: default,ll40,pl11,can_type=replace,hndlquit,^scroll;
1422  line_types: BSC;
1423  input_translation: ibm3270_ebcdic_input_trans;
1424  output_translation: ibm3270_ebcdic_output_trans;
1425  output_conversion: ibm3270_output_conv;
1426  special: ibm3277_special;
1427  line_delimiter: NAK;
1428 
1429 terminal_type: IBM3277_M2 like IBM3277_M1;
1430  modes: default,ll80,pl23,can_type=replace,hndlquit,^scroll;
1431 
1432 
1433 /***** IBM 3284 Printer *****/
1434 
1435 terminal_type: IBM3284_M1;
1436  modes: default,ll40,pl11,can_type=overstrike,^scroll;
1437  line_types: BSC;
1438  output_translation: ibm3270_ebcdic_output_trans;
1439  output_conversion: ascii_output_conv;
1440  special: ibm3284_special;
1441 
1442 terminal_type: IBM3284_M2 like IBM3284_M1;
1443  modes: default,ll80,pl23,can_type=overstrike,^scroll;
1444 
1445 
1446 /***** IBM 3780 *****/
1447 
1448 terminal_type: IBM3780 like IBM2780;
1449 
1450 
1451 /***** IBM 3780 (upper and lower case) *****/
1452 
1453 terminal_type: IBM3780_FULL like IBM2780_FULL;
1454 
1455 
1456 /***** INFOTON 100 Display Terminal *****/
1457 
1458 terminal_type: INFOTON100 like ASCII_CRT;
1459  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1460  initial_string: ESC g CR ESC 1 (7) <(10) <SP> ESC 1> CR NUL NUL;
1461  special: infoton100_special;
1462  video_info:
1463   screen_line_length: 79;
1464   screen_height:    24;
1465   abs_pos:          ESC f (COLUMN + 037) (LINE + 037);
1466   home:             ESC H;
1467   clear_to_eos:     ESC J;
1468   clear_to_eol:     ESC K;
1469   cursor_up:        ESC A;
1470   cursor_down:      ESC B;
1471   cursor_right:     ESC C;
1472   cursor_left:      ESC D;
1473   delete_chars:     ESC P;
1474   insert_chars:     ESC "@";
1475   insert_lines:     ESC L;
1476   delete_lines:     ESC M;
1477 
1478 
1479 /***** Iriscope 200 *****/
1480 
1481 terminal_type: IRISCOPE200 like ASCII_CRT;
1482  modes: default,ll79,pl16,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1483  video_info:
1484   screen_line_length: 79;
1485   screen_height:    24;
1486   home:             EM;
1487   clear_screen:     CAN;
1488   cursor_up:        SUB;
1489   cursor_down:      LF;
1490   cursor_right:     NAK;
1491   cursor_left:      BS;
1492   clear_to_eol:     SYN;
1493 
1494 
1495 /***** Synertek Systems Corporation Model KTM-3 *****/
1496 
1497 terminal_type: KTM3 like ASCII_CRT;
1498  modes: default,ll39,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1499  bauds:              110      300      600      1200      2400      4800      9600;
1500   vt_ff_delays:        0        0        0         0         0         0         1;
1501  special: adm3a_kaypro_ktm3_special;
1502  video_info:
1503   screen_line_length: 39;
1504   screen_height:    24;
1505   home:             ^^;
1506   abs_pos:          ESC "=" (LINE + 037) (COLUMN + 037);
1507   clear_screen:     ^Z, pad 1 ms;
1508   clear_to_eos:     ESC J, pad 1 ms;
1509   clear_to_eol:     ESC K;
1510   cursor_up:        VT;
1511   cursor_right:     FF;
1512   cursor_down:      LF;
1513   cursor_left:      BS;
1514 
1515 
1516 /***** Synertek Systems Corporation Model KTM-3/80 *****/
1517 
1518 terminal_type: KTM3_80C like KTM3;
1519  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1520  video_info:
1521   screen_line_length: 79;
1522   screen_height:    24;
1523   home:             ^^;
1524   abs_pos:          ESC "=" (LINE + 037) (COLUMN + 037);
1525   clear_screen:     ^Z, pad 1 ms;
1526   clear_to_eos:     ESC J, pad 1 ms;
1527   clear_to_eol:     ESC K;
1528   cursor_up:        VT;
1529   cursor_right:     FF;
1530   cursor_down:      LF;
1531   cursor_left:      BS;
1532 
1533 
1534 /***** Honeywell Level 6 File Transmission Facility *****/
1535 
1536 terminal_type: L6FTF;
1537  modes: rawo,rawi;
1538  input_conversion: ;
1539  output_conversion: ;
1540  additional_info: "controller_poll=no pause_time=1000 max_message_len=1009 omit_nl=yes omit_ff=yes";
1541  line_types: POLLED_VIP;
1542 
1543 
1544 /***** Honeywell Level 6 Terminal Concentration Facility *****/
1545 
1546 terminal_type: L6TCF;
1547  input_conversion: ;
1548  additional_info: "controller_poll=no pause_time=1000 crlf_echo=yes omit_nl=no omit_ff=yes gcos_break=yes";
1549 
1550 
1551 /***** Digital Equipment LA120 DECwriter III *****/
1552 
1553 terminal_type: LA120 like ASCII;
1554  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,vertsp;
1555  initial_string:
1556           DC1                                               /* XON */
1557           ESC "[3g"                                         /* clear and set horizontal tabs (up to 211) */
1558           ESC "[11;21;31;41;51;61;71;81;91;101;111;121;131u" ESC "[141;151;161;171;181;191;201;211u"
1559           ESC "[4g"                                         /* clear and set vertical tabs (up to 161) */
1560           ESC "[1;11;21;31;41;51;61v" ESC "[71;81;91;101;111;121;131;141;151;161v";
1561  bauds:              110      150      300      1200      1800      2400      4800      9600;
1562   vert_nl_delays:      0        0        0         2         3         5        11        23;
1563   horz_nl_delays:      0        0        0         0         0         0         0         0;
1564   const_tab_delays:    0        0        0         0         0         4        17        53;
1565   var_tab_delays:      0        0        0         0.660     0.880     1         1         1;
1566   backspace_delays:    0        1        2         8        12        16        32        64;
1567   vt_ff_delays:       12       18       36       144       216       288       511       511;
1568  output_suspend: ^S;
1569  output_resume: ^Q;
1570 
1571 
1572 /***** Digital Equipment LA120 DECwriter III (output flow control enabled by default) *****/
1573 
1574 terminal_type: LA120_OFLOW like LA120;
1575  modes: default,ll132,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,vertsp;
1576 
1577  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
1578 
1579 
1580 /***** Digital Equipment LA120 DECwriter III (10 chars/inch, 6 lines/inch, 14x11 paper) *****/
1581 
1582 terminal_type: LA120_10C6L like LA120;
1583  modes: default,ll132,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1584  initial_string:
1585           DC1                                               /* XON */
1586           FF                                                /* FF to set page length correctly */
1587           ESC "[1w" ESC "[1z"                               /* 10 CPI 6 LPI */
1588           ESC "[1;132s"                                     /* 132 columns */
1589           ESC "[66t"                                        /* 66 lines */
1590           ESC "[3g"                                         /* clear horizontal tabs */
1591                                                             /* and set them */
1592           ESC "[11;21;31;41;51;61;71;81;91;101;111;121;131u"
1593           ESC "[4g"                                         /* clear vertical tabs */
1594           ESC "[1;11;21;31;41;51;61v";                      /* and set them */
1595  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
1596 
1597 
1598 /***** Digital Equipment LA120 DECwriter III (as line printer at 12 chars/inch, 6 lines/inch) *****/
1599 
1600 terminal_type: LA120_12C6L like LA120;
1601  modes: default,ll158,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1602  initial_string: DC1 FF                                     /* XON and FF to set page length correctly */
1603                  ESC "[2w" ESC "[1z"                        /* 12 CPI; 6 LPI */
1604                  ESC "[1;158s" ESC "[66t"                   /* 158 columns; 66 lines */
1605                  ESC "[3g"                                  /* clear and set horizontal tabs */
1606                  ESC "[11;21;31;41;51;61;71;81;91;101;111;121;131u"
1607                  ESC "[141;151u"
1608                  ESC "[4g" ESC "[1;11;21;31;41;51;61v";     /* clear and set vertical tabs */
1609  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
1610 
1611 
1612 /***** Digital Equipment LA120 DECwriter III (16.5 chars/inch, 8 lines/inch, 8x11 paper) *****/
1613 
1614 terminal_type: LA120_16C8L like LA120;
1615  modes: default,ll217,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1616  initial_string:
1617           DC1                                               /* XON */
1618           FF                                                /* FF to set page length correctly */
1619           ESC "[4w" ESC "[2z"                               /* 16 CPI 8 LPI */
1620           ESC "[1;140s"                                     /* 140 columns */
1621           ESC "[88t"                                        /* 88 lines */
1622           ESC "[3g"                                         /* clear horizontal tabs */
1623                                                             /* and set them */
1624           ESC "[11;21;31;41;51;61;71;81;91;101;111;121;131u"
1625           ESC "[4g"                                         /* clear vertical tabs */
1626           ESC "[1;11;21;31;41;51;61;71;81v";                /* and set them */
1627 
1628 
1629 /***** Digital Equipment LA34 DECwriter IV *****/
1630 
1631 terminal_type: LA34 like ASCII;
1632  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1633  initial_string:
1634           DC1                                               /* XON */
1635           ESC "[3g"                                         /* clear and set horizontal tabs (up to 211) */
1636           ESC "[11;21;31;41;51;61;71;81;91;101;111;121;131u" ESC "[141;151;161;171;181;191;201;211u";
1637  bauds:              110      150      300;
1638   backspace_delays:    0        1        2;
1639   vt_ff_delays:       12       18       36;
1640 
1641 
1642 /***** Digital Equipment LA36 DECwriter II *****/
1643 
1644 terminal_type: LA36 like ASCII;
1645  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
1646  bauds:              110      150      300;
1647 
1648 
1649 /***** Digital Equipment LA36 DECwriter II (with tabulation) *****/
1650 
1651 terminal_type: LA36_TABS like LA36;
1652  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1653  initial_string: CR ESC 2 (13) <(9) <SP> ESC 1> CR NUL NUL;
1654  bauds:              300;
1655   vert_nl_delays:      0;
1656   horz_nl_delays:      0.021;
1657   const_tab_delays:    1;
1658   var_tab_delays:      0.330;
1659   backspace_delays:    0;
1660   vt_ff_delays:       45;
1661 
1662 
1663 /***** LED120 (Braille Terminal by Triformation Systems) *****/
1664 
1665 terminal_type: LED120;
1666  modes: default,ll40,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho,vertsp;
1667  bauds:              110      150      300      1200;
1668   vert_nl_delays:     -4       -4      -11       -38;
1669   backspace_delays:    1        1        8         8;
1670   vt_ff_delays:       25       35       75       200;
1671  output_conversion: ascii_output_conv;
1672  special: led120_special;
1673  line_types: ASCII;
1674 
1675 
1676 /***** Macintosh Kermit VT102 emulator *****/
1677 
1678 terminal_type: MACKERMIT like ASCII_CRT;
1679  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,^tabecho;
1680  video_info:
1681   screen_line_length: 79;
1682   screen_height:    24;
1683   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
1684   clear_screen:     ESC "[2J" ESC "[H";
1685   clear_to_eos:     ESC "[J";
1686   home:             ESC "[H";
1687   clear_to_eol:     ESC "[K";
1688   insert_chars:     ESC "[4h";
1689   end_insert_chars: ESC "[4l";
1690   delete_chars:     ESC "[" (decimal N) "P";
1691   insert_lines:     ESC "[" (decimal N) "L";
1692   delete_lines:     ESC "[" (decimal N) "M";
1693   cursor_left:      ESC "[" (decimal N) "D";
1694   cursor_down:      ESC "[" (decimal N) "B";
1695   cursor_right:     ESC "[" (decimal N) "C";
1696   cursor_up:        ESC "[" (decimal N) "A";
1697 
1698 
1699 /***** MOWSE_ANSI - Multics Online Work Station Environment (MOWSE) with PC using ANSI.SYS *****/
1700  /*
1701     This terminal type entry is to be used by those users that have ANSI.SYS
1702     installed as the console driver in their PC.
1703  */
1704 
1705 terminal_type: MOWSE_ANSI like ASCII_CRT;
1706  modes: default,ll79,pl23,can_type=replace,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho,^ctl_char;
1707  protocol:  "MOWSE";
1708  function_keys: mowse_function_keys;
1709  video_info:
1710   screen_line_length: 79;
1711   screen_height:    24;
1712   home:             ESC "[H";
1713   clear_screen:     ESC "[2J";
1714   clear_to_eol:     ESC "[K";
1715   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1716 
1717 terminal_type: MOWSE like MOWSE_ANSI;
1718 
1719 
1720 /***** MOWSE_FANSI - Multics Online Work Station Environment (MOWSE) with PC using FANSI.DEV *****/
1721 /*
1722     This terminal type is to be used by those users who have FANSI.DEV
1723     installed as the console driver in their PC.
1724 */
1725 
1726 terminal_type: MOWSE_FANSI like ASCII_CRT;
1727  modes: default,ll79,pl23,can_type=replace,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,^ctl_char;
1728  initial_string: ESC "[2J" ESC H;
1729  protocol:  "MOWSE_FANSI";
1730  function_keys: mowse_function_keys;
1731  video_info:
1732   screen_line_length: 79;
1733   screen_height:    24;
1734   home:             ESC "[" H;
1735   clear_screen:     ESC "[2J" ESC "[H";
1736   clear_to_eos:     ESC "[" J;
1737   clear_to_eol:     ESC "[" K;
1738   insert_chars:     ESC "[" (decimal N) @;
1739   delete_chars:     ESC "[" (decimal N) P;
1740   insert_lines:     ESC "[" (decimal N) L;
1741   delete_lines:     ESC "[" (decimal N) M;
1742   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
1743 
1744 terminal_type: MOWSEF like MOWSE_FANSI;
1745 
1746 
1747 /***** Nippon Electric Model 5520 (Spinwriter - with output block acknowledgement flow control) *****/
1748 
1749 terminal_type: NEC5520_OBA like ASCII;
1750  modes: default,ll136,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1751  initial_string:
1752           ESC "@" CR ESC 2                                  /* reset format mode; clear all tabs */
1753           ESC "PJ" ESC 1 ESC "PT" ESC 1 ESC "P^" ESC 1 ESC "QH" ESC 1 ESC "QR" ESC 1 ESC "Q\" ESC 1
1754           ESC "RF" ESC 1 ESC "RP" ESC 1 ESC "RZ" ESC 1 ESC "SD" ESC 1 ESC "SN" ESC 1 ESC "SX" ESC 1
1755           ESC "TB" ESC 1 ESC "TL" ESC 1 ESC "TV" ESC 1 ESC "U@" ESC 1 CR;
1756  bauds:              110      150      300      600      1200;
1757   vert_nl_delays:      0        0        0        5        50;
1758   horz_nl_delays:      0.000    0.000    0.000    0.180     1.000;
1759   const_tab_delays:    0        0        0        0         4;
1760   var_tab_delays:      0        0        0        1         1;
1761   vt_ff_delays:       27       40       81      162       323;
1762  special: nec5520_special;
1763  output_end_of_block: ETX;
1764  output_acknowledge: ACK;
1765  buffer_size: 256;
1766 
1767 
1768 /***** Nippon Electric Model 5520 (Spinwriter - with output suspend/resume flow control) *****/
1769 
1770 terminal_type: NEC5520_OSR like NEC5520_OBA;
1771  output_suspend: DC3;
1772  output_resume: DC1;
1773 
1774 
1775 /***** Nippon Electric Model 5520 (Spinwriter -- as line printer at 10 characters/inch and 6 lines/inch) *****/
1776 
1777 terminal_type: NEC5520_OBA_10C6L like NEC5520_OBA;
1778  modes: default,ll136,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1779  initial_string:
1780           ESC "@" CR ESC 2                                  /* reset format mode; clear all tabs */
1781           ESC "]L" ESC "]W"                                 /* 10 CPI; 6 LPI */
1782           ESC "PJ" ESC 1 ESC "PT" ESC 1 ESC "P^" ESC 1 ESC "QH" ESC 1 ESC "QR" ESC 1
1783           ESC "Q\" ESC 1 ESC "RF" ESC 1 ESC "RP" ESC 1 ESC "RZ" ESC 1 ESC "SD" ESC 1
1784           ESC "SN" ESC 1 ESC "SX" ESC 1 ESC "TB" ESC 1 ESC "TL" ESC 1 ESC "TV" ESC 1 ESC "U@" ESC 1 CR;
1785  bauds:              110      150      300      600      1200;        /* no padding needed */
1786 
1787 
1788 /***** Nippon Electric Model 5520 (Spinwriter -- as line printer at 12 characters/inch and 6 lines/inch) *****/
1789 
1790 terminal_type: NEC5520_OBA_12C6L like NEC5520_OBA;
1791  modes: default,ll163,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1792  initial_string:
1793           ESC "@" CR ESC 2                                  /* reset format mode; clear all tabs */
1794           ESC "]J" ESC "]W"                                 /* 12 CPI; 6 LPI */
1795           ESC "PJ" ESC 1 ESC "PT" ESC 1 ESC "P^" ESC 1 ESC "QH" ESC 1 ESC "QR" ESC 1
1796           ESC "Q\" ESC 1 ESC "RF" ESC 1 ESC "RP" ESC 1 ESC "RZ" ESC 1 ESC "SD" ESC 1
1797           ESC "SN" ESC 1 ESC "SX" ESC 1 ESC "TB" ESC 1 ESC "TL" ESC 1 ESC "TV" ESC 1 ESC "U@" ESC 1 CR;
1798  bauds:              110      150      300      600      1200;        /* no padding needed */
1799 
1800 
1801 /***** Nippon Electric Model 5525 (Spinwriter - with output block acknowledgment flow control) *****/
1802 
1803 terminal_type: NEC5525_OBA like ASCII;
1804  modes: default,ll136,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1805  initial_string:
1806           ESC 2                                             /* clear all tab stops */
1807           CR                                                /* set tabs */
1808           ESC TAB VT ESC 1 ESC TAB NAK ESC 1 ESC TAB US ESC 1
1809           ESC TAB ")" ESC 1 ESC TAB 3 ESC 1 ESC TAB "=" ESC 1
1810           ESC TAB G ESC 1 ESC TAB Q ESC 1 ESC TAB "[" ESC 1
1811           ESC TAB e ESC 1 ESC TAB o ESC 1 ESC TAB y ESC 1
1812           (3) <(10) <SP> ESC 1> CR;
1813  bauds:              110      150      300      600      1200;
1814   vert_nl_delays:      0        0        0        5        50;
1815   horz_nl_delays:      0.000    0.000    0.000    0.180     1.000;
1816   const_tab_delays:    0        0        0        0         4;
1817   var_tab_delays:      0        0        0        1         1;
1818   vt_ff_delays:       27       40       81      162       323;
1819  special: nec5525_special;
1820  output_end_of_block: ETX;
1821  output_acknowledge: ACK;
1822  buffer_size: 256;
1823 
1824 
1825 /***** Nippon Electric Model 5525 (Spinwriter - with output suspend/resume flow control) *****/
1826 
1827 terminal_type: NEC5525_OSR like NEC5525_OBA;
1828  output_resume: DC1;
1829  output_suspend: DC3;
1830 
1831 
1832 /***** Nippon Electric Model 5525 (Spinwriter - with output suspend/resume flow control and oflow mode by default) *****/
1833 
1834 terminal_type: NEC5525_OSR_OFLOW like NEC5525_OSR;
1835  modes: default,ll136,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
1836  bauds:              110      150      300      600      1200;        /* no padding needed with flow control on */
1837 
1838 
1839 /***** Nippon Electric Model 5525 (Spinwriter -- as line printer at 10 characters/inch and 6 lines/inch) *****/
1840 
1841 terminal_type: NEC5525_OBA_10C6L like NEC5525_OBA;
1842  modes: default,ll136,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1843  initial_string:
1844           ESC 4                                             /* graphics off */
1845           ESC 5                                             /* forward print on */
1846           ESC TAB SOH                                       /* go to column 1 */
1847           ESC 9                                             /* set left margin */
1848           ESC 2                                             /* clear all tab stops */
1849           ESC US CR                                         /* set 10 pitch (HMI=12) */
1850           ESC RS TAB                                        /* set 6 lines/in (VMI=6) */
1851                                                             /* set tabs */
1852           ESC TAB VT ESC 1 ESC TAB NAK ESC 1 ESC TAB US ESC 1
1853           ESC TAB ")" ESC 1 ESC TAB 3 ESC 1 ESC TAB "=" ESC 1
1854           ESC TAB G ESC 1 ESC TAB Q ESC 1 ESC TAB "[" ESC 1
1855           ESC TAB e ESC 1 ESC TAB o ESC 1 ESC TAB y ESC 1
1856           (3) <(10) <SP> ESC 1> CR;
1857  bauds:              110      150      300      600      1200;        /* no padding needed */
1858 
1859 
1860 /***** Nippon Electric Model 5525 (Spinwriter -- as line printer at 10 characters/inch and 6 lines/inch) *****/
1861 
1862 terminal_type: NEC5525_OBA_10C6L_CONSOLE like NEC5525_OBA_10C6L;
1863  modes: default,ll136,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,vertsp,^polite,^replay,^prefixnl;
1864 
1865 
1866 /***** Nippon Electric Model 5525 (Spinwriter -- as line printer at 12 characters/inch and 6 lines/inch) *****/
1867 
1868 terminal_type: NEC5525_OBA_12C6L like NEC5525_OBA;
1869  modes: default,ll163,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1870           /* This terminal will not set a tab in position 161 in 12 pitch mode. */
1871  initial_string:
1872           ESC 4                                             /* graphics off */
1873           ESC 5                                             /* forward print on */
1874           ESC TAB SOH                                       /* go to column 1 */
1875           ESC 9                                             /* set left margin */
1876           ESC 2                                             /* clear all tab stops */
1877           ESC US VT                                         /* set 12 pitch (HMI=10) */
1878           ESC RS HT                                         /* set 6 lines/in. (VMI=6) */
1879                                                             /* set tabs */
1880           ESC TAB VT ESC 1 ESC TAB NAK ESC 1 ESC TAB US ESC 1
1881           ESC TAB ")" ESC 1 ESC TAB 3 ESC 1 ESC TAB "=" ESC 1
1882           ESC TAB G ESC 1 ESC TAB Q ESC 1 ESC TAB "[" ESC 1
1883           ESC TAB e ESC 1 ESC TAB o ESC 1 ESC TAB y ESC 1
1884           (4) <(10) <SP> ESC 1> CR;
1885  bauds:              110      150      300      600      1200;        /* no padding needed */
1886 
1887 
1888 /***** Nippon Electric Model 5525 (Spinwriter -- as line printer at 10 characters/inch and 6 lines/inch) *****/
1889 
1890 terminal_type: NEC5525_OSR_10C6L like NEC5525_OSR;
1891  modes: default,ll136,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1892  initial_string:
1893           ESC 4                                             /* graphics off */
1894           ESC 5                                             /* forward print on */
1895           ESC TAB SOH                                       /* go to column 1 */
1896           ESC 9                                             /* set left margin */
1897           ESC 2                                             /* clear all tab stops */
1898           ESC US CR                                         /* set 10 pitch (HMI=12) */
1899           ESC RS TAB                                        /* set 6 lines/in (VMI=6) */
1900                                                             /* set tabs */
1901           ESC TAB VT ESC 1 ESC TAB NAK ESC 1 ESC TAB US ESC 1
1902           ESC TAB ")" ESC 1 ESC TAB 3 ESC 1 ESC TAB "=" ESC 1
1903           ESC TAB G ESC 1 ESC TAB Q ESC 1 ESC TAB "[" ESC 1
1904           ESC TAB e ESC 1 ESC TAB o ESC 1 ESC TAB y ESC 1
1905           (3) <(10) <SP> ESC 1> CR;
1906  bauds:              110      150      300      600      1200;        /* no padding needed */
1907 
1908 
1909 /***** Nippon Electric Model 5525 (Spinwriter -- as line printer at 10 characters/inch and 6 lines/inch) *****/
1910 
1911 terminal_type: NEC5525_OSR_10C6L_CONSOLE like NEC5525_OSR_10C6L;
1912  modes: default,ll136,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,vertsp,^polite,^replay,^prefixnl;
1913 
1914 
1915 /***** Nippon Electric Model 5525 (Spinwriter -- as line printer at 12 characters/inch and 6 lines/inch) *****/
1916 
1917 terminal_type: NEC5525_OSR_12C6L like NEC5525_OSR;
1918  modes: default,ll163,^pl,can_type=overstrike,hndlquit,oflow,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,^polite,^replay,^prefixnl,vertsp;
1919           /* This terminal will not set a tab in position 161 in 12 pitch mode. */
1920  initial_string:
1921           ESC 4                                             /* graphics off */
1922           ESC 5                                             /* forward print on */
1923           ESC TAB SOH                                       /* go to column 1 */
1924           ESC 9                                             /* set left margin */
1925           ESC 2                                             /* clear all tab stops */
1926           ESC US VT                                         /* set 12 pitch (HMI=10) */
1927           ESC RS HT                                         /* set 6 lines/in. (VMI=6) */
1928                                                             /* set tabs */
1929           ESC TAB VT ESC 1 ESC TAB NAK ESC 1 ESC TAB US ESC 1
1930           ESC TAB ")" ESC 1 ESC TAB 3 ESC 1 ESC TAB "=" ESC 1
1931           ESC TAB G ESC 1 ESC TAB Q ESC 1 ESC TAB "[" ESC 1
1932           ESC TAB e ESC 1 ESC TAB o ESC 1 ESC TAB y ESC 1
1933           (4) <(10) <SP> ESC 1> CR;
1934  bauds:              110      150      300      600      1200;        /* no padding needed */
1935 
1936 
1937 /***** Nippon Electric Model 7710 receive-only printer *****/
1938 
1939 terminal_type: NEC7710_PRINTER_OSR like ASCII;
1940  modes: default,ll136,^pl,can_type=overstrike,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,vertsp,oflow;
1941 initial_string:
1942           ESC 7                                             /* clear FF length, VT and HT tabs */
1943           ESC L                                             /* set FF length to dialed in value */
1944           ESC "@"                                           /* reset format */
1945           CR                                                /* set tabs */
1946           ESC "PJ" ESC 1 ESC "PT" ESC 1 ESC "P^" ESC 1 ESC "QH" ESC 1 ESC "QR" ESC 1
1947           ESC "Q\" ESC 1 ESC "RF" ESC 1 ESC "RP" ESC 1 ESC "RZ" ESC 1 ESC "SD" ESC 1
1948           ESC "SN" ESC 1 ESC "SX" ESC 1 ESC "TB" ESC 1 ESC "TL" ESC 1 ESC "TV" ESC 1
1949           ESC "U@" ESC 1 CR NUL NUL;
1950  bauds:              110      150      300      600      1200;
1951  vt_ff_delays:        30       45       90      180       350;
1952  output_suspend: DC3;
1953  output_resume: DC1;
1954 
1955 
1956 /***** Newbury Labs 7009 *****/
1957 
1958 terminal_type: NL7009 like ASCII_CRT;
1959  initial_string: DC3 GS US ETB ACK SYN " 7" GS;
1960  video_info:
1961   screen_line_length: 80;
1962   screen_height:    24;
1963   abs_pos:          SYN (COLUMN + US) (LINE + US);
1964   clear_screen:     GS US;
1965   clear_to_eos:     US;
1966   home:             GS;
1967   clear_to_eol:     EM;
1968   cursor_up:        VT;
1969   cursor_down:      NL;
1970   cursor_right:     CAN;
1971   cursor_left:      BS;
1972   insert_chars:     SI;
1973   delete_chars:     SO;
1974 
1975 
1976 /***** Perkin-Elmer Owl 1200 *****/
1977 
1978 terminal_type: OWL1200 like ASCII_CRT;
1979  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
1980  initial_string: ESC 3 CR (7) <(10) <SP> ESC 1> CR NUL NUL;
1981  bauds:              110      300      1200      1800      2400      4800      9600;
1982   vt_ff_delays:        1        4        16        24        32        64       127;
1983  video_info:
1984   screen_line_length: 79;
1985   screen_height:    24;
1986   clear_screen:     ^L, pad 132 ms;
1987   cursor_up:        ESC A;
1988   cursor_down:      ESC B;
1989   cursor_right:     ESC C;
1990   cursor_left:      BS;                                     /* ESC D; */
1991   home:             ESC H;
1992   clear_to_eol:     ESC I;
1993   clear_to_eos:     ESC J, pad 132 ms;
1994   insert_lines:     ESC L, pad 6 ms;
1995   delete_lines:     ESC M, pad 6 ms;
1996   insert_chars:     ESC N;
1997   delete_chars:     ESC O;
1998   abs_pos:          ESC Y (COLUMN + 037) ESC X (LINE + 037);
1999 
2000 
2001 /***** Honeywell-Bull laserwriter printer - Portrait mode *****/
2002 /*
2003     The Model 80 laser printer is capable of utilizing many
2004     different communications protocols (DTR, ETX/ACK, XON/XOFF).
2005     DTR will work fine if the printer is directly connected to the
2006     FNP, but will not work through many other type of connections,
2007     ie, dialup, X.25 pads, etc.  The ETX/ACK protocol works through
2008     these connections, but sometimes the ETX character gets inserted
2009     in the middle of an escape sequence, thus causing the command
2010     sequence to fail.  So, the XON/OFF (or output suspend, resume)
2011     protocol is used, and it works without problem because the
2012     printer has a big enough buffer to continue to accept characters
2013     after it has issued the suspend character.
2014 */
2015 
2016 terminal_type: HB_LW_PRINTER_PORTRAIT like DIABLO1640_OSR;
2017  modes: default,ll80,^pl,can_type=overstrike,edited,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,vertsp,oflow,no_outp;
2018  initial_string:
2019           ESC CR "P"                                        /* remote reset */
2020           ESC SUB "R"                                       /* remote error reset */
2021           ESC DC2 "S01" SP                                  /* select Courier 10 font */
2022           ESC S                                             /* reset default HMI */
2023           CR (8) <(10) <SP> ESC "1">                        /* set 8 tab stops */
2024           CR NUL NUL;
2025  bauds:              110      133      150      300      600      1200      1800      2400      4800      7200      9600;
2026 
2027 
2028 /***** Honeywell-Bull laserwriter printer - Landscape mode *****/
2029 
2030 terminal_type: HB_LW_PRINTER_LANDSCAPE like HB_LW_PRINTER_PORTRAIT;
2031  modes: default,ll140,^pl,can_type=overstrike,edited,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,vertsp,oflow,no_outp;
2032  initial_string:
2033           ESC CR "P"                                        /* remote reset */
2034           ESC SUB "R"                                       /* remote error reset */
2035           ESC DC2 "A05,2@LETTER GOTHIC 15" ESC SP           /* assign Letter Gothic 15 font, */
2036                                                             /* rotated 90 degrees */
2037           ESC DC2 "S05" SP                                  /* select above font */
2038           ESC DC2 "D2" SP                                   /* set landscape mode */
2039           ESC RS 007                                        /* set VMI 8 LPI */
2040                                                             /* (7-1) * 1/48 = 1/8 */
2041           ESC DC4 T 003                                     /* set top margin to 1/2 inch */
2042                                                             /* by adding 1/4 inch */
2043                                                             /* VMI * (3 - 1) */
2044           ESC US 012                                        /* set HMI 9/120 CPI */
2045           ESC "2" CR                                        /* clear tabs */
2046           (14) <(10) <SP> ESC "1">                          /* set 14 tab stops */
2047           CR NUL NUL;
2048 
2049 
2050 /***** Honeywell-Bull laserwriter printer - Portrait mode, Elite font, 6 LPI *****/
2051 
2052 terminal_type: HB_LW_PRINTER_ELITE_6L like HB_LW_PRINTER_PORTRAIT;
2053  modes: default,ll96,^pl,can_type=overstrike,edited,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,vertsp,oflow,no_outp;
2054  initial_string:
2055           ESC CR "P"                                        /* remote reset */
2056           ESC SUB "R"                                       /* remote error reset */
2057           ESC DC2 "S02" SP                                  /* select Prestige Elite 12 font */
2058           ESC "S"                                           /* set HMI 10/120 CPI */
2059           ESC RS HT                                         /* set VMI 6 LPI */
2060           CR (9) <(10) <SP> ESC "1">                        /* set 9 tab stops */
2061           CR NUL NUL;
2062 
2063 
2064 /***** Honeywell-Bull laserwriter printer - Portrait mode, Elite font, 8 LPI *****/
2065 
2066 terminal_type: HB_LW_PRINTER_ELITE_8L like HB_LW_PRINTER_PORTRAIT;
2067  modes: default,ll96,^pl,can_type=overstrike,edited,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,tabs,^tabecho,vertsp,oflow,no_outp;
2068  initial_string:
2069           ESC CR "P"                                        /* remote reset */
2070           ESC SUB "R"                                       /* remote error reset */
2071           ESC DC2 "S02" SP                                  /* select Prestige Elite 12 font */
2072           ESC "S"                                           /* set HMI 10/120 CPI */
2073           ESC RS BEL                                        /* set VMI 8 LPI */
2074           CR (9) <(10) <SP> ESC "1">                        /* set 9 tab stops */
2075           CR NUL NUL;
2076 
2077 
2078 /***** RICOH laser printer - Base for forms printing. *****/
2079 
2080 terminal_type: HB_LW_PRINTER_FORMS_BASE like HB_LW_PRINTER_PORTRAIT;
2081  modes: default,ll80,^pl,can_type=overstrike,edited,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,^tabs,^tabecho,vertsp,oflow,8bit,no_outp;
2082  initial_string:
2083           ESC CR "P"                                        /* remote reset */
2084           ESC SUB "R";                                      /* remote error reset */
2085 
2086 
2087 /***** Honeywell Rosy 24 and Rosy 26 *****/
2088 /*
2089     At 1200 baud, ^tabs mode is significantly faster than tabs mode.
2090     At 300 baud, ^tabs mode is only slightly slower than tabs mode.
2091     Therefore, ^tabs mode is the chosen default.  Note, however,
2092     that the tabs are still set to operate properly when typed at
2093     the keyboard.  The ROSY_TABS terminal type can be used if
2094     tabs are desired on output (possibly a slight improvement at
2095     300 baud).
2096 */
2097 
2098 terminal_type: ROSY like ASCII;
2099  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,^tabecho;
2100  initial_string: ESC 2 CR ESC 1 (13) <(10) <SP> ESC 1> CR NUL NUL;
2101  bauds:              300      1200;
2102   vert_nl_delays:      1        18;
2103   horz_nl_delays:      0.040     0.12;
2104   const_tab_delays:    0         3;
2105   var_tab_delays:      0.600     1.0;
2106   backspace_delays:    0         2;
2107   vt_ff_delays:       50       200;
2108 
2109 
2110 /***** Honeywell Rosy 24 and Rosy 26 (when used as a printer device) *****/
2111 
2112 terminal_type: ROSY_PRINTER like ROSY;
2113  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,^echoplex,^crecho,^lfecho,^tabs,^tabecho,vertsp;
2114 
2115 
2116 /***** Honeywell Rosy 24 and Rosy 26 (tabs default) *****/
2117 
2118 terminal_type: ROSY_TABS like ROSY;
2119  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2120 
2121 
2122 /***** Honeywell Sara 20 *****/
2123 
2124 terminal_type: SARA like ASCII;
2125  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2126  bauds:              1200;
2127   vert_nl_delays:      12;
2128   horz_nl_delays:       0.50;
2129   vt_ff_delays:       100;
2130 
2131 
2132 /***** Netronics Smarterm-80 *****/
2133 
2134 terminal_type: SMARTERM like ASCII_CRT;
2135  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2136  video_info:
2137   screen_line_length: 79;
2138   screen_height:    24;
2139   abs_pos:          ESC "=" (LINE + 037) (COLUMN + 037);
2140   clear_screen:     FF;
2141   clear_to_eos:     ESC Y;
2142   home:             ^Z;
2143   clear_to_eol:     ESC T;
2144   cursor_up:        VT;
2145   cursor_right:     ^A;
2146   cursor_down:      LF;
2147   cursor_left:      BS;
2148   insert_chars:     ESC N;
2149   end_insert_chars: ESC M;
2150   delete_chars:     ESC W;
2151   insert_lines:     ESC E;
2152   delete_lines:     ESC R;
2153 
2154 
2155 /***** Software Terminal Facility *****/
2156 
2157 terminal_type: STY;                                         /* used by incoming (login/slave) channels */
2158  modes: default,^ll,^pl,can_type=overstrike,tabs;
2159  input_conversion: standard_input_conv;
2160  output_conversion: ascii_output_conv;
2161  special: ascii_special;
2162 
2163 terminal_type: STY_USER;                                    /* used by outgoing (autocall) channels -- program attach this type */
2164  modes: rawi,rawo;
2165  input_conversion: ;
2166 
2167 
2168 /***** Intertec Superbrain *****/
2169 
2170 terminal_type: SUPERBRAIN like ASCII_CRT;
2171  video_info:
2172   screen_line_length: 80;
2173   screen_height:    24;
2174   abs_pos:          ESC "Y" (LINE + US) (COLUMN + US);
2175   clear_screen:     SOH ESC "~" k;
2176   clear_to_eos:     ESC "~" k;
2177   home:             SOH;
2178   clear_to_eol:     ESC "~" K;
2179   cursor_up:        VT;
2180   cursor_down:      NL;
2181   cursor_right:     ACK;
2182   cursor_left:      NAK;
2183 
2184 
2185 /***** Selecterm System 75 *****/
2186 
2187 terminal_type: SYSTEM75 like ASCII;
2188  modes: default,ll130,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2189  initial_string: SO DLE """" SP 6 0 (13) <X RS> FS CR NUL NUL NUL;
2190  bauds:              110      150      300;
2191   vert_nl_delays:      0        1        2;
2192   horz_nl_delays:      0.02     0.031    0.062;
2193   var_tab_delays:      0        0        0.17;
2194   vt_ff_delays:       21       31       63;
2195  old_type: -1;
2196 
2197 
2198 /***** Selecterm System 75 (12 chars per inch) *****/
2199 
2200 terminal_type: SYSTEM75_12C like SYSTEM75;
2201  initial_string: SO ETX DLE """ 50" (13) <X RS> FS CR NUL NUL NUL;
2202 
2203 
2204 /***** TAB Products Company TAB 132/15 terminal in 80 column mode *****/
2205 
2206 terminal_type: TAB_80C;
2207  modes: default,ll79,pl24,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2208  initial_string:
2209           ESC "<" ESC "#5"                                  /* ansi mode */
2210           ESC "[?3l"                                        /* clear screen */
2211           ESC "[3g"                                         /* 80 chars mode */
2212           (7) <(10) <SP> ESC H> CR                          /* set tabs */
2213           ESC "_L1   F1    " ESC "\"                        /* set soft key legends */
2214           ESC "_L2   F2    " ESC "\"
2215           ESC "_L3   F3    " ESC "\"
2216           ESC "_L4   F4    " ESC "\"
2217           ESC "_L5   F5    " ESC "\"
2218           ESC "_L6   F6    " ESC "\"
2219           ESC "_L7   F7    " ESC "\"
2220           ESC "_L8   F8    " ESC "\"
2221           ESC "_M1" ESC "?" ESC "\"                         /* set soft key transmitted strings */
2222           ESC "_M2" ESC "f" ESC "\"
2223           ESC "_M3" ESC "p" ESC "\"
2224           ESC "_M4" ESC "q" ESC "\"
2225           ESC "_M5" ESC "r" ESC "\"
2226           ESC "_M6" ESC "l" ESC "\"
2227           ESC "_M7" ESC "h" ESC "\"
2228           ESC "_M8" ESC "e" ESC "\"
2229           ESC 9;
2230  input_conversion: tab_input_conv;
2231  output_conversion: tab_output_conv;
2232  function_keys: tab_function_keys;
2233  special: tab_special;
2234  video_info:
2235   screen_line_length: 80;
2236   screen_height:    24;
2237   home:             ESC "[H";
2238   clear_screen:     ESC "[H" ESC "[2J";
2239   clear_to_eos:     ESC "[J";
2240   clear_to_eol:     ESC "[K";
2241   cursor_up:        ESC "[A";
2242   cursor_down:      ESC "[B";
2243   cursor_left:      ESC "[D";
2244   cursor_right:     ESC "[C";
2245   insert_lines:     ESC "[L";
2246   delete_lines:     ESC "[M";
2247   delete_chars:     ESC "[P";
2248   abs_pos:          ESC "[" (decimal LINE) ";" (decimal column) "H";
2249 
2250 
2251 /***** TAB Products Company TAB 132/15 terminal in 132 column mode *****/
2252 
2253 terminal_type: TAB_132C;
2254  modes: default,ll131,pl24,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2255  initial_string:
2256           ESC "<" ESC "#5"                                  /* ansi mode */
2257           ESC "[?3l"                                        /* clear screen */
2258           ESC "[3l"                                         /* 132 chars mode */
2259           (7) <(10) <SP> ESC H> CR                          /* set tabs */
2260           ESC "_L1   F1    " ESC "\"                        /* set soft key legends */
2261           ESC "_L2   F2    " ESC "\"
2262           ESC "_L3   F3    " ESC "\"
2263           ESC "_L4   F4    " ESC "\"
2264           ESC "_L5   F5    " ESC "\"
2265           ESC "_L6   F6    " ESC "\"
2266           ESC "_L7   F7    " ESC "\"
2267           ESC "_L8   F8    " ESC "\"
2268           ESC "_M1" ESC "?" ESC "\"                         /* set soft key transmitted strings */
2269           ESC "_M2" ESC "f" ESC "\"
2270           ESC "_M3" ESC "p" ESC "\"
2271           ESC "_M4" ESC "q" ESC "\"
2272           ESC "_M5" ESC "r" ESC "\"
2273           ESC "_M6" ESC "l" ESC "\"
2274           ESC "_M7" ESC "h" ESC "\"
2275           ESC "_M8" ESC "e" ESC "\"
2276           ESC 9;
2277  input_conversion: tab_input_conv;
2278  output_conversion: tab_output_conv;
2279  function_keys: tab_function_keys;
2280  special: tab_special;
2281  video_info:
2282   screen_line_length: 132;
2283   screen_height:    24;
2284   home:             ESC "[H";
2285   clear_screen:     ESC "[H" ESC "[2J";
2286   clear_to_eos:     ESC "[J";
2287   clear_to_eol:     ESC "[K";
2288   cursor_up:        ESC "[A";
2289   cursor_down:      ESC "[B";
2290   cursor_left:      ESC "[D";
2291   cursor_right:     ESC "[C";
2292   insert_lines:     ESC "[L";
2293   delete_lines:     ESC "[M";
2294   delete_chars:     ESC "[P";
2295   abs_pos:          ESC "[" (decimal LINE) ";" (decimal column) "H";
2296 
2297 
2298 /***** Tandberg Data A/S Model TDV 2220 *****/
2299 
2300 terminal_type: TDV2220 like ASCII_CRT;
2301  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2302  initial_string:
2303           ESC "[H"                                          /* cursor home */
2304           ESC "[4W"                                         /* clear all tabs */
2305           ESC "[2J"                                         /* clear screen */
2306           (7) <(10) <SP> ESC "[0W">                         /* set tabs */
2307           ESC "[H"                                          /* cursor home */
2308           ESC "[2J";                                        /* clear screen */
2309  bauds:              110      150      300     1200     1800      2400      4800      9600;
2310   vert_nl_delays:      0        0        0        0        0         0         0        10;
2311   horz_nl_delays:      0.000    0.000    0.000    0.000    0.000     0.000     0.000     0.000;
2312   const_tab_delays:    0        0        0        0        0         0         0         0;
2313   var_tab_delays:      0.000    0.000    0.000    0.000    0.000     0.000     0.000     0.000;
2314   backspace_delays:    0        0        0        0        0         0         0         0;
2315   vt_ff_delays:        1        2        3       12       18        24        60       128;
2316  special: tdv2220_special;
2317  function_keys: tdv2220_function_keys;
2318  input_suspend: ^S;
2319  input_resume: ^Q;
2320  output_suspend: ^S;
2321  output_resume: ^Q;
2322  video_info:
2323   screen_height:    24;
2324   screen_line_length: 80;
2325   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
2326   clear_screen:     ESC "[2J", pad 200 ms;
2327   clear_to_eos:     ESC "[J", pad 200 ms;
2328   home:             ESC "[H";
2329   clear_to_eol:     ESC "[K";
2330   cursor_up:        ESC "[A";
2331   cursor_right:     ESC "[C";
2332   cursor_down:      ESC "[B";
2333   cursor_left:      ESC "[D";
2334   insert_chars:     ESC "[@";
2335   delete_chars:     ESC "[P";
2336   insert_lines:     ESC "[L", pad 200 ms;
2337   delete_lines:     ESC "[M", pad 200 ms;
2338 
2339 
2340 /***** Tektronix 4013 *****/
2341 
2342 terminal_type: TEK4013 like ASCII;
2343  modes: default,ll73,pl34,can_type=overstrike,hndlquit,^scroll,fulldpx,echoplex,^crecho;
2344  bauds:              110      150      300      600      1200      1800      2400      4800      9600;
2345   vt_ff_delays:        8       12       23       45        90       135       180       360       511; /* should be 720 at 9600 */
2346  special: tek4013_special;
2347  line_types: ASCII;
2348 
2349 terminal_type: TEK_4013 like TEK4013;
2350 
2351 
2352 /***** Tektronix 4015 *****/
2353 
2354 terminal_type: TEK4015 like TEK4013;
2355  modes: default,ll132,pl64,can_type=overstrike,hndlquit,^scroll,fulldpx,echoplex,^crecho,^tabs,tabecho;
2356  initial_string: ESC ";";     /* Sets smallest character size to be compatible with above pl and ll settings. */
2357  bauds:              110      150      300      600      1200      1800      2400      4800      9600;
2358   vt_ff_delays:       10       15       30       60       120       180       240       480       511; /* should be 960 at 9600 */
2359 
2360 terminal_type: TEK_4015 like TEK4015;
2361 
2362 
2363 /***** Tektronix 4023 *****/
2364 
2365 terminal_type: TEK4023 like ASCII_CRT;
2366  modes: default,ll79,pl23,can_type=replace,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2367  bauds:              300      1200      2400      4800      9600;
2368   vert_nl_delays:      0         0         0         2         4;
2369 
2370 
2371 /***** Tektronix 4025 *****/
2372 
2373 terminal_type: TEK4025 like ASCII_CRT;
2374  modes: default,ll80,pl33,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2375                   /* This initial string assumes the command character is "!". */
2376  initial_string: "!STO 11 21 31 41 51 61 71";
2377 
2378 
2379 /***** Tektronix 4027 *****/
2380 
2381 terminal_type: TEK4027 like ASCII_CRT;
2382  modes: default,ll80,pl33,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2383  initial_string: "!STO 11 21 31 41 51 61 71";
2384  video_info:
2385   screen_line_length: 80;
2386   screen_height:    24;
2387   abs_pos:          "!JUM" (decimal LINE) " " (decimal COLUMN)";";
2388   clear_screen:     "!ERA;";
2389   clear_to_eos:     "!DLI30;";
2390   home:             "!JUM1,1;";
2391   cursor_up:        "!UP;";
2392   cursor_right:     "!RIG;";
2393   cursor_down:      "!DOW;";
2394   cursor_left:      "!LEF;";
2395 /* Terminal does the following but not very well in full duplex mode.
2396   insert_chars:     "!ICH;";
2397   delete_chars:     "!DCH"(decimal N)";";
2398   insert_lines:     "!UP;!ILI"(decimal N)"!DOW;";
2399   delete_lines:     "!DLI"(decimal N)";";
2400 */
2401 
2402 
2403 /***** Tektronix 4107 Terminals in ANSI mode *****/
2404 
2405 terminal_type: TEK4107_ANSI_80C like ASCII_CRT;
2406  modes: default,ll80,pl32,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2407  initial_string:
2408           SUB                                               /* cancels in progress command */
2409           ESC "%!1"                                         /* select ansi command set */
2410           ESC "<"                                           /* enter ansi mode */
2411           ESC "[3g"                                         /* clear all horizontal tab stops */
2412           ESC "[?3l"                                        /* set 80 column mode and clear screen */
2413           ESC "%!0"                                         /* select tek command set */
2414           ESC "LLB0"                                        /* make dialog area 32 lines long */
2415           CR                                                /* to to column one */
2416           ESC "%!1"                                         /* select ansi command set again */
2417           ESC "[1;32r"                                      /* set top and bottom margins to use all 32 lines */
2418           CR                                                /* go to column one */
2419           (7) <ESC "[10C" ESC H>                            /* set tabs */
2420           CR;                                               /* back to column one */
2421  function_keys: tek4107_ansi_function_keys;
2422  output_suspend: 023;
2423  output_resume: 021;
2424  video_info:
2425   screen_line_length: 79;
2426   screen_height:    32;
2427   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
2428   clear_screen:     ESC "[" 2 J ESC "[" H;
2429   clear_to_eos:     ESC "[" J;
2430   home:             ESC "[" H;
2431   clear_to_eol:     ESC "[" K;
2432   cursor_up:        ESC "[" A;
2433   cursor_right:     ESC "[" C;
2434   cursor_down:      ESC "[" B;
2435   cursor_left:      ESC "[" D;
2436 
2437 terminal_type: TEK4107_ANSI_132C like TEK4107_ANSI_80C;
2438  modes: default,ll132,pl30,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2439  initial_string:
2440           SUB                                               /* cancels in progress command */
2441           ESC "%!1"                                         /* select ansi command set */
2442           ESC "<"                                           /* enter ansi mode */
2443           ESC "[3g"                                         /* clear all horizontal tab stops */
2444           ESC "[?3h"                                        /* select tek command set */
2445           CR                                                /* go to column one */
2446           (13) <ESC "[10C" ESC H>                           /* set tabs */
2447           CR;                                               /* go to column one */
2448  video_info:
2449   screen_line_length: 131;
2450   screen_height:    30;
2451   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
2452   clear_screen:     ESC "[" 2 J ESC "[" H;
2453   clear_to_eos:     ESC "[" J;
2454   home:             ESC "[" H;
2455   clear_to_eol:     ESC "[" K;
2456   cursor_up:        ESC "[" A;
2457   cursor_right:     ESC "[" C;
2458   cursor_down:      ESC "[" B;
2459   cursor_left:      ESC "[" D;
2460 
2461 terminal_type: TEK4107_ANSI_80C_OFLOW like TEK4107_ANSI_80C;
2462  modes: default,ll80,pl32,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
2463 
2464 terminal_type: TEK4107_ANSI_132C_OFLOW like TEK4107_ANSI_132C;
2465  modes: default,ll132,pl30,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
2466 
2467 terminal_type: TEK4107_ANSI like TEK4107_ANSI_80C;
2468 terminal_type: TEK4107_ANSI_OFLOW like TEK4107_ANSI_80C_OFLOW;
2469 
2470 
2471 /***** Teleray 1061 *****/
2472 
2473 terminal_type: TELERAY1061 like ASCII_CRT;
2474  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2475  initial_string: ESC G CR (7) <(10) <SP> ESC F> CR NUL NUL;
2476  bauds:              110      150      300      1200      1800      2400      4800      9600;
2477   vt_ff_delays:        1        2        3        12        18        24        48        96;
2478  video_info:
2479   screen_line_length: 79;
2480   screen_height:    24;
2481   home:             ESC H;
2482   clear_screen:     ^L, pad 90 ms;
2483   clear_to_eos:     ESC J, pad 90 ms;
2484   cursor_up:        ESC A;
2485   cursor_right:     ESC C;
2486   cursor_down:      ESC B;
2487   cursor_left:      BS;
2488   clear_to_eol:     ESC K;
2489   insert_chars:     ESC P;
2490   delete_chars:     ESC Q;
2491   insert_lines:     ESC L, pad 60 ms;
2492   delete_lines:     ESC M, pad 60 ms;
2493   abs_pos:          ESC Y (LINE + 037) (COLUMN + 037);
2494 
2495 
2496 /***** Teleray 3700 *****/
2497 
2498 terminal_type: TELERAY3700 like ASCII_CRT;
2499  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2500 
2501 
2502 /***** Teleray 7 *****/
2503 
2504 terminal_type: TELERAY7 like ASCII_CRT;
2505  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2506  initial_string:
2507           SUB                                               /* cancel any pending ESC sequences */
2508           ESC "<"
2509           ESC "[r"                                          /* clear top/bottom margins */
2510           ESC "[3g"                                         /* remove all tap stops */
2511           ESC "[?3l"                                        /* jump scroll on */
2512           CR                                                /* get to column 1 */
2513           (7) <ESC "[10C" ESC H> CR                         /* set tabs */
2514           ESC "[24;1H"                                      /* position cursor to last line and first column of screen */
2515           ESC "[1Q";                                        /* set editing extent to within line */
2516  function_keys:     teleray7_function_keys;
2517  output_suspend:    023;      /* ^S */
2518  output_resume:     021;      /* ^Q */
2519  video_info:
2520   screen_line_length: 79;
2521   screen_height:    24;
2522   home:             ESC "[H";
2523   clear_screen:     ESC "[2J" ESC "[H";
2524   clear_to_eos:     ESC "[J";
2525   clear_to_eol:     ESC "[K";
2526   cursor_up:        ESC "[A";
2527   cursor_right:     ESC "[C";
2528   cursor_down:      ESC "[B";
2529   cursor_left:      ESC "[D";
2530   insert_chars:     ESC "[@";
2531   delete_chars:     ESC "[P";
2532   insert_lines:     ESC "[L";
2533   delete_lines:     ESC "[M";
2534   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) H;
2535 
2536 
2537 /***** Texas Instruments Model 725 *****/
2538 
2539 terminal_type: TI725 like ASCII;
2540 
2541 
2542 /***** Texas Instruments Model 735 *****/
2543 
2544 terminal_type: TI735 like ASCII;
2545  modes: default,ll80,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2546  bauds:              300;
2547   vert_nl_delays:      1;
2548   horz_nl_delays:      0.064;
2549   const_tab_delays:    0;
2550   var_tab_delays:      0.000;
2551   backspace_delays:    0;
2552   vt_ff_delays:        0;
2553 
2554 
2555 /***** Texas Instruments Model 745 *****/
2556 
2557 terminal_type: TI745 like TI735;
2558  bauds:              110      150      300;
2559 
2560 
2561 /***** Texas Instruments Model 765 *****/
2562 
2563 terminal_type: TI765 like TI745;
2564  special: ti765_special;
2565 
2566 
2567 /***** Texas Instruments Model 787 *****/
2568 
2569 terminal_type: TI787 like TI745;
2570  bauds:              110      150      300      600      1200;
2571 
2572 
2573 /***** Texas Instruments Model 940 CRT (80 columns, output flow control enabled) *****/
2574 
2575 terminal_type: TI940_80C_OFLOW like ASCII_CRT;
2576  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
2577  initial_string: ESC p ESC "GB" ESC "(AXXV" ESC ")" ESC "GP" ESC "(A" ESC ")" ESC "GC" ESC "(  8A R  8c 7" ESC ")";
2578  function_keys: ti940_function_keys;
2579  output_suspend: ^S;
2580  output_resume: ^Q;
2581  video_info:
2582   screen_line_length: 79;
2583   screen_height:      24;
2584   abs_pos:            ESC X (LINE + US) (COLUMN + US);
2585   clear_screen:       ESC H ESC J;
2586   clear_to_eos:       ESC J;
2587   cursor_up:          ESC A;
2588   cursor_down:        ESC B;
2589   cursor_right:       ESC C;
2590   cursor_left:        ESC D;
2591   home:               ESC H;
2592   clear_to_eol:       ESC I;
2593   insert_lines:       ESC N;
2594   delete_lines:       ESC O;
2595 
2596 
2597 /***** Texas Instruments Model 940 CRT (132 columns, output flow control enabled) *****/
2598 
2599 terminal_type: TI940_132C_OFLOW like TI940_80C_OFLOW;
2600  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
2601  initial_string: ESC q ESC "GB" ESC "(AXXV" ESC ")" ESC "GP" ESC "(A" ESC ")" ESC "GC" ESC "(  8A R  8c 7" ESC ")";
2602  video_info:
2603   screen_line_length: 131;
2604   screen_height:      24;
2605   abs_pos:            ESC X (LINE + US) (COLUMN + US);
2606   clear_screen:       ESC H ESC J;
2607   clear_to_eos:       ESC J;
2608   cursor_up:          ESC A;
2609   cursor_right:       ESC C;
2610   cursor_down:        ESC B;
2611   cursor_left:        ESC D;
2612   home:               ESC H;
2613   clear_to_eol:       ESC I;
2614   insert_lines:       ESC N;
2615   delete_lines:       ESC O;
2616 
2617 
2618 /***** General Electric TermiNet 300 and TermiNet 1200 *****/
2619 
2620 terminal_type: TN300;
2621  modes: default,ll118,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,^crecho,^lfecho,tabs,^tabecho;
2622  initial_string: ESC 2 CR ESC 1 (11) <(10) <SP> ESC 1> CR NUL NUL;
2623  bauds:              110      150      300      1200;
2624   vert_nl_delays:      0        2        6       -38;
2625   backspace_delays:   -2       -3       -6       -27;
2626   vt_ff_delays:       19       29       59       230;
2627  output_conversion: ascii_output_conv;
2628  special: tn300_special;
2629  line_types: ASCII;
2630  old_type: 4;
2631 
2632 
2633 /***** TTE415 *****/
2634 
2635 terminal_type: TTE415 like ASCII_CRT;
2636  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2637  video_info:
2638   screen_line_length: 79;
2639   screen_height:    24;
2640   home:             ESC H;
2641   clear_to_eol:     ESC K;
2642   clear_to_eos:     ESC J, pad 1;
2643   cursor_up:        ESC A;
2644   cursor_right:     ESC C;
2645   cursor_down:      ESC B;
2646   cursor_left:      ESC D;
2647   abs_pos:          ESC Y (LINE + US) (COLUMN + US);
2648 
2649 
2650 /***** Teletype Model 33 *****/
2651 
2652 terminal_type: TTY33;
2653  modes: default,ll72,^pl,can_type=overstrike,hndlquit,capo,fulldpx,echoplex,crecho,lfecho;
2654  bauds:              110;
2655   horz_nl_delays:      0.025;
2656   const_tab_delays:    1;
2657   var_tab_delays:      0.3;
2658   vt_ff_delays:       19;
2659  output_conversion: tty33_output_conv;
2660  special: tty33_special;
2661  input_translation: ascii_caps_input_trans;
2662  line_types: ASCII;
2663  old_type: 7;
2664 
2665 
2666 /***** Teletype Model 37 *****/
2667 
2668 terminal_type: TTY37;
2669  modes: default,ll88,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,red;
2670  bauds:              150;
2671   horz_nl_delays:      0.025;
2672   const_tab_delays:    1;
2673   var_tab_delays:      0.3;
2674   vt_ff_delays:       29;
2675  output_conversion: ascii_output_conv;
2676  special: tty37_special;
2677  line_types: ASCII;
2678  old_type: 3;
2679 
2680 
2681 /***** Teletype Model 38 *****/
2682 
2683 terminal_type: TTY38 like TTY33;
2684  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho;
2685  output_conversion: tty38_output_conv;
2686  special: tty38_special;
2687  input_translation: ;
2688  old_type: 8;
2689 
2690 
2691 /***** Teletype Model 43 *****/
2692 
2693 terminal_type: TTY43 like ASCII;
2694  modes: default,ll132,^pl,can_type=overstrike,hndlquit,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2695  bauds:              110      150      300;
2696 
2697 
2698 /***** TeleVideo, Inc. Model TVI-912 *****/
2699 
2700 terminal_type: TVI912 like ASCII_CRT;
2701  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2702  initial_string: ESC 3 CR ESC 1 (7) <(10) <SP> ESC 1> CR;
2703  special: tvi912_tvi920_special;
2704  video_info:
2705   screen_line_length: 79;
2706   screen_height:    24;
2707   home:             RS;
2708   clear_to_eos:     ESC Y;
2709   cursor_up:        VT;
2710   cursor_right:     FF;
2711   cursor_down:      LF;
2712   cursor_left:      BS;
2713   clear_to_eol:     ESC T;
2714   insert_chars:     ESC Q;
2715   delete_chars:     ESC W;
2716   insert_lines:     ESC E;
2717   delete_lines:     ESC R;
2718   abs_pos:          ESC = (LINE + 037) (COLUMN + 037);
2719 
2720 
2721 /***** TeleVideo, Inc. Model TVI-920 *****/
2722 
2723 terminal_type: TVI920 like TVI912;
2724  function_keys: tvi920_function_keys;
2725 
2726 
2727 /***** TeleVideo, Inc. Model TVI-950 *****/
2728 
2729 terminal_type: TVI950 like ASCII_CRT;
2730  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
2731  initial_string: ESC 3 CR ESC 1 (7) <(10) <SP> ESC 1> CR;
2732  special: tvi950_special;
2733  function_keys: tvi950_function_keys;
2734  video_info:
2735   screen_line_length: 79;
2736   screen_height:    24;
2737   abs_pos:          ESC "=" (LINE + 037) (COLUMN + 037);
2738   clear_screen:     RS ESC Y;
2739   clear_to_eos:     ESC Y;
2740   home:             RS;
2741   clear_to_eol:     ESC T;
2742   cursor_up:        VT;
2743   cursor_right:     FF;
2744   cursor_down:      ^V;
2745   cursor_left:      BS;
2746   insert_chars:     ESC Q;
2747   delete_chars:     ESC W;
2748   insert_lines:     ESC E;
2749   delete_lines:     ESC R;
2750 
2751 
2752 /***** Digital Equipment Model VT-100 (24 lines, 80 columns) *****/
2753 /***** As emulated for Macintosh by VersaTerm Rev 2.20       *****/
2754 
2755 terminal_type: VERSATERM220 like ASCII_CRT;
2756  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2757  initial_string:
2758           SUB                                               /* cancel any pending ESC sequences */
2759           ESC "<"
2760           ESC "[?3l"                                        /* jump scroll on */
2761           CR;                                               /* cannot set tabs */
2762  output_suspend: ^S;
2763  output_resume: ^Q;
2764  function_keys: vt1xx_function_keys;
2765  video_info:
2766   screen_line_length: 79;
2767   screen_height:    24;
2768   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
2769   clear_screen:     ESC "[2J" ESC "[H";
2770   clear_to_eos:     ESC "[J";
2771   home:             ESC "[H";
2772   clear_to_eol:     ESC "[K";
2773   insert_chars:     ESC "[@";
2774   insert_lines:     ESC "[L";
2775   delete_lines:     ESC "[M";
2776   delete_chars:     ESC "[P";
2777   cursor_left:      ESC "[D";
2778   cursor_down:      ESC "[B";
2779   cursor_right:     ESC "[C";
2780   cursor_up:        ESC "[A";
2781 
2782 
2783 terminal_type: VERSATERM220_OFLOW like VERSATERM220;
2784  modes: default,ll80,pl23,can_type=replace,oflow,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2785 
2786 
2787 /***** Digital Equipment Model VT-100 (36 lines, 80 columns) *****/
2788 /***** As emulated for Macintosh by VersaTerm Rev 2.20 *****/
2789 
2790 terminal_type: VERSATERM220_80C_36L like VERSATERM220;
2791  modes: default,ll80,pl35,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2792  initial_string:
2793           SUB                                               /* cancel any pending ESC sequences */
2794           ESC "<"
2795           ESC "[?3l"                                        /* jump scroll on */
2796           CR;                                               /* cannot set tabs */
2797  output_suspend: ^S;
2798  output_resume: ^Q;
2799  function_keys: vt1xx_function_keys;
2800  video_info:
2801   screen_line_length: 79;
2802   screen_height:    36;
2803   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
2804   clear_screen:     ESC "[2J" ESC "[H";
2805   clear_to_eos:     ESC "[J";
2806   home:             ESC "[H";
2807   clear_to_eol:     ESC "[K";
2808   insert_chars:     ESC "[@";
2809   insert_lines:     ESC "[L";
2810   delete_lines:     ESC "[M";
2811   delete_chars:     ESC "[P";
2812   cursor_left:      ESC "[D";
2813   cursor_down:      ESC "[B";
2814   cursor_right:     ESC "[C";
2815   cursor_up:        ESC "[A";
2816 
2817 terminal_type: VERSATERM220_80C_36L_OFLOW like VERSATERM220_80C_36L;
2818  modes: default,ll80,pl35,can_type=replace,oflow,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2819 
2820 
2821 /***** Digital Equipment Model VT-100 (36 lines, 102 columns) *****/
2822 /***** As emulated for Macintosh by VersaTerm Rev 2.20 *****/
2823 
2824 terminal_type: VERSATERM220_102C_36L like VERSATERM220;
2825  modes: default,ll102,pl35,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2826  initial_string:
2827           SUB                                               /* cancel any pending ESC sequences */
2828           ESC "<"
2829           ESC "[?3h"                                        /* jump scroll on */
2830           CR;                                               /* cannot set tabs */
2831  output_suspend: ^S;
2832  output_resume: ^Q;
2833  function_keys: vt1xx_function_keys;
2834  video_info:
2835   screen_line_length: 101;
2836   screen_height:    36;
2837   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
2838   clear_screen:     ESC "[2J" ESC "[H";
2839   clear_to_eos:     ESC "[J";
2840   home:             ESC "[H";
2841   clear_to_eol:     ESC "[K";
2842   insert_chars:     ESC "[@";
2843   insert_lines:     ESC "[L";
2844   delete_lines:     ESC "[M";
2845   delete_chars:     ESC "[P";
2846   cursor_left:      ESC "[D";
2847   cursor_down:      ESC "[B";
2848   cursor_right:     ESC "[C";
2849   cursor_up:        ESC "[A";
2850 
2851 terminal_type: VERSATERM220_102C_36L_OFLOW like VERSATERM220_102C_36L;
2852  modes: default,ll102,pl35,can_type=replace,oflow,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2853 
2854 
2855 /***** Digital Equipment Model VT-100 (24 lines, 132 columns) *****/
2856 /***** As emulated for Macintosh by VersaTerm Rev 2.20        *****/
2857 
2858 terminal_type: VERSATERM220_132C like VERSATERM220;
2859  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2860  initial_string:
2861           SUB                                               /* cancel any pending ESC sequences */
2862           ESC "<"
2863           ESC "[?3h"                                        /* jump scroll on */
2864           CR;                                               /* cannot set tabs */
2865  output_suspend: ^S;
2866  output_resume: ^Q;
2867  function_keys: vt1xx_function_keys;
2868  video_info:
2869   screen_line_length: 131;
2870   screen_height:    24;
2871   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
2872   clear_screen:     ESC "[2J" ESC "[H";
2873   clear_to_eos:     ESC "[J";
2874   home:             ESC "[H";
2875   clear_to_eol:     ESC "[K";
2876   insert_chars:     ESC "[@";
2877   insert_lines:     ESC "[L";
2878   delete_lines:     ESC "[M";
2879   delete_chars:     ESC "[P";
2880   cursor_left:      ESC "[D";
2881   cursor_down:      ESC "[B";
2882   cursor_right:     ESC "[C";
2883   cursor_up:        ESC "[A";
2884 
2885 terminal_type: VERSATERM220_132C_OFLOW like VERSATERM220_132C;
2886  modes: default,ll132,pl23,can_type=replace,oflow,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2887 
2888 
2889 /***** Set VERSATERM types to current version known to be available. *****/
2890 
2891 terminal_type: VERSATERM like VERSATERM220;
2892 terminal_type: VERSATERM_OFLOW like VERSATERM220_OFLOW;
2893 terminal_type: VERSATERM_80C_36L like VERSATERM220_80C_36L;
2894 terminal_type: VERSATERM_80C_36L_OFLOW like VERSATERM220_80C_36L_OFLOW;
2895 terminal_type: VERSATERM_102C_36L like VERSATERM220_102C_36L;
2896 terminal_type: VERSATERM_102C_36L_OFLOW like VERSATERM220_102C_36L_OFLOW;
2897 terminal_type: VERSATERM_132C like VERSATERM220_132C;
2898 terminal_type: VERSATERM_132C_OFLOW like VERSATERM220_132C_OFLOW;
2899 
2900 
2901 /***** Digital Equipment Model VT-100 (24 lines, 80 columns)    *****/
2902 /***** As emulated for Macintosh by Versaterm Rev 2.10 or lower *****/
2903 
2904 terminal_type: VERSATERM210 like ASCII_CRT;
2905  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2906  initial_string:
2907           SUB                                               /* cancel any pending ESC sequences */
2908           ESC "<"
2909           ESC "[?3l"                                        /* jump scroll on */
2910           CR;                                               /* cannot set tabs */
2911  output_suspend: ^S;
2912  output_resume: ^Q;
2913  function_keys: vt1xx_function_keys;
2914  video_info:
2915   screen_line_length: 79;
2916   screen_height:    24;
2917   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
2918   clear_screen:     ESC "[2J" ESC "[H";
2919   clear_to_eos:     ESC "[J";
2920   home:             ESC "[H";
2921   clear_to_eol:     ESC "[K";
2922   insert_lines:     ESC "[L";
2923   delete_lines:     ESC "[M";
2924   delete_chars:     ESC "[P", pad 1 ms;
2925   cursor_left:      ESC "[D";
2926   cursor_down:      ESC "[B";
2927   cursor_right:     ESC "[C";
2928   cursor_up:        ESC "[A";
2929 
2930 
2931 /***** Honeywell VIP 7200 *****/
2932 
2933 terminal_type: VIP7200 like ASCII_CRT_CAPS;
2934  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,capo,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2935  bauds:              9600;
2936   vt_ff_delays:         1;
2937  special: vip7200_special;
2938  function_keys: vip720x_function_keys;
2939  video_info:
2940   screen_line_length: 79;
2941   screen_height:    24;
2942   home:             ESC H;
2943   clear_screen:     ESC "`";
2944   clear_to_eos:     ESC J, pad 1;
2945   cursor_up:        ESC A;
2946   cursor_right:     ESC C;
2947   cursor_down:      LF;
2948   cursor_left:      BS;
2949   clear_to_eol:     ESC K;
2950   abs_pos:          ESC f (COLUMN + 037) (LINE + 037);
2951 
2952 
2953 /***** Honeywell VIP 7201 *****/
2954 
2955 terminal_type: VIP7201 like ASCII_CRT;
2956  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2957  initial_string:
2958 /* ESC "`"  temporarily commented out until manual arrives */ /* clear terminal */
2959           ESC "k"                                           /* set char mode */
2960           ESC "r"                                           /* roll mode set */
2961           ESC "m";                                          /* set remote echo mode */
2962  special: vip7201_special;
2963  function_keys: vip720x_function_keys;
2964  video_info:
2965   screen_line_length: 80;
2966   screen_height:    24;
2967   home:             ESC H;
2968   clear_to_eos:     ESC J, pad 1;
2969   cursor_up:        ESC A;
2970   cursor_right:     ESC C;
2971   cursor_down:      LF;
2972   cursor_left:      BS;
2973   clear_to_eol:     ESC K;
2974   insert_chars:     ESC "[I";
2975   end_insert_chars: ESC "[J";
2976   delete_chars:     ESC "[P";
2977   insert_lines:     ESC "[L";
2978   delete_lines:     ESC "[M";
2979   abs_pos:          ESC f (COLUMN + 037) (LINE + 037);
2980 
2981 
2982 /***** Honeywell VIP 7205 (upper/lower case version of VIP7200) *****/
2983 
2984 terminal_type: VIP7205 like VIP7200;
2985  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
2986  input_translation: ;
2987  special: vip7205_special;
2988 
2989 
2990 /***** Cii-Bull DKU7001 CRT *****/
2991 
2992 terminal_type: DKU7001 like VIP7205;
2993 
2994 
2995 /***** Honeywell VIP 7700 subsystem *****/
2996 
2997 terminal_type: VIP7700_CLUSTER;
2998  input_conversion: ;
2999  additional_info: "controller_poll=no pause_time=1000 quit=q formfeed=l";
3000 
3001 
3002 /***** Honeywell VIP 7705 polled display terminal *****/
3003 
3004 terminal_type: VIP7705 like ASCII;
3005  modes: default,ll80,pl23,can_type=replace,hndlquit,^scroll;
3006  initial_string: CR ESC 2 ESC 1 (7) <(10) <SP> ESC 1> CR;
3007  output_conversion: vip7705_output_conv;
3008  special: vip7705_special;
3009  line_types: VIP, POLLED_VIP;
3010  video_info:
3011   screen_line_length: 79;
3012   screen_height:    24;
3013   clear_screen:     FF;
3014   cursor_left:      BS;
3015   cursor_right:     DC2;
3016   cursor_up:        DC1;
3017   cursor_down:      LF;
3018   abs_pos:          DC3 (LINE + 037) (COLUMN + 037);
3019 
3020 
3021 /***** Honeywell VIP7705R polled display terminal *****/
3022 
3023 terminal_type: VIP7705R like VIP7705;
3024 
3025 
3026 /***** Honeywell VIP7714 receive-only printer *****/
3027 
3028 terminal_type: VIP7714 like TN300;
3029  modes: default,ll118,^pl,can_type=overstrike,hndlquit,tabs,vertsp;
3030  line_types: VIP, POLLED_VIP;
3031 
3032 
3033 /***** Honeywell VIP 7760 keyboard/display unit *****/
3034 
3035 terminal_type: VIP7760 like VIP7705;
3036  special: vip7760_special;
3037 
3038 
3039 /***** Honeywell VIP 7760 terminal controller *****/
3040 
3041 terminal_type: VIP7760_CONTROLLER;
3042  input_conversion: ;
3043  additional_info: "controller_poll=yes pause_time=1000 quit=q formfeed=l etb_mode=yes";
3044 
3045 
3046 /***** Honeywell VIP 7801 *****/
3047 
3048 terminal_type: VIP7801 like ASCII_CRT;
3049  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3050  initial_string:
3051           ESC e                                             /* RES - reset */
3052           ESC "`"                                           /* CLR - clear terminal */
3053           ESC v                                             /* SLR - status line reset */
3054           ESC k                                             /* CM - set char mode */
3055           ESC r                                             /* RMS - roll mode set */
3056           ESC m                                             /* EP - set remote echo mode */
3057           ESC [ N                                           /* TBI - clear all tabs */
3058           ESC p (7) <(10) <SP> ESC p> CR;                   /* TBS - set tabs */
3059  special: vip7801_special;
3060  function_keys: vip7801_function_keys;
3061  video_info:
3062   screen_line_length: 80;
3063   screen_height:    24;
3064   home:             ESC H;
3065   clear_screen:     ESC "`";
3066   clear_to_eos:     ESC J, pad 1;
3067   cursor_up:        ESC A;
3068   cursor_right:     ESC C;
3069   cursor_down:      LF;
3070   cursor_left:      BS;
3071   clear_to_eol:     ESC K;
3072   insert_chars:     ESC "[I";
3073   end_insert_chars: ESC "[J";
3074   delete_chars:     ESC "[P";
3075   insert_lines:     ESC "[L";
3076   delete_lines:     ESC "[M";
3077   abs_pos:          ESC f (COLUMN + 037) (LINE + 037);
3078 
3079 
3080 /***** Honeywell VIP 7300 *****/
3081 
3082 terminal_type: VIP7300 like VIP7801;
3083  special: vip7x03_special;
3084  function_keys: vip7x03_function_keys;
3085  video_info:
3086   screen_line_length: 80;
3087   screen_height:    24;
3088   home:             ESC H;
3089   clear_screen:     ESC "`";
3090   clear_to_eos:     ESC J, pad 1;
3091   cursor_up:        ESC A;
3092   cursor_right:     ESC C;
3093   cursor_down:      LF;
3094   cursor_left:      BS;
3095   clear_to_eol:     ESC K;
3096   insert_chars:     ESC "[I";
3097   end_insert_chars: ESC "[J";
3098   delete_chars:     ESC "[P";
3099   insert_lines:     ESC "[L", pad 60 ms;
3100   delete_lines:     ESC "[M", pad 60 ms;
3101   abs_pos:          ESC f (COLUMN + 037) (LINE + 037);
3102 
3103 
3104 /***** Honeywell VIP 7303 *****/
3105 
3106 terminal_type: VIP7303 like VIP7300;
3107 
3108 
3109 /***** Honeywell VIP 7803 *****/
3110 
3111 terminal_type: VIP7803 like VIP7801;
3112  special: vip7x03_special;
3113  function_keys: vip7x03_function_keys;
3114 
3115 
3116 /*****  Honeywell VIP7804 *****/
3117 
3118 terminal_type: VIP7804 like VIP7801;
3119  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,tabs;
3120  initial_string: ESC "`" ESC p (7) <(10) <SP> ESC p> CR ESC "[l" ESC "[B";
3121  special: vip7804_special;
3122  line_types: POLLED_VIP;
3123 
3124 
3125 /***** Honeywell VIP 7804 subsystem *****/
3126 
3127 terminal_type: VIP7804_CLUSTER;
3128  input_conversion: ;
3129  additional_info: "controller_poll=no pause_time=1000 formfeed=^ quit=_ omit_nl=yes omit_ff=yes etb_mode=yes";
3130                                                             /* F12 -> formfeed, FS12 -> QUIT */
3131 
3132 
3133 /***** Honeywell VIP 7813 *****/
3134 
3135 terminal_type: VIP7813 like VIP7801;
3136 
3137 
3138 /***** Honeywell VIP 7814 *****/
3139 
3140 terminal_type: VIP7814 like VIP7801;
3141 
3142 
3143 /***** Honeywell VIP 7823 *****/
3144 
3145 terminal_type: VIP7823 like VIP7813;
3146 
3147 
3148 /***** Infotron Vistar Satellite *****/
3149 
3150 terminal_type: VISTAR like ASCII_CRT;
3151  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
3152  video_info:
3153   screen_line_length: 80;
3154   screen_height:    24;
3155   home:             ETB NUL NUL;
3156   clear_screen:     FF;
3157   cursor_up:        DC4;
3158   cursor_down:      NAK;
3159   cursor_left:      BS;
3160   clear_to_eol:     VT;
3161   abs_pos:          ETB (COLUMN - 001)(LINE - 001);
3162 
3163 
3164 /***** Digital Equipment Model VT-52 *****/
3165 
3166 terminal_type: VT52 like ASCII_CRT;
3167  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
3168 
3169 
3170 /***** Digital Equipment Model VT-100 (24 lines, 80 columns) *****/
3171 
3172 terminal_type: VT100 like ASCII_CRT;
3173  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3174  initial_string:
3175           SUB                                               /* cancel any pending ESC sequences */
3176           ESC "<"
3177           ESC "[r"                                          /* clear top/bottom margins */
3178           ESC "[3g"                                         /* remove all tab stops */
3179           ESC "[?3l"                                        /* jump scroll on */
3180           CR                                                /* get to column 1 */
3181           (7) <ESC "[10C" ESC H>                            /* set tabs */
3182           CR;                                               /* back to column 1 */
3183  output_suspend: ^S;
3184  output_resume: ^Q;
3185  function_keys: vt1xx_function_keys;
3186  video_info:
3187   screen_line_length: 79;
3188   screen_height:    24;
3189   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
3190   clear_screen:     ESC "[2J" ESC "[H";
3191   clear_to_eos:     ESC "[J";
3192   home:             ESC "[H";
3193   clear_to_eol:     ESC "[K";
3194   cursor_left:      ESC "[D";
3195   cursor_down:      ESC "[B";
3196   cursor_right:     ESC "[C";
3197   cursor_up:        ESC "[A";
3198 
3199 
3200 /***** Digital Equipment Model VT-100 (24 lines, 80 columns) with flow control enabled */
3201 
3202 terminal_type: VT100_OFLOW like VT100;
3203  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3204 
3205 
3206 /***** Digital Equipment Model VT-100 (24 lines, 80 columns) without advanced video *****/
3207 
3208 terminal_type: VT100S like VT100;
3209 
3210 
3211 /***** Digital Equipment Model VT-100 (24 lines, 132 columns) *****/
3212 
3213 terminal_type: VT100W like VT100;
3214  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3215  initial_string:
3216           SUB                                               /* cancel any pending ESC sequences */
3217           ESC "<"
3218           ESC "[r"                                          /* clear top/bottom margins */
3219           ESC "[3g"                                         /* remove all tab stops */
3220           ESC "[?3h"                                        /* jump scroll on */
3221           CR                                                /* get to column 1 */
3222           (13) <ESC "[10C" ESC H>                           /* set tabs */
3223           CR;                                               /* back to column 1 */
3224  video_info:
3225   screen_line_length: 131;
3226   screen_height:    24;
3227   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
3228   clear_screen:     ESC "[2J" ESC "[H";
3229   clear_to_eos:     ESC "[J";
3230   home:             ESC "[H";
3231   clear_to_eol:     ESC "[K";
3232   cursor_left:      ESC "[D";
3233   cursor_down:      ESC "[B";
3234   cursor_right:     ESC "[C";
3235   cursor_up:        ESC "[A";
3236 
3237 
3238 /***** Digital Equipment Model VT-100 (24 lines, 132 columns) with flow control enabled */
3239 
3240 terminal_type: VT100W_OFLOW like VT100W;
3241  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3242 
3243 
3244 /***** Digital Equipment Model VT-100 (14 lines, 132 columns) *****/
3245 
3246 terminal_type: VT100WS like VT100W;
3247  modes: default,ll132,pl13,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3248  video_info:
3249   screen_line_length: 131;
3250   screen_height:    14;
3251   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
3252   clear_screen:     ESC "[2J" ESC "[H";
3253   clear_to_eos:     ESC "[J";
3254   home:             ESC "[H";
3255   clear_to_eol:     ESC "[K";
3256   cursor_left:      ESC "[D";
3257   cursor_down:      ESC "[B";
3258   cursor_right:     ESC "[C";
3259   cursor_up:        ESC "[A";
3260 
3261 
3262 /***** Digital Equipment Model VT-102 (80 columns) *****/
3263 
3264 terminal_type: VT102_80C like ASCII_CRT;
3265  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3266  initial_string:
3267           SUB                                               /* cancel any pending ESC sequences */
3268           ESC "<"
3269           ESC "[r"                                          /* clear top/bottom margins */
3270           ESC "[3g"                                         /* remove all tab stops */
3271           ESC "[?3l"                                        /* jump scroll on */
3272           CR                                                /* get to column 1 */
3273           (7) <ESC "[10C" ESC H>                            /* set tabs */
3274           CR;                                               /* back to column 1 */
3275  bauds:              110      150      300      1200      1800      2400      4800      9600;
3276  horz_nl_delays:       0.004    0.008    0.016     0.063     0.094     0.125     0.250     0.500;
3277  output_suspend: ^S;
3278  output_resume: ^Q;
3279  function_keys: vt1xx_function_keys;
3280  video_info:
3281   screen_line_length: 79;
3282   screen_height:    24;
3283   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H", pad 1 ms;
3284   clear_screen:     ESC "[2J" ESC "[H", pad 54 ms;
3285   clear_to_eos:     ESC "[J", pad 54 ms;
3286   home:             ESC "[H", pad 1 ms;
3287   clear_to_eol:     ESC "[K", pad 2 ms;
3288   insert_chars:     ESC "[4h", pad 1 ms;
3289   end_insert_chars: ESC "[4l", pad 1 ms;
3290   delete_chars:     ESC "[P", pad 1 ms;
3291   insert_lines:     ESC "[L", pad 100 ms;
3292   delete_lines:     ESC "[M", pad 100 ms;
3293   cursor_left:      ESC "[D", pad 1 ms;
3294   cursor_down:      ESC "[B", pad 1 ms;
3295   cursor_right:     ESC "[C", pad 1 ms;
3296   cursor_up:        ESC "[A", pad 1 ms;
3297 
3298 terminal_type: VT102 like VT102_80C;
3299 
3300 /***** VT102 (80 columns, output flow control enabled) *****/
3301 
3302 terminal_type: VT102_80C_OFLOW like VT102_80C;
3303  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3304  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
3305 
3306 terminal_type: VT102_OFLOW like VT102_80C_OFLOW;
3307 
3308 
3309 /***** VT102 (132 columns) *****/
3310 
3311 terminal_type: VT102_132C like VT102_80C;
3312  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3313  initial_string:
3314           SUB                                               /* cancel any pending ESC sequences */
3315           ESC "<"
3316           ESC "[r"                                          /* clear top/bottom margins */
3317           ESC "[3g"                                         /* remove all tab stops */
3318           ESC "[?3h"                                        /* jump scroll on */
3319           CR                                                /* get to column 1 */
3320           (13) <ESC "[10C" ESC H>                           /* set tabs */
3321           CR;                                               /* back to column 1 */
3322  video_info:
3323   screen_line_length: 131;
3324   screen_height:    24;
3325   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H", pad 1 ms;
3326   clear_screen:     ESC "[2J" ESC "[H", pad 75 ms;
3327   clear_to_eos:     ESC "[J", pad 75 ms;
3328   home:             ESC "[H", pad 1 ms;
3329   clear_to_eol:     ESC "[K", pad 3 ms;
3330   insert_chars:     ESC "[4h", pad 1 ms;
3331   end_insert_chars: ESC "[4l", pad 1 ms;
3332   delete_chars:     ESC "[P", pad 1 ms;
3333   insert_lines:     ESC "[L", pad 100 ms;
3334   delete_lines:     ESC "[M", pad 100 ms;
3335   cursor_left:      ESC "[D", pad 1 ms;
3336   cursor_down:      ESC "[B", pad 1 ms;
3337   cursor_right:     ESC "[C", pad 1 ms;
3338   cursor_up:        ESC "[A", pad 1 ms;
3339 
3340 /***** VT102 (132 columns, 50 lines) *****/
3341 
3342 terminal_type: VT102_132C_50L like VT102_132C;
3343  modes: default,ll132,pl48,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3344  video_info:
3345   screen_line_length: 131;
3346   screen_height:      49;
3347   abs_pos:            ESC "[" (decimal LINE) ";" (decimal COLUMN) H, pad 1 ms;
3348   clear_screen:       ESC "[2J" ESC "[H", pad 75 ms;
3349   clear_to_eos:       ESC "[J", pad 75 ms;
3350   home:               ESC "[H", pad 1 ms;
3351   clear_to_eol:       ESC "[K", pad 3 ms;
3352   insert_chars:       ESC "[4h", pad 1 ms;
3353   end_insert_chars:   ESC "[4l", pad 1 ms;
3354   delete_chars:       ESC "[P", pad 1 ms;
3355   insert_lines:       ESC "[L", pad 100 ms;
3356   delete_lines:       ESC "[M", pad 100 ms;
3357   cursor_left:        ESC "[D", pad 1 ms;
3358   cursor_down:        ESC "[B", pad 1 ms;
3359   cursor_right:       ESC "[C", pad 1 ms;
3360   cursor_up:          ESC "[A", pad 1 ms;
3361 
3362 /***** VT102 (132 columns, 78 lines) *****/
3363 
3364 terminal_type: VT102_132C_78L like VT102_132C;
3365  modes: default,ll132,pl76,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3366  video_info:
3367   screen_line_length: 131;
3368   screen_height:      77;
3369   abs_pos:            ESC "[" (decimal LINE) ";" (decimal COLUMN) H, pad 1 ms;
3370   clear_screen:       ESC "[2J" ESC "[H", pad 54 ms;
3371   clear_to_eos:       ESC "[J", pad 54 ms;
3372   home:               ESC "[H", pad 1 ms;
3373   clear_to_eol:       ESC "[K", pad 2 ms;
3374   insert_chars:       ESC "[4h", pad 1 ms;
3375   end_insert_chars:   ESC "[4l", pad 1 ms;
3376   delete_chars:       ESC "[P", pad 1 ms;
3377   insert_lines:       ESC "[L", pad 100 ms;
3378   delete_lines:       ESC "[M", pad 100 ms;
3379   cursor_left:        ESC "[D", pad 1 ms;
3380   cursor_down:        ESC "[B", pad 1 ms;
3381   cursor_right:       ESC "[C", pad 1 ms;
3382   cursor_up:          ESC "[A", pad 1 ms;
3383 
3384 /***** VT102 (output flow control enabled) *****/
3385 
3386 terminal_type: VT102_132C_OFLOW like VT102_132C;
3387  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
3388  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
3389 
3390 
3391 /***** Digital Equipment Model VT-132 *****/
3392 
3393 terminal_type: VT132 like ASCII_CRT;
3394  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3395  initial_string:
3396           SUB                                               /* cancel any pending ESC sequences */
3397           ESC "<"
3398           ESC "[r"                                          /* clear top/bottom margins */
3399           ESC "[3g"                                         /* remove all tab stops */
3400           ESC "[?3h"                                        /* jump scroll on */
3401           CR                                                /* get to column 1 */
3402           (13) <ESC "[10C" ESC H>                           /* set tabs */
3403           CR;                                               /* back to column 1 */
3404  bauds:              110      150      300      1200      1800      2400      4800      9600;
3405   horz_nl_delays:      0.004    0.008    0.016     0.063     0.094     0.125     0.250     0.500;
3406  output_suspend: ^S;
3407  output_resume: ^Q;
3408  function_keys: vt1xx_function_keys;
3409  video_info:
3410   screen_line_length: 131;
3411   screen_height:    24;
3412   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H", pad 121 ms;
3413   clear_screen:     ESC "[2J" ESC "[H", pad 63 ms;
3414   clear_to_eos:     ESC "[J", pad 63 ms;
3415   home:             ESC "[H", pad 10 ms;
3416   clear_to_eol:     ESC "[K", pad 5 ms;
3417   insert_chars:     ESC "[4h", pad 10 ms;
3418   end_insert_chars: ESC "[4l", pad 10 ms;
3419   delete_chars:     ESC "[P", pad 7 ms;
3420   insert_lines:     ESC "[L", pad 99 ms;
3421   delete_lines:     ESC "[M", pad 99 ms;
3422   cursor_left:      ESC "[D", pad 2 ms;
3423   cursor_down:      ESC "[B", pad 2 ms;
3424   cursor_right:     ESC "[C", pad 2 ms;
3425   cursor_up:        ESC "[A", pad 2 ms;
3426 
3427 
3428 /***** VT132 (output flow control enabled) *****/
3429 
3430 terminal_type: VT132_OFLOW like VT132;
3431  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3432  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
3433 
3434 
3435 /***** VT132 (80 columns) *****/
3436 
3437 terminal_type: VT132_80C like VT132;
3438  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3439  initial_string:
3440           SUB                                               /* cancel any pending ESC sequences */
3441           ESC "<"
3442           ESC "[r"                                          /* clear top/bottom margins */
3443           ESC "[3g"                                         /* remove all tab stops */
3444           ESC "[?3l"                                        /* jump scroll on */
3445           CR                                                /* get to column 1 */
3446           (7) <ESC "[10C" ESC H>                            /* set tabs */
3447           CR;                                               /* back to column 1 */
3448  video_info:
3449   screen_line_length: 79;
3450   screen_height:    24;
3451   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H", pad 94 ms;
3452   clear_screen:     ESC "[2J" ESC "[H", pad 63 ms;
3453   clear_to_eos:     ESC "[J", pad 63 ms;
3454   home:             ESC "[H", pad 10 ms;
3455   clear_to_eol:     ESC "[K", pad 5 ms;
3456   insert_chars:     ESC "[4h", pad 10 ms;
3457   end_insert_chars: ESC "[4l", pad 10 ms;
3458   delete_chars:     ESC "[P", pad 7 ms;
3459   insert_lines:     ESC "[L", pad 99 ms;
3460   delete_lines:     ESC "[M", pad 99 ms;
3461   cursor_left:      ESC "[D", pad 2 ms;
3462   cursor_down:      ESC "[B", pad 2 ms;
3463   cursor_right:     ESC "[C", pad 2 ms;
3464   cursor_up:        ESC "[A", pad 2 ms;
3465 
3466 
3467 /***** VT132 (80 columns, output flow control enabled) *****/
3468 
3469 terminal_type: VT132_80C_OFLOW like VT132_80C;
3470  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3471  bauds:              110      150      300      1200      1800      2400      4800      9600;       /* no padding needed */
3472 
3473 
3474 /***** Digital Equipment Model VT-220 (80 columns) *****/
3475 
3476 terminal_type: VT220_80C like ASCII_CRT;
3477  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3478  initial_string:
3479           SUB                                               /* cancel any pending ESC sequences */
3480           ESC "<"
3481           ESC "[r"                                          /* clear top/bottom margins */
3482           ESC "[3g"                                         /* remove all tab stops */
3483           ESC "[?3l"                                        /* jump scroll on */
3484           CR                                                /* get to column 1 */
3485           (7) <ESC "[10C" ESC H>                            /* set tabs */
3486           CR;                                               /* back to column 1 */
3487  bauds:              110      150      300      1200      1800      2400      4800      9600;
3488  output_suspend: ^S;
3489  output_resume: ^Q;
3490  function_keys: vt1xx_function_keys;
3491  video_info:
3492   screen_line_length: 79;
3493   screen_height:    24;
3494   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
3495   clear_screen:     ESC "[2J";
3496   clear_to_eos:     ESC "[J";
3497   home:             ESC "[H";
3498   clear_to_eol:     ESC "[K";
3499   insert_chars:     ESC "[4h";
3500   end_insert_chars: ESC "[4l";
3501   delete_chars:     ESC "[" (decimal N) "P";
3502   insert_lines:     ESC "[" (decimal N) "L";
3503   delete_lines:     ESC "[" (decimal N) "M";
3504   cursor_left:      ESC "[" (decimal N) "D";
3505   cursor_down:      ESC "[" (decimal N) "B";
3506   cursor_right:     ESC "[" (decimal N) "C";
3507   cursor_up:        ESC "[" (decimal N) "A";
3508 
3509 terminal_type: VT220 like VT220_80C;
3510 
3511 
3512 /***** VT220 (80 columns, output flow control enabled) *****/
3513 
3514 terminal_type: VT220_80C_OFLOW like VT220_80C;
3515  modes: default,ll80,pl23,can_type=replace,hndlquit,scroll,oflow,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3516 
3517 terminal_type: VT220_OFLOW like VT220_80C_OFLOW;
3518 
3519 
3520 /***** VT220 (132 columns) *****/
3521 
3522 terminal_type: VT220_132C like VT220_80C;
3523  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho;
3524  initial_string:
3525           SUB                                               /* cancel any pending ESC sequences */
3526           ESC "<"
3527           ESC "[r"                                          /* clear top/bottom margins */
3528           ESC "[3g"                                         /* remove all tab stops */
3529           ESC "[?3h"                                        /* jump scroll on */
3530           CR                                                /* get to column 1 */
3531           (13) <ESC "[10C" ESC H>                           /* set tabs */
3532           CR;                                               /* back to column 1 */
3533  video_info:
3534   screen_line_length: 131;
3535   screen_height:    24;
3536   abs_pos:          ESC "[" (decimal LINE) ";" (decimal COLUMN) "H";
3537   clear_screen:     ESC "[2J";
3538   clear_to_eos:     ESC "[J";
3539   home:             ESC "[H";
3540   clear_to_eol:     ESC "[K";
3541   insert_chars:     ESC "[4h";
3542   end_insert_chars: ESC "[4l";
3543   delete_chars:     ESC "[" (decimal N) "P";
3544   insert_lines:     ESC "[" (decimal N) "L";
3545   delete_lines:     ESC "[" (decimal N) "M";
3546   cursor_left:      ESC "[" (decimal N) "D";
3547   cursor_down:      ESC "[" (decimal N) "B";
3548   cursor_right:     ESC "[" (decimal N) "C";
3549   cursor_up:        ESC "[" (decimal N) "A";
3550 
3551 
3552 /***** VT220 (output flow control enabled) *****/
3553 
3554 terminal_type: VT220_132C_OFLOW like VT220;
3555  modes: default,ll132,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,tabs,^tabecho,oflow;
3556 
3557 
3558 /***** Wyse Technology WY50 in 80 column mode *****/
3559 
3560 terminal_type: WY50_80C like ASCII_CRT;
3561  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,lfecho,tabs,^tabecho;
3562  initial_string:
3563           ESC "H" ETX                                       /* get out of graphics mode */
3564           ESC "A11"                                         /* turn off F-Key line */
3565           ESC "`:"                                          /* 80-column screen */
3566           (12) <NUL>                                        /* get some padding in but */
3567                                                             /* manual specifies 100ms when */
3568                                                             /* changing screen widths */
3569 
3570 /* blank out the entire function key line and reset the default keys */
3571 
3572           ESC "z0" CR                                       /* unshifted keys */
3573           ESC "z1" CR
3574           ESC "z2" CR
3575           ESC "z3" CR
3576           ESC "z4" CR
3577           ESC "z5" CR
3578           ESC "z6" CR
3579           ESC "z7" CR
3580           ESC "z@" DEL
3581           ESC "zA" DEL
3582           ESC "zB" DEL
3583           ESC "zC" DEL
3584           ESC "zD" DEL
3585           ESC "zE" DEL
3586           ESC "zF" DEL
3587           ESC "zG" DEL
3588           ESC "zP" CR                                       /* shifted keys */
3589           ESC "zQ" CR
3590           ESC "zR" CR
3591           ESC "zS" CR
3592           ESC "zT" CR
3593           ESC "zU" CR
3594           ESC "zV" CR
3595           ESC "zW" CR
3596           ESC "z`" DEL
3597           ESC "za" DEL
3598           ESC "zb" DEL
3599           ESC "zc" DEL
3600           ESC "zd" DEL
3601           ESC "ze" DEL
3602           ESC "zf" DEL
3603           ESC "zg" DEL
3604 
3605           ESC "A10"                                         /* turn f-key line back on */
3606           RS ESC "Y"                                        /* home and clear screen */
3607           ESC 0 CR ESC 1 (7) <(10) <SP> ESC 1> CR;          /* set tabs */
3608  line_types: ASCII;
3609  special: wy50_special;
3610  output_suspend: DC3;
3611  output_resume: DC1;
3612  function_keys: wy50_80c_function_keys;
3613  video_info:
3614   screen_height:    24;
3615   screen_line_length: 79;
3616   abs_pos:          ESC a (decimal LINE) R (decimal COLUMN) C;
3617   home:             RS;
3618   clear_screen:     ESC ";";
3619   clear_to_eos:     ESC Y;
3620   cursor_up:        VT;
3621   cursor_right:     FF;
3622   cursor_down:      LF;
3623   cursor_left:      BS;
3624   clear_to_eol:     ESC T;
3625   insert_chars:     ESC Q;
3626   delete_chars:     ESC W;
3627   insert_lines:     ESC E;
3628   delete_lines:     ESC R;
3629 
3630 terminal_type: WY50_80C_OFLOW like WY50_80C;
3631  modes: default,ll79,pl23,can_type=replace,hndlquit,oflow,scroll,fulldpx,echoplex,lfecho,tabs,^tabecho;
3632 
3633 
3634 /***** Wyse Technology WY50 in 132 column mode *****/
3635 
3636 terminal_type: WY50_132C like ASCII_CRT;
3637  modes: default,ll131,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,lfecho,tabs,^tabecho;
3638  initial_string:
3639           ESC "H" ETX                                       /* get out of graphics mode */
3640           ESC "A11"                                         /* blank f-key line */
3641           ESC "`;"                                          /* 132-column screen */
3642           (12) <NUL>                                        /* get some padding in but */
3643                                                             /* manual specifies 100ms when */
3644                                                             /* changing screen widths */
3645 
3646 /* blank out the entire function key line and reset the default keys */
3647 
3648           ESC "z0" CR                                       /* unshifted keys */
3649           ESC "z1" CR
3650           ESC "z2" CR
3651           ESC "z3" CR
3652           ESC "z4" CR
3653           ESC "z5" CR
3654           ESC "z6" CR
3655           ESC "z7" CR
3656           ESC "z8" CR
3657           ESC "z9" CR
3658           ESC "z:" CR
3659           ESC "z;" CR
3660           ESC "z<" CR
3661           ESC "z=" CR
3662           ESC "z>" CR
3663           ESC "z?" CR
3664           ESC "z@" DEL
3665           ESC "zA" DEL
3666           ESC "zB" DEL
3667           ESC "zC" DEL
3668           ESC "zD" DEL
3669           ESC "zE" DEL
3670           ESC "zF" DEL
3671           ESC "zG" DEL
3672           ESC "zH" DEL
3673           ESC "zI" DEL
3674           ESC "zJ" DEL
3675           ESC "zK" DEL
3676           ESC "zL" DEL
3677           ESC "zM" DEL
3678           ESC "zN" DEL
3679           ESC "zO" DEL
3680           ESC "zP" CR                                       /* shifted keys */
3681           ESC "zQ" CR
3682           ESC "zR" CR
3683           ESC "zS" CR
3684           ESC "zT" CR
3685           ESC "zU" CR
3686           ESC "zV" CR
3687           ESC "zW" CR
3688           ESC "zX" CR
3689           ESC "zY" CR
3690           ESC "zZ" CR
3691           ESC "z[" CR
3692           ESC "z\" CR
3693           ESC "z]" CR
3694           ESC "z^" CR
3695           ESC "z_" CR
3696           ESC "z`" DEL
3697           ESC "za" DEL
3698           ESC "zb" DEL
3699           ESC "zc" DEL
3700           ESC "zd" DEL
3701           ESC "ze" DEL
3702           ESC "zf" DEL
3703           ESC "zg" DEL
3704           ESC "zh" DEL
3705           ESC "zi" DEL
3706           ESC "zj" DEL
3707           ESC "zk" DEL
3708           ESC "zl" DEL
3709           ESC "zm" DEL
3710           ESC "zn" DEL
3711           ESC "zo" DEL
3712 
3713           ESC "A10"                                         /* turn f-key line back on */
3714           RS ESC "Y"                                        /* home and clear screen */
3715           ESC 0 CR ESC 1 (13) <(10) <SP> ESC 1> CR;         /* set tabs every 10 (11, 21, 31...) */
3716  output_suspend: DC3;
3717  output_resume: DC1;
3718  function_keys: wy50_132c_function_keys;
3719  line_types: ASCII;
3720  special: wy50_special;
3721  video_info:
3722   screen_height:    24;
3723   screen_line_length: 131;
3724   abs_pos:          ESC a (decimal LINE) R (decimal COLUMN) C;
3725   home:             RS;
3726   clear_screen:     ESC ";";
3727   clear_to_eos:     ESC Y;
3728   cursor_up:        VT;
3729   cursor_right:     FF;
3730   cursor_down:      LF;
3731   cursor_left:      BS;
3732   clear_to_eol:     ESC T;
3733   insert_chars:     ESC Q;
3734   delete_chars:     ESC W;
3735   insert_lines:     ESC E;
3736   delete_lines:     ESC R;
3737 
3738 terminal_type: WY50_132C_OFLOW like WY50_132C;
3739  modes: default,ll131,pl23,can_type=replace,hndlquit,oflow,scroll,fulldpx,echoplex,lfecho,tabs,^tabecho;
3740 
3741 
3742 /***** X25_DATAPAC (X.25 Network parameters for DATAPAC connections) *****/
3743 
3744 terminal_type: X25_DATAPAC;
3745  additional_info: "network=datapac";
3746 
3747 
3748 /***** X.25 6M Satellite *****/
3749 
3750 terminal_type: X25_L6_DCE;
3751  additional_info: "n_lc=8 d_bit=no type=DCE address=56 link_protocol=LAPB";
3752 
3753 
3754 /***** X25_TYMNET (X.25 Network parameters for TYMNET connections) *****/
3755 
3756 terminal_type: X25_TYMNET;
3757  additional_info: "network=tymnet";
3758 
3759 
3760 /****** Xerox 820 *****/
3761 
3762 terminal_type: XEROX820 like ASCII_CRT;
3763  modes: default,ll79,pl23,can_type=replace,hndlquit,scroll,fulldpx,echoplex,crecho,lfecho,^tabs,tabecho;
3764  special: xerox820_special;
3765  initial_string:
3766           ESC "7"                                           /* enable use of inverse video */
3767           ^E ^B                                             /* select block cursor */
3768           ^Z                                                /* clear screen */
3769           CR;                                               /* go to column one */
3770  output_suspend: ^S;
3771  output_resume: ^Q;
3772  function_keys: xerox820_function_keys;
3773  video_info:
3774   screen_line_length: 79;
3775   screen_height:    24;
3776   abs_pos:          ESC = (LINE + 037) (COLUMN + 037);
3777   clear_screen:     ^Z;
3778   clear_to_eol:     ^X;
3779   clear_to_eos:     ^Q;
3780   cursor_down:      LF;
3781   cursor_left:      BS;
3782   cursor_right:     FF;
3783   cursor_up:        VT;
3784   delete_chars:     ESC W;
3785   delete_lines:     ESC R;
3786   home:             ^^;
3787   insert_lines:     ESC E;
3788 
3789 
3790 /***** Heathkit Model Z100 CRT *****/
3791 
3792 terminal_type: Z100 like HEATH19;
3793  initial_string:
3794           ESC "y3"                                          /* exit hold screen mode */
3795           ESC "y5"                                          /* cursor on */
3796           ESC "y8"                                          /* no auto LF */
3797           ESC "y9"                                          /* no auto CR */
3798           ESC G                                             /* exit graphics mode */
3799           ESC "{"                                           /* keyboard enabled */
3800           ESC q;                                            /* exit reverse video mode */
3801 
3802 ^L
3803 /****************************************
3804 *                                       *
3805 *         PREACCESS COMMANDS            *
3806 *                                       *
3807 ****************************************/
3808 
3809 
3810 preaccess_command: MAP;
3811  type: ASCII_CAPS;
3812 
3813 
3814 
3815 /****************************************
3816 *                                       *
3817 *         DEFAULT TYPES                 *
3818 *                                       *
3819 ****************************************/
3820 
3821 
3822 default_types:
3823                      any  TELNET ASCII,
3824                      110  ASCII  TTY33,
3825                      any  ASCII  ASCII,
3826                      any    VIP  ASCII,
3827                      any    any   G115;
3828 ^L
3829 /****************************************
3830 *                                       *
3831 *         ANSWERBACKS                   *
3832 *                                       *
3833 ****************************************/
3834 
3835 answerback:         search " XAA_AMB_24L ", id rest;
3836  type:              AMBASSADOR_24L;
3837 
3838 answerback:         search " XAA_AMB_30L ", id rest;
3839  type:              AMBASSADOR_30L;
3840 
3841 answerback:         search " XAA_AMB_48L ", id rest;
3842  type:              AMBASSADOR_48L;
3843 
3844 answerback:         search " XAA_AMB_60L ", id rest;
3845  type:              AMBASSADOR_60L;
3846 
3847 answerback:         search " XGURU_66L_80C ", id rest;
3848  type:              GURU_66L_80C;
3849 
3850 answerback:         search " XGURU_66L_132C ", id rest;
3851  type:              GURU_66L_132C;
3852 
3853 answerback:         search " XGURU_66L_160C ", id rest;
3854  type:              GURU_66L_160C;
3855 
3856 answerback:         search " XGURU_48L_80C ", id rest;
3857  type:              GURU_48L_80C;
3858 
3859 answerback:         search " XGURU_48L_132C ", id rest;
3860  type:              GURU_48L_132C;
3861 
3862 answerback:         search " XGURU_48L_160C ", id rest;
3863  type:              GURU_48L_160C;
3864 
3865 answerback:         search " XGURU_30L_80C ", id rest;
3866  type:              GURU_30L_80C;
3867 
3868 answerback:         search " XGURU_30L_132C ", id rest;
3869  type:              GURU_30L_132C;
3870 
3871 answerback:         search " XGURU_30L_160C ", id rest;
3872  type:              GURU_30L_160C;
3873 
3874 answerback:         search " XGURU_24L_80C ", id rest;
3875  type:              GURU_24L_80C;
3876 
3877 answerback:         search " XH19 ", id rest;
3878  type:              HEATH19;
3879 
3880 answerback:         search " XLA120 ", id rest;
3881  type:              LA120;
3882 
3883 answerback:         search " XLA120_OFLOW ", id rest;
3884  type:              LA120_OFLOW;
3885 
3886 answerback:         search " XLA120PRT ", id rest;
3887  type:              LA120_10C6L;
3888 
3889 answerback:         search " XLA120-1141 ", id rest;
3890  type:              LA120_10C6L;
3891 
3892 answerback:         search " XLA120-4281 ", id rest;
3893  type:              LA120_16C8L;
3894 
3895 answerback:         search " XLA36_TABS ", id rest;
3896  type:              LA36_TABS;
3897 
3898 answerback:         search " XT1061 ", id rest;
3899  type:              TELERAY1061;
3900 
3901 answerback:         search " XTI787 ", id rest;
3902  type:              TI787;
3903 
3904 answerback:         search " XTTY43 ", id rest;
3905  type:              TTY43;
3906 
3907 answerback:         search " XVRSTRM ", id rest;
3908  type:              VERSATERM;
3909 
3910 answerback:         search " XVRSTRM220 ", id rest;
3911  type:              VERSATERM220;
3912 
3913 answerback:         search " XVRSTRM210 ", id rest;
3914  type:              VERSATERM210;
3915 
3916 answerback:         search " XVT100 ", id rest;
3917  type:              VT100;
3918 
3919 answerback:         search " XVT100_OFLOW ", id rest;
3920  type:              VT100_OFLOW;
3921 
3922 answerback:         search " XVT100S ", id rest;
3923  type:              VT100S;
3924 
3925 answerback:         search " XVT100W ", id rest;
3926  type:              VT100W;
3927 
3928 answerback:         search " XVT100W_OFLOW ", id rest;
3929  type:              VT100W_OFLOW;
3930 
3931 answerback:         search " XVT100WS ", id rest;
3932  type:              VT100WS;
3933 
3934 answerback:         search " XVT102_80C ", id rest;
3935  type:              VT102_80C;
3936 
3937 answerback:         search " XVT102_80C_O ", id rest;
3938  type:              VT102_80C_OFLOW;
3939 
3940 answerback:         search " XVT102_132C ", id rest;
3941  type:              VT102_132C;
3942 
3943 answerback:         search " XVT102_132C_O ", id rest;
3944  type:              VT102_132C_OFLOW;
3945 
3946 answerback:         search " XVT132 ", id rest;
3947  type:              VT132;
3948 
3949 answerback:         search " XVT132_OFLOW ", id rest;
3950  type:              VT132_OFLOW;
3951 
3952 answerback:         search " XVT132_80C ", id rest;
3953  type:              VT132_80C;
3954 
3955 answerback:         search " XVT132_80C_O ", id rest;
3956  type:              VT132_80C_OFLOW;
3957 
3958 answerback:         search " XVT220_80C ", id rest;
3959  type:              VT220_80C;
3960 
3961 answerback:         search " XVT220_80C_O ", id rest;
3962  type:              VT220_80C_OFLOW;
3963 
3964 answerback:         search " XVT220_132C ", id rest;
3965  type:              VT220_132C;
3966 
3967 answerback:         search " XVT220_132C_O ", id rest;
3968  type:              VT220_132C_OFLOW;
3969 
3970 answerback:         search " DTC302", id rest;
3971  type:              DTC302;
3972 
3973 answerback:         search "7201";
3974  type:              VIP7201;
3975 
3976 answerback:         search "7300";
3977  type:              VIP7300;
3978 
3979 answerback:         search "7801";
3980  type:              VIP7801;
3981 
3982 answerback:         search "7813";
3983  type:              VIP7813;
3984 
3985 answerback:         search "7814";
3986  type:              VIP7814;
3987 
3988 answerback:         search " T", id rest;
3989  type:              ASCII;
3990 
3991 answerback:         search " E", id rest;
3992  type:              TN300;
3993 
3994 answerback:         search " B", id rest;
3995  type:              TTY37;
3996 
3997 answerback:         search " J", id rest;
3998  type:              TTY38;
3999 ^L
4000 /****************************************
4001 *                                       *
4002 *         TRANSLATION TABLES            *
4003 *                                       *
4004 ****************************************/
4005 
4006 
4007 translation_table: ascii_caps_input_trans;
4008           000 001 002 003 004 005 006 007
4009           010 011 012 013 014 015 016 017
4010           020 021 022 023 024 025 026 027
4011           030 031 032 033 034 035 036 037
4012           040 041 042 043 044 045 046 047
4013           050 051 052 053 054 055 056 057
4014           060 061 062 063 064 065 066 067
4015           070 071 072 073 074 075 076 077
4016           100 141 142 143 144 145 146 147
4017           150 151 152 153 154 155 156 157
4018           160 161 162 163 164 165 166 167
4019           170 171 172 133 134 135 136 137
4020           140 141 142 143 144 145 146 147
4021           150 151 152 153 154 155 156 157
4022           160 161 162 163 164 165 166 167
4023           170 171 172 173 174 175 176 177;
4024 
4025 
4026 translation_table: dd8260thf_output_trans;
4027           000 001 000 000 000 000 000 007         /*  0 */
4028           010 011 012 013 014 015 016 017
4029           000 000 000 000 000 000 000 000         /*  1 */
4030           000 000 000 000 000 000 000 000
4031           040 041 042 043 044 045 046 047         /*  2 */
4032           050 051 052 053 054 055 056 057
4033           060 061 062 063 064 065 066 067         /*  3 */
4034           070 071 072 073 074 075 076 077
4035           100 101 102 103 104 105 106 107         /*  4 */
4036           110 111 112 113 114 115 116 117
4037           120 121 122 123 124 125 126 127         /*  5 */
4038           130 131 132 133 134 135 136 137
4039           140 141 142 143 144 145 146 147         /*  6 */
4040           150 151 152 153 154 155 156 157
4041           160 161 162 163 164 165 166 167         /*  7 */
4042           170 171 172 173 174 175 176 177
4043           000 000 000 000 000 000 000 000         /*  8 */
4044           000 000 000 000 000 000 000 000
4045           000 000 000 000 000 000 000 000         /*  9 */
4046           000 000 000 000 000 000 000 000
4047           000 000 000 000 000 000 000 000         /* 10 */
4048           000 000 000 000 000 000 000 000
4049           000 000 000 000 000 000 000 000         /* 11 */
4050           000 000 000 000 000 000 000 000
4051           300 301 000 303 304 305 306 307         /* 12 */
4052           310 311 312 313 314 315 316 317
4053           320 321 000 323 324 325 326 327         /* 13 */
4054           330 331 332 333 334 335 336 337
4055           000 000 342 343 000 345 000 347         /* 14 */
4056           350 351 352 353 354 355 356 357
4057           000 000 362 363 000 365 000 367         /* 15 */
4058           371 372 373 000 000 000 000 377;        /* Make sure 377 is left ALONE */
4059 
4060 
4061 translation_table: ebcdic_input_trans;
4062           000 001 002 003 032 011 032 177
4063           032 032 032 013 014 015 016 017
4064           020 021 022 023 032 032 010 032
4065           030 031 032 032 034 035 036 037
4066           032 032 032 032 032 012 027 033
4067           032 032 032 032 032 005 006 007
4068           032 032 026 032 032 032 032 004
4069           032 032 032 032 024 025 032 032
4070           040 032 032 032 032 032 032 032
4071           032 032 134 056 074 050 053 174
4072           046 032 032 032 032 032 032 032
4073           032 032 041 044 052 051 073 136
4074           055 057 032 032 032 032 032 032
4075           032 032 032 054 045 137 076 077
4076           032 032 032 032 032 032 032 032
4077           032 140 072 043 100 047 075 042
4078           032 141 142 143 144 145 146 147
4079           150 151 032 032 032 133 032 032
4080           032 152 153 154 155 156 157 160
4081           161 162 032 032 032 135 032 032
4082           032 176 163 164 165 166 167 170
4083           171 172 032 032 032 032 032 032
4084           032 032 032 032 032 032 032 032
4085           032 032 032 032 032 032 032 032
4086           173 101 102 103 104 105 106 107
4087           110 111 032 032 032 032 032 032
4088           175 112 113 114 115 116 117 120
4089           121 122 032 032 032 032 032 032
4090           032 032 123 124 125 126 127 130
4091           131 132 032 032 032 032 032 032
4092           060 061 062 063 064 065 066 067
4093           070 071 032 032 032 032 032 032;
4094 
4095 
4096 translation_table: ebcdic_output_trans;
4097           000 001 002 003 067 055 056 057
4098           026 005 045 013 014 015 016 017
4099           020 021 022 023 074 075 062 046
4100           030 031 077 047 034 035 036 037
4101           100 132 177 173 133 154 120 175
4102           115 135 134 116 153 140 113 141
4103           360 361 362 363 364 365 366 367
4104           370 371 172 136 114 176 156 157
4105           174 301 302 303 304 305 306 307
4106           310 311 321 322 323 324 325 326
4107           327 330 331 342 343 344 345 346
4108           347 350 351 215 112 235 137 155
4109           171 201 202 203 204 205 206 207
4110           210 211 221 222 223 224 225 226
4111           227 230 231 242 243 244 245 246
4112           247 250 251 300 117 320 241 007;
4113 
4114 
4115 translation_table: ibm3270_ebcdic_output_trans;
4116           000 001 002 003 067 055 056 057
4117           026 005 025 013 014 015 016 017
4118           020 021 022 023 074 075 062 046
4119           030 031 077 047 034 035 036 037
4120           100 132 177 173 133 154 120 175
4121           115 135 134 116 153 140 113 141
4122           360 361 362 363 364 365 366 367
4123           370 371 172 136 114 176 156 157
4124           174 301 302 303 304 305 306 307
4125           310 311 321 322 323 324 325 326
4126           327 330 331 342 343 344 345 346
4127           347 350 351 215 112 235 137 155
4128           171 201 202 203 204 205 206 207
4129           210 211 221 222 223 224 225 226
4130           227 230 231 242 243 244 245 246
4131           247 250 251 300 117 320 241 007
4132           000 000 000 000 000 000 000 000                   /* last 128 entries are to */
4133           000 000 000 000 000 000 000 000                   /* 377 to translate to 377 */
4134           000 000 000 000 000 000 000 000                   /* to fix a tty_write bug */
4135           000 000 000 000 000 000 000 000
4136           000 000 000 000 000 000 000 000
4137           000 000 000 000 000 000 000 000
4138           000 000 000 000 000 000 000 000
4139           000 000 000 000 000 000 000 000
4140           000 000 000 000 000 000 000 000
4141           000 000 000 000 000 000 000 000
4142           000 000 000 000 000 000 000 000
4143           000 000 000 000 000 000 000 000
4144           000 000 000 000 000 000 000 000
4145           000 000 000 000 000 000 000 000
4146           000 000 000 000 000 000 000 000
4147           000 000 000 000 000 000 000 377;
4148 
4149 
4150 translation_table: ibm3270_ebcdic_input_trans;
4151           000 001 002 003 032 011 032 177
4152           032 032 032 013 014 015 016 017
4153           020 021 022 023 032 012 010 032
4154           030 031 032 032 034 035 036 037
4155           032 032 032 032 032 012 027 033
4156           032 032 032 032 032 005 006 007
4157           032 032 026 032 032 032 032 004
4158           032 032 032 032 024 025 032 032
4159           040 032 032 032 032 032 032 032
4160           032 032 134 056 074 050 053 174
4161           046 032 032 032 032 032 032 032
4162           032 032 041 044 052 051 073 136
4163           055 057 032 032 032 032 032 032
4164           032 032 032 054 045 137 076 077
4165           032 032 032 032 032 032 032 032
4166           032 140 072 043 100 047 075 042
4167           032 141 142 143 144 145 146 147
4168           150 151 032 032 032 133 032 032
4169           032 152 153 154 155 156 157 160
4170           161 162 032 032 032 135 032 032
4171           032 176 163 164 165 166 167 170
4172           171 172 032 032 032 032 032 032
4173           032 032 032 032 032 032 032 032
4174           032 032 032 032 032 032 032 032
4175           173 101 102 103 104 105 106 107
4176           110 111 032 032 032 032 032 032
4177           175 112 113 114 115 116 117 120
4178           121 122 032 032 032 032 032 032
4179           032 032 123 124 125 126 127 130
4180           131 132 032 032 032 032 032 032
4181           060 061 062 063 064 065 066 067
4182           070 071 032 032 032 032 032 032;
4183 ^L
4184 /****************************************
4185 *                                       *
4186 *         CONVERSION TABLES             *
4187 *                                       *
4188 ****************************************/
4189 
4190 
4191 conversion_table: ascii_output_conv;
4192           07 07 07 07 07 07 07 12
4193           04 03 01 05 06 02 10 11
4194           07 07 07 07 07 07 07 07
4195           07 07 07 07 07 07 07 07
4196           00 00 00 00 00 00 00 00
4197           00 00 00 00 00 00 00 00
4198           00 00 00 00 00 00 00 00
4199           00 00 00 00 00 00 00 00
4200           00 00 00 00 00 00 00 00
4201           00 00 00 00 00 00 00 00
4202           00 00 00 00 00 00 00 00
4203           00 00 00 00 00 00 00 00
4204           00 00 00 00 00 00 00 00
4205           00 00 00 00 00 00 00 00
4206           00 00 00 00 00 00 00 00
4207           00 00 00 00 00 00 00 14;
4208 
4209 
4210 conversion_table: ascii_printer_output_conv;
4211           00 00 00 00 00 00 00 00
4212           00 00 01 00 00 00 00 00
4213           00 00 00 00 00 00 00 00
4214           00 00 00 00 00 00 00 00
4215           00 00 00 00 00 00 00 00
4216           00 00 00 00 00 00 00 00
4217           00 00 00 00 00 00 00 00
4218           00 00 00 00 00 00 00 00
4219           00 00 00 00 00 00 00 00
4220           00 00 00 00 00 00 00 00
4221           00 00 00 00 00 00 00 00
4222           00 00 00 00 00 00 00 00
4223           00 00 00 00 00 00 00 00
4224           00 00 00 00 00 00 00 00
4225           00 00 00 00 00 00 00 00
4226           00 00 00 00 00 00 00 00;
4227 
4228 
4229 conversion_table: dd8260thf_output_conv;
4230           07 07 07 07 07 07 07 12
4231           04 03 01 05 06 02 10 11
4232           07 07 07 07 07 07 07 07
4233           07 07 07 07 07 07 07 07
4234           00 00 00 00 00 00 00 00
4235           00 00 00 00 00 00 00 00
4236           00 00 00 00 00 00 00 00
4237           00 00 00 00 00 00 00 00
4238           00 00 00 00 00 00 00 00
4239           00 00 00 00 00 00 00 00
4240           00 00 00 00 00 00 00 00
4241           00 00 00 00 00 00 00 00
4242           00 00 00 00 00 00 00 00
4243           00 00 00 00 00 00 00 00
4244           00 00 00 00 00 00 00 00
4245           00 00 00 00 00 00 00 14
4246           07 07 07 07 07 07 07 07                           /* 200 */
4247           07 07 07 07 07 07 07 07
4248           07 07 07 07 07 07 07 07
4249           07 07 07 07 07 07 07 07
4250           07 07 07 07 07 07 07 07
4251           07 07 07 07 07 07 07 07
4252           07 07 07 07 07 07 07 07
4253           07 07 07 07 07 07 07 07
4254           00 00 07 00 00 00 00 00                           /* 300 */
4255           00 00 00 00 00 00 00 00
4256           00 00 07 00 00 00 00 00
4257           00 00 00 00 00 00 00 00
4258           07 07 00 00 07 00 07 00
4259           00 00 00 00 00 00 00 00
4260           07 07 00 00 07 00 07 00
4261           00 00 00 07 07 07 07 07;
4262 
4263 
4264 conversion_table: g115_upper_output_conv;
4265           00 00 00 00 00 00 00 00
4266           00 00 00 00 00 00 00 00
4267           00 00 00 00 00 00 00 00
4268           00 00 00 00 00 00 00 00
4269           00 00 00 00 00 00 00 00
4270           00 00 00 00 00 00 00 00
4271           00 00 00 00 00 00 00 00
4272           00 00 00 00 00 00 00 00
4273           00 21 22 23 24 25 26 27
4274           30 31 32 33 34 35 36 37
4275           40 41 42 43 44 45 46 47
4276           50 51 52 00 00 00 00 00
4277           00 56 57 60 61 62 63 64
4278           65 66 67 70 71 72 73 74
4279           75 76 77 100 101 102 103 104
4280           105 106 107 00 00 00 00 14;
4281 
4282 
4283 conversion_table: hazeltine1500_output_conv;
4284           07 07 07 07 07 07 07 12
4285           04 03 01 05 06 02 10 11
4286           07 07 07 07 07 07 07 07
4287           07 07 07 07 07 07 07 07
4288           00 00 00 00 00 00 00 00
4289           00 00 00 00 00 00 00 00
4290           00 00 00 00 00 00 00 00
4291           00 00 00 00 00 00 00 00
4292           00 00 00 00 00 00 00 00
4293           00 00 00 00 00 00 00 00
4294           00 00 00 00 00 00 00 00
4295           00 00 00 00 00 00 00 00
4296           00 00 00 00 00 00 00 00
4297           00 00 00 00 00 00 00 00
4298           00 00 00 00 00 00 00 00
4299           00 00 00 00 00 00 21 14;
4300 
4301 
4302 conversion_table: ibm2780_full_output_conv;
4303           00 00 00 00 00 00 00 00
4304           00 00 00 00 00 00 00 00
4305           00 00 00 00 00 00 00 00
4306           00 00 00 00 00 00 00 00
4307           00 00 00 00 00 00 00 00
4308           00 00 00 00 00 00 00 00
4309           00 00 00 00 00 00 00 00
4310           00 00 00 00 00 00 00 00
4311           00 00 00 00 00 00 00 00
4312           00 00 00 00 00 00 00 00
4313           00 00 00 00 00 00 00 00
4314           00 00 00 53 00 54 00 00
4315           55 00 00 00 00 00 00 00
4316           00 00 00 00 00 00 00 00
4317           00 00 00 00 00 00 00 00
4318           00 00 00 110 00 111 112 14;
4319 
4320 
4321 conversion_table: ibm2780_output_conv;
4322           00 00 00 00 00 00 00 00
4323           00 00 00 00 00 00 00 00
4324           00 00 00 00 00 00 00 00
4325           00 00 00 00 00 00 00 00
4326           00 00 00 00 00 00 00 00
4327           00 00 00 00 00 00 00 00
4328           00 00 00 00 00 00 00 00
4329           00 00 00 00 00 00 00 00
4330           00 21 22 23 24 25 26 27
4331           30 31 32 33 34 35 36 37
4332           40 41 42 43 44 45 46 47
4333           50 51 52 53 00 54 00 00
4334           55 56 57 60 61 62 63 64
4335           65 66 67 70 71 72 73 74
4336           75 76 77 100 101 102 103 104
4337           105 106 107 110 00 111 112 14;
4338 
4339 
4340 conversion_table: ibm3270_output_conv;
4341           07 07 07 07 07 07 07 07
4342           04 03 01 07 07 02 10 11
4343           07 07 07 07 07 07 07 07
4344           07 07 07 07 07 07 07 07
4345           00 00 00 00 00 00 00 00
4346           00 00 00 00 00 00 00 00
4347           00 00 00 00 00 00 00 00
4348           00 00 00 00 00 00 00 00
4349           00 00 00 00 00 00 00 00
4350           00 00 00 00 00 00 00 00
4351           00 00 00 00 00 00 00 00
4352           00 00 00 21 00 22 00 00
4353           23 00 00 00 00 00 00 00
4354           00 00 00 00 00 00 00 00
4355           00 00 00 00 00 00 00 00
4356           00 00 00 24 00 25 26 14;
4357 
4358 
4359 conversion_table: standard_input_conv;
4360           03 00 00 00 00 00 00 00
4361           00 00 01 00 04 00 00 00
4362           00 00 00 00 00 00 00 00
4363           00 00 00 05 00 00 00 00
4364           00 00 00 00 00 00 00 00
4365           00 00 00 00 00 00 00 00
4366           00 00 00 00 00 00 00 00
4367           00 00 00 00 00 00 00 00
4368           00 00 00 00 00 00 00 00
4369           00 00 00 00 00 00 00 00
4370           00 00 00 00 00 00 00 00
4371           00 00 00 00 02 00 00 00
4372           00 00 00 00 00 00 00 00
4373           00 00 00 00 00 00 00 00
4374           00 00 00 00 00 00 00 00
4375           00 00 00 00 00 00 00 03;
4376 
4377 
4378 conversion_table: tab_input_conv;
4379           03 00 00 00 00 00 00 00
4380           02 00 01 00 04 01 00 00
4381           00 00 00 00 00 00 00 00
4382           00 00 00 05 00 00 00 00
4383           00 00 00 00 00 00 00 00
4384           00 00 00 00 00 00 00 00
4385           00 00 00 00 00 00 00 00
4386           00 00 00 00 00 00 00 00
4387           00 00 00 00 00 00 00 00
4388           00 00 00 00 00 00 00 00
4389           00 00 00 00 00 00 00 00
4390           00 00 00 00 00 00 00 00
4391           00 00 00 00 00 00 00 00
4392           00 00 00 00 00 00 00 00
4393           00 00 00 00 00 00 00 00
4394           00 00 00 00 00 00 00 00;
4395 
4396 
4397 conversion_table: tab_output_conv;
4398           07 07 07 07 07 07 07 12
4399           04 03 01 05 06 02 10 11
4400           07 07 07 07 07 07 07 07
4401           07 12 07 13 07 07 07 07
4402           00 00 00 00 00 00 00 00
4403           00 00 00 00 00 00 00 00
4404           00 00 00 00 00 00 00 00
4405           00 00 00 00 00 00 00 00
4406           00 00 00 00 00 00 00 00
4407           00 00 00 00 00 00 00 00
4408           00 00 00 00 00 00 00 00
4409           00 00 00 00 00 00 00 00
4410           00 00 00 00 00 00 00 00
4411           00 00 00 00 00 00 00 00
4412           00 00 00 00 00 00 00 00
4413           00 00 00 00 00 00 00 00;
4414 
4415 
4416 conversion_table: tty33_output_conv;
4417           07 07 07 07 07 07 07 12
4418           21 03 01 05 06 02 10 11
4419           07 07 07 07 07 07 07 07
4420           07 07 07 07 07 07 07 07
4421           00 00 00 00 00 00 00 00
4422           00 00 00 00 00 00 00 00
4423           00 00 00 00 00 00 00 00
4424           00 00 00 00 00 00 00 00
4425           00 00 00 00 00 00 00 00
4426           00 00 00 00 00 00 00 00
4427           00 00 00 00 00 00 00 00
4428           00 00 00 00 00 00 00 00
4429           22 00 00 00 00 00 00 00
4430           00 00 00 00 00 00 00 00
4431           00 00 00 00 00 00 00 00
4432           00 00 00 23 24 25 26 14;
4433 
4434 
4435 conversion_table: tty38_output_conv;
4436           07 07 07 07 07 07 07 12
4437           21 03 01 07 06 02 10 11
4438           07 00 00 00 00 07 07 07
4439           07 07 07 07 07 07 07 07
4440           00 00 00 00 00 00 00 00
4441           00 00 00 00 00 00 00 00
4442           00 00 00 00 00 00 00 00
4443           00 00 00 00 00 00 00 00
4444           00 00 00 00 00 00 00 00
4445           00 00 00 00 00 00 00 00
4446           00 00 00 00 00 00 00 00
4447           00 00 00 00 00 00 00 00
4448           00 00 00 00 00 00 00 00
4449           00 00 00 00 00 00 00 00
4450           00 00 00 00 00 00 00 00
4451           00 00 00 00 00 00 00 14;
4452 
4453 
4454 conversion_table: vip7705_output_conv;
4455           07 07 07 07 07 07 07 12
4456           04 03 01 05 06 02 10 11
4457           07 07 07 07 07 07 07 07
4458           07 07 07 07 07 07 07 07
4459           00 00 00 00 00 00 00 00
4460           00 00 00 00 00 00 00 00
4461           00 00 00 00 00 00 00 00
4462           00 00 00 00 00 00 00 00
4463           00 00 00 00 00 00 00 00
4464           00 00 00 00 00 00 00 00
4465           00 00 00 00 00 00 00 00
4466           00 00 00 00 00 00 21 00
4467           00 00 00 00 00 00 00 00
4468           00 00 00 00 00 00 00 00
4469           00 00 00 00 00 00 00 00
4470           00 00 00 00 00 00 22 14;
4471 ^L
4472 /****************************************
4473 *                                       *
4474 *         SPECIAL TABLES                *
4475 *                                       *
4476 ****************************************/
4477 
4478 
4479 special_table: adm1_special;
4480  new_line:          CR LF;
4481  carriage_return:   CR;
4482  backspace:         BS;
4483  tab:               ;
4484  vertical_tab:      ;
4485  form_feed:         ^Z;
4486  printer_on:        ;
4487  printer_off:       ;
4488  red_shift:         ;
4489  black_shift:       ;
4490  end_of_page:       E O P;
4491  input_escapes:                                             /* <escape> <lc-alpha> -> <uc-alpha> (eg: \a -> A) */
4492           "a" "A",  "b" "B",  "c" "C",  "d" "D",  "e" "E",  "f" "F",  "g" "G",  "h" "H",  "i" "I",  "j" "J",  "k" "K",
4493           "l" "L",  "m" "M",  "n" "N",  "o" "O",  "p" "P",  "q" "Q",  "r" "R",  "s" "S",  "t" "T",  "u" "U",  "v" "V",
4494           "w" "W",  "x" "X",  "y" "Y",  "z" "Z";
4495 
4496 
4497 special_table: adm3a_kaypro_ktm3_special;
4498  new_line:          CR NL;
4499  carriage_return:   CR;
4500  backspace:         BS;
4501  tab:               ;
4502  vertical_tab:      ;
4503  form_feed:         SUB;
4504  printer_on:        ;
4505  printer_off:       ;
4506  red_shift:         ;
4507  black_shift:       ;
4508  end_of_page:       E O P;
4509 
4510 
4511 special_table: aj510_special;
4512  new_line:          CR LF;
4513  carriage_return:   CR;
4514  backspace:         BS;
4515  tab:               TAB;
4516  vertical_tab:      ;
4517  form_feed:         ;                                       /* need more than 3 characters to clear screen */
4518  printer_on:        ESC ' H;
4519  printer_off:       ESC ' F;
4520  red_shift:         ESC """" I;                             /* ESC " I */
4521  black_shift:       ESC """" N;
4522  end_of_page:       E O P;
4523 
4524 
4525 special_table: ambassador_special;
4526  new_line:          CR LF;
4527  carriage_return:   CR;
4528  backspace:         BS;
4529  tab:     HT;
4530  vertical_tab:      VT CR;
4531                     /* remaining sequences all require >3 characters */
4532  form_feed:         ;
4533  printer_on:        ;
4534  printer_off:       ;
4535  red_shift:         ;
4536  black_shift:       ;
4537  end_of_page:       E O P;
4538 
4539 
4540 special_table: ascii_special;
4541  new_line:          CR LF;
4542  carriage_return:   CR;
4543  backspace:         BS;
4544  tab:               TAB;
4545  vertical_tab:      VT CR;
4546  form_feed:         FF CR;
4547  printer_on:        ;
4548  printer_off:       ;
4549  red_shift:         ;
4550  black_shift:       ;
4551  end_of_page:       E O P;
4552 
4553 
4554 special_table: ascii_caps_special;
4555  new_line:          CR LF;
4556  carriage_return:   CR;
4557  backspace:         BS;
4558  tab:               TAB;
4559  vertical_tab:      VT CR;
4560  form_feed:         FF CR;
4561  printer_on:        ;
4562  printer_off:       ;
4563  red_shift:         ;
4564  black_shift:       ;
4565  end_of_page:       E O P;
4566 
4567  input_escapes:                                             /* <escape> <lc-alpha> -> <uc-alpha> (eg: \a -> A) */
4568           "a" "A",  "b" "B",  "c" "C",  "d" "D",  "e" "E",  "f" "F",  "g" "G",  "h" "H",  "i" "I",  "j" "J",  "k" "K",
4569           "l" "L",  "m" "M",  "n" "N",  "o" "O",  "p" "P",  "q" "Q",  "r" "R",  "s" "S",  "t" "T",  "u" "U",  "v" "V",
4570           "w" "W",  "x" "X",  "y" "Y",  "z" "Z";
4571 
4572 
4573 special_table: concept100_special;
4574  new_line:          CR LF;
4575  carriage_return:   CR;
4576  backspace:         BS;
4577  tab:               HT;
4578  vertical_tab:      VT CR;
4579  form_feed:         FF CR;
4580  printer_on:        ;
4581  printer_off:       ;
4582  red_shift:         ESC "D";
4583  black_shift:       ESC "d";
4584  end_of_page:       E O P;
4585 
4586 
4587 special_table: dd8260thf_special;
4588  new_line:          CR LF;
4589  carriage_return:   CR;
4590  backspace:         BS;
4591  tab:               TAB;
4592  vertical_tab:      VT CR;
4593  form_feed:         FF CR;
4594  printer_on:        ;
4595  printer_off:       ;
4596  red_shift:         SO ' D;
4597  black_shift:       SO ' @;
4598  end_of_page:       E O P;
4599 
4600 
4601 special_table: delta4000_special;
4602  new_line:          CR LF;
4603  carriage_return:   CR;
4604  backspace:         BS;
4605  tab:               TAB;
4606  vertical_tab:      VT CR;
4607  form_feed:         ESC U;
4608  printer_on:        ;
4609  printer_off:       ;
4610  red_shift:         ESC "_" 1;
4611  black_shift:       ESC "_" 3;
4612  end_of_page:       E O P;
4613 
4614 
4615 special_table: hazeltine1500_special;
4616  new_line:          CR LF;
4617  carriage_return:   CR;
4618  backspace:         BS;
4619  tab:               ;
4620  vertical_tab:      ;
4621  form_feed:         "~" FS;
4622  printer_on:        ;
4623  printer_off:       ;
4624  red_shift:         "~" US;
4625  black_shift:       "~" EM;
4626  end_of_page:       E O P;
4627  output_escapes:
4628      21 "\" "t";                                            /* esc t (~) */
4629  edited_output_escapes:
4630      26 "'" BS "^";                                         /*  '^ (~) */
4631  input_escapes:
4632      "t" "~",                                               /* esc t -> ~ */
4633      "T" "~";                                               /* esc T -> ~ */
4634 
4635 
4636 special_table: hazeltine1510_special;
4637  new_line:          CR NL;
4638  carriage_return:   CR;
4639  backspace:         BS;
4640  form_feed:         ESC FS;
4641  red_shift:         ESC US;
4642  black_shift:       ESC EM;
4643  end_of_page:       E O P;
4644 
4645 
4646 special_table: hp26xx_special;
4647  new_line:          CR LF;
4648  carriage_return:   CR;
4649  backspace:         BS;
4650  tab:               HT;
4651  vertical_tab:      VT CR;
4652  form_feed:         FF CR;
4653  printer_on:        ;
4654  printer_off:       ;
4655  red_shift:         ;
4656  black_shift:       ;
4657  end_of_page:       E O P;
4658 
4659 
4660 special_table: heath19_special;
4661  new_line:          CR NL;
4662  carriage_return:   CR;
4663  backspace:         BS;
4664  tab:               TAB;
4665  vertical_tab:      VT CR;
4666  form_feed:         FF CR;
4667  printer_on:        ;
4668  printer_off:       ;
4669  red_shift:         ESC p;
4670  black_shift:       ESC q;
4671  end_of_page:       E O P;
4672 
4673 
4674 special_table: heath19_ansi_special;
4675  new_line:          CR NL;
4676  carriage_return:   CR;
4677  backspace:         BS;
4678  tab:               TAB;
4679  vertical_tab:      VT CR;
4680  form_feed:         FF CR;
4681  printer_on:        ;
4682  printer_off:       ;
4683  end_of_page:       E O P;
4684 
4685 
4686 special_table: ibm3277_special;
4687  new_line:          LF NUL NUL;
4688  carriage_return:   CR NUL NUL;
4689  backspace:         BS NUL NUL;
4690  tab:               ;
4691  vertical_tab:      ;
4692  form_feed:         ;
4693  printer_on:        ;
4694  printer_off:       ;
4695  red_shift:         ;
4696  black_shift:       ;
4697  end_of_page:       E O P;
4698 
4699  output_escapes:
4700      21 "\" "<",                                            /* esc < ([) */
4701      22 "\" ">",                                            /* esc > (]) */
4702      23 "\" "'",                                            /* esc ' (`) */
4703      24 "\" "(",                                            /* esc ( ({) */
4704      25 "\" ")",                                            /* esc ) (}) */
4705      26 "\" t;                                              /* esc t (~) */
4706 
4707  edited_output_escapes:
4708      21 "\" "<",                                            /* esc < ([) */
4709      22 "\" ">",                                            /* esc > (]) */
4710      23 "\" "'",                                            /* esc ' (`) */
4711      24 "\" "(",                                            /* esc ( ({) */
4712      25 "\" ")",                                            /* esc ) (}) */
4713      26 "\" t;                                              /* esc t (~) */
4714 
4715  input_escapes:
4716      "<" "[",                                               /* esc < -> [ */
4717      ">" "]",                                               /* esc > -> ] */
4718      "'" "`",                                               /* esc ' -> ` */
4719      "(" "{",                                               /* esc ( -> { */
4720      ")" "}",                                               /* esc ) -> } */
4721      t "~",                                                 /* esc t -> ~ */
4722      T "~";                                                 /* esc T -> ~ */
4723 
4724 
4725 special_table: ibm3284_special;
4726  new_line:          LF;
4727  carriage_return:   CR;
4728  backspace:         ;
4729  tab:               ;
4730  vertical_tab:      ;
4731  form_feed:         FF;
4732  printer_on:        ;
4733  printer_off:       ;
4734  red_shift:         ;
4735  black_shift:       ;
4736  end_of_page:       ;
4737 
4738 
4739 special_table: infoton100_special;
4740  new_line:          CR NL;
4741  carriage_return:   CR;
4742  backspace:         BS;
4743  tab:               TAB;
4744  vertical_tab:      ;
4745  form_feed:         FF CR;
4746  printer_on:        ;
4747  printer_off:       ;
4748  red_shift:         ESC b;
4749  black_shift:       ESC a;
4750  end_of_page:       E O P;
4751 
4752 
4753 special_table: led120_special;
4754  new_line:          CR LF;
4755  carriage_return:   CR;
4756  backspace:         ;
4757  tab:               TAB;
4758  vertical_tab:      VT CR;
4759  form_feed:         VT CR;
4760  printer_on:        ;
4761  printer_off:       ;
4762  red_shift:         ;
4763  black_shift:       ;
4764  end_of_page:       E O P;
4765 
4766 
4767 special_table: nec5520_special;
4768  new_line:          CR LF;
4769  carriage_return:   CR;
4770  backspace:         BS;
4771  tab:               HT;
4772  vertical_tab:      VT CR;
4773  form_feed:         FF CR;
4774  printer_on:        ;
4775  printer_off:       ;
4776  red_shift:         ESC 3;
4777  black_shift:       ESC 4;
4778  end_of_page:       E O P;
4779 
4780 
4781 special_table: nec5525_special;
4782  new_line:          CR LF;
4783  carriage_return:   CR;
4784  backspace:         BS;
4785  tab:               HT;
4786  vertical_tab:      VT CR;
4787  form_feed:         FF CR;
4788  printer_on:        ;
4789  printer_off:       ;
4790  red_shift:         ESC "A";
4791  black_shift:       ESC "B";
4792  end_of_page:       E O P;
4793 
4794 
4795 special_table: remote_printer_special;
4796  new_line:          LF;
4797  carriage_return:   ;
4798  backspace:         BS;
4799  tab:               TAB;
4800  vertical_tab:      ;
4801  form_feed:         ;
4802  printer_on:        ;
4803  printer_off:       ;
4804  red_shift:         ;
4805  black_shift:       ;
4806  end_of_page:       ;
4807 
4808  output_escapes:
4809      21 "\" "A",                                            /* unable to print lowecase -- use uppercase */
4810      22 "\" "B",     23 "\" "C",     24 "\" "D",     25 "\" "E",     26 "\" "F",     27 "\" "G",     30 "\" "H",     31 "\" "I",
4811      32 "\" "J",     33 "\" "K",     34 "\" "L",     35 "\" "M",     36 "\" "N",     37 "\" "O",     40 "\" "P",     41 "\" "Q",
4812      42 "\" "R",     43 "\" "S",     44 "\" "T",     45 "\" "U",     46 "\" "V",     47 "\" "W",     50 "\" "X",     51 "\" "Y",
4813      52 "\" "Z",
4814      53 "\" "<",                                            /* esc < ([) */
4815      54 "\" ">",                                            /* esc > (]) */
4816      55 "\" "'",                                            /* esc ' (`) */
4817      56 "A",     57 "B",     60 "C",     61 "D",     62 "E",     63 "F",     64 "G",     65 "H",     66 "I",
4818      67 "J",     70 "K",     71 "L",     72 "M",     73 "N",     74 "O",     75 "P",     76 "Q",     77 "R",
4819      100 "S",   101 "T",    102 "U",    103 "V",    104 "W",    105 "X",    106 "Y",    107 "Z",
4820      110 "\" "(",                                           /* esc ( ({) */
4821      111 "\" ")",                                           /* esc ) (}) */
4822      112 "\" "t";                                           /* esc t (~) */
4823  edited_output_escapes:
4824      21 "A",                                                /* in edited mode ignore case differences */
4825      22 "B",     23 "C",     24 "D",     25 "E",     26 "F",     27 "G",     30 "H",     31 "I",     32 "J",     33 "K",
4826      34 "L",     35 "M",     36 "N",     37 "O",     40 "P",     41 "Q",     42 "R",     43 "S",     44 "T",     45 "U",
4827      46 "V",     47 "W",     50 "X",     51 "Y",     52 "Z",
4828      53 "\" "<",                                            /* esc < ([) */
4829      54 "\" ">",                                            /* esc > (]) */
4830      55 "\" "'",                                            /* esc ' (`) */
4831      56 "A",     57 "B",     60 "C",     61 "D",     62 "E",     63 "F",     64 "G",     65 "H",     66 "I",
4832      67 "J",     70 "K",     71 "L",     72 "M",     73 "N",     74 "O",     75 "P",     76 "Q",     77 "R",
4833      100 "S",   101 "T",    102 "U",    103 "V",    104 "W",    105 "X",    106 "Y",    107 "Z",
4834      110 "\" "(",                                           /* esc ( ({) */
4835      111 "\" ")",                                           /* esc ) (}) */
4836      112 "\" "t";                                           /* esc t (~) */
4837 
4838 
4839 special_table: tab_special;
4840  new_line:          CR LF;
4841  carriage_return:   CR;
4842  backspace:         BS;
4843  tab:               TAB;
4844  vertical_tab:      VT;
4845  form_feed:         FF;
4846  printer_on:        ;
4847  printer_off:       ;
4848  red_shift:         ;
4849  black_shift:       ;
4850  end_of_page:       E O P;
4851 
4852 
4853 special_table: tdv2220_special;
4854  new_line:          CR LF;
4855  carriage_return:   CR;
4856  backspace:         BS;
4857  tab:               TAB;
4858  vertical_tab:      ;
4859  form_feed:         ;
4860  printer_on:        ;
4861  printer_off:       ;
4862  red_shift:         ;
4863  black_shift:       ;
4864  end_of_page:       E O P;
4865 
4866 
4867 special_table: tek4013_special;
4868  new_line:          CR LF;
4869  carriage_return:   CR;
4870  backspace:         BS;
4871  tab:               TAB;
4872  vertical_tab:      VT CR;
4873  form_feed:         ESC FF;
4874  printer_on:        ;
4875  printer_off:       ;
4876  red_shift:         ;
4877  black_shift:       ;
4878  end_of_page:       E O P;
4879 
4880 
4881 special_table: ti765_special;
4882  new_line:          CR LF;
4883  carriage_return:   CR;
4884  backspace:         BS;
4885  tab:               TAB;
4886  vertical_tab:      VT CR;
4887  form_feed:         FF CR;
4888  printer_on:        ESC 8;
4889  printer_off:       ESC 9;
4890  red_shift:         ;
4891  black_shift:       ;
4892  end_of_page:       E O P;
4893 
4894 
4895 special_table: tn300_special;
4896  new_line:          CR LF;
4897  carriage_return:   CR;
4898  backspace:         BS;
4899  tab:               TAB;
4900  vertical_tab:      VT CR;
4901  form_feed:         FF CR;
4902  printer_on:        ESC ":";
4903  printer_off:       ESC ";";
4904  red_shift:         ;
4905  black_shift:       ;
4906  end_of_page:       E O P;
4907 
4908 
4909 special_table: tty33_special;
4910  new_line:          CR LF;
4911  carriage_return:   CR;
4912  backspace:         ;
4913  tab:               TAB;
4914  vertical_tab:      VT CR;
4915  form_feed:         FF CR;
4916  printer_on:        ;
4917  printer_off:       ;
4918  red_shift:         ;
4919  black_shift:       ;
4920  end_of_page:       E O P;
4921 
4922  output_escapes:
4923      21 "\" "-",                                            /* esc - (bs) */
4924      22 "\" "'",                                            /* esc ' (`) */
4925      23 "\" "(",                                            /* esc ( ({) */
4926      24 "\" "!",                                            /* esc ! (|) */
4927      25 "\" ")",                                            /* esc ) (}) */
4928      26 "\" "=";                                            /* esc = (~) */
4929 
4930  edited_output_escapes:
4931      21 ,                                                   /*  (bs) */
4932      22 "'",                                                /*  ' (`) */
4933      23 "(",                                                /*  ( ({) */
4934      24 "!",                                                /*  ! (|) */
4935      25 ")",                                                /*  ) (}) */
4936      26 "=";                                                /*  = (~) */
4937 
4938  input_escapes:                                             /* <escape> <lc-alpha> -> <uc-alpha> (eg: \a -> A) */
4939           "a" "A",  "b" "B",  "c" "C",  "d" "D",  "e" "E",  "f" "F",  "g" "G",  "h" "H",  "i" "I",  "j" "J",  "k" "K",
4940           "l" "L",  "m" "M",  "n" "N",  "o" "O",  "p" "P",  "q" "Q",  "r" "R",  "s" "S",  "t" "T",  "u" "U",  "v" "V",
4941           "w" "W",  "x" "X",  "y" "Y",  "z" "Z",
4942           "-" BS,                                           /* esc - -> backspace */
4943           """" "^",                                         /* esc " -> ^ */
4944           "'" "`",                                          /* esc ' -> ` */
4945           "(" "{",                                          /* esc ( -> { */
4946           ")" "}",                                          /* esc ) -> } */
4947           "=" "~",                                          /* esc = -> ~ */
4948           "!" "|";                                          /* esc ! -> | */
4949 
4950 
4951 special_table: tty37_special;
4952  new_line:          CR LF;
4953  carriage_return:   CR;
4954  backspace:         BS;
4955  tab:               TAB;
4956  vertical_tab:      VT CR;
4957  form_feed:         FF CR;
4958  printer_on:        ESC ";";
4959  printer_off:       ESC ":";
4960  red_shift:         ESC 3;
4961  black_shift:       ESC 4;
4962  end_of_page:       E O P;
4963 
4964 
4965 special_table: tty38_special;
4966  new_line:          CR LF;
4967  carriage_return:   CR;
4968  backspace:         ;
4969  tab:               ;
4970  vertical_tab:      ;
4971  form_feed:         FF CR;
4972  printer_on:        ;
4973  printer_off:       ;
4974  red_shift:         ESC 3;
4975  black_shift:       ESC 4;
4976  end_of_page:       E O P;
4977 
4978  output_escapes:
4979      21 "\" "-";                                            /* bs -> esc - */
4980 
4981  edited_output_escapes:
4982      21 ;                                                   /* skip bs in edited */
4983 
4984 
4985 special_table: tvi912_tvi920_special;
4986  new_line:          CR NL;
4987  carriage_return:   CR;
4988  backspace:         BS;
4989  tab:               TAB;
4990  vertical_tab:      ;
4991  form_feed:         ^Z CR;
4992  printer_on:        ;
4993  printer_off:       ;
4994  red_shift:         ESC j;
4995  black_shift:       ESC k;
4996  end_of_page:       E O P;
4997 
4998 
4999 special_table: tvi950_special;
5000  new_line:          CR LF;
5001  carriage_return:   CR;
5002  backspace:         BS;
5003  tab:               TAB;
5004  vertical_tab:      ;
5005  form_feed:         ^Z CR;
5006  printer_on:        ;
5007  printer_off:       ;
5008  red_shift:         ESC G 4;
5009  black_shift:       ESC G 0;
5010  end_of_page:       E O P;
5011 
5012 
5013 special_table: vip7200_special;
5014  new_line:          CR LF;
5015  carriage_return:   CR;
5016  backspace:         BS;
5017  tab:               TAB;
5018  vertical_tab:      VT CR;
5019  form_feed:         ESC "`";
5020  printer_on:        ;
5021  printer_off:       ;
5022  red_shift:         ;
5023  black_shift:       ;
5024  end_of_page:       E O P;
5025 
5026  input_escapes:                                             /* <escape> <lc-alpha> -> <uc-alpha> (eg: \a -> A) */
5027           "a" "A",  "b" "B",  "c" "C",  "d" "D",  "e" "E",  "f" "F",  "g" "G",  "h" "H",  "i" "I",  "j" "J",  "k" "K",
5028           "l" "L",  "m" "M",  "n" "N",  "o" "O",  "p" "P",  "q" "Q",  "r" "R",  "s" "S",  "t" "T",  "u" "U",  "v" "V",
5029           "w" "W",  "x" "X",  "y" "Y",  "z" "Z";
5030 
5031 
5032 special_table: vip7201_special;
5033  new_line:          CR LF;
5034  carriage_return:   CR;
5035  backspace:         BS;
5036  tab:               HT;
5037  vertical_tab:      VT CR;
5038  form_feed:         ESC "`";
5039  printer_on:        ESC d;
5040  printer_off:       ESC b;
5041  red_shift:         ESC 4;
5042  black_shift:       ESC 3;
5043  end_of_page:       E O P;
5044 
5045 
5046 special_table: vip7205_special;
5047  new_line:          CR LF;
5048  carriage_return:   CR;
5049  backspace:         BS;
5050  tab:               TAB;
5051  vertical_tab:      VT CR;
5052  form_feed:         ESC "`";
5053  printer_on:        ;
5054  printer_off:       ;
5055  red_shift:         ;
5056  black_shift:       ;
5057  end_of_page:       E O P;
5058 
5059 
5060 special_table: vip7705_special;
5061  new_line:          CR LF;
5062  carriage_return:   CR;
5063  backspace:         ESC D;
5064  tab:               TAB;
5065  vertical_tab:      VT CR;
5066  form_feed:         ESC "`";
5067  printer_on:        NUL;
5068  printer_off:       "~";
5069  red_shift:         ;
5070  black_shift:       ;
5071  end_of_page:       E O P;
5072 
5073  input_escapes:
5074      h TAB,                                                 /* esc h -> HT (horizontal tab) */
5075      "-" "^",                                               /* esc - -> ^ */
5076      "=" "~";                                               /* esc = -> ~ */
5077 
5078  output_escapes:
5079      21 "\" "-",                                            /* ^ -> \- (prevents blinking) */
5080      22 "\" "=";                                            /* ~ -> \= (prevents blanking) */
5081 
5082  edited_output_escapes:
5083      21 "-",
5084      22 "=";
5085 
5086 
5087 special_table: vip7760_special;
5088  new_line:          CR LF;
5089  carriage_return:   CR;
5090  backspace:         ESC D;
5091  tab:               TAB;
5092  vertical_tab:      VT CR;
5093  form_feed:         ESC "`";
5094  printer_on:        NUL;
5095  printer_off:       "~";
5096  red_shift:         ;
5097  black_shift:       ;
5098  end_of_page:       E O P;
5099 
5100  input_escapes:
5101      h TAB,                                                 /* esc h -> HT (horizontal tab) */
5102      "-" "^",                                               /* esc - -> ^ */
5103      "=" "~";                                               /* esc = -> ~ */
5104 
5105  output_escapes:
5106      21 "^" SP,                                             /* ^ -> ^ space (prevents blinking) */
5107      22 "~" SP;                                             /* ~ -> ~ space (prevents blanking) */
5108 
5109  edited_output_escapes:
5110      21 "^" SP,
5111      22 "~" SP;
5112 
5113 
5114 special_table: vip7801_special;
5115  new_line:          CR NL;
5116  carriage_return:   CR;
5117  backspace:         BS;
5118  tab:               TAB;
5119  vertical_tab:      VT CR;
5120  form_feed:         ESC "`";
5121  printer_on:        ESC l;
5122  printer_off:       ESC m;
5123  red_shift:         ESC s I;
5124  black_shift:       ESC s R;
5125  end_of_page:       E O P;
5126 
5127 
5128 special_table: vip7x03_special;
5129  new_line:          CR NL;
5130  carriage_return:   CR;
5131  backspace:         BS;
5132  tab:               TAB;
5133  vertical_tab:      VT CR;
5134  form_feed:         ESC "`";
5135  printer_on:        ESC l;
5136  printer_off:       ESC m;
5137  red_shift:         ESC s I;
5138  black_shift:       ESC s R;
5139  end_of_page:       E O P;
5140  input_escapes:
5141           "'" "`",                                          /* esc ' -> ` */
5142           "(" "{",                                          /* esc ( -> { */
5143           ")" "}",                                          /* esc ) -> } */
5144           "!" "|";                                          /* esc ! -> | */
5145 
5146 
5147 special_table: vip7804_special;
5148  new_line:          CR NL;
5149  carriage_return:   CR;
5150  backspace:         BS;
5151  tab:               TAB;
5152  vertical_tab:      VT CR;
5153  form_feed:         ESC "`";
5154  printer_on:        ESC s r;
5155  printer_off:       ESC s h;
5156  red_shift:         ESC s I;
5157  black_shift:       ESC s R;
5158  end_of_page:       E O P;
5159 
5160 
5161 special_table: wy50_special;
5162  new_line:          CR LF;
5163  carriage_return:   CR;
5164  backspace:         BS;
5165  tab:               TAB;
5166  vertical_tab:      ;
5167  form_feed:         RS ESC "Y";
5168  printer_on:        ;
5169  printer_off:       ;
5170  red_shift:         ESC "G" "<";
5171  black_shift:       ESC "G" "0";
5172  end_of_page:       E O P;
5173 
5174 
5175 special_table: xerox820_special;
5176  new_line:          CR NL;
5177  carriage_return:   CR;
5178  backspace:         BS;
5179  tab:               TAB;
5180  vertical_tab:      VT;
5181  form_feed:         ^Z;
5182  printer_on:        ;
5183  printer_off:       ;
5184  red_shift:         ;
5185  black_shift:       ;
5186  end_of_page:       E O P;
5187 ^L
5188 /****************************************
5189 *                                       *
5190 *         FUNCTION KEY DEFINITIONS      *
5191 *                                       *
5192 ****************************************/
5193 
5194 
5195 function_key_table: aj520_function_keys;
5196  home:    ESC "[H";
5197  left:    ESC "[D";
5198  right:   ESC "[C";
5199  up:      ESC "[A";
5200  key(1):  ESC "OH", ESC "OT";
5201  key(2):  ESC "OI", ESC "OU";
5202  key(3):  ESC "OJ", ESC "OV";
5203  key(4):  ESC "OK", ESC "OW";
5204  key(5):  ESC "OL", ESC "OX";
5205  key(6):  ESC "OM", ESC "OY";
5206  key(7):  ESC "ON", ESC "OZ";
5207  key(8):  ESC "OO", ESC "O]";
5208 
5209 
5210 function_key_table: dd8260thf_function_keys;
5211  home:    212;                                              /* an 8-bit code:   8/10 */
5212  right:   252;                                              /* an 8-bit code:  10/10 */
5213  left:    253;                                              /* an 8-bit code:  10/11 */
5214  up:      254;                                              /* an 8-bit code:  10/12 */
5215  down:    255;                                              /* an 8-bit code:  10/13 */
5216  key(1):  RS "1", RS US "1";                                /* F1 and CTRL-numpad-1 */
5217  key(2):  RS "2", RS US "2";                                /* F2 ... */
5218  key(3):  RS "3", RS US "3";
5219  key(4):  RS "4", RS US "4";
5220  key(5):  RS "5", RS US "5";
5221  key(6):  RS "6", RS US "6";
5222  key(7):  RS "7", RS US "7";
5223  key(8):  RS "8", RS US "8";
5224  key(9):  RS "9", RS US "9";
5225  key(10): RS "0", RS US "0";                                /* F10 and CTRL-numpad-0 */
5226  key(11): RS TAB, RS US TAB;                                /* F11 and CTRL-numpad-TAB */
5227  key(12): RS ".", RS US ".";                                /* F12 and CTRL-numpad-. */
5228 
5229 
5230 function_key_table: dg132b_function_keys;
5231  home:    ESC T;
5232  left:    BS;
5233  right:   ESC L;
5234  up:      ESC K;
5235  down:    ESC M;
5236  key(1):  ESC a;
5237  key(2):  ESC b;
5238  key(3):  ESC c;
5239  key(4):  ESC d;
5240  key(5):  ESC e;
5241  key(6):  ESC f;
5242  key(7):  ESC g;
5243  key(8):  ESC h;
5244  key(9):  ESC i;
5245  key(10): ESC j;
5246  key(11): ESC k;
5247  key(12): ESC l;
5248 
5249 
5250 function_key_table: dku7102_function_keys;
5251  home:    ESC "[H";
5252  left:    ESC "[D";
5253  right:   ESC "[C";
5254  up:      ESC "[A";
5255  down:    ESC "[B";
5256  key (1): ESC "[1u" ETB;
5257  key (2): ESC "[2u" ETB;
5258  key (3): ESC "[3u" ETB;
5259  key (4): ESC "[4u" ETB;
5260  key (5): ESC "[5u" ETB;
5261  key (6): ESC "[6u" ETB;
5262  key (7): ESC "[7u" ETB;
5263  key (8): ESC "[8u" ETB;
5264 
5265 
5266 function_key_table: heath19_function_keys;
5267  home:    ESC H;
5268  left:    ESC D;
5269  right:   ESC C;
5270  up:      ESC A;
5271  down:    ESC B;
5272  key(1):  ESC S;
5273  key(2):  ESC T;
5274  key(3):  ESC U;
5275  key(4):  ESC V;
5276  key(5):  ESC W;
5277  key(6):  ESC P;
5278  key(7):  ESC Q;
5279  key(8):  ESC R;
5280 
5281 
5282 function_key_table: heath19_ansi_function_keys;
5283  home:    ESC "[H";
5284  left:    ESC "[D";
5285  right:   ESC "[C";
5286  up:      ESC "[A";
5287  down:    ESC "[B";
5288  key(1):  ESC "OS";
5289  key(2):  ESC "OT";
5290  key(3):  ESC "OU";
5291  key(4):  ESC "OV";
5292  key(5):  ESC "OW";
5293  key(6):  ESC "OP";
5294  key(7):  ESC "OQ";
5295  key(8):  ESC "OR";
5296 
5297 
5298 function_key_table: hp26xx_function_keys;
5299  home:    ESC H;
5300  left:    ESC D;
5301  right:   ESC C;
5302  up:      ESC A;
5303  down:    ESC B;
5304  key(1):  ESC p;
5305  key(2):  ESC q;
5306  key(3):  ESC r;
5307  key(4):  ESC s;
5308  key(5):  ESC t;
5309  key(6):  ESC u;
5310  key(7):  ESC v;
5311  key(8):  ESC w;
5312 
5313 
5314 function_key_table: mowse_function_keys;
5315  key(1):  ESC 0;
5316  key(2):  ESC 2;
5317  key(3):  ESC 6;
5318  key(4):  ESC 8;
5319  key(5):  ESC ":";
5320  key(6):  ESC "<";
5321  key(7):  ESC ">";
5322  key(8):  ESC P;
5323  key(9):  ESC R;
5324  key(10): ESC T;
5325  key(11): ESC 1;
5326  key(12): ESC 5;
5327 
5328 
5329 function_key_table: tab_function_keys;
5330  home:    ESC "[H";
5331  left:    ESC "[D";
5332  right:   ESC "[C";
5333  up:      ESC "[A";
5334  down:    ESC "[B";
5335  key(1):  ESC "?";
5336  key(2):  ESC "f";
5337  key(3):  ESC "p";
5338  key(4):  ESC "q";
5339  key(5):  ESC "r";
5340  key(6):  ESC "l";
5341  key(7):  ESC "h";
5342  key(8):  ESC "e";
5343 
5344 
5345 function_key_table: tdv2220_function_keys;
5346  home:    ESC "[H";
5347  left:    ESC "[D";
5348  right:   ESC "[C";
5349  up:      ESC "[A";
5350  down:    ESC "[B";
5351  key(1):  ESC 1;
5352  key(2):  ESC 2;
5353  key(3):  ESC 3;
5354  key(4):  ESC 4;
5355  key(5):  ESC 5;
5356  key(6):  ESC 6;
5357  key(7):  ESC 7;
5358  key(8):  ESC 8;
5359 
5360 
5361 function_key_table: tek4107_ansi_function_keys;
5362  left:    ESC "[" C, ESC "[" C, ESC "[" C, ESC "[" C;
5363  right:   ESC "[" D, ESC "[" D, ESC "[" D, ESC "[" D;
5364  up:      ESC "[" A, ESC "[" A, ESC "[" A, ESC "[" A;
5365  down:    ESC "[" B, ESC "[" B, ESC "[" B, ESC "[" B;
5366  key(1):  ESC "OP",  ESC "OP",  ESC "OP",  ESC "OP";
5367  key(2):  ESC "OQ",  ESC "OQ",  ESC "OQ",  ESC "OQ";
5368  key(3):  ESC "OR",  ESC "OR",  ESC "OR",  ESC "OR";
5369  key(4):  ESC "OS",  ESC "OS",  ESC "OS",  ESC "OS";
5370 
5371 
5372 function_key_table: teleray7_function_keys;
5373  left:    ESC "[D", ESC "[D", ESC "[D", ESC "[D";
5374  right:   ESC "[C", ESC "[C", ESC "[C", ESC "[C";
5375  up:      ESC "[A", ESC "[A", ESC "[A", ESC "[A";
5376  down:    ESC "[B", ESC "[B", ESC "[B", ESC "[B";
5377  key(1):  ESC "OP", ESC "OP", ESC "OP", ESC "OP";
5378  key(2):  ESC "OQ", ESC "OQ", ESC "OQ", ESC "OQ";
5379  key(3):  ESC "OR", ESC "OR", ESC "OR", ESC "OR";
5380  key(4):  ESC "OS", ESC "OS", ESC "OS", ESC "OS";
5381  key(5):  ESC "OT", ESC "OT", ESC "OT", ESC "OT";
5382 
5383 
5384 function_key_table: ti940_function_keys;
5385  home:    ESC H;
5386  left:    ESC D;
5387  right:   ESC C;
5388  up:      ESC A;
5389  down:    ESC B;
5390  key(1):  ESC i 1;
5391  key(2):  ESC i 2;
5392  key(3):  ESC i 3;
5393  key(4):  ESC i 4;
5394  key(5):  ESC i 5;
5395  key(6):  ESC i 6;
5396  key(7):  ESC i 7;
5397  key(8):  ESC i 8;
5398  key(9):  ESC i 9;
5399  key(10): ESC i ":";
5400  key(11): ESC i ";";
5401  key(12): ESC i "<";
5402  key(13): ESC i "=";
5403  key(14): ESC i ">";
5404  key(15): ESC i "?";
5405  key(16): ESC i "@";
5406  key(17): ESC i A;
5407  key(18): ESC i B;
5408  key(19): ESC i C;
5409  key(20): ESC i D;
5410  key(21): ESC i E;
5411  key(22): ESC i F;
5412  key(23): ESC i G;
5413  key(24): ESC i H;
5414 
5415 
5416 function_key_table: tvi920_function_keys;
5417  home:    RS;
5418  left:    BS;
5419  right:   FF;
5420  up:      VT;
5421  down:    LF;
5422  key(1):  SOH "@" CR, SOH ` CR;
5423  key(2):  SOH A CR,   SOH a CR;
5424  key(3):  SOH B CR,   SOH b CR;
5425  key(4):  SOH C CR,   SOH c CR;
5426  key(5):  SOH D CR,   SOH d CR;
5427  key(6):  SOH E CR,   SOH e CR;
5428  key(7):  SOH F CR,   SOH f CR;
5429  key(8):  SOH G CR,   SOH g CR;
5430  key(9):  SOH H CR,   SOH h CR;
5431  key(10): SOH I CR,   SOH i CR;
5432  key(11): SOH J CR,   SOH j CR;
5433 
5434 
5435 function_key_table: tvi950_function_keys;
5436  home:    RS;
5437  left:    BS;
5438  right:   FF;
5439  up:      VT;
5440  down:    SYN;
5441  key(1):  SOH "@" CR, SOH ` CR;
5442  key(2):  SOH A CR,   SOH a CR;
5443  key(3):  SOH B CR,   SOH b CR;
5444  key(4):  SOH C CR,   SOH c CR;
5445  key(5):  SOH D CR,   SOH d CR;
5446  key(6):  SOH E CR,   SOH e CR;
5447  key(7):  SOH F CR,   SOH f CR;
5448  key(8):  SOH G CR,   SOH g CR;
5449  key(9):  SOH H CR,   SOH h CR;
5450  key(10): SOH I CR,   SOH i CR;
5451  key(11): SOH J CR,   SOH j CR;
5452 
5453 
5454 function_key_table: vip720x_function_keys;
5455  home:    ESC H;
5456  left:    ESC D;
5457  right:   ESC C;
5458  up:      ESC A;
5459  down:    ESC B;
5460  key (1): ESC 0,    ESC 1;
5461  key (2): ESC 2,    ESC 5;
5462  key (3): ESC 6,    ESC 7;
5463  key (4): ESC 8,    ESC 9;
5464  key (5): ESC ":",  ESC ";";
5465  key (6): ESC "<",  ESC "=";
5466  key (7): ESC ">",  ESC "?";
5467 
5468 
5469 function_key_table: vip7801_function_keys;
5470  home:    ESC H;
5471  left:    ESC D;
5472  right:   ESC C;
5473  up:      ESC A;
5474  down:    ESC B;
5475  key(0):  ESC E,    ESC `,    ESC C;
5476  key(1):  ESC 0,    ESC 1;
5477  key(2):  ESC 2,    ESC 5;
5478  key(3):  ESC 6,    ESC 7;
5479  key(4):  ESC 8,    ESC 9;
5480  key(5):  ESC ":",  ESC ";";
5481  key(6):  ESC "<",  ESC =;
5482  key(7):  ESC ">",  ESC ?;
5483  key(8):  ESC P,    ESC Q;
5484  key(9):  ESC R,    ESC S;
5485  key(10): ESC T,    ESC V;
5486  key(11): ESC \,    ESC ];
5487  key(12): ESC ^,    ESC _;
5488 
5489 
5490 function_key_table: vip7x03_function_keys;
5491  home:    ESC H,    ESC "[H";
5492  left:    ESC D,    ESC o;
5493  right:   ESC C,    ESC u;
5494  up:      ESC A,    ESC "!";
5495  down:    ESC B,    ESC """";
5496  key(0):  ESC 5,    ESC 1;                                  /* MENU */
5497  key(1):  ESC e,    ESC "`",  ESC C;                        /* CLEAR */
5498  key(2):  ESC 2,    ESC 0;                                  /* SIGN OFF */
5499  key(3):  ESC K,    ESC J;                                  /* ERASE */
5500  key(4):  ESC 8,    ESC 9;                                  /* DSPLY MSG */
5501  key(5):  ESC ":",  ESC ";";                                /* SEND MSG */
5502  key(6):  ESC 6,    ESC 7;                                  /* HELP */
5503  key(7):  ESC ">",  ESC ?;                                  /* INDENT */
5504  key(8):  ESC P,    ESC Q;                                  /* CENTER */
5505  key(9):  ESC R,    ESC S;                                  /* DEC TAB */
5506  key(10): ESC T,    ESC V;                                  /* SUPER SUB */
5507  key(11): ESC \,    ESC ];                                  /* MERGE */
5508  key(12): ESC ^,    ESC "_";                                /* FORMAT */
5509  key(13): ESC i,    ESC i;                                  /* EXECUTE */
5510  key(14): ESC "#",  ESC $;                                  /* PAGE */
5511  key(15): ESC %,    ESC &;                                  /* NOTE */
5512  key(16): ESC "'",  ESC "(";                                /* STOP */
5513 
5514 
5515 function_key_table: vt1xx_function_keys;
5516  left:    ESC "[" D, ESC "[" D, ESC "[" D, ESC "[" D;
5517  right:   ESC "[" C, ESC "[" C, ESC "[" C, ESC "[" C;
5518  up:      ESC "[" A, ESC "[" A, ESC "[" A, ESC "[" A;
5519  down:    ESC "[" B, ESC "[" B, ESC "[" B, ESC "[" B;
5520  key(1):  ESC "OP",  ESC "OP",  ESC "OP",  ESC "OP";
5521  key(2):  ESC "OQ",  ESC "OQ",  ESC "OQ",  ESC "OQ";
5522  key(3):  ESC "OR",  ESC "OR",  ESC "OR",  ESC "OR";
5523  key(4):  ESC "OS",  ESC "OS",  ESC "OS",  ESC "OS";
5524 
5525 
5526 function_key_table: wy50_80c_function_keys;
5527  home:    RS;
5528  left:    BS;
5529  right:   FF;
5530  up:      VT;
5531  down:    LF;
5532  key(1):  SOH "@" CR, SOH "`" CR;
5533  key(2):  SOH A CR,   SOH a CR;
5534  key(3):  SOH B CR,   SOH b CR;
5535  key(4):  SOH C CR,   SOH c CR;
5536  key(5):  SOH D CR,   SOH d CR;
5537  key(6):  SOH E CR,   SOH e CR;
5538  key(7):  SOH F CR,   SOH f CR;
5539  key(8):  SOH G CR,   SOH g CR;
5540 
5541 
5542 function_key_table: wy50_132c_function_keys;
5543  home:    RS;
5544  left:    BS;
5545  right:   FF;
5546  up:      VT;
5547  down:    LF;
5548  key(1):  SOH "@" CR, SOH ` CR;
5549  key(2):  SOH A CR,   SOH a CR;
5550  key(3):  SOH B CR,   SOH b CR;
5551  key(4):  SOH C CR,   SOH c CR;
5552  key(5):  SOH D CR,   SOH d CR;
5553  key(6):  SOH E CR,   SOH e CR;
5554  key(7):  SOH F CR,   SOH f CR;
5555  key(8):  SOH G CR,   SOH g CR;
5556  key(9):  SOH H CR,   SOH h CR;
5557  key(10): SOH I CR,   SOH i CR;
5558  key(11): SOH J CR,   SOH j CR;
5559  key(12): SOH K CR,   SOH k CR;
5560  key(13): SOH L CR,   SOH l CR;
5561  key(14): SOH M CR,   SOH m CR;
5562  key(15): SOH N CR,   SOH n CR;
5563  key(16): SOH O CR,   SOH o CR;
5564 
5565 
5566 function_key_table: xerox820_function_keys;
5567  left:    004;
5568  right:   003;
5569  up:      001;
5570  down:    002;
5571 
5572 end;