home *** CD-ROM | disk | FTP | other *** search
- OTHER KEYS
-
- It is possible to reassign many keys other than function keys. Be warned that
- keyboards differ, and some combinations may not work on your computer. The
- Alt- and Ctrl-key combinations for letters, numbers, and cursor keys will
- usually work; others may not.
-
- The same commands are used, of the form
-
- PROMPT $e[0;key-num;"text"[;#;"text"]...p
- PROMPT $e[0;key-num;#;...#p
- ECHO ^[[0;key-num;"text"[;#;"text"]...p
- ECHO ^[[0;key-num;#;...#p
- ESC [0;key-num;"text"[;#;"text"]...p
- or
- ESC [0;key-num;#;...#p
-
- where
-
- <key-num> is:
- 01=Alt-Esc 114=Ctrl-PrtSc
- 14=Alt-BkSp 115=Ctrl-cursor left
- 15=Shift-Tab 116=Ctrl-cursor right
- 16=Alt-Q,...,25=Alt-P 117=Ctrl-End
- (the top row of letters) 118=Ctrl-PgDn
- 26=Alt-[ 119=Ctrl-Home
- 27=Alt-] 120=Alt-1,...,128=Alt-9
- 28=Alt-Enter (the top row of numbers)
- 30=Alt-A,...,38=Alt-L 129=Alt-0
- (the middle row of letters) 130=Alt--
- 39=Alt-; 131=Alt-=
- 40=Alt-' 132=Ctrl-PgUp
- 41=Alt-` 141=Ctrl-cursor up
- 43=Alt-\ 145=Ctrl-cursor down
- 44=Alt-Z,...,50=Alt-M 146=Ctrl-Ins
- (the bottom row of letters) 147=Ctrl-Del
- 51=Alt-, 148=Ctrl-Tab
- 52=Alt-. 151=Alt-Home
- 53=Alt-/ 152=Alt-cursor up
- 71=Home 153=Alt-PgUp
- 72=cursor up 155=Alt-cursor left
- 73=page up (PgUp) 157=Alt-cursor right
- 75=cursor left 159=Alt-End
- 77=cursor right 160=Alt-cursor down
- 79=End 161=Alt-PgDn
- 80=cursor down 162=Alt-Ins
- 81=page down (PgDn) 163=Alt-Del
- 82=Insert (Ins) 165=Alt-Tab
- 83=Delete (Del)
-
- # is any ASCII character code, in decimal. The ASCII character codes are
- listed in the NEW_TERMS ASCII topic.
-
- "text" is any string of characters enclosed in double quotes.
-
- ^[ is an actual ESC character (27).
-
- If you wanted to reassign a letter or number key, the same commands are used,
- but rather than using the sequence "0;<key-num>" to specify the key, just use
- # or "key" (where # is the ASCII character code of the key to be reassigned).
- This same format can be used to reassign any ASCII character. For example, to
- reassign the "A" key to transmit a "Q" character, the following are equivalent:
- PROMPT $e[65;81p
- ECHO ^[["A","Q"p
- ESC [65;"Q"p