home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 24 DOS / 24-DOS.zip / commo60.zip / VT220.MAC < prev   
Text File  |  1994-04-09  |  3KB  |  80 lines

  1.                              ┌──────────────────┐
  2.                              │ VT220 Macro File │
  3.                              └──────────────────┘
  4.  
  5. IMPORTANT!  The PgUp and PgDn keys are part of VT220 emulation.  To see the
  6. upload or download menus, press Alt-Z (File Transfer Menu).
  7.  
  8. See Appendix E for information about the key assignments and how to use this
  9. file.
  10.  
  11. Note that {COMMO} does not support the enhanced display functions of the VT220
  12. terminal.  Therefore the results may not be satisfactory in all cases.
  13.  
  14. ───────────────────────────────────────────────────────────────────────────
  15.  {:nocar} {unload}      Unload keyboard file when carrier drops
  16.  
  17.  {:upa} {vtcur ^[[A|^[OA} {}     Up Arrow
  18.  {:dna} {vtcur ^[[B|^[OB} {}     Down Arrow
  19.  {:lfa} {vtcur ^[[D|^[OD} {}     Left Arrow
  20.  {:rta} {vtcur ^[[C|^[OC} {}     Right Arrow
  21.  
  22.  {:nf1} {send ^[OP} {}           F1  (PF1)
  23.  {:nf2} {send ^[OQ} {}           F2  (PF2)
  24.  {:nf3} {send ^[OR} {}           F3  (PF3)
  25.  {:nf4} {send ^[OS} {}           F4  (PF4)
  26.  {:nf5} {send ■} {}              F5  (Break)
  27.  {:nf6} {send ^[[17^~} {}         F6
  28.  {:nf7} {send ^[[18^~} {}         F7
  29.  {:nf8} {send ^[[19^~} {}         F8
  30.  {:nf9} {send ^[[20^~} {}         F9
  31.  {:nf0} {send ^[[21^~} {}         F10
  32.  {:af1} {send ^[[23^~} {}         F11
  33.  {:nfa} {send ^[[23^~} {}         F11
  34.  {:af2} {send ^[[24^~} {}         F12
  35.  {:nfb} {send ^[[24^~} {}         F12
  36.  {:af3} {send ^[[25^~} {}         F13
  37.  {:af4} {send ^[[26^~} {}         F14
  38.  {:af5} {send ^[[28^~} {}         F15 (Help)
  39.  {:af6} {send ^[[29^~} {}         F16 (Do)
  40.  {:af7} {send ^[[31^~} {}         F17
  41.  {:af8} {send ^[[32^~} {}         F18
  42.  {:af9} {send ^[[33^~} {}         F19
  43.  {:af0} {send ^[[34^~} {}         F20
  44.  {:hom} {send ^[[1^~} {}          Find
  45.  {:ins} {send ^[[2^~} {}          Insert here
  46.  {:del} {send ^[[3^~} {}          Remove
  47.  {:end} {send ^[[4^~} {}          Select
  48.  {:pgu} {send ^[[5^~} {}          Prev screen
  49.  {:pgd} {send ^[[6^~} {}          Next screen
  50.  
  51.  {:kp0} {vtpad 0|^[Op} {}        Keypad 0
  52.  {:kp1} {vtpad 1|^[Oq} {}        Keypad 1
  53.  {:kp2} {vtpad 2|^[Or} {}        Keypad 2
  54.  {:kp3} {vtpad 3|^[Os} {}        Keypad 3
  55.  {:kp4} {vtpad 4|^[Ot} {}        Keypad 4
  56.  {:kp5} {vtpad 5|^[Ou} {}        Keypad 5
  57.  {:kp6} {vtpad 6|^[Ov} {}        Keypad 6
  58.  {:kp7} {vtpad 7|^[Ow} {}        Keypad 7
  59.  {:kp8} {vtpad 8|^[Ox} {}        Keypad 8
  60.  {:kp9} {vtpad 9|^[Oy} {}        Keypad 9
  61.  {:kp.} {vtpad .|^[On} {}        Keypad .
  62.  
  63.  {:gr*} {vtpad ,|^[Ol} {}        Keypad ,
  64.  {:gr-} {vtpad -|^[Om} {}        Keypad -
  65.  {:gr+} {vtpad %_ent|^[OM} {}    Keypad Enter
  66.  {:bsp} {send } {}              DEL
  67.  
  68.  
  69.   Macro for File Transfers (press Alt-Z)
  70.   ────────────────────────────────────────────────────────────────────────────
  71.   {:alz}
  72.    {setv _menu1, D ≡ Download menu}
  73.    {setv _menu3, U ≡ Upload menu}
  74.    {setv _mlabel,,,,mpd,,,,,,,,,,,,,,,,,mpu}
  75.    {setv _mcolor,%menu_clr}
  76.    {menu 7,20,Utility Menu} {}
  77.  
  78.                                  - end -
  79.  
  80.