home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / pmeditor.zip / RSE.KEY < prev    next >
Text File  |  1990-06-15  |  12KB  |  376 lines

  1. ;  A semicolon begins a comment (like assembly language), the remainder of
  2. ;  the line following a semicolon is ignored
  3. ;
  4. ;  Format of a key definition line:
  5. ;
  6. ;  [ [ [[SHIFT+][CTRL+][ALT+]] KEY ]...]  = [BUILTIN | MACRO | FUNCTION] function_name [file_name]
  7. ;
  8. ;  BUILTIN        is the default and need not be specified
  9. ;  MACRO          is for a keystroke macro which you have saved (unsupported in this version)
  10. ;  FUNCTION       is for macro Language compiled functions (unsupported in this version)
  11. ;
  12. ;  Whitespace is ignored between tokens
  13. ;  Multiple shift keys may be specified, eg. :
  14. ;
  15. ;     CTRL + ALT + 'C' = SomeFunctionName
  16. ;
  17. ;  Multi-keystroke sequences can be defined, eg. :
  18. ;
  19. ;     CTRL + 'K' + CTRL + 'X' = ExitEditor
  20. ;     CTRL + 'X' + CTRL + 'X' = SaveAllAndExit
  21. ;
  22. ;  
  23. ;  file_name is required for MACRO and FUNCTION definitions only and MUST
  24. ;  NOT be specified for BUILTIN function definitions
  25. ;
  26. ;  Please NOTE: The current version does not support MACRO or FUNCTION
  27. ;               definitions. Only BUILTIN functions are currently supported.
  28. ;
  29. ;
  30. ;  The following keys are reserved for system menu accelorator keys and
  31. ;  should not be defined, as the definitions will be ignored
  32. ;
  33. ;F1            PM uses this to invoke HELP
  34. ;F10           PM uses this to activate the ACTION BAR
  35. ;
  36. ;ALT + SPACE   PM uses this to activate the main window's system menu
  37. ;ALT + F4      PM uses this to CLOSE the application (ExitEditor)
  38. ;ALT + F5      PM uses this to RESTORE the application main window
  39. ;ALT + F7      PM uses this to MOVE the application main window
  40. ;ALT + F8      PM uses this to SIZE the application main window
  41. ;ALT + F9      PM uses this to MINIMIZE the application main window
  42. ;ALT + F10     PM uses this to MAXIMIZE the application main window
  43. ;
  44. ;CTRL + SPACE  PM uses this to activate the current edit window's system menu
  45. ;CTRL + F4     PM uses this key to CLOSE the current edit window
  46. ;CTRL + F5     PM uses this key to RESTORE the current edit window
  47. ;CTRL + F7     PM uses this key to MOVE the current edit window
  48. ;CTRL + F8     PM uses this key to SIZE the current edit window
  49. ;CTRL + F9     PM uses this key to MINIMIZE the current edit window
  50. ;CTRL + F10    PM uses this key to MAXIMIZE the current edit window
  51. ;
  52.  
  53. ; BRIEF (Registered trademark of Underware, Inc.) compatible key definitions
  54. ;
  55. ;
  56. ;ALT + 'A' =    inclusive block marking not supported - do you use it?
  57.  ALT + 'C' = MarkColumn
  58.  ALT + 'D' = DeleteLine
  59.  ALT + 'E' = OpenFile
  60.  ALT + 'G' = GotoLine
  61. ;ALT + 'H' =
  62.  ALT + 'I' = ToggleInsert
  63. ;ALT + 'J' =                   ; JumpToBookmark not ready in this version
  64.  ALT + 'K' = DeleteLineEnd
  65.  ALT + 'L' = MarkLine
  66.  ALT + 'M' = MarkBlock
  67.  ALT + 'N' = NextBuffer
  68.  ALT + 'O' = RenameBuffer
  69.  ALT + 'P' = Print
  70. ;ALT + 'Q' = 
  71.  ALT + 'R' = Redo     ; BRIEF uses this key for ReadFile it has been moved to CTRL+ R
  72. ;ALT + 'S' =
  73.  ALT + 'T' = ToggleTabs
  74.  ALT + 'U' = Undo
  75.  ALT + 'V' = AboutEditor
  76.  ALT + 'W' = Write
  77.  ALT + 'X' = ExitEditor
  78. ;ALT + 'Y' = 
  79. ;ALT + 'Z' = Start windowed command interpreted. Use Alt+ESC to start one.
  80.  ALT + '-' = PrevBuffer
  81.  
  82. ;ALT + '1' =                   ; SetBookmark not available in this version
  83. ;ALT + '2' = 
  84. ;ALT + '3' = 
  85. ;ALT + '4' = 
  86. ;ALT + '5' = 
  87. ;ALT + '6' = 
  88. ;ALT + '7' = 
  89. ;ALT + '8' = 
  90. ;ALT + '9' = 
  91. ;ALT + '0' = 
  92.  
  93. ;  All supported special key names follow, even those not assigned
  94. ;  just so you know what every key is named.
  95. ;
  96. ;  KP stands for the Key Pad keys.
  97.  
  98. ; ALT+ESCAPE, ALT+TAB and CTRL+ESCAPE are reserved for PM's use
  99. ; do not define these as they will be ignored
  100.  
  101.  ESCAPE            = SelfInsert
  102.  BACKSPACE         = DeleteCharLeft
  103.  SHIFT + BACKSPACE = DeleteCharLeft
  104.  TAB               = SelfInsert
  105.  ENTER             = NewLineIndent
  106.  SHIFT + ENTER     = NewLine
  107.  KP_SLASH          = SelfInsert
  108.  KP_STAR           = Undo
  109.  SHIFT + KP_STAR   = Redo
  110.  SPACE             = SelfInsert
  111.  SHIFT + SPACE     = SelfInsert
  112.  
  113.  
  114.  SHIFT + F1       = NextWindow;
  115.  CTRL  + F1       = PrevWindow;
  116.  ALT   + F1       = CascadeWindows;
  117.  SHIFT+CTRL+F1    = TileWindows;
  118. ;F2
  119.  F3               = DuplicateWindow
  120.  F4               = DeleteCurrentWindow
  121.  F5               = SearchForward
  122.  SHIFT+CTRL+F5    = SearchBackward
  123.  ALT+'F'+ALT+'F'  = SearchForward
  124.  ALT+'F'+ALT+'B'  = SearchBackward
  125.  SHIFT + F5       = SearchAgain
  126.  F6               = ReplaceForward
  127.  SHIFT+CTRL+F6    = ReplaceBackward
  128.  CTRL+'F'+CTRL+'F'= ReplaceForward
  129.  CTRL+'F'+CTRL+'B'= ReplaceBackward
  130.  SHIFT + F6       = ReplaceAgain
  131.  F7               = ToggleRecordMacro
  132.  F8               = PlayMacro
  133.  SHIFT + F8       = PlayMacroAgain
  134. ;F9
  135.  SHIFT + F10      = CompileCurrentBuffer ; NOTE: BRIEF uses ALT+F10
  136. ;F11
  137. ;F12
  138.  
  139. ; NOTE:  Consecutive requests of the Home builtin command and the End builtin
  140. ;        command support BRIEF's convention. A key assigned to the Home or End
  141. ;        builtin command will perform three different actions when invoked
  142. ;        consecutively:
  143. ;
  144. ;        For the Home builtin command:
  145. ;
  146. ;        1st time command invoked     - move to the beginning of the current line
  147. ;        2nd (consecutive) invocation - move to the beginning of the top line in window
  148. ;        3rd (consecutive) invocation - move to the beginning of the buffer (file)
  149. ;
  150. ;        For the End builtin command:
  151. ;
  152. ;        1st time command invoked - move to end of current line
  153. ;        2nd (consecutive) invocation - move to end of last line in window
  154. ;        3rd (consecutive) invocation - move to end of the buffer (file)
  155. ;
  156. ;
  157. ;        So if the Home builtin command is assigned to the HOME key:
  158. ;
  159. ;        HOME           moves to the beginning of the current line
  160. ;        HOME+HOME      moves to the beginning of the top line in window
  161. ;        HOME+HOME+HOME moves to the beginning of the file
  162. ;
  163. ;        and if the End builtin command is assigned to the END key:
  164. ;
  165. ;        END            moves to the end of the current line
  166. ;        END+END        moves to the end of the last line in window
  167. ;        END+END+END    moves to the end of the file
  168. ;
  169. ;        Any other commands invoked in between will reset the counters.
  170. ;
  171. ;  If you don't want this behavior you can use LineStart and LineEnd
  172. ;  these commands do only the single action.
  173.  
  174.  HOME             = Home
  175.  KP_HOME          = Home
  176.  CTRL+HOME        = TopOfBuffer
  177.  CTRL+KP_HOME     = TopOfBuffer
  178.  END              = End
  179.  KP_END           = End
  180.  CTRL+KP_END      = EndOfBuffer
  181.  CTRL+END         = EndOfBuffer
  182.  PGUP             = PageUp
  183.  KP_PGUP          = PageUp
  184.  PGDN             = PageDown
  185.  KP_PGDN          = PageDown
  186.  UP               = Up
  187.  KP_UP            = Up
  188.  DOWN             = Down
  189.  KP_DOWN          = Down
  190.  KP_LEFT          = Left
  191.  LEFT             = Left
  192.  CTRL  + LEFT     = WordLeft
  193.  CTRL  + KP_LEFT  = WordLeft
  194.  RIGHT            = Right
  195.  KP_RIGHT         = Right
  196.  CTRL  + RIGHT    = WordRight
  197.  CTRL  + KP_RIGHT = WordRight
  198. ;KP_5
  199.  KP_MINUS         = CutClipboard
  200.  KP_PLUS          = CopyClipboard
  201.  INSERT           = PasteClipboard
  202.  KP_INSERT        = PasteClipboard
  203.  DELETE           = DeleteChar
  204.  KP_DELETE        = DeleteChar
  205.  KP_ENTER         = NewLine
  206.  SHIFT + KP_ENTER = NewLine
  207.  
  208.  SHIFT+CTRL+UP    = IncreasePriority   ; increase process priority by 1
  209.  SHIFT+CTRL+DOWN  = DecreasePriority   ; decrease process priority by 1
  210.  CTRL+'Q'+CTRL+'P'= ShowPriority  
  211.  
  212.  CTRL + '-'        = DeleteCurrentBuffer
  213.  SHIFT+CTRL+'-'    = DeleteWindowAndBuffer
  214.  CTRL + 'D'        = ScrollDown
  215.  CTRL + 'N'        = NextError
  216.  CTRL + 'P'        = PrevError
  217.  CTRL + 'R'        = ReadFile
  218.  CTRL + 'S'        = WriteCurrentBuffer
  219.  CTRL + 'U'        = ScrollUp
  220.  CTRL + 'W'        = ToggleBackups
  221.  CTRL + 'X'        = SaveAllAndExit
  222.  
  223.  
  224. ; These are the standard typable (self-insert) key definitions
  225.  
  226. 'A' = SelfInsert
  227. 'B' = SelfInsert
  228. 'C' = SelfInsert
  229. 'D' = SelfInsert
  230. 'E' = SelfInsert
  231. 'F' = SelfInsert
  232. 'G' = SelfInsert
  233. 'H' = SelfInsert
  234. 'I' = SelfInsert
  235. 'J' = SelfInsert
  236. 'K' = SelfInsert
  237. 'L' = SelfInsert
  238. 'M' = SelfInsert
  239. 'N' = SelfInsert
  240. 'O' = SelfInsert
  241. 'P' = SelfInsert
  242. 'Q' = SelfInsert
  243. 'R' = SelfInsert
  244. 'S' = SelfInsert
  245. 'T' = SelfInsert
  246. 'U' = SelfInsert
  247. 'V' = SelfInsert
  248. 'W' = SelfInsert
  249. 'X' = SelfInsert
  250. 'Y' = SelfInsert
  251. 'Z' = SelfInsert
  252.  
  253. SHIFT + 'A' = SelfInsert
  254. SHIFT + 'B' = SelfInsert
  255. SHIFT + 'C' = SelfInsert
  256. SHIFT + 'D' = SelfInsert
  257. SHIFT + 'E' = SelfInsert
  258. SHIFT + 'F' = SelfInsert
  259. SHIFT + 'G' = SelfInsert
  260. SHIFT + 'H' = SelfInsert
  261. SHIFT + 'I' = SelfInsert
  262. SHIFT + 'J' = SelfInsert
  263. SHIFT + 'K' = SelfInsert
  264. SHIFT + 'L' = SelfInsert
  265. SHIFT + 'M' = SelfInsert
  266. SHIFT + 'N' = SelfInsert
  267. SHIFT + 'O' = SelfInsert
  268. SHIFT + 'P' = SelfInsert
  269. SHIFT + 'Q' = SelfInsert
  270. SHIFT + 'R' = SelfInsert
  271. SHIFT + 'S' = SelfInsert
  272. SHIFT + 'T' = SelfInsert
  273. SHIFT + 'U' = SelfInsert
  274. SHIFT + 'V' = SelfInsert
  275. SHIFT + 'W' = SelfInsert
  276. SHIFT + 'X' = SelfInsert
  277. SHIFT + 'Y' = SelfInsert
  278. SHIFT + 'Z' = SelfInsert
  279.  
  280. CTRL  + 'A' = SelfInsert
  281. CTRL  + 'B' = SelfInsert
  282. CTRL  + 'C' = SelfInsert
  283. CTRL  + 'E' = SelfInsert
  284. CTRL  + 'G' = SelfInsert
  285. CTRL  + 'H' = SelfInsert
  286. CTRL  + 'I' = SelfInsert
  287. CTRL  + 'J' = SelfInsert
  288. CTRL  + 'K' = SelfInsert
  289. CTRL  + 'L' = SelfInsert
  290. CTRL  + 'M' = SelfInsert
  291. CTRL  + 'O' = SelfInsert
  292. CTRL  + 'V' = SelfInsert
  293. CTRL  + 'Y' = SelfInsert
  294. CTRL  + 'Z' = SelfInsert
  295.  
  296. '`' = SelfInsert
  297. '1' = SelfInsert
  298. '2' = SelfInsert
  299. '3' = SelfInsert
  300. '4' = SelfInsert
  301. '5' = SelfInsert
  302. '6' = SelfInsert
  303. '7' = SelfInsert
  304. '8' = SelfInsert
  305. '9' = SelfInsert
  306. '0' = SelfInsert
  307. '-' = SelfInsert
  308. '=' = SelfInsert
  309. '[' = SelfInsert
  310. ']' = SelfInsert
  311. '\' = SelfInsert
  312. ';' = SelfInsert
  313. ''' = SelfInsert
  314. ',' = SelfInsert
  315. '.' = SelfInsert
  316. '/' = SelfInsert
  317.  
  318. SHIFT + '`' = SelfInsert
  319. SHIFT + '1' = SelfInsert
  320. SHIFT + '2' = SelfInsert
  321. SHIFT + '3' = SelfInsert
  322. SHIFT + '4' = SelfInsert
  323. SHIFT + '5' = SelfInsert
  324. SHIFT + '6' = SelfInsert
  325. SHIFT + '7' = SelfInsert
  326. SHIFT + '8' = SelfInsert
  327. SHIFT + '9' = SelfInsert
  328. SHIFT + '0' = SelfInsert
  329. SHIFT + '-' = SelfInsert
  330. SHIFT + '=' = SelfInsert
  331. SHIFT + '[' = SelfInsert
  332. SHIFT + ']' = SelfInsert
  333. SHIFT + '\' = SelfInsert
  334. SHIFT + ';' = SelfInsert
  335. SHIFT + ''' = SelfInsert
  336. SHIFT + ',' = SelfInsert
  337. SHIFT + '.' = SelfInsert
  338. SHIFT + '/' = SelfInsert
  339.  
  340. CTRL  + '`' = SelfInsert
  341. CTRL  + '1' = SelfInsert
  342. CTRL  + '2' = SelfInsert
  343. CTRL  + '3' = SelfInsert
  344. CTRL  + '4' = SelfInsert
  345. CTRL  + '5' = SelfInsert
  346. CTRL  + '6' = SelfInsert
  347. CTRL  + '7' = SelfInsert
  348. CTRL  + '8' = SelfInsert
  349. CTRL  + '9' = SelfInsert
  350. CTRL  + '0' = SelfInsert
  351. CTRL  + '=' = SelfInsert
  352. CTRL  + '[' = SelfInsert
  353. CTRL  + ']' = SelfInsert
  354. CTRL  + '\' = SelfInsert
  355. CTRL  + ';' = SelfInsert
  356. CTRL  + ''' = SelfInsert
  357. CTRL  + ',' = SelfInsert
  358. CTRL  + '.' = SelfInsert
  359. CTRL  + '/' = SelfInsert
  360.  
  361. SHIFT + KP_DELETE = SelfInsert   ;  '.'
  362. SHIFT + KP_INSERT = SelfInsert   ;  '0'
  363. SHIFT + KP_END    = SelfInsert   ;  '1'
  364. SHIFT + KP_DOWN   = SelfInsert   ;  '2'
  365. SHIFT + KP_PGDN   = SelfInsert   ;  '3'
  366. SHIFT + KP_LEFT   = SelfInsert   ;  '4'
  367. SHIFT + KP_5      = SelfInsert   ;  '5'
  368. SHIFT + KP_RIGHT  = SelfInsert   ;  '6'
  369. SHIFT + KP_HOME   = SelfInsert   ;  '7'
  370. SHIFT + KP_UP     = SelfInsert   ;  '8'
  371. SHIFT + KP_PGUP   = SelfInsert   ;  '9'
  372. SHIFT + KP_SLASH  = SelfInsert   ;  '/'
  373. SHIFT + KP_STAR   = SelfInsert   ;  '*'
  374. SHIFT + KP_MINUS  = SelfInsert   ;  '-'
  375. SHIFT + KP_PLUS   = SelfInsert   ;  '+'
  376.