home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / tse2jr4.zip / QCONFIG.DAT < prev    next >
Text File  |  1997-02-21  |  8KB  |  371 lines

  1. *
  2. *  QCONFIG.DAT:  Default config file for TSE Jr.
  3. *
  4. *  Keys _must_ start in column 1.
  5. *
  6. *  Lines starting with '*' (like this one) are ignored.
  7. *
  8. *  To use enhanced keyboard keys (f11, f12, ^cursorup/down, etc) the
  9. *  'test for presence of enhanced keyboard' option _must_ be turned on by
  10. *  running qconfig.
  11. *
  12. *  Specify control-key commands via: ^f1 - This means Control-F1
  13. *  Specify alt-key commands via: @f1     - This means Alt-F1
  14. *  Specify shift-key commands via: #f1   - This means Shift-F1
  15. *
  16. *  There is also a provision for "two key commands".
  17. *  For example, to make the Control-F1, Control-F2 sequence issue the
  18. *  exit command, try the following:
  19. *
  20. *  ^f1_^f2     Exit
  21. *
  22. *  The key here is that the keys must be separated by a '_'.
  23. *
  24. *  Multiple commands and/or text may be assigned to a key (or a twokey).  To do
  25. *  so, simply place multiple commands after the key.  If the commands are to be
  26. *  continued on more than one line, then each suceeding line must start in
  27. *  column 2 or greater.  For example:
  28. *
  29. *  f1  EditFile 'help.dat' Return
  30. *
  31. *  This command would load the file 'help.dat'.  Note the return command is
  32. *  issued after the text.  This is required to terminate the prompt.
  33. *
  34. *  Following is a macro that will run MAKE and load the results into a window:
  35. *
  36. *  f1   EditFile 'errors.lst' Return
  37. *       Quit Dos 'make >errors.lst' Return Return
  38. *       HorizontalWindow EditFile 'errors.lst' Return
  39. *
  40. *  Following macro will run Turbo C on the current file:
  41. *
  42. *  f1   GSave Dos 'tcc -y -M ' CurrentFilename Return
  43. *
  44. *  Finally, you can also use the scancode to represent "special keys", as
  45. *  long as this key returns a ascii character code of 0.
  46. *  For example Alt-F9 returns an ascii character of 0 and a scan code of
  47. *  112 decimal.  To make Alt-F9 issue the EditFile command, you could:
  48. *
  49. *  112  EditFile
  50. *      or
  51. *  @f9  EditFile
  52. *
  53. *  Either will work.  This becomes especially useful if you have a macro
  54. *  processor and/or special keyboard that has extended keys that TSE Jr.
  55. *  doesn't have names for.  This gives you a method to use them.
  56. *
  57. *  Note that the order of this file is NOT important.  Arrange it however
  58. *  makes sense to you.
  59. *
  60.  
  61. *
  62. * function key set
  63. *
  64.  
  65. f1               QuickHelp
  66. f2               AddLine
  67. f3               GPQuit
  68. f4               DupLine
  69. f5               MakeTopOfScreen
  70. f6               DelToEol
  71. f7               MarkBlockBegin
  72. f8               MarkBlockEnd
  73. f9               Shell
  74. f10
  75.  
  76. * enhanced keyboard only
  77. f11
  78. f12
  79.  
  80. #f1              ToggleBoxDraw
  81. #f2
  82. #f3              Sort
  83. #f4
  84. #f5              MakeCtrOfScreen
  85. #f6
  86. #f7              ShiftLeft
  87. #f8              ShiftRight
  88. #f9
  89. #f10             SpellCheck
  90.  
  91. * enhanced keyboard only
  92. #f11
  93. #f12
  94.  
  95. ^f1              ToggleEGA43
  96. ^f2              SwapLines
  97. ^f3
  98. ^f4
  99. ^f5
  100. ^f6
  101. ^f7
  102. ^f8
  103. ^f9
  104. ^f10             MouseMenu
  105.  
  106. * enhanced keyboard only
  107. ^f11
  108. ^f12
  109.  
  110. @f1              ToggleBoxType
  111. @f2              InsertLine
  112. @f3              Match
  113. @f4
  114. @f5              ScreenLeft
  115. @f6              ScreenRight
  116. @f7
  117. @f8
  118. @f9              Dos
  119. @f10             ShowEntryScreen
  120.  
  121. * enhanced keyboard only
  122. @f11
  123. @f12
  124.  
  125. *
  126. * special keys
  127. *
  128.  
  129. cursorup         CursorUp
  130. cursordown       CursorDown
  131. cursorleft       CursorLeft
  132. cursorright      CursorRight
  133. ^cursorleft      WordLeft
  134. ^cursorright     WordRight
  135. home             BegLine
  136. end              EndLine
  137. ^home            BegScreen
  138. ^end             EndScreen
  139. pgup             PageUp
  140. pgdn             PageDown
  141. ^pgdn            EndFile
  142. ^pgup            BegFile
  143.  
  144. #tab             TabLt
  145. tab              TabRt
  146.  
  147. ins              ToggleInsert
  148. del              DelCh
  149.  
  150. backspace        Backspace
  151. ^backspace       DelLtWord
  152.  
  153. enter            Return
  154. ^enter           ExecuteScrap
  155.  
  156. escape           Escape
  157.  
  158. grey*            Paste
  159. grey+            Copy
  160. grey-            Cut
  161. #del
  162. #ins
  163. `
  164. ~
  165. /
  166.  
  167. ^prtsc           PasteOver
  168. ^2
  169. ^6
  170. ^[
  171. ^\
  172. *
  173. * Macro to edit the file whose name is sitting at the cursor in the editor
  174. *
  175. ^]               AltWordSet MarkWord jFalse done: Copy EditFile Paste
  176.                      Return done: DefaultWordSet
  177.  
  178. ^-               GetPrev
  179.  
  180. *
  181. * alternate keys
  182. *
  183.  
  184. @a               DropAnchor
  185. @b               WrapPara
  186. @c               CopyBlock
  187. @d               DelLine
  188. @e               EditFile
  189. @f               MainMenu 'f'
  190. @g               DeleteBlock
  191. @h               QuickHelp
  192. @i               ToggleTabsOut
  193. @j               JoinLine
  194. @k               MarkColumn
  195. @l               MarkLine
  196. @m               MoveBlock
  197. @n               NextFile
  198. @o               ChangeFilename
  199. @p               MainMenu 'p'
  200. @q               MainMenu 'q'
  201. @r               ReadBlock
  202. @s               SplitLine
  203. @t
  204. @u               UnmarkBlock
  205. @v               ToggleTabsExpand
  206. @w               WriteBlock
  207. @x               GExit
  208. @y               GSave
  209. @z               CopyOverBlock
  210. @1               Upper
  211. @2               Lower
  212. @3               Flip
  213. @4
  214. @5
  215. @6
  216. @7
  217. @8
  218. @9
  219. @0
  220. @-
  221. @=              MarkWord MacroQuitFalse Copy Find Paste Return Return
  222.  
  223. *
  224. * control keys
  225. *
  226.  
  227.  
  228. ^a               WordLeft
  229. ^b_a             AppendScrBuff
  230. ^b_d             DelScrBuff
  231. ^b_l             GetScrBuff
  232. ^b_s             StoreScrBuff
  233. ^c               PageDown
  234. ^d               CursorRight
  235. ^e               CursorUp
  236. ^f               WordRight
  237. ^g               DelCh
  238. ^h               Backspace
  239. ^i               IncrementalSearch
  240. ^j               GotoLine
  241. ^k_b             MarkBlockBegin
  242. ^k_c             CopyBlock
  243. ^k_d             Exit
  244. ^k_e             EditFile
  245. ^k_f             ChangeFilename
  246. ^k_h             UnmarkBlock
  247. ^k_k             MarkBlockEnd
  248. ^k_l             FillBlock
  249. ^k_n             NextFile
  250. ^k_p             PrevFile
  251. ^k_q             PQuit
  252. ^k_r             ReadBlock
  253. ^k_s             SaveFile
  254. ^k_t             MarkWord
  255. ^k_v             MoveBlock
  256. ^k_w             WriteBlock
  257. ^k_x             File
  258. ^k_y             DeleteBlock
  259. ^k_z             KillFile
  260. ^l               RepeatFind
  261. ^m               MacroRecord
  262. ^n               SplitLine
  263. ^o_c             CloseWindow
  264. ^o_g             GrowWindow
  265. ^o_h             HorizontalWindow
  266. ^o_l             SetPrintLeftMargin
  267. ^o_m             MaximizeWindow
  268. ^o_n             NextWindow
  269. ^o_o             OneWindow
  270. ^o_p             PrevWindow
  271. ^o_r             SetRMargin
  272. ^o_s             ShrinkWindow
  273. ^o_t             CenterLine
  274. ^o_w             ToggleWordWrap
  275. ^o_y             ToggleSyncScroll
  276. ^o_z             ZoomWindow
  277. ^p               Literal
  278. ^q_a             FindReplace
  279. ^q_b             GotoBlockBeg
  280. ^q_c             EndFile
  281. ^q_d             EndLine
  282. ^q_e             BegScreen
  283. ^q_f             Find
  284. ^q_i             ToggleIndent
  285. ^q_k             GotoBlockEnd
  286. ^q_l             UndoCursorline
  287. ^q_p             PrevPosition
  288. ^q_q             RepeatCmd
  289. ^q_r             BegFile
  290. ^q_s             BegLine
  291. ^q_t             ToggleSmartTabs
  292. ^q_x             EndScreen
  293. ^q_y             DelToEol
  294. ^r               PageUp
  295. ^s               CursorLeft
  296. ^t               DelRtWord
  297. ^u               UnKill
  298. ^v               ToggleInsert
  299. ^w               ScrollUp
  300. ^x               CursorDown
  301. ^y               DelLine
  302. ^z               ScrollDown
  303.  
  304. *
  305. * other enhanced only keys
  306. *
  307. grey/
  308. @'
  309. @,
  310. @.
  311. @/
  312. @;
  313. @[
  314. @\
  315. @]
  316. @`
  317. @backspace
  318. @enter
  319. @escape
  320. @grey*
  321. @grey+
  322. @grey-
  323. @grey/
  324. @greycursordown
  325. @greycursorleft
  326. @greycursorright
  327. @greycursorup
  328. @greydel
  329. @greyend
  330. @greyhome
  331. @greyins
  332. @greypgdn
  333. @greypgup
  334. @greyenter
  335. @tab
  336.  
  337. greyenter        Return
  338. ^greyenter       ExecuteScrap
  339. ^centercursor
  340. ^cursordown      LineDown
  341. ^cursorup        LineUp
  342. ^del
  343.  
  344. ^grey*
  345. ^grey+
  346. ^grey-
  347. ^grey/
  348. ^ins
  349. ^tab
  350.  
  351. centercursor
  352.  
  353. *
  354. * These are the Shifted Keypad keys.
  355. *
  356. * If CUA-Marking is on (it is by default), then assignments to these keys
  357. * will be overridden by the CUA keys.  To enable these keys, turn off
  358. * CUA-Marking by using QCONFIG.EXE.  Alternately you may assign the command
  359. * "ToggleCUAMarking" to a key and press that key to interactively toggle
  360. * the CUA-Marking mode.
  361. *
  362. #1
  363. #2
  364. #3
  365. #4
  366. #5
  367. #6
  368. #7
  369. #8
  370. #9
  371.