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

  1.                       EXTENDED FUNCTION KEYS
  2.  
  3. The function keys F11 through F40 are the so-called "extended" function keys.
  4. On a keyboard that physically has only F1 through F10, Shift-F1 is called
  5. F11, Ctrl-F1 is called F21, Alt-F1 is called F31, and so on, so that a total
  6. of forty function keys can be defined. They are reassigned as described in
  7. the FUNCTION_KEYS topic.
  8.  
  9. However, on a keyboard that physically has F1 through F12, F11 and F12 are 
  10. reassigned using a different set of <key-num>s. To reassign these function 
  11. keys, use a command of the same form used for a function key:
  12.  
  13.      PROMPT $e[0;key-num;"text"[;#;"text"]...p 
  14.      PROMPT $e[0;key-num;#;...#p 
  15.      ECHO ^[[0;key-num;"text"[;#;"text"]...p 
  16.      ECHO ^[[0;key-num;#;...#p 
  17.      ESC [0;key-num;"text"[;#;"text"]...p 
  18. or
  19.      ESC [0;key-num;#;...#p 
  20.  
  21. where
  22.  
  23. <key-num> is:
  24.     a function key number (133=F11,134=F12)
  25.     a shift function key number (135=Shift-F11, 136=Shift-F12)
  26.     a control function key number (137=Ctrl-F11, 138=Ctrl-F12)
  27.     an alternate function key number (139=Alt-F11, 140=Alt-F12)
  28.  
  29. "text" is any string of characters enclosed in double quotes.
  30.  
  31. # is any ASCII character code, in decimal. The ASCII character codes are 
  32.     listed in the NEW_TERMS ASCII topic. 
  33.  
  34. ^[ is an actual ESC character (27).
  35.