home *** CD-ROM | disk | FTP | other *** search
- #
- #
- # ----------------nVirtKey (in hex) '#' denotes a comment line
- # | ------------extended
- # | | ----------alt POSITION IS INPORTANT!!!!
- # | | | --------control
- # | | | | ------shift
- # | | | | | ----cursormode (1=normal,2-alternate,0=either)
- # | | | | | | --keypadmode (0=disabled, 1=enabled, 2=either)
- # | | | | | | | ____________Remainder of the line is the redefined text
- # Ctrl-Ins = copy, shift-ins = paste
- 2d 1 0 1 0 0 2 CMD-copy
- 2d 1 0 0 1 0 2 CMD-paste
- #Alternatively, you might want to define ctrl-c and ctrl-v
- # as copy/paste. Comment out the above definitions and
- # uncomment these......
- # 43 0 0 1 0 0 2 CMD-copy
- # 56 0 0 1 0 0 2 CMD-paste
- # ALT-N = new window
- 4e 0 1 0 0 0 2 CMD-newwindow
- #alt-p toggles passthru destination
- 50 0 1 0 0 0 2 CMD-togglepassdest
- # ins,del,pgup,pgdn,end,home,left,up,right,down extended
- 2d 1 0 0 0 0 2 CMD-insert
- 2e 1 0 0 0 0 2 CMD-delete
- 21 1 0 0 0 0 2 CMD-pageup
- 22 1 0 0 0 0 2 CMD-pagedown
- 23 1 0 0 0 0 2 CMD-end
- 24 1 0 0 0 0 2 CMD-home
- 25 1 0 0 0 0 2 CMD-arrowleft
- 26 1 0 0 0 0 2 CMD-arrowup
- 27 1 0 0 0 0 2 CMD-arrowright
- 28 1 0 0 0 0 2 CMD-arrowdown
- ## nonextended (keypad ) arrows only enabled when keypad mode is disabled
- # ins,del,pgup,pgdn,end,home,left,up,right,down extended
- 2d 0 0 0 0 0 0 CMD-insert
- 2e 0 0 0 0 0 0 CMD-delete
- 21 0 0 0 0 0 0 CMD-pageup
- 22 0 0 0 0 0 0 CMD-pagedown
- 23 0 0 0 0 0 0 CMD-end
- 24 0 0 0 0 0 0 CMD-home
- 25 0 0 0 0 0 0 CMD-arrowleft
- 26 0 0 0 0 0 0 CMD-arrowup
- 27 0 0 0 0 0 0 CMD-arrowright
- 28 0 0 0 0 0 0 CMD-arrowdown
- # arrow left,up,right,down ( control pressed )
- # These enable the keypad interface to the scrollbar
- 21 2 0 1 0 0 2 CMD-scrolluppage
- 22 2 0 1 0 0 2 CMD-scrolldownpage
- 23 2 0 1 0 0 2 CMD-scrollend
- 24 2 0 1 0 0 2 CMD-scrollhome
- 25 2 0 1 0 0 2 CMD-scrollleft
- 26 2 0 1 0 0 2 CMD-scrollup
- 27 2 0 1 0 0 2 CMD-scrollright
- 28 2 0 1 0 0 2 CMD-scrolldown
- ####This section for VTKeypad Enabled
- ## two sets of definitions are needed because some
- ## of the keys have different keycodes depending on the state
- ## of the numlock key. To accurately emulate an VT keypad,
- ## numlock state cannot affect the output. Indeed, numlock
- ## itself becomes the PF1 key
- #######################################
- ## PF Keys in VT Keypad mode (numlock, /, *, -)
- 90 1 0 0 0 0 1 CMD-PF1
- 6f 1 0 0 0 0 1 CMD-PF2
- 6a 0 0 0 0 0 1 CMD-PF3
- 6d 0 0 0 0 0 1 CMD-PF4
- ## (keypad keys - numlock on)
- ## only enabled when VT keypad mode is on
- 60 0 0 0 0 0 1 CMD-keypad0
- 61 0 0 0 0 0 1 CMD-keypad1
- 62 0 0 0 0 0 1 CMD-keypad2
- 63 0 0 0 0 0 1 CMD-keypad3
- 64 0 0 0 0 0 1 CMD-keypad4
- 65 0 0 0 0 0 1 CMD-keypad5
- 66 0 0 0 0 0 1 CMD-keypad6
- 67 0 0 0 0 0 1 CMD-keypad7
- 68 0 0 0 0 0 1 CMD-keypad8
- 69 0 0 0 0 0 1 CMD-keypad9
- 0D 1 0 0 0 0 1 CMD-keypadenter
- 6b 0 0 0 0 0 1 CMD-keypadplus
- 6c 0 0 0 0 0 1 CMD-keypadcomma
- 6e 0 0 0 0 0 1 CMD-keypaddecimal
- # arrow left,up,right,down (keypad keys - numlock off
- ## only enabled when VT keypad mode is on
- 0C 0 0 0 0 0 1 CMD-keypad5
- 21 0 0 0 0 0 1 CMD-keypad9
- 22 0 0 0 0 0 1 CMD-keypad3
- 23 0 0 0 0 0 1 CMD-keypad1
- 24 0 0 0 0 0 1 CMD-keypad7
- 25 0 0 0 0 0 1 CMD-keypad4
- 26 0 0 0 0 0 1 CMD-keypad8
- 27 0 0 0 0 0 1 CMD-keypad6
- 28 0 0 0 0 0 1 CMD-keypad2
- 2d 0 0 0 0 0 1 CMD-keypad0
- 2e 0 0 0 0 0 1 CMD-keypaddecimal
-