home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / summary / keyboard / other.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  2.3 KB  |  66 lines

  1.                 OTHER KEYS
  2.  
  3. It is possible to reassign many keys other than function keys. Be warned that 
  4. keyboards differ, and some combinations may not work on your computer. The 
  5. Alt- and Ctrl-key combinations for letters, numbers, and cursor keys will 
  6. usually work; others may not. 
  7.  
  8. The same commands are used, of the form
  9.  
  10.      PROMPT $e[0;key-num;"text"[;#;"text"]...p 
  11.      PROMPT $e[0;key-num;#;...#p 
  12.      ECHO ^[[0;key-num;"text"[;#;"text"]...p 
  13.      ECHO ^[[0;key-num;#;...#p 
  14.      ESC [0;key-num;"text"[;#;"text"]...p 
  15. or
  16.      ESC [0;key-num;#;...#p 
  17.  
  18. where
  19.  
  20. <key-num> is:
  21.      01=Alt-Esc            114=Ctrl-PrtSc
  22.      14=Alt-BkSp            115=Ctrl-cursor left 
  23.      15=Shift-Tab            116=Ctrl-cursor right
  24.      16=Alt-Q,...,25=Alt-P        117=Ctrl-End
  25.         (the top row of letters)    118=Ctrl-PgDn
  26.      26=Alt-[            119=Ctrl-Home
  27.      27=Alt-]            120=Alt-1,...,128=Alt-9
  28.      28=Alt-Enter                (the top row of numbers)
  29.      30=Alt-A,...,38=Alt-L        129=Alt-0
  30.         (the middle row of letters)    130=Alt--
  31.      39=Alt-;            131=Alt-=
  32.      40=Alt-'            132=Ctrl-PgUp
  33.      41=Alt-`            141=Ctrl-cursor up
  34.      43=Alt-\            145=Ctrl-cursor down
  35.      44=Alt-Z,...,50=Alt-M        146=Ctrl-Ins
  36.         (the bottom row of letters)    147=Ctrl-Del
  37.      51=Alt-,            148=Ctrl-Tab
  38.      52=Alt-.            151=Alt-Home
  39.      53=Alt-/            152=Alt-cursor up
  40.      71=Home            153=Alt-PgUp
  41.      72=cursor up            155=Alt-cursor left
  42.      73=page up (PgUp)        157=Alt-cursor right
  43.      75=cursor left            159=Alt-End
  44.      77=cursor right        160=Alt-cursor down
  45.      79=End                161=Alt-PgDn
  46.      80=cursor down            162=Alt-Ins
  47.      81=page down (PgDn)        163=Alt-Del
  48.      82=Insert (Ins)        165=Alt-Tab
  49.      83=Delete (Del)
  50.  
  51. # is any ASCII character code, in decimal. The ASCII character codes are
  52.     listed in the NEW_TERMS ASCII topic.
  53.  
  54. "text" is any string of characters enclosed in double quotes.
  55.  
  56. ^[ is an actual ESC character (27).
  57.  
  58. If you wanted to reassign a letter or number key, the same commands are used, 
  59. but rather than using the sequence "0;<key-num>" to specify the key, just use 
  60. # or "key" (where # is the ASCII character code of the key to be reassigned). 
  61. This same format can be used to reassign any ASCII character. For example, to
  62. reassign the "A" key to transmit a "Q" character, the following are equivalent:
  63.     PROMPT $e[65;81p
  64.     ECHO ^[["A","Q"p
  65.     ESC [65;"Q"p 
  66.