home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / kermit23.zip / MSVIBM.VT < prev    next >
Text File  |  1990-02-06  |  48KB  |  846 lines

  1.             VT320/VT102/VT52/Heath-19 Emulator in MS Kermit/IBM-PC  22 June 89
  2.                                  Code Summary
  3.  
  4.            VT320/VT102 keypads          Heath-19 and VT52 Keypads
  5.               IBM keys                      IBM Keys
  6.    +------+------+------+------+  +------+------+-------+----------+
  7.    ]  PF1 ]  PF2 ]  PF3 ]  PF4 ]  ] Blue ]  Red ]  Grey ] up arrow ]  Vendor
  8.    ]  F1  ]  F2  ]  F3  ]  F4  ]  ]  F1  ]  F2  ]  F3   ] up arrow ]  Kermit
  9.    +------+------+------+------+  +------+------+-------+----------+
  10.    ]  7   ]  8   ]  9   ]  -   ]  ]  7   ]  8   ]  9    ]down arrow]
  11.    ]  F5  ]  F6  ]  F7  ]  F8  ]  ]  F5  ]  F6  ]  F7   ]down arrow]
  12.    +------+------+------+------+  +------+------+-------+----------+
  13.    ]  4   ]  5   ]  6   ]  ,   ]  ]  4   ]  5   ]  6    ] rgt arrow]
  14.    ]  F9  ]  F10 ]  SF1 ]  SF2 ]  ]  F9  ]  F10 ]  SF1  ] rgt arrow]
  15.    +------+------+------+------+  +------+------+-------+----------+
  16.    ]  1   ]  2   ]  3   ]  E   ]  ]  1   ]  2   ]  3    ]left arrow]
  17.    ]  SF3 ]  SF4 ]  SF5 ]  n  S]  ]  SF3 ]  SF4 ]  SF5  ]left arrow]
  18.    +------+------+------+  t  F]  +------+------+-------+----------+
  19.    ]  0------0   ]  .   ]  e  6]  ]  0------0   ]  .    ]  Enter   ]
  20.    ]   SF7       ]  SF8 ]  r   ]  ]  SF7        ]  SF8  ]  SF6     ]
  21.    +-------------+------+------+  +-------------+-------+----------+
  22.  
  23. SF1 means push Shift and F1 keys simultaneously
  24. ---------------------------------------------------------------------------
  25. Below, the acronyms CSI and SS3 stand for 8-bit control codes in an 8-bit
  26. environment or for their 7-bit equivalents "ESC ╒" and "ESC O", respectively.
  27. Command SET TERMINAL CONTROL {8-BIT ] 7-BIT}, and an equivalent command from
  28. the host, determines the usage for output text; use of parity forces 7-bit
  29. mode. CSI is decimal 155, SS3 is decimal 143. Similarly, DCS is decimal 144
  30. or ESC P and ST is decimal 156 or ESC \.
  31. ---------------------------------------------------------------------------
  32. Codes set by DEC and Heath arrow keys
  33. Key             Verb    IBM     VT320/VT102 mode        VT52/H19 mode
  34.                         key     Cursor  Application     Cursor or Application
  35.  
  36. up              uparr   up      CSI A   SS3 A           ESC A
  37. down            dnarr   down    CSI B   SS3 B           ESC B
  38. right           rtarr   right   CSI C   SS3 C           ESC C
  39. left            lfarr   left    CSI D   SS3 D           ESC D
  40.  
  41. Codes sent by DEC editing keys, not preassigned to keys.
  42. Key             Verb            VT320 mode              VT102/VT52/H19 mode
  43.  
  44. Find            decFind         CSI 1 ~                 these keys
  45. Insert Here     decInsert       CSI 2 ~                  send nothing
  46. Remove          decRemove       CSI 3 ~
  47. Select          decSelect       CSI 4 ~
  48. Prev Screen     decPrev         CSI 5 ~
  49. Next Screen     decNext         CSI 6 ~                 ~ is ascii chart 7/14
  50.  
  51. Codes sent by DEC Numeric Keypad
  52. Key             Verb    IBM     ANSI VT320/VT102 mode   VT52/H19 mode
  53.                         key     Numeric Application     Numeric Application
  54.  
  55. PF1/HF7/Blue   Gold,pf1 F1      SS3 P   SS3 P           ESC P   ESC P
  56. PF2/HF8/Red     pf2     F2      SS3 Q   SS3 Q           ESC Q   ESC Q
  57. PF3/HF9/Grey    pf3     F3      SS3 R   SS3 R           ESC R   ESC R
  58. PF4/HF1         pf4     F4      SS3 S   SS3 S           ESC S   ESC S
  59. 0               kp0     SF7     0       SS3 p           0       ESC ? p
  60. 1               kp1     SF3     1       SS3 q           1       ESC ? q
  61. 2               kp2     SF4     2       SS3 r           2       ESC ? r
  62. 3               kp3     SF5     3       SS3 s           3       ESC ? s
  63. 4               kp4     F9      4       SS3 t           4       ESC ? t
  64. 5               kp5     F10     5       SS3 u           5       ESC ? u
  65. 6               kp6     SF1     6       SS3 v           6       ESC ? v
  66. 7               kp7     F5      7       SS3 w           7       ESC ? w
  67. 8               kp8     F6      8       SS3 x           8       ESC ? x
  68. 9               kp9     F7      9       SS3 y           9       ESC ? y
  69. comma (,)       kpcoma  SF2     ,       SS3 l           ,       ESC ? l
  70. minus (-)       kpminus F8      -       SS3 m           -       ESC ? m
  71. period (.)      kpdot   SF8     .       SS3 n           .       ESC ? n
  72. Enter           kpenter SF6     CR or   SS3 M           CR or   ESC ? M
  73.                                 CR LF   (newline on)    CR LF
  74.  (SFn means hold down Shift key while pressing Function key n.)
  75.  
  76. Codes sent by DEC LK201 keyboard function keys, not preassigned to PC keys
  77. Key name        Verb            VT320 mode              VT102/VT52/H19 mode
  78.  
  79. Hold Screen                     nothing                 nothing
  80. Print Screen                    nothing                 nothing
  81. Set-Up                          nothing                 nothing
  82. F4                              nothing                 nothing
  83. F5 (Break)                      nothing                 nothing
  84. F6              decF6           CSI 17 ~                nothing
  85. F7              decF7           CSI 18 ~                nothing
  86. F8              defF8           CSI 19 ~                nothing
  87. F9              defF9           CSI 20 ~                nothing
  88. F10             defF10          CSI 21 ~                nothing
  89. F11 (ESC)       defF11          CSI 23 ~                ESC
  90. F12 (BS)        decF12          CSI 24 ~                BS
  91. F13 (LF)        decF13          CSI 25 ~                LF
  92. F14             decF14          CSI 26 ~                nothing
  93. Help            decHelp         CSI 28 ~                nothing
  94. Do              decDo           CSI 29 ~                nothing
  95. F17             defF17          CSI 31 ~                nothing
  96. F18             decF18          CSI 32 ~                nothing
  97. F19             defF19          CSI 33 ~                nothing
  98. F20             decF20          CSI 34 ~                nothing
  99.  
  100. Note: F6 - F20 are DEC "User Definable Keys" which means their output can be
  101. redefined by the host (not by the terminal owner). See below for method.
  102.  
  103. An often confusing item is knowing the mode of the auxillary keypad: numeric or
  104. application.  Digital Equipment Corporation designed  the  terminal  to  change
  105. modes  only  under  command  from  the  remote computer and not at all from the
  106. keyboard.  So the startup state is numeric/cursor mode, and reception of escape
  107. sequences  "ESC  ╒ ? 1 h" or "l" changes the mode.  Kermit verbs for the keypad
  108. and cursor keys generate the correct escape sequences appropriate to  the  cur-
  109. rent mode and terminal type.
  110.  
  111. A best attempt is made to safely test for the 101/102 key Enhanced keyboard and
  112. use it if present.  If it is present then the keyboard translator separates the
  113. individual  arrow  keys from those on the numeric keypad and also separates the
  114. asterisk and forward slash keys  on  the  keypad  from  those  on  the  regular
  115. typewriter keyboard.  These special Enhanced keyboard keys are reported as scan
  116. codes with 4096 added to the base scan code.
  117.  
  118.  OTHER IBM KEYS OPERATIONAL IN CONNECT MODE:
  119.  
  120.  IBM key         IBM Verb      Action
  121.  
  122.  Keypad Del                    Send ASCII Del code (rubout) \127
  123.  Backspace (<-)                Send ASCII Del code (rubout) \127  (BS is \8)
  124.  Keypad -        MODELINE      Toggle mode line on/off (only if Mode Line is
  125.                                enabled and not used by the host).
  126.  Alt -           TERMTYPE      Toggle among H-19, VT52, VT100, VT320 types.
  127.  Alt =           RESET         Clear screen and reset terminal emulator to
  128.                                starting (setup) state.
  129.  Alt B           BREAK         Send a BREAK signal
  130.  Alt H           HELP          Show drop down help menu (detailed below)
  131.  Alt S           STATUS        Show settings
  132.  Alt X           EXIT          Exit Connect mode, back to Kermit prompt
  133.  
  134.  Home            HOMSCN        Roll screen up (text down) to beginning of
  135.                                 storage.
  136.  End             ENDSCN        Roll screen down (text up) to end of storage.
  137.  PgUp            UPSCN         Roll screen up (back, earlier) one screen.
  138.  PgDn            DNSCN         Roll screen down (forward, later) one screen.
  139.  Ctrl-PgUp       UPONE         Roll screen up one line.
  140.  Ctrl-PdDn       DNONE         Roll screen down one line.
  141.  
  142.  Control PrtSc   PRTSCN        Toggle  on/off copying of received text to
  143.                                printer, "PRN" shows on far right of mode
  144.                                line when activated.
  145.  
  146.  Control-End     DUMP          Dump image of screen to a disk file or device.
  147.                                Default filename is KERMIT.SCN in the current
  148.                                directory. Use command SET DUMP to change the
  149.                                filename.  Screen images are appended to the
  150.                                file, separated by formfeeds.
  151.  
  152.  Shift-PrtSc     Standard DOS Print-screen, dump screen image to printer.
  153.  
  154.  unassigned      HOLDSCRN      DEC style Holdscreen, same as typing Control-S.
  155.  
  156. "Alt -" means hold down Alt and type  minus  on  the  upper  key  rank.    This
  157. switches  among the various kinds of emulation but does not change most operat-
  158. ing parameters of the emulator.
  159.  
  160. CONNECT ESCAPE COMMANDS:
  161.  
  162. Type the Kermit escape character (normally "^σ"), then one of the keys below:
  163.                                                          (equivalent IBM Verb)
  164.      ?   display this short list.                                HELP
  165.      0   send a null character.                                  NULL
  166.      B   send a BREAK signal.                                    BREAK
  167.      C   close connect session & return to Kermit prompt.        EXIT
  168.      F   dump screen to filespec, default is KERMIT.SCN.         DUMP
  169.      H   hangup the phone or network connection                  HANGUP
  170.      L   send a Long BREAK signal                                LBREAK
  171.      M   toggle mode line on/off.                                MODELINE
  172.      P   push to DOS.                                            DOS
  173.      Q   quit (suspend) logging.                                 LOGOFF
  174.      R   resume logging.                                         LOGON
  175.      S   show status.                                            STATUS
  176.      Kermit escape character itself: send it to the host.
  177.  
  178.  
  179. 1.17.3. Responses To Characters Received By the Terminal Emulator
  180.  
  181. Spaces shown between characters of escape sequences are there for ease of read-
  182. ing.   The actual sequences contain no spaces.  Unknown escape sequences are
  183. absorbed and ignored.
  184.  
  185. DEC VT320 and VT102 functions while in ANSI (non-VT52) mode, unsupported
  186. features are marked by an asterisk (*):
  187.  
  188.  Control codes in C0 (no high bit) area
  189.  Name   ASCII    value
  190.         chart   hex keyboard                    operation
  191.  NUL    0/0     00h   ^@        ignored except during transparent printing
  192.  ENQ    0/5     05h   ^E        *Answerback message (not supported)
  193.  BEL    0/7     07h   ^G        Sound DEC style beep
  194.  BS     0/8     08h   ^H        Backspace, move cursor left one character
  195.  HT     0/9     09h   ^I        Horizontal tab, move cursor to next tabstop
  196.  LF     0/10    0ah   ^J        Linefeed, move cursor down one line
  197.  VT     0/11    0bh   ^K        Vertical Tab, treated as a line feed
  198.  FF     0/12    0ch   ^L        Formfeed, treated as a line feed
  199.  CR     0/13    0dh   ^M        Carriage return, move cursor to col 1
  200.  SO/LS1 0/14    0eh   ^N        Map character set in G1 to GL, locking shift
  201.  SI/LS0 0/15    0fh   ^O        Map character set in G0 to GL, locking shift
  202.  DC1    1/1     11h   ^Q        XON flow control, resume communication
  203.  DC3    1/3     13h   ^S        XOFF flow control, suspend communication
  204.  CAN    1/8     18h   ^X        Cancel escape & control sequence in progress
  205.  SUB    1/10    1ah   ^Z        Treated as a CAN
  206.  ESC    1/11    1bh   ^╒        Escape, start escape seq, cancel any others
  207.  DEL    7/15    7fh   ^_        ignored except during transparent printing
  208.  All others are ignored
  209.  
  210.  Control codes in C1 (high bit set) area.
  211.  These are replaced by ESC <code - 40h> in a 7-bit environment, or when
  212.  Controls is set to 7-bit output.
  213.  Name   ASCII    value
  214.         chart   8-bit 7-bit             operation
  215.  IND    8/4     84h   ESC D     Index, move cursor down one line, scrolls
  216.  NEL    8/5     85h   ESC E     Next line, like CR/LF, scrolls
  217.  HTS    8/8     88h   ESC H     Set Horizontal Tab at cursor's column
  218.  RI     8/13    8dh   ESC M     Reverse index, move cursor up one line,scrolls
  219.  SS2    8/14    8eh   ESC N     Map G2 to GL for next char only, single shift
  220.  SS3    8/15    8fh   ESC O     Map G3 to GL for next char only, single shift
  221.  DCS    9/0     90h   ESC P     Device Control String introducer
  222.  CSI    9/11    9bh   ESC ╒     Control Sequence Introducer
  223.  ST     9/12    9ch   ESC \     String Terminator
  224.  OSC    9/13    9dh   ESC σ     Operating System Command, consume through ST
  225.  PM     9/14    9eh   ESC ^     Privacy Message, consume through ST
  226.  APC    9/15    9fh   ESC _     Applications Prog Command, consume through ST
  227.  All others are ignored
  228.  
  229.  Escape Seq     Mnemonic       Description of Action
  230.  
  231.  ESC ^L                         Enter Tektronix sub-mode, clear Tek screen.
  232.                                 (This is ignored if DISABLE TEK has been given)
  233.  ESC 7          DECSC           Save cursor position, attributes, contents of
  234.                                 char sets used as GL and GR, wrap flag,
  235.                                 origin mode (DECOM), SS2/SS2 shifts.
  236.  ESC 8          DECRC           Restore cursor from previously saved position
  237.                                 and information listed for DECSC
  238.  ESC # 3        DECDHL          Double height and width line, top half
  239.  ESC # 4        DECDHL          Double height and width line, bottom half
  240.  ESC # 5        DECSWL          Single height and width line
  241.  ESC # 6        DECDWL          Double width single height line
  242.  ESC # 8        DECALN          Screen alignment test, fill screen with E's
  243.  ESC ( <ident>  SCS             Designates 94 byte character set <ident> to G0
  244.  ESC ) <ident>  SCS             Designates 94 byte character set <ident> to G1
  245.  ESC * <ident>  SCS             Designates 94 byte character set <ident> to G2
  246.  ESC + <ident>  SCS             Designates 94 byte character set <ident> to G3
  247.  ESC - <ident>  SCS             Designates 96 byte character set <ident> to G1
  248.  ESC . <ident>  SCS             Designates 96 byte character set <ident> to G2
  249.  ESC / <ident>  SCS             Designates 96 byte character set <ident> to G3
  250.              <ident>    size    character set
  251.                 A        94     UK-ASCII (ASCII, sharp sign 2/3 replaced by
  252.                                  Sterling sign), available only when a VT102
  253.                 A        96     ISO Latin-1 (default in G2, G3)
  254.                 B        94     ASCII (default in G0, G1)
  255.                 0        94     DEC Special Graphics (line drawing)
  256.                 1        94/96  Kermit, ALT-ROM
  257.                 2        94     DEC Special Graphics (line drawing)
  258.                 %5       94     DEC Supplemental Graphics
  259.                 <        94/96  User Preferred Supplemental Set*
  260.                 >        94     DEC Technical set (from VT340's)
  261.  * VT300 terminals give choice of ISO Latin-1 (96) or DEC Supplemental
  262.  Graphics (94) determined by a Setup menu selection or host command. MS Kermit
  263.  has DEC Supplemental Graphics as the startup UPSS character set.
  264.  
  265.  If the size of the character set does not match the <ident> nothing happens.
  266.  Startup defaults are ASCII in G0 and G1, ISO Latin-1 in G2 and G3, GL points
  267.  to G0, GL points to G2. Activating DEC National Replacement Charactes maps
  268.  the NRC set selected by SET TERMINAL CHARACTER-SET <country> into G0..G3.
  269.  Single and Locking shifts, SS2, SS3, LS0 (SI), LS1 (SO), LS1R, LS2, LS2R,
  270.  LS3, LS3R determine which set is mapped to the GLeft or GRight area.
  271.  
  272.  ESC <                          Exit VT52 mode (to previous ANSI kind/VT320)
  273.  ESC =          DECKPAM         Enter numeric keypad application mode
  274.  ESC >          DECKNPNM        Enter numeric keypad numeric mode
  275.  ESC D          IND             Index, moves cursor down one line, can scroll
  276.  ESC E          NEL             Move cursor to start of line below, can scroll
  277.  ESC sp F       S7C1T           Disable output of 8-bit controls, use 7-bit
  278.  ESC sp G       S8C1T           Enable output of 8-bit control codes
  279.  ESC H          HTS             Set one horizontal tab at current position
  280.  ESC M          RI              Reverse Index, cursor up one line, can scroll
  281.  ESC N          SS2             Single Shift 2, map G2 to GL for next char only
  282.  ESC O          SS3             Single Shift 3, map G3 to GL for next char only
  283.  ESC P          DCS             Start Device Control String command (see below)
  284.  ESC Z          DECID           Identify terminal. Responses are
  285.                                 VT320: CSI ? 63; 1; 2; 8; 9 c
  286.                                 VT102: CSI ? 6 c
  287.                                 VT52:  ESC / Z
  288.                                 Heath-19: ESC / K
  289.  ESC \          ST              String Terminator of Device Control Strings
  290.  ESC σ          OSC             Operating System Command, ignored through ST
  291.  ESC ^          PM              Privacy Message, ignored through ST
  292.  ESC _          APC             Applications Program Command, ignored thru ST
  293.  ESC c          RIS             Reset terminal to initial state, hard reset
  294.  ESC n          LS2             Map character set in G2 to GL, locking shift
  295.  ESC o          LS3             Map character set in G3 to GL, locking shift
  296.  ESC ]          LS3R            Map character set in G3 to GR, locking shift
  297.  ESC }          LS2R            Map character set in G2 to GR, locking shift
  298.  ESC ~          LS1R            Map character set in G1 to GR, locking shift
  299.  ESC ╒          CSI             Control Sequence Introducer, see list below
  300.  
  301.  Control Seq    Mnemonic        Description of Action
  302.  
  303.  CSI Pn @       ICH             Insert Pn spaces at and after cursor
  304.  CSI Pn A       CUU             Cursor up Pn lines, does not scroll
  305.  CSI Pn B       CUD             Cursor down Pn lines, does not scroll
  306.  CSI Pn C       CUF             Cursor forward, stays on same line
  307.  CSI Pn D       CUB             Cursor backward, stays on same line
  308.  CSI Pn E       CNL             Next-line (same as cr/lf), do Pn times
  309.  CSI Pn F       CPL             Previous-line (reverse index), do Pn times
  310.  CSI Pc G       CHA             ANSI Cursor to absolute column Pc
  311.  CSI Pr; Pc H   CUP             Set cursor to row, column (same as HVP)
  312.  CSI Pn I       CHI             Cursor forward Pn tabstops (Horizontal Index)
  313.  CSI Ps J       ED              Erase in display:
  314.                                 0 = cursor to end of screen, inclusive
  315.                                 1 = start of screen to cursor, inclusive
  316.                                 2 = entire screen, reset lines to single
  317.                                 width, cursor does not move.
  318.  CSI ? Ps J     DECSED          Selective erase in display, Ps as for CSI Ps J
  319.                                 Not supported in MS Kermit
  320.  CSI Ps K       EL              Erase in line:
  321.                                 0 = cursor to end of line, inclusive
  322.                                 1 = start of line to cursor, inclusive
  323.                                 2 = entire line, cursor does not move
  324.  CSI ? Ps K     DECSEL          Selective erase in line, Ps as for CSI Ps K
  325.                                 Not supported in MS Kermit
  326.  CSI Pn L       IL              Insert Pn lines preceding current line.
  327.  CSI Pn M       DL              Delete Pn lines from current downward, incl.
  328.  CSI Pn P       DCH             Delete Pn chars from cursor to left, incl.
  329.  CSI Pn; Pn R   CPR             Cursor report (row, column), sent by terminal
  330.                                 Example: home position yields CSI 1; 1 R
  331.  CSI Pn X       ECH             Erase Pn chars at and to right of cursor
  332.  CSI Pn a       CUF             ANSI Cursor forward Pn columns
  333.  CSI Pn c       DA              Device Attributes request, see reports
  334.  CSI > Pn c     DA              Secondary Device Attributes req, see reports
  335.  CSI Pr d       CVA             ANSI Cursor to row Pr, absolute
  336.  CSI Pn e       CUD             ANSI Cursor down Pn rows
  337.  CSI Pr; Pc f   HVP             Set cursor to row, column (same as CUP)
  338.  CSI Ps g       TBC             Tabs clear, Ps: 0 = at this position, 3 = all
  339.  CSI Pn i       MC              Media Copy, see below
  340.  CSI Pa;...Pa h SM              Set ANSI mode, see table below
  341.  CSI Pa;...Pa l SM              Reset ANSI mode, see table below
  342.         Pa      Mnemonic        Mode            Set (h)         Reset (l)
  343.         2       KAM            *Keyboard        locked          unlocked
  344.         3       CRM             Control rep     act upon        debug display
  345.         4       IRM             Insert          insert          replace
  346.         10      HEM             Horz editing    n/a             always reset
  347.         12      SRM             Local echo      off             on
  348.         20      LNM             New Line        cr=>cr/lf       cr=>cr
  349.  
  350.  CSI ? Ps;...;Ps h  SM          Set DEC mode, see table below
  351.  CSI ? Ps;...;Ps l  RM          Reset DEC mode, see table below
  352.          Ps     Mnemonic       Mode           Set (h)        Reset (l)
  353.          0                     error (ignored)
  354.          1      DECCKM         cursor keys    application    cursor/numeric
  355.          2      DECANM         ANSI           VT320/VT102    VT52
  356.          3      DECCOLM        Columns        +132 col       80 col
  357.          4      DECSCLM       *Scrolling      smooth         jump
  358.          5      DECSCNM        Screen, whole  reverse video  normal
  359.          6      DECOM          Origin         stay in margins ignore margins
  360.          7      DECAWM         Autowrap       on             off
  361.          8      DECARM        *Autorepeat     on             off
  362.          9      DECINLM       *Interlace      on             off
  363.          18     DECPFF         Printer term   Form Feed      none
  364.          19     DECPEX         Printer extent screen         scrolling region
  365.          25     DECTCEM        Cursor         visible        invisible
  366.          34     n/a            Invoke macro:  TERMINALS      TERMINALR
  367.          38     n/a            Graphics (Tek) ++graphics     text
  368.          42     DECNRCM        Nat Repl Char  enable         disable
  369.          66     DECNKM         Numeric keypad application    numeric
  370.          68     DECKBUM       *Typewriter     data process   typewriter
  371.                              + See comments on EGA boards.
  372.                             ++ Ignored if DISABLE TEK has been given.
  373.         (SET TERMINAL CHARACTER-SET <country> must be given to employ DEC
  374.         National Replacement Characters. Enabling NRCs replaces G0..G3 chars
  375.         sets with the NRC set and disables 8-bit controls; disabling only
  376.         re-enables 8-bit controls.)
  377.  
  378.  CSI Pn i       MC              Printer controls (Media Copy)
  379.                         Pn
  380.                         0       Print whole Screen
  381.                         4       Exit printer controller (transparent print)
  382.                         5       Enter printer controller (transparent print)
  383.  CSI ? Pn i     MC              DEC Printer controls (Media Copy)
  384.                         Pn
  385.                         1       Print line containing cursor
  386.                         4       Exit auto print (stop echoing to printer)
  387.                         5       Enter autoprint (echo screen chars to printer)
  388.  CSI Ps;...Ps m  SGR            Select graphic rendition
  389.                         Ps
  390.                         0       all attributes off (#'s 1, 4, 5, 7)
  391.                         1       bold, intensify foreground
  392.                         4       underscore (reverse video on IBM CGA/EGA)
  393.                         5       blink
  394.                         7       reverse video, per character
  395.                         22      bold off, VT320
  396.                         24      underline off, VT320
  397.                         25      blinking off, VT320
  398.                         27      reverse video off, VT320
  399.                 non-DEC extensions: 30-37 = foreground color = 30 + colors
  400.                                     40-47 = background color = 40 + colors
  401.                                     colors: 1 = red, 2 = green, 4 = blue
  402.  Transparent printing sends all output, except the CSI 4 i termination string,
  403.  to the printer and not the screen, uses an 8-bit channel if no parity so NUL
  404.  and DEL will be seen by the printer and termination recognizer code, and
  405.  all translation and character set selections are bypassed.
  406.  
  407.  CSI Ps n       DSR             Device Status request, see reports
  408.  CSI ! p        DECSTR          Soft reset of terminal (keeps screen)
  409.  CSI Pa $ p     DECRQM          Report ANSI mode settings, see reports
  410.  CSI ? Pd $ p   DECRQM          Report DEC mode settings, see reports
  411.  CSI Pl; Pc " p DECSCL          Set conformance level (set terminal type)
  412.         Pl      Pc      level selected   (also does a soft reset, not hard)
  413.         61      0       VT102, 7-bit controls (61 is otherwise VT100 level)
  414.         62      0 or 2  VT320, 8-bit controls (62 is otherwise VT200 level)
  415.         62      1       VT320, 7-bit controls
  416.         63      0 or 2  VT320, 8-bit controls (63 is otherwise VT300 level)
  417.         63      1       VT320, 7-bit controls
  418.  
  419.  CSI Ps;...;Ps q  DECLL         Load LEDs, Ps = 0 means clear LED #1-4. VT102
  420.                                 Ps=1,2,3,4 sets LED # 1,2,3,4 on status line.
  421.  CSI Ps " q     DECSCA          Select Character Protection Attribute
  422.         Ps = 0 erasable by DECSED or DECSEL, 1 not erasable by these cmds.
  423.         Requires attribute bit per display char. Not supported by MS Kermit.
  424.  CSI Pt; Pb r   DECSTBM         Set top and bottom scrolling margins, resp.
  425.                                 CSI r resets margin to full screen.
  426.  CSI Ps $ u     DECRQTSR        Terminal State request, see reports
  427.  CSI & u        DECRQUPSS       User Preferred char set request, see reports
  428.  CSI Ps $ w     DECRQPSR        Presentation State request, see reports
  429.  CSI sol x      DECREQTPARM     Request terminal parameters, see reports
  430.  CSI 2; Ps y    DECST           VT102 Confidence test, exits status line
  431.  CSI 4; Ps;...Ps y DECTST       VT320 Confidence tests, exits status line
  432.  CSI Ps $ }     DECSASD         Select active status display
  433.         Ps = 0 select main display
  434.         Ps = 1 select status line
  435.         Moves cursor to selected display area. This command will be ignored
  436.         unless the status line has been enabled by CSI 2 $ ~. When the status
  437.         line has been selected cursor remains there until the main display is
  438.         reselected by CSI 0 $ }.
  439.  CSI Ps $ ~     DECSSDT         Select Status Line Type
  440.                         Ps      meaning
  441.                         0       no status line (empty)
  442.                         1       indicator line (locally owned, Kermit default)
  443.                         2       host-writable line
  444.  
  445.  Other extensions:
  446.  CSI 25; Pc f                   VT320/VT102/H19 move cursor to 25th line.
  447.  CSI 25; Pc H                   VT320/VT102/H19 move cursor to 25th line.
  448.                                 Leave the same way as you went in.
  449.                                 (These will disable Kermit's own status line.)
  450.  ESC ^L                         Enter Tektronix sub-mode, clear Tek screen.
  451.                                 (This is ignored if DISABLE TEK has been given)
  452.  
  453.  VT320 Report requests and responses
  454.  
  455.  Request CSI c                  primary device attributes (terminal ident)
  456.  Responses
  457.         CSI ? 63; 1; 2; 8; 9 c          VT320 (132 col, printer, UDK, NRC)
  458.         CSI ? 6 c                       VT102
  459.         ESC / Z                         VT52, submode of VT320/VT102
  460.         ESC / K                         VT52, when in Heath-19 mode
  461.  
  462.  Request  CSI > c               secondary device attributes
  463.  Response CSI > 24; 0; 0; 0 c           VT320, firmware version 0.0 (Kermit)
  464.  
  465.  Request  CSI 5 n               operating status
  466.  Response CSI 0 n                       no malfunction
  467.  
  468.  Request  CSI 6 n               cursor position report
  469.  Response CSI Pr; Pc R                  Pr = row, Pc = column. Origin is 1,1
  470.  
  471.  Request  CSI ? 15 n            printer status
  472.  Response CIS ? 10 n                    printer ready
  473.       or  CSI ? 11 n                    printer is not ready
  474.  
  475.  Request  CSI ? 25 n            User Definable Key status
  476.  Response CSI ? 20 n                    UDKs are unlocked (21 if locked)
  477.  
  478.  Request  CSI ? 26 n            keyboard dialect
  479.  Response CSI ? 27; Ps n        in MS Kermit this is controlled by
  480.                                 command SET TERMINAL CHARACTER-SET <country>
  481.                 Ps      Country                 Ps      Country
  482.                 1       North American/ASCII    9       Italian
  483.                 2       British                 13      Norwegian/Danish
  484.                 8       Dutch                   16      Portugese
  485.                 6       Finnish                 15      Spanish
  486.                 14      French                  12      Swedish
  487.                 4       French Canadian         11      Swiss (German)
  488.                 7       German
  489.  
  490.  Request  CSI 1 $ u             terminal state (wants entire machine state)
  491.  Response DCS 1 $ ST            MS Kermit does not upload this state info.
  492.  
  493.  Request  DCS Ps $ p string ST  terminal restore state (downloads state info)
  494.  Response none required, ignored by MS Kermit.
  495.  
  496.  Request  CSI & u               request User Preferred Supplemental Set
  497.  Response DCS Ps ! u string ST
  498.         Ps is 0 for a 94 byte set, or 1 for a 96 byte set
  499.         string is the character set ident string ("A" for ISO Latin-1/96 or
  500.         "%5" for DEC Supplemental Graphics/94)
  501.  
  502.  Request  CSI 1 $ w             cursor information report
  503.  Response DCS 1 $ u Pr; Pc; Pp; Srend; Satt; Sflag; Pgl; Pgr; Scss; Sdesig ST
  504.         where   Pr is cursor row (counted from origin as 1,1)
  505.                 Pc is cursor column
  506.                 Pp is 1, video page, a constant for VT320s
  507.                 Srend = 40h + 8 (rev video on) + 4 (blinking on)
  508.                                  + 2 (underline on) + 1 (bold on)
  509.                *Satt = 40h      (Selective erase, not supported in MS Kermit)
  510.                 Sflag = 40h + 8 (autowrap pending) + 4 (SS3 pending)
  511.                                 + 2 (SS2 pending) + 1 (Origin mode on)
  512.                 Pgl = char set in GL (0 = G0, 1 = G1, 2 = G2, 3 = G3)
  513.                 Pgr = char set in GR (same as for Pgl)
  514.                 Scss = 40h + 8 (G3 is 96 char) + 4 (G2 is 96 char)
  515.                                 + 2 (G1 is 96 char) + 1 (G0 is 96 char)
  516.                 Sdesig is string of character idents for sets G0...G3, with
  517.                                 no separators between set idents.
  518.                 If NRCs are active the set idents (all 94 byte types) are:
  519.                 Britsh          A       Italian         Y
  520.                 Dutch           4       Norwegian/Danish ' (hex 60) or E or 6
  521.                 Finnish         5 or C  Portuguese      %6
  522.                 French          R       Spanish         Z
  523.                 French Canadian 9 or Q  Swedish         7 or H
  524.                 German          K       Swiss           =
  525.                 (MS Kermit uses the first choice when there are multiple)
  526.  
  527.  Request  CSI 2 $ w             tab stop report
  528.  Response DCS 2 $ u Pc;Pc;...Pc ST
  529.         Pc are column numbers (from 1) where tab stops occur. Note the
  530.         separator "/" occurs in a real VT320 but should have been ";".
  531.  
  532.  Request DSC Ps $ t string ST   restore presentation state
  533.         Ps is 1 for cursor information,   in form of DCS 1 $ w report above
  534.               2 for tab stop information, in form of DCS 2 $ w report above
  535.  Response none, commands are executed to restore the indicated information;
  536.         an error may leave the emulator in an inconsistent state.
  537.  
  538.  Request  CSI Pa $ p            ask state of ANSI mode controls
  539.  Response CSI Pa; Ps $ y
  540.         where Pa is the single ANSI mode below
  541.  
  542.         Pa Mnemonic     meaning                         Ps  state
  543.         2   KAM  keyboard action (if locked)            0  unknown mode
  544.         3   CRM  control representation (no debug)      1  set
  545.         4   IRM  insert/replace mode (if insert mode)   2  reset
  546.         10  HEM  horizontal editing (perm reset)        3  permanently set
  547.         12  SRM  send/receive (local echo on)           4  permanently reset
  548.         20  LNM  newline (if newline on)
  549.  
  550.  Request  CSI ? Pd $ p          state of DEC modes
  551.  Response CSI Pd; Ps $ y
  552.         where Pd is a single DEC state below and Ps is a state value as above
  553.                 Pd Mnemonic     meaning
  554.                 1  DECCKM       cursor key mode (vs application mode)
  555.                 2  DECANM       ANSI mode (vs VT52 submode)
  556.                 3  DECCOLM      column (if 132 columns)
  557.                 4  DECSCLM      if scrolling is smooth (vs jump)
  558.                 5  DECSCNM      screen (if video is reversed)
  559.                 6  DECOM        origin mode (if on)
  560.                 7  DECAWM       autowrap (if on)
  561.                 8  DECSRM       autorepeat keyboard (always on in Kermit)
  562.                 18 DECPFF       print with Form Feed
  563.                 19 DECPEX       print extent
  564.                 25 DECTCEM      text cursor enabled
  565.                 42 DECNRCM      DEC National Replacement Char set, if in use
  566.                 66 DECNKM       numeric keypad (vs applications mode)
  567.                 67 DECBKM       if backarrow sends BS or DEL (say DEL)
  568.                 68 DECBUM       keyboard usage (say typewriter)
  569.  
  570.  Request  DCS $ q string ST     control function setting
  571.  Response DCS Ps $ r string ST
  572.         Ps is 0 for valid request, 1 for invalid request
  573.         Request string is one or two characters below saying which control
  574.         function is to be reported:
  575.                 $}              select active status display
  576.                 "q              set character attribute
  577.                 "p              set conformance level
  578.                 $~              set status line type
  579.                 r               set top and bottom margins
  580.                 m               set graphic rendition
  581.         The reponse string is the same as an incoming command which would
  582.         do that function except the leading CSI is omitted. The host is
  583.         obtaining a text string to be repeated back later with a CSI prefix
  584.         to restore the current state of the selected function. Example:
  585.         request  DCS $ q r ST   what are top/bottom margin settings?
  586.         response DCS 0 $ r 1; 24 r ST  which matches command  CSI 1; 24 r
  587.                            ^-----^                                ^-----^
  588.  
  589.  Request  CSI & u               what is the User Preferred Supplemental Set
  590.  Response DCS Ps ! u string ST
  591.         where Ps is 0 for 94 byte character set, 1 for 96 byte set
  592.               string is the letter code for the character set, either
  593.               "A" (96) for ISO Latin-1 or "%5" (94) for DEC Suppl Graphics.
  594.  
  595.  Request  DCS Ps ! u string ST     assign User Preferred Supplemnental Set
  596.                 Ps and string are the same as for the CSI & u request above.
  597.  
  598.  Request  DCS Pc; Pl ] Ky1/St1...Kyn/Stn ST     set User Definable Keys
  599.         Pc = 0 clear all UDK definitions before starting, = 1 clear one key.
  600.         Pl = 0 lock the keys, = 1 do not lock; MS Kermit never locks keys.
  601.         Kyn/Stn are key identifier and definition string. Form of Kyn is
  602.         two ascii digits, 17-34, representing the DEC key number for DEC F6
  603.         through DEC F20; F6 = 17, etc as per keyboard table well above.
  604.         Stn is definition text written as a pair of hex characters per final
  605.         definition byte; upper or lower case A..F are the same. Example:
  606.         DCS 1; Pl ] 28/48656c70 ST  defines DEC key Help (verb decHelp)
  607.         as the four characters "Help" and does not erase all UDK definitions.
  608.         The lock indicator, Pl, is ignored by MS Kermit. 60 hex chars max.
  609.  Response none
  610.  
  611.  Request  CSI sol x     DECREQTPARM Request terminal parameters, VT102 only
  612.  Response CSI sol; par; nbits; xspeed; rspeed; clkmul; flags x
  613.                         DECREPTPARM Report of terminal parameters
  614.         sol
  615.         0       terminal can send unsolicited reports, supported as sol = 1
  616.         1       terminal reports only on request
  617.         2       this is a report (DECREPTPARM)
  618.         3       terminal reporting only on request
  619.         par = 1 none, 2 space, 3 mark, 4 odd, 5 even
  620.         nbits = 1 (8 bits/char), 2 (7 bits/char)
  621.         xspeed, rspeed = transmit and receive speed index:
  622.   0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128 correspond to speeds of
  623.   50,75,110,134.5,150,200,300,600,1200,1800,2000,2400,3600,4800,9600,19200,
  624.   and 38400 baud or above.
  625.         clkmul = 1 (clock rate multiplier is 16)
  626.         flags = 0-15 (Setup Block #5), always 0 here
  627.  
  628.  Request  DCS Ps; ...Ps { string ST     download or clear soft characters
  629.  Response none                  not supported in MS Kermit VT320 emulator
  630.  
  631.  
  632. 1.17.4. DEC VT52 Mode Functions
  633.  
  634.  Escape sequence                Description of action
  635.  
  636.  ESC 7                          Save cursor position
  637.  ESC 8                          Restore cursor position
  638.  ESC A                          Cursor up
  639.  ESC B                          Cursor down
  640.  ESC C                          Cursor right
  641.  ESC D                          Cursor left
  642.  ESC F                          Enter graphics mode
  643.  ESC G                          Exit graphics mode
  644.  ESC H                          Cursor home
  645.  ESC I                          Reverse line feed
  646.  ESC J                          Erase to end of screen
  647.  ESC K                          Erase to end of line
  648.  ESC V                          Print cursor line
  649.  ESC X                          Exit Printer Controller (transparent print)
  650.  ESC Y row column               Direct cursor address, offset from space
  651.  ESC W                          Enter Printer Controller (transparent print)
  652.  ESC Z                          Identify (response is ESC / Z)
  653.  ESC ^ (caret)                  Enter autoprint mode (printer echoes screen)
  654.  ESC _ (underscore)             Exit autoprint mode
  655.  ESC σ                          Print Screen
  656.  ESC =                          Enter alternate keypad mode
  657.  ESC >                          Exit alternate keypad mode
  658.  ESC <                          Enter ANSI mode (changes to VT320 or VT102)
  659.  
  660. 1.17.5. Heath-19 Functions While in Non-ANSI Mode
  661.  
  662.  Escape seq     Mnemonic       Description of action
  663.  
  664.  ESC A          HCUU           Cursor Up
  665.  ESC B          HCUD           Cursor Down
  666.  ESC C          HCUF           Cursor Forward, stays on same line
  667.  ESC D          HCUB           Cursor Backward, stays on same line
  668.  ESC E          HCD            Clear display
  669.  ESC F          HEGM           Enter Graphics mode
  670.  ESC G          HXGM           Exit Graphic mode
  671.  ESC H          HCUH           Cursor Home
  672.  ESC I          HRI            Reverse Index
  673.  ESC J          HEOP           Erase to end of page
  674.  ESC K          HEOL           Erase to end of line
  675.  ESC L          HIL            Insert line
  676.  ESC M          HDL            Delete line
  677.  ESC N          HDCH           Delete character
  678.  ESC O          HERM           Exit Insert Char mode
  679.  ESC Y row col  HDCA           Direct cursor addressing, offset from space
  680.  ESC Z          HID            Identify (response is ESC / K  which is a VT52)
  681.  ESC b          HBD            Erase Beginning of display
  682.  ESC j          HSCP           Save cursor position
  683.  ESC k          HRCP           Set cursor to saved position
  684.  ESC l          HEL            Erase entire line
  685.  ESC n          HCPR           Cursor Position Report request
  686.  ESC o          HEBL           Erase beginning of line
  687.  ESC p          HERV           Enter Reverse Video mode
  688.  ESC q          HXRV           Exit Reverse Video mode
  689.  ESC r Bn       HMBR          *Modify baud rate - not supported
  690.  ESC t          HEKS          *Enter Keypad shifted mode, not supported
  691.  ESC u          HXKS          *Exit Keypad shifted mode, not supported
  692.  ESC v          HEWA           Wrap around at end of line
  693.  ESC w          HXWA           Discard at end of line
  694.  ESC x Ps       HSM            Set Mode. See table below
  695.  ESC y Ps       HRM            Reset Mode. See table below
  696.  
  697.          Ps     Mnemonic       Mode            Set (x)        Reset (y)
  698.          1      HSM/HRM        25th line       enabled       +disabled
  699.          2                    *keyclick        off            on
  700.          3                    *holdscreen      enabled        disabled
  701.          4                     cursor type     block          underline
  702.          5                     cursor on/off   on             off
  703.          6                    *keypad-shifted  shifted        unshifted
  704.          7                     alt app keypad  enabled        disabled
  705.          8                     linefeed        lf=>cr/lf      lf=>lf
  706.          9                     newline mode    cr=>cr/lf      cr=>cr
  707.                               + disabling the 25th line also clears it
  708.  
  709.  ESC z          HRAM           Reset to power-up configuration
  710.  ESC =          HAKM           Enter Alternate Keypad mode
  711.  ESC >          HXAM           Exit Alternate Keypad mode
  712.  ESC <          HEAM           Enter ANSI mode (ESC ╒ stuff)
  713.  ESC @          HEIM           Enter Insert Character mode
  714.  ESC ╒          HEHS          *Enter Hold Screen mode, not supported
  715.  ESC \          HXHS          *Exit Hold Screen mode, not supported
  716.  ESC { and }    HEK, HDK      *Keyboard enable/disable, not supported
  717.  ESC σ          HX25          *Transmit 25th line, not supported
  718.  ESC #          HXMP          *Transmit page, not supported
  719.  
  720.  
  721. 1.17.6. Heath-19 Functions While in ANSI Mode
  722.  
  723.  Escape Seq     Mnenonic       Description of Action
  724.  
  725.  ESC ╒ Pn A     CUP             Cursor up Pn lines
  726.  ESC ╒ Pn B     CUD             Cursor down Pn lines
  727.  ESC ╒ Pn C     CUF             Cursor forward Pn columns
  728.  ESC ╒ Pn D     CUB             Cursor backward Pn columns
  729.  ESC ╒ Pr; Pc H CUP             Cursor to absolute row, column
  730.  ESC ╒ Ps J     ED              Erase in Display, see DEC description
  731.  ESC ╒ Ps K     EL              Erase in Line, see DEC description
  732.  ESC ╒ Pn L     IL              Insert Pn lines at and below current line
  733.  ESC ╒ Pn M     DL              Delete Pn lines at and below current line
  734.  ESC ╒ Pn P     DCH             Delete Pn chars at and to right of cursor
  735.  ESC ╒ Pr; Pc f HVP             Cursor to absolute row, column
  736.  ESC ╒ Ps h     SM              Set mode, see ESC x table above
  737.  ESC ╒ Ps l     RM              Reset mode, see ESC y table above
  738.  ESC ╒ Ps m     SGR             Set graphics rendition
  739.                                 Ps      operation
  740.                                 0       exit reverse video, per character
  741.                                 7       enter reverse video, per character
  742.                                 10      enter special graphics mode
  743.                                 11      exit special graphics mode
  744.  ESC ╒ 6 n      CPR             Cursor report request: returns ESC ╒ Pr; Pc R
  745.  ESC ╒ p        PXMT            *Transmit page, not supported
  746.  ESC ╒ q        PX25            *Transmit 25th line, not supported
  747.  ESC ╒ Ps r     PMBR            *Modify baud rate, not supported
  748.  ESC ╒ s        PSCP            Save cursor position & attributes
  749.  ESC ╒ u        PRCP            Restore cursor position & attributes
  750.  ESC ╒ z        PRAM            Reset to power-up configuration
  751.  ESC ╒ ? 2 h    PEHM            Revert to normal Heath-19 non-ANSI mode
  752.  ESC ╒ > Ps h   SM              Same as ESC x Ps
  753.  ESC ╒ > Ps l   RM              Same as ESC y Ps
  754.  
  755.  
  756.  
  757.  Differences between a real VT320 and the emulator
  758.  
  759.  The emulator is extended by supporting several ANSI class control sequences:
  760.  CSI Pn E       CNL             Next-Line, Pn times
  761.  CSI Pc G       CHA             Cursor to column Pc, absolute
  762.  CSI Pn I       CHI             Cursor forward Pn tab stops
  763.  CSI Pn a       CUF             Cursor forward Pn columns
  764.  CSI Pr d       CVA             Cursor to row Pr, absolute
  765.  CSI Pn e       CUD             Cursor down Pn rows
  766.  
  767.  The cursor can be placed on the status line by direct addressing such as
  768.  CSI Pr; Pc H or CSI Pr; Pc f. Doing so does not invoke VT320 display area
  769.  characteristics found with the formal VT320 method of CSI Ps $ }.
  770.  
  771.  Selective erasure character attribute is not supported.
  772.  
  773.  Sixel, soft characters, are not supported in text mode.
  774.  
  775.  Full system report and download, CSI 1 $ u  and  DCS 1 $ string ST, are
  776.  not supported.
  777.  
  778.  User Definable Keys are not lockable.
  779.  
  780.  The keyboard is not lockable.
  781.  
  782.  Smooth scrolling is not supported.
  783.  
  784.  Double wide and/or double high characters are supported as space fillers
  785.  and/or a repeated line.
  786.  
  787.  User Preferred Supplementary (character) Set, UPSS, is not selectable in
  788.  the MS Kermit Set Term setup command repertory. Since the character sets
  789.  under UPSS are ISO Latin-1 (96) and DEC Special Graphics (94) the host must
  790.  first find which set is present so that it can be designated with the
  791.  proper set size attribute. The host can also specify which set is under UPSS.
  792.  All told, the user level Setup is not needed.
  793.  
  794.  The DEC Technical character set occurs on VT340's but not on real VT320's.
  795.  
  796.  When National Replacement Characters are selected from the DEC keyboard
  797.  Setup menu and are activated by CSI ? 42 h outgoing keystrokes are mapped
  798.  as well as incoming characters; the emulator acts on only incoming chars.
  799.  
  800.  Real VT300 terminals operate with 80x24 or 132x24 screen dimensions; the
  801.  emulator supports whatever dimensions the user has constructed outside of
  802.  MS Kermit. Also real VT300's have no screen rollback capability.
  803.  
  804.  
  805.  Character sets:
  806.  
  807.  VT320          Character set storage areas
  808.         G0                              G1, G2, and G3
  809.  
  810.  Any 94 char set                        Any 94 or 96 char set
  811.  ASCII ("B"/94) default                 G1 default is ASCII ("B"/94),
  812.                                         G2 and G3 defaults are
  813.                                                  ISO Latin-1 ("A"/96)
  814.  Special Graphics ("0"/94, "2"/94)
  815.  Alt-Rom ("1"/94) (MS Kermit only)
  816.  Supplementary Graphics ("%5"/94)
  817.  Technical (">"/94) (from VT340)
  818.  User Preferred, UPSS, if Suppl Gr.     UPSS if ISO Latin-1 or Suppl Gr.
  819.  National Replacement Characters are forced into all sets when activated
  820.   by CSI ? 42 h but only if a <country> has been previously selected by
  821.   SET TERMINAL CHARACTER-SET <country>
  822.  
  823.  VT102          Character set storage areas
  824.         G0 and G1                       G2 and G3
  825.  
  826.  ASCII ("B"/94) Default                 ASCII ("B"/94) Default
  827.  Special Graphics ("0"/94, "2"/94)
  828.  Alt-Rom ("1"/94) (MS Kermit only)
  829.  Supplementary Graphics ("%5"/94)
  830.  Technical (">"/94) (from VT340)
  831.  National Replacement Characters        Always ASCII ("B"/94)
  832.   are selected and activated by
  833.   SET TERMINAL CHARACTER-SET <country>
  834.   and affect only G0 and G1.
  835.   Note: there are several variations of DEC VT10x; the emulator comes closest
  836.   to the VT102 as rendered in the DEC Rainbow computer. A real VT320 in VT100
  837.   mode removes access to G2 and G3; the VT102 has G2 and G3 holding ASCII.σ
  838.  
  839.  VT52 is used as a sub mode of a VT320 (default) or a VT102.
  840.  Only GL = G0 with ASCII is available. ESC F loads line drawing graphics,
  841.  ESC G reloads ASCII.
  842.  
  843.  Heath-19. Same as for VT52 in non-ANSI mode, but while in ANSI mode
  844.  ESC ╒ 10 m and ESC ╒ 11 m duplicate the ESC F and ESC G operations.
  845.  
  846.