home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / LA / LA021.ZIP / QCONFIG.WP < prev    next >
Text File  |  1989-11-17  |  11KB  |  439 lines

  1. *  QCONFIG.WP    -- Configuration file for QEDIT2 to emulate Word Perfect
  2. *
  3. *  First Written:  6-MAY-88   Randy Brook, Seattle WA
  4. *  Revised:       17-SEP-88   Randy Brook   Updated to QEdit 2.06 (InsertDate)
  5. *                  6-SEP-89   Tim Farley    QEdit 2.08 & QEdit OS/2 1.0
  6. *                  3-OCT-89   Tim Farley    Added back most of original keys
  7. *                                           that do not conflict with WP's.
  8. *                                           Tweaked lesser-used WP keys.
  9. *
  10. *  ------------------------------------------------------------------------
  11. *  NOTE:  WE RECOMMEND YOU PRINT THIS FILE OUT AND REFER TO IT AS YOU
  12. *         RUN THE QCONFIG PROGRAM TO CONFIGURE YOUR COPY OF QEDIT.
  13. *
  14. *
  15. *  ------------------------------------------------------------------------
  16. *  SEE DEFAULT QCONFIG.DAT FOR FURTHER INSTRUCTIONS ON MODIFYING THIS FILE.
  17. *
  18. *
  19. * Key              1-key fcn
  20. * ---              ---------
  21. *                       2-key fcn
  22. *                       ---------
  23.  
  24. *
  25. * function key set
  26. *
  27.  
  28. f1                 Escape
  29. f2                 MacroBegin Find Pause Return "I" Return
  30. f3                 QuickHelp
  31. f4                 ToggleIndent
  32. f5                 MacroBegin EditFile "*.*"
  33. *
  34. * F6 (bold) has no real equivalent in QEdit, so it is left unassigned
  35. *
  36. f6
  37. f7                 Exit
  38. *
  39. * F8 (underline) has no real equivalent in QEdit, so it is left unassigned
  40. *
  41. f8
  42. *
  43. * F9 (merge 'R') has no real equivalent in QEdit.  However, we can break
  44. *    the line similarly.
  45. *
  46. f9                 MacroBegin AddLine BegLine
  47. f10                SaveFile
  48.  
  49. * enhanced keyboard only
  50. f11
  51. f12                MarkCharacter
  52.  
  53. *
  54. * Shift-F1 (Setup) has no equivalent in QEdit.  So we put UnKill here
  55. *    to correspond with Cancel (F1) and UndoCursorLine (Alt-F1)
  56. *
  57. #f1                UnKill
  58. #f2                MacroBegin Find Pause Return "IB" Return
  59. #f3                NextFile
  60. *
  61. * Shift-F4 (>Indent<) has no equivalent in QEdit.
  62. *
  63. #f4
  64. *
  65. * QEdit's date format (which is fixed) looks like WP's format: "6  %2/%1/4"
  66. *     (except the day of the week is only three characters).
  67. *
  68. #f5                InsertDate
  69. *
  70. * Shift-F6 (Center) has no equivalent in QEdit.
  71. *
  72. #f6
  73. *
  74. * Shift-F7 (Print) takes you to QEdit's equivalent menu.
  75. *
  76. #f7                MacroBegin MainMenu "P"
  77.  
  78. *
  79. * Shift-F8 (Format) encompasses many functions that have no equivalents
  80. *     in QEdit.  However, we will take you to the Other menu, where you
  81. *     can set margins and tab settings.
  82. *
  83. #f8                MacroBegin MainMenu "O"
  84. *
  85. * See F9.  We will do a Split Line here, which cosmetically looks similar.
  86. *
  87. #f9                MacroBegin SplitLine CursorDown BegLine
  88. #f10               EditFile
  89.  
  90. * enhanced keyboard only
  91. #f11
  92. #f12
  93.  
  94. ^f1                Shell
  95. *
  96. * QEdit has no spell-checker built in, so we will put "Dos" here to put it
  97. *    next to Shell.  Convenient, because you could use Dos to execute an
  98. *    external spelling checker.
  99. *
  100. ^f2                Dos
  101. *
  102. * Ctrl-F3 accesses the Screen menu.  Go into QEdit's "Window" menu.
  103. *    (See also @F3 for Line Draw options).
  104. *
  105. ^f3                MacroBegin MainMenu "W"
  106. *
  107. * Ctrl-F4 accesses the Move menu.  Go into QEdit's "Block" menu.
  108. *
  109. ^f4                MacroBegin MainMenu "B"
  110. *
  111. * Ctrl-F5 access the Text In/Out menu.  Just read text in here.
  112. *
  113. ^f5                ReadBlock
  114. *
  115. * Ctrl-F6 (Tab Align) has no equivalent in QEdit
  116. *
  117. ^f6
  118. *
  119. * Ctrl-F7 (Footnote) has no equivalent in QEdit
  120. *
  121. ^f7
  122. *
  123. * Ctrl-F8 (Fonts) has no equivalent.  Will use Wrap Para, which is related.
  124. *
  125. ^f8                WrapPara
  126. *
  127. * Ctrl-F9 (Merge/Sort) will just become Sort in QEdit.  Note, this is
  128. *     menu-driven in WP.  QEdit assumes you have marked a column block first.
  129. *
  130. ^f9                Sort
  131. ^f10               MacroRecord
  132.  
  133. * enhanced keyboard only
  134. ^f11
  135. ^f12
  136.  
  137. *
  138. * Alt-F1 (Thesaurus) has no equivalent in QEdit.  So we will put UndoCursorline
  139. *    here, since it relates to Cancel (F1).
  140. *
  141. @f1                UndoCursorline
  142. @f2                FindReplace
  143. *
  144. * Alt-F3 (Reveal Codes) has no equivalent in QEdit.  So we will put Line
  145. *    drawing here, since it didn't fit on Control-F3.
  146. *
  147. @f3                MacroBegin ToggleBoxDraw ToggleBoxType
  148. *
  149. * Hitting Alt-F4 a second time places a block end marker, but you aren't
  150. * obliged to use this feature.
  151. *
  152. @f4                MarkCharacter
  153. *
  154. * Alt-F5 (Mark Text) has no equivalent in QEdit.
  155. *    MarkBlockEnd relates to MarkCharacter above.
  156. *
  157. @f5                MarkBlockEnd
  158. *
  159. * Alt-F6 (Flush Right) has no equivalent in QEdit.
  160. *    MarkLine relates to the previous two.
  161. *
  162. @f6                MarkLine
  163. *
  164. * Alt-F7 (Math/Columns) has no equivalent in QEdit.
  165. *    MarkColumn is the closest related option, and relates to the previous 3.
  166. *
  167. @f7                MarkColumn
  168. *
  169. * Alt-F8 (Style) has no equivalent in QEdit.  ToggleWordWrap is related.
  170. *
  171. @f8                ToggleWordWrap
  172. *
  173. * Alt-F9 (Graphics) has no equivalent in QEdit.  We put DupLine here
  174. *    to relate to F9 and Shift-F9 (AddLine and SplitLine).
  175. *
  176. @f9                DupLine
  177. *
  178. * Alt-F10 (Macro) behaves differently in WP.  We go to QEdit's Macro menu.
  179. *
  180. @f10               MacroBegin MainMenu "M"
  181.  
  182. * enhanced keyboard only
  183. @f11
  184. @f12
  185.  
  186. *
  187. * special keys
  188. *
  189.  
  190. cursorup           CursorUp
  191. cursordown         CursorDown
  192. cursorleft         CursorLeft
  193. cursorright        CursorRight
  194. ^cursorleft        WordLeft
  195. ^cursorright       WordRight
  196. home_cursorleft         BegLine
  197. home_cursorright        EndLine
  198. home_cursordown         EndFile
  199. home_cursorup           BegFile
  200. home_backspace          DelLtWord
  201. home_del                DelRtWord
  202. *
  203. * "Extended search".  In QEdit, we let him get at the options here.
  204. *    If we could do a macro on a two-key, we could guarantee direction here.
  205. *
  206. home_f2                 Find
  207. home_#f2                Find
  208. end                EndLine
  209. *
  210. * This use of GotoLine & GotoColumn is a bit of a stretch--
  211. *    in WP you just type ^home and start typing a page number.
  212. *
  213. ^home_L            GotoLine
  214. ^home_C            GotoColumn
  215. ^home_^home        PrevPosition
  216. ^home_cursorleft   BegLine
  217. ^home_cursorup     BegScreen
  218. ^home_cursordown   EndScreen
  219. ^home_@f4          GotoBlockBeg
  220. ^home_f12          GotoBlockBeg
  221. ^end               DelToEol
  222. pgup               PageUp
  223. pgdn               PageDown
  224. *
  225. * Control-PgDn goes to end of document instead of deleting to end of page
  226. * (since QEdit does not paginate)
  227. *
  228. ^pgdn              EndFile
  229. ^pgup              BegFile
  230.  
  231. #tab               TabLt
  232. tab                TabRt
  233.  
  234. ins                ToggleInsert
  235. del                DelCh
  236.  
  237. backspace          Backspace
  238. *
  239. * DelRtWord "looks" wrong here, but it is exactly what WP does here.
  240. *
  241. ^backspace         DelRtWord
  242.  
  243. enter              Return
  244. ^enter             ExecuteScrap
  245.  
  246. escape             Escape
  247.  
  248. grey*              InputCh
  249. grey+              EndScreen
  250. grey-              BegScreen
  251. #del               InputCh
  252. #ins               InputCh
  253. `                  InputCh
  254. ~                  InputCh
  255. /                  InputCh
  256.  
  257. ^prtsc             PasteOver
  258. ^2
  259. ^6
  260. ^[
  261. ^\
  262. *
  263. * Macro to edit the file whose name is sitting at the cursor in the editor
  264. *
  265. ^]                 MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return
  266. ^-                 GetPrev
  267.  
  268. *
  269. * ALTernate keys  --  In WP, these would all be available for assignment of
  270. *    macros.  We retain the default QEdit definitions, so someone using the
  271. *    manual or other documentation can rely on these keys.
  272. *
  273.  
  274. @a                 DropAnchor
  275. @b                 WrapPara
  276. @c                 CopyBlock
  277. @d                 DelLine
  278. @e                 EditFile
  279. @f                 MacroBegin MainMenu 'f'
  280. @g                 DeleteBlock
  281. @h                 QuickHelp
  282. @i                 ToggleTabsOut
  283. @j                 JoinLine
  284. @k                 MarkColumn
  285. @l                 MarkLine
  286. @m                 MoveBlock
  287. @n                 NextFile
  288. @o                 ChangeFilename
  289. @p                 MacroBegin MainMenu 'p'
  290. @q                 MacroBegin MainMenu 'q'
  291. @r                 ReadBlock
  292. @s                 SplitLine
  293. @t
  294. @u                 UnmarkBlock
  295. @v                 ToggleTabsExpand
  296. @w                 WriteBlock
  297. @x                 GExit
  298. @y                 GSave
  299. @z                 CopyOverBlock
  300. @1                 Upper
  301. @2                 Lower
  302. @3                 Flip
  303. @4
  304. @5
  305. @6
  306. @7
  307. @8
  308. @9
  309. @0
  310. @-
  311. @=                 MacroBegin MarkWord Copy Find Paste Return Return
  312.  
  313. *
  314. * control keys
  315. *
  316.  
  317.  
  318. ^a                 WordLeft
  319. ^b_a               AppendScrBuff
  320. ^b_l               GetScrBuff
  321. ^b_s               StoreScrBuff
  322. ^c                 PageDown
  323. ^d                 CursorRight
  324. ^e                 CursorUp
  325. ^f                 WordRight
  326. ^g                 DelCh
  327. ^h                 Backspace
  328. ^i                 TabRt
  329. ^j                 GotoLine
  330. ^k_b               MarkBlockBegin
  331. ^k_c               CopyBlock
  332. ^k_d               Exit
  333. ^k_e               EditFile
  334. ^k_f               ChangeFilename
  335. ^k_h               UnmarkBlock
  336. ^k_k               MarkBlockEnd
  337. ^k_n               NextFile
  338. ^k_p               PrevFile
  339. ^k_q               PQuit
  340. ^k_r               ReadBlock
  341. ^k_s               SaveFile
  342. ^k_t               MarkWord
  343. ^k_v               MoveBlock
  344. ^k_w               WriteBlock
  345. ^k_x               File
  346. ^k_y               DeleteBlock
  347. ^k_z               KillFile
  348. ^l                 RepeatFind
  349. ^m                 MacroRecord
  350. ^n                 SplitLine
  351. ^o_c               CloseWindow
  352. ^o_l               SetPrintLeftMargin
  353. ^o_n               NextWindow
  354. ^o_o               OneWindow
  355. ^o_p               PrevWindow
  356. ^o_g               GrowWindow
  357. ^o_r               SetRMargin
  358. ^o_s               ShrinkWindow
  359. ^o_h               HorizontalWindow
  360. ^o_w               ToggleWordWrap
  361. ^o_z               ZoomWindow
  362. ^p                 Literal
  363. ^q_a               FindReplace
  364. ^q_b               GotoBlockBeg
  365. * ^q_c               EndFile
  366. * ^q_d               EndLine
  367. * ^q_e               BegScreen
  368. ^q_f               Find
  369. ^q_i               ToggleIndent
  370. ^q_k               GotoBlockEnd
  371. ^q_l               UndoCursorline
  372. ^q_p               PrevPosition
  373. * ^q_r               BegFile
  374. * ^q_s               BegLine
  375. ^q_t               ToggleSmartTabs
  376. * ^q_x               EndScreen
  377. * ^q_y               DelToEol
  378. ^r                 PageUp
  379. ^s                 CursorLeft
  380. ^t                 DelRtWord
  381. ^u                 UnKill
  382. ^v                 ToggleInsert
  383. ^w                 ScrollUp
  384. ^x                 CursorDown
  385. ^y                 DelLine
  386. ^z                 ScrollDown
  387.  
  388. *
  389. * other enhanced only keys
  390. *
  391. @'
  392. @,
  393. @.
  394. @/
  395. @;
  396. @[
  397. @\
  398. @]
  399. @`
  400. @backspace
  401. @enter
  402. @escape
  403. @grey*
  404. @grey+
  405. @grey-
  406. @grey/
  407. @greycursordown
  408. @greycursorleft
  409. @greycursorright
  410. @greycursorup
  411. @greydel
  412. @greyend
  413. @greyhome
  414. @greyins
  415. @greypgdn
  416. @greypgup
  417. @greyenter
  418. @tab
  419.  
  420. greyenter          Return
  421. ^greyenter         ExecuteScrap
  422. ^centercursor
  423. ^cursordown        LineDown
  424. ^cursorup          LineUp
  425. ^del
  426.  
  427. ^grey*
  428. ^grey+
  429. ^grey-
  430. ^grey/
  431. ^ins
  432. ^tab
  433.  
  434. centercursor
  435.  
  436. *
  437. * EOF: QCONFIG.WP
  438. *
  439.