home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / win3x / ripterm.arj / RTD21100.EXE / TESTDRIV.EXE / VT100.MAC < prev   
Text File  |  1995-09-08  |  5KB  |  148 lines

  1.  
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3. ;;
  4. ;; RIPterm 2.0 keystroke macro file
  5. ;;
  6. ;; Copyright (c) 1995, TeleGrafix Communications, Inc.
  7. ;; All Rights Reserved
  8. ;;
  9. ;;
  10. ;; The type of macro file designates when and how it is used.  To specify
  11. ;; the file type, you need to specify a TYPE= statement with one (or more)
  12. ;; words after it.  This command gives the macro file is attributes.  For
  13. ;; the COMMON and SYSTEM macro file types, you only need to have that one
  14. ;; word after the TYPE= statement.  For the EMULATION type, you need to
  15. ;; specify which terminal emulation it belongs to (see below).
  16. ;;
  17. ;; There are three basic "Types" of Keystroke macro files:
  18. ;;
  19. ;; SYSTEM - A macro file that is only loaded when you are connected to
  20. ;; a particular host BBS.  You can optionally place the system name
  21. ;; after the "SYSTEM" keyword - it will be ignored.  For Example:
  22. ;;
  23. ;;      TYPE=SYSTEM
  24. ;;      TYPE=SYSTEM CompuServe
  25. ;;
  26. ;; COMMON - Loaded all the time - regardless of what host BBS you are
  27. ;; connected with.  Anything after the keyword "COMMON" is ignored.
  28. ;; Example:
  29. ;;
  30. ;;      TYPE=COMMON
  31. ;;
  32. ;; EMULATION - Used for terminal emulations like RIPSCRIP, ANSI or
  33. ;; VT-100.  If you specify this macro file type, you must specify the
  34. ;;  type of terminal emulation.  The three possible examples of this
  35. ;; command are:
  36. ;;
  37. ;;      TYPE=EMULATION RIPSCRIP
  38. ;;      TYPE=EMULATION ANSI
  39. ;;      TYPE=EMULATION VT-100
  40. ;;
  41. ;; When you hit a key, it is checked against the three possible list of
  42. ;; macros.  The SYSTEM macro list is checked first.  If no matches were
  43. ;; found in that list, then the COMMON list is checked.  If still no
  44. ;; matches were found, then the EMULATION list is checked.
  45. ;;
  46. ;; You may have comments in your file just about anywhere - but you cannot
  47. ;; have a comment one the same line as a macro definition (see below).  A
  48. ;; comment is what you're reading now and is started by a semicolon (;).
  49. ;; Anything after the first semicolon (inclusive) is ignored.  Blank lines
  50. ;; are also ignored in a keystroke macro file.
  51. ;;
  52. ;;
  53. ;; A Macro definition is created by specifying the keyword MACRO= followed
  54. ;; by the keystroke then the macro text.  For example:
  55. ;;
  56. ;;      MACRO=Ctrl-F3       This is a macro
  57. ;;      MACRO=Ctrl-Alt-F3   This is another macro
  58. ;;
  59. ;; You are allowed to mix "CTRL-", "ALT-" and "SHIFT-" with many different
  60. ;; keystrokes (eg, F3, K, HOME, etc).  Not all combinations are valid.
  61. ;; The following lists valid keys on the keyboard which you may combine
  62. ;; with CTRL, ALT or SHIFT in different combinations (many keys like 0-9,
  63. ;; A-Z, etc are not listed here - only special keys that don't have an
  64. ;; ASCII character associated with them (eg, HOME, PgDn, F3, etc):
  65. ;;
  66. ;;  F1
  67. ;;  F2
  68. ;;  F3
  69. ;;  F4
  70. ;;  F5
  71. ;;  F6
  72. ;;  F7
  73. ;;  F8
  74. ;;  F9
  75. ;; F10
  76. ;; F11
  77. ;; F12
  78. ;;
  79. ;; Keypad_* ... * key on the keypad
  80. ;; Keypad_+ ... + key on the keypad
  81. ;; Keypad_- ... - key on the keypad
  82. ;; Keypad_/ ... / key on the keypad
  83. ;; Keypad_. ... . key on the keypad
  84. ;; Keypad_0 ... 0 key on the keypad
  85. ;; Keypad_1 ... 1 key on the keypad
  86. ;; Keypad_2 ... 2 key on the keypad
  87. ;; Keypad_3 ... 3 key on the keypad
  88. ;; Keypad_4 ... 4 key on the keypad
  89. ;; Keypad_5 ... 5 key on the keypad
  90. ;; Keypad_6 ... 6 key on the keypad
  91. ;; Keypad_7 ... 7 key on the keypad
  92. ;; Keypad_8 ... 8 key on the keypad
  93. ;; Keypad_9 ... 9 key on the keypad
  94. ;;
  95. ;; Keypad_Enter ... Enter key on the keypad
  96. ;;
  97. ;; INSERT ... Insert key
  98. ;; DELETE ... Delete key
  99. ;;   HOME ... Home key
  100. ;;    END ... End key
  101. ;;   DOWN ... Down arrow key
  102. ;;     UP ... Up arrow key
  103. ;;  RIGHT ... Right arrow key
  104. ;;   LEFT ... Left arrow key
  105. ;;   PgDn ... Page Down key
  106. ;;   PgUp ... Page Up key
  107. ;;  ENTER ... Enter key
  108. ;; ESCAPE ... Escape key
  109. ;;  SPACE ... Space bar
  110. ;;    TAB ... Tab key
  111. ;; BSPACE ... Backspace key
  112. ;;
  113. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  114.  
  115.  
  116.  TYPE=EMULATION VT-100
  117.  
  118. MACRO=UP              <CURSOR>^[[A<APP>^[OA
  119. MACRO=DOWN            <CURSOR>^[[B<APP>^[OB
  120. MACRO=RIGHT           <CURSOR>^[[C<APP>^[OC
  121. MACRO=LEFT            <CURSOR>^[[D<APP>^[OD
  122. MACRO=HOME            <CURSOR>^[[H<APP>^[OH
  123. MACRO=END             <CURSOR>^[[K<APP>^[OK
  124. MACRO=Keypad_0        <KEYPAD>0<APP>^[Op
  125. MACRO=Keypad_1        <KEYPAD>1<APP>^[Oq
  126. MACRO=Keypad_2        <KEYPAD>2<APP>^[Or
  127. MACRO=Keypad_3        <KEYPAD>3<APP>^[Os
  128. MACRO=Keypad_4        <KEYPAD>4<APP>^[Ot
  129. MACRO=Keypad_5        <KEYPAD>5<APP>^[Ou
  130. MACRO=Keypad_6        <KEYPAD>6<APP>^[Ov
  131. MACRO=Keypad_7        <KEYPAD>7<APP>^[Ow
  132. MACRO=Keypad_8        <KEYPAD>8<APP>^[Ox
  133. MACRO=Keypad_9        <KEYPAD>9<APP>^[Oy
  134. MACRO=Keypad_.        <KEYPAD>.<APP>^[On
  135. MACRO=Keypad_+        <KEYPAD>^M<APP>^[OM
  136. MACRO=Keypad_Enter    <KEYPAD>^M<APP>^[OM
  137. MACRO=Keypad_-        <KEYPAD>-<APP>^[Om
  138. MACRO=Keypad_*        <KEYPAD>,<APP>^[Ol
  139. MACRO=F1              ^[OP
  140. MACRO=F2              ^[OQ
  141. MACRO=F3              ^[OR
  142. MACRO=F4              ^[OS
  143. MACRO=Ctrl-PGDN       ^[[H^[[2J
  144. MACRO=Ctrl-HOME       ^[[L
  145. MACRO=Ctrl-PGUP       ^[[M
  146. MACRO=DELETE          
  147.  
  148.