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

  1.                             FUNCTION KEYS
  2.  
  3. To reassign one function key, use one of the following commands:
  4.  
  5.     PROMPT $e[0;key-num;"text"[;#;"text"]...p 
  6.     PROMPT $e[0;key-num;#;...#p 
  7.     ECHO ^[[0;key-num;"text"[;#;"text"]...p 
  8.     ECHO ^[[0;key-num;#;...#p 
  9.     ESC [0;key-num;"text"[;#;"text"]...p 
  10. or
  11.     ESC [0;key-num;#;...#p 
  12.  
  13. where
  14.  
  15. <key-num> is as follows:
  16.     a function key (59=F1,...,68=F10)
  17.     a shift function key (84=Shift-F1 or F11,...,93=Shift-F10 or F20)
  18.     a control function key (94=Ctrl-F1 or F21,...,103=Ctrl-F10 or F30)
  19.     an alternate function key (104=Alt-F1 or F31,...,113=Alt-F10 or F40)
  20.  
  21. "text" is any string of characters enclosed in double quotes.
  22.  
  23. # is any ASCII character code, in decimal. The ASCII character codes are 
  24.     listed in the NEW_TERMS ASCII topic. 
  25.  
  26. ^[ is an actual ESC character (27).
  27.  
  28. For example, to assign the F10 key to enter a HELP command, the following 
  29. are equivalent:
  30.     PROMPT $e[0;68;"HELP";13p
  31.     ECHO ^[[0;68;"HELP";13p
  32.     ESC [0;68;"HELP";13p
  33.