home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckmvt1.txt < prev    next >
Text File  |  2020-01-01  |  7KB  |  237 lines

  1. The following VT100 escape sequences are performed by MacKermit 0.97(57) VT100
  2. emulation:
  3.  
  4. Cursor Movement Commands:
  5.  
  6.     Cursor Up                           ESC[PnA
  7.     Cursor Down                         ESC[PnB
  8.     Cursor Forward (right)              ESC[PnC
  9.     Cursor Backward (left)              ESC[PnD
  10.     Direct Cursor Addressing            ESC[Pl;PcH or ESC[Pl;Pcf
  11.     Index                               ESC D
  12.     New Line                            ESC E
  13.     Reverse Index                       ESC M
  14.     Save Cursor Attributes              ESC 7
  15.     Restore Cursor Attributes           ESC 8
  16.  
  17. Character Attributes:
  18.  
  19.     ESC[Ps m
  20.  
  21.     where Ps refers to a selective parameter as follows:
  22.  
  23.         0 or none               All Attributes Off
  24.         1                       Bold on
  25.         4                       Underscore on
  26.         2, 3, 5, 6              Italics on (VT100 uses Blink)
  27.         7                       Reverse Video on
  28.     21, 22                  Bold off
  29.     24                      Underline off
  30.     25                      Italics off
  31.     27                      Reverse Video off
  32.  
  33.  
  34. Erasing:
  35.  
  36.     From Cursor to End of Line          ESC[K or ESC[0K
  37.     From Beginning of Line to Cursor    ESC[1K
  38.     Entire Line containing Cursor       ESC[2K
  39.     From Cursor to End of Screen        ESC[J or ESC[0J
  40.     From Beginning of Screen to Cursor  ESC[1J
  41.     Entire Screen                       ESC[2J
  42.  
  43.  
  44. Character Sets:
  45.  
  46.     The G0 and G1 character sets are designated with a Select sequence
  47.     followed by a designator letter.
  48.  
  49.     Select (locking shift)
  50.     G0        ESC (
  51.     G1        ESC )
  52.     
  53.     Character Set                   Designator   G1 designator
  54.  
  55.     United States (USASCII)         B
  56.     Special graphics characters     0
  57.       and line drawing set
  58.     DEC Technical set            >
  59.     [Alternate Set] (USASCII)       1
  60.     [Alternate Set] (USASCII)       2
  61.       and special graphics
  62.     
  63.     To select national character sets, the sequence "ESC [ ? 4 2 h"
  64.     (with no spaces).  National character set designators::
  65.     
  66.     Dutch                4
  67.     Finnish                C or 5
  68.     French                R
  69.     French Canadian            9 or Q
  70.     German                K
  71.     Italian                Y
  72.     Norwegian/Danish            ` or E or 6
  73.     Portuguese        (sequence:)    ESC % ( 6
  74.     Spanish                Z
  75.     Swedish                7 or H
  76.     Swiss                =
  77.     United Kingdom (UK)            A
  78.     United States (USASCII)        B
  79.  
  80.     To select ISO 8859 international character sets, substitute "l" for "h"
  81.     in the above sequence.  ISO 8859 character set designators:
  82.     
  83.     Latin 1                A
  84.  
  85.  
  86. Scrolling Region:
  87.  
  88.     ESC[Pt;Pb r
  89.  
  90.     Pt is the number of the line of the top of the scrolling region; Pb is the
  91.     number of the bottom line of the scrolling region and must be greater than
  92.     Pt.
  93.  
  94. Tab Stops:
  95.  
  96.     Set tab at current position                 ESC H
  97.     Clear tab as current position               ESC[g or ESC[0g
  98.     Clear all tabs                              ESC[3g
  99.  
  100. Modes:
  101.                             To Set                  To Reset
  102.     Mode Name           Mode      Sequence      Mode      Sequence
  103.  
  104.     Insert/Replace      Insert    ESC[4h        Replace   ESC[4l
  105.     LineFeed/NewLine    NewLine   ESC[20h       LineFeed  ESC[20l
  106.     Screen Mode         Reverse   ESC[?5h       Normal    ESC[?5l
  107.     Origin Mode         Relative  ESC[?6h       Absolute  ESC[?6l
  108.     Wraparound          On        ESC[?7h       Off       ESC[?7l
  109.     Auto Repeat         On        ESC[?8h       Off       ESC[?8l
  110.  
  111. Reports:
  112.  
  113.     Cursor Position Report
  114.  
  115.     Invoked by          ESC[6n
  116.     Response            ESC[Pl;PcR
  117.  
  118.     Status Report
  119.  
  120.     Invoked by          ESC[5n
  121.     Response            ESC[0n  (terminal OK)
  122.  
  123.     What Are You?
  124.  
  125.     Invoked by          ESC[c or ESC[0c
  126.     Response            ESC[?1;2c  (VT100 with AVO, Advanced Video Option)
  127.  
  128.     Printer Status Report
  129.  
  130.     Invoked by          ESC[?15n
  131.     Response            ESC[?13n  (no printer)
  132.  
  133. Editing:
  134.  
  135.     Insertion Mode: Enter       ESC[4h
  136.     Exit (Replacement Mode)     ESC[4l
  137.  
  138.     Delete Character            ESC[PnP
  139.     Delete Line                 ESC[PnM
  140.     Insert Line                 ESC[PnL
  141.  
  142. Modes:
  143.                             To Set                  To Reset
  144.     Mode Name           Mode      Sequence      Mode      Sequence
  145.  
  146.     Cursor Key Mode     Application ESC[?1h     Cursor    ESC[?1l
  147.     Scrolling Mode      Smooth      ESC[?4h     Jump      ESC[?4l
  148.     Keypad Mode         Application ESC=        Numeric   ESC[>
  149.  
  150. Print Control Sequences:
  151.  
  152.     Auto Print Mode: Enter              ESC[?5i
  153.                      Exit               ESC[?4i
  154.     Printer Controller mode: Enter      ESC[5i
  155.                              Exit       ESC[4i
  156.  
  157.  
  158. Heath ANSI Control Sequences:
  159.  
  160.          To Set                    To Reset
  161.     Mode        Sequence    Mode            Sequence
  162.     Block Cursor    ESC[>4h        Underline Cursor    ESC[>4l
  163.     Cursor Shown    ESC[>5h        Cursor Hidden        ESC[>5l
  164.  
  165.  
  166.  
  167.  
  168.  
  169. The following sequences are NOT performed by MacKermit 0.97(57) VT100 emulation:
  170.  
  171. Line Size:
  172.  
  173.     Change this line to double-height top half          ESC#3
  174.     Change this line to double-height bottom half       ESC#4
  175.     Change this line to single-width single-height      ESC#5
  176.     Change this line to double-width single-height      ESC#6
  177.  
  178. Programmable LEDS:
  179.  
  180.     ESC[Ps q    set LED on or off
  181.  
  182. Modes:
  183.                             To Set                  To Reset
  184.     Mode Name           Mode      Sequence      Mode      Sequence
  185.  
  186.     ANSI/VT52 Mode      ANSI        N/A         VT52      ESC[?2l
  187.     Column Mode         132 Col     ESC[?3h     80 Col    ESC[?3l
  188.     Interlace           On          ESC[?9h     Off       ESC[?9l
  189.  
  190.     Print Termination   Form Feed   ESC[18h     None      ESC[18l
  191.     Print Extent        Full Page   ESC[19h     Window    ESC[19l
  192.  
  193. Print Control Sequences:
  194.  
  195.     Print Line                          ESC[?1i
  196.     Print Page                          ESC[i
  197.  
  198. Report Terminal Parameters:
  199.  
  200.     ESC[P1 n
  201.  
  202.     Request terminal parameters
  203.  
  204. Reset:
  205.  
  206.     ESC c
  207.  
  208. Confidence Tests:
  209.  
  210.     ESC#8
  211.     ESC[2;Ps y
  212.  
  213. All VT52 mode commands:
  214.  
  215.     Cursor Up                           ESC A
  216.     Cursor Down                         ESC B
  217.     Cursor Right                        ESC C
  218.     Cursor Left                         ESC D
  219.     Select Special Graphics             ESC F
  220.     Select ASCII Characters             ESC G
  221.     Cursor to Home                      ESC H
  222.     Reverse Line Feed                   ESC I
  223.     Erase to End of Screen              ESC J
  224.     Erase to End of Line                ESC K
  225.     Direct Cursor Address               ESC Y l c
  226.     Identify                            ESC Z           response:  ESC / Z
  227.     Enter Alternate Keypad Mode         ESC =
  228.     Exit Alternate Keypad Mode          ESC >
  229.     Enter ANSI mode                     ESC <
  230.  
  231.     Enter Printer Controller mode       ESC W
  232.     Exit Printer Controller Mode        ESC X
  233.     Enter Auto Print Mode               ESC ?
  234.     Exit Auto Print Mode                ESC _
  235.     Print Line                          ESC V
  236.     Print Page                          ESC ]
  237.