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

  1. *  QCONFIG.WS    -- Configuration file for QEDIT2 to emulate WordStar
  2. *
  3. *  First Written: 29-Sep-89   Tim Farley    QEdit 2.08, QEdit OS/2 1.0
  4. *  Last Revised:  07-Nov-89   Tim Farley    For WordStar 3.3.
  5. *
  6. *  ------------------------------------------------------------------------
  7. *  NOTE:  WE RECOMMEND YOU PRINT THIS FILE OUT AND REFER TO IT AS YOU
  8. *         RUN THE QCONFIG PROGRAM TO CONFIGURE YOUR COPY OF QEDIT.
  9. *
  10. *  This configuration also contains most of the Alt and Function keys
  11. *  that QEdit uses by default (most of which are not functional in WordStar).
  12. *
  13. *  In addition to all original WordStar 3.3 commands, this file also
  14. *  includes a few of Borland's "extensions" (from SideKick, Turbo environments)
  15. *  to the WordStar command set.
  16. *
  17. *  NOTE:  with all the two-key WordStar commands that exist,
  18. *         this QCONFIG file uses up all the available space in QEdit for
  19. *         two-key commands.  If you need to define more two-keys, you will
  20. *         have to undefine one existing one for each new one.
  21. *
  22. *  ------------------------------------------------------------------------
  23. *  SEE DEFAULT QCONFIG.DAT FOR FURTHER INSTRUCTIONS ON MODIFYING THIS FILE.
  24. *
  25.  
  26. *
  27. * function key set
  28. *
  29.  
  30. f1                 QuickHelp
  31. *
  32. * F2 & F3 are actually left margin commands in WordStar 3.3
  33. *    These two definitions come from classic SideKick
  34. *
  35. f2                 SaveFile
  36. f3                 EditFile
  37. f4                 SetRmargin
  38. *
  39. * F5 & F6 are actually "underline" and "bold" in WordStar 3.3
  40. *
  41. f5                 MakeTopOfScreen
  42. f6                 DelToEol
  43. f7                 MarkBlockBegin
  44. f8                 MarkBlockEnd
  45. f9                 BegFile
  46. f10                EndFile
  47.  
  48. * enhanced keyboard only
  49. f11
  50. f12
  51.  
  52. #f1                ToggleBoxDraw
  53. #f2
  54. #f3                Sort
  55. #f4
  56. #f5                MakeCtrOfScreen
  57. #f6
  58. #f7                ShiftLeft
  59. #f8                ShiftRight
  60. #f9                Shell
  61. #f10
  62.  
  63. * enhanced keyboard only
  64. #f11
  65. #f12
  66.  
  67. ^f1                ToggleEGA43
  68. ^f2
  69. ^f3
  70. ^f4
  71. ^f5
  72. ^f6
  73. ^f7
  74. ^f8
  75. ^f9
  76. ^f10
  77.  
  78. * enhanced keyboard only
  79. ^f11
  80. ^f12
  81.  
  82. @f1                ToggleBoxType
  83. @f2                InsertLine
  84. @f3                Match
  85. @f4
  86. @f5                ScreenLeft
  87. @f6                ScreenRight
  88. @f7
  89. @f8
  90. @f9                Dos
  91. @f10               ShowEntryScreen
  92.  
  93. * enhanced keyboard only
  94. @f11
  95. @f12
  96.  
  97. *
  98. * special keys
  99. *
  100.  
  101. cursorup           CursorUp
  102. cursordown         CursorDown
  103. cursorleft         CursorLeft
  104. cursorright        CursorRight
  105. ^cursorleft        WordLeft
  106. ^cursorright       WordRight
  107. *
  108. * You might prefer BegLine and EndLine for the next two
  109. *
  110. home               MacroBegin BegLine BegScreen
  111. end                EndScreen
  112. ^home              BegScreen
  113. ^end               EndScreen
  114. pgup               PageUp
  115. pgdn               PageDown
  116. ^pgdn              EndFile
  117. ^pgup              BegFile
  118.  
  119. #tab               TabLt
  120. tab                TabRt
  121.  
  122. ins                ToggleInsert
  123.  
  124. *
  125. *  NOTE:  True *original* WordStar users will know that the following
  126. *         three definitions are not the original ones.
  127. *         These are the conventional "DOS" and QEdit definitions.
  128. *
  129. *         If you would prefer the WordStar originals, change the next
  130. *         three definitions to the following:
  131. *
  132. *               del          Backspace
  133. *               backspace    Cursorleft
  134. *               ^backspace   Backspace
  135. *
  136. del                DelCh
  137. backspace          Backspace
  138. ^backspace         DelLtWord
  139.  
  140. enter              Return
  141. ^enter             ExecuteScrap
  142.  
  143. escape             Escape
  144.  
  145. grey*              Paste
  146. grey+              Copy
  147. grey-              Cut
  148. #del
  149. #ins
  150. `
  151. ~
  152. /
  153.  
  154. ^prtsc             PasteOver
  155. ^2
  156. ^6
  157. ^[
  158. ^\
  159. *
  160. * Macro to edit the file whose name is sitting at the cursor in the editor
  161. *
  162. ^]                 MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return
  163. ^-                 Backspace
  164.  
  165. *
  166. * alternate keys
  167. *
  168.  
  169. @a                 DropAnchor
  170. *
  171. * These next three start with Control-B in the default.
  172. * We make them Alt-B to free up Control-B for WrapPara.
  173. *
  174. @b_a               AppendScrBuff
  175. @b_l               GetScrBuff
  176. @b_s               StoreScrBuff
  177. @c                 CopyBlock
  178. @d                 DelLine
  179. @e                 EditFile
  180. @f                 MacroBegin MainMenu 'f'
  181. @g                 DeleteBlock
  182. @h                 QuickHelp
  183. @i                 ToggleTabsOut
  184. @j                 JoinLine
  185. @k                 MarkColumn
  186. @l                 MarkLine
  187. @m                 MoveBlock
  188. @n                 NextFile
  189. @o                 ChangeFilename
  190. @p                 MacroBegin MainMenu 'p'
  191. @q                 MacroBegin MainMenu 'q'
  192. @r                 ReadBlock
  193. @s                 SplitLine
  194. @t
  195. @u                 UnmarkBlock
  196. @v                 ToggleTabsExpand
  197. @w                 WriteBlock
  198. @x                 GExit
  199. @y                 GSave
  200. @z                 CopyOverBlock
  201. @1                 Upper
  202. @2                 Lower
  203. @3                 Flip
  204. @4
  205. @5
  206. @6
  207. @7
  208. @8
  209. @9
  210. @0
  211. @-
  212. @=                 MacroBegin MarkWord Copy Find Paste Return Return
  213.  
  214. *
  215. * control keys
  216. *
  217.  
  218.  
  219. ^a                 WordLeft
  220. ^b                 WrapPara
  221. ^c                 PageDown
  222. ^d                 CursorRight
  223. ^e                 CursorUp
  224. ^f                 WordRight
  225. ^g                 DelCh
  226. *
  227. * You might prefer "Backspace" for the following key:
  228. *
  229. ^h                 CursorLeft
  230. ^i                 TabRt
  231. ^j                 QuickHelp
  232. ^k_b               MarkBlockBegin
  233. ^k_c               CopyBlock
  234. ^k_d               File
  235. *
  236. * ^KE lets you rename an arbitrary file in WordStar.  Here we let you
  237. *    rename THIS file.
  238. *
  239. ^k_e               ChangeFilename
  240. *
  241. * Can't display directory while editing, so we put EditFile here.
  242. *    You can get a directory display from it.
  243. *
  244. ^k_f               EditFile
  245. ^k_h               UnmarkBlock
  246. *
  247. * This is a Borland environment definition
  248. *
  249. ^k_i               ShiftRight
  250. *
  251. * NOTE:  This kills the *current* file on disk in QEdit, while in WordStar
  252. *        it prompts you for what file to kill.
  253. *
  254. ^k_j               KillFile
  255. ^k_k               MarkBlockEnd
  256. *
  257. * ^KL (changed logged disk) has no equivalent in QEdit
  258. *
  259. ^k_l
  260. *
  261. * ^KN should be "toggle column block", but QEdit doesn't do that
  262. *
  263. ^k_n               NextFile
  264. *
  265. * ^KO (copy a file) could be done with a macro in QEdit
  266. *
  267. ^k_o
  268. *
  269. * ^KP is close to PrintAll in original WordStar, but PrintBlock is safer
  270. *
  271. ^k_p               PrintBlock
  272. ^k_q               PQuit
  273. ^k_r               ReadBlock
  274. ^k_s               SaveFile
  275. ^k_t               MarkWord
  276. *
  277. * This is a Borland environment definition
  278. *
  279. ^k_u               ShiftLeft
  280. ^k_v               MoveBlock
  281. ^k_w               WriteBlock
  282. ^k_x               GFile
  283. ^k_y               DeleteBlock
  284. ^k_z               KillFile
  285. ^l                 RepeatFind
  286. *
  287. * Ctrl-M should be synonymous with Return, but we'll bow to QEdit's convention
  288. *
  289. ^m                 MacroRecord
  290. ^n                 SplitLine
  291. *
  292. * ^OC is "center line" in WordStar
  293. *
  294. ^o_c               CloseWindow
  295. *
  296. * ^OD is "display print codes" which QEdit doesn't have
  297. *
  298. ^o_d
  299. *
  300. * ^OE is "toggle soft hyphen" which QEdit doesn't have
  301. *
  302. ^o_e
  303. *
  304. * ^OF is "ruler from line".  We just let you set right margin.
  305. *    The Borland environment definition would be "ToggleTabsOut"
  306. *
  307. ^o_f               SetRMargin
  308. *
  309. * ^OH is "toggle hyphen help" which QEdit doesn't have
  310. *
  311. ^o_h
  312. *
  313. * ^OG is "paragraph indent" which QEdit doesn't have
  314. *
  315. ^o_g
  316. ^o_h               HorizontalWindow
  317. ^o_i               SetCtabWidth
  318. *
  319. * ^OJ is "toggle justification" which QEdit doesn't have
  320. *
  321. ^o_j
  322. ^o_l               SetPrintLeftMargin
  323. *
  324. * ^ON is "clear tabs" in WordStar.  QEdit doesn't have that
  325. *
  326. ^o_n               NextWindow
  327. ^o_o               OneWindow
  328. *
  329. * ^OP is "toggle page break" in WordStar
  330. *
  331. ^o_p               PrevWindow
  332. ^o_g               GrowWindow
  333. ^o_r               SetRMargin
  334. *
  335. * ^OS is "set line spacing" in WordStar
  336. *
  337. ^o_s               ShrinkWindow
  338. *
  339. * ^OT is "toggle ruler line" which QEdit doesn't have
  340. *     ToggleSmartTabs is Borland's definition for this key.
  341. *
  342. ^o_t               ToggleSmartTabs
  343. *
  344. * ^OV is "toggle variable tabs".  We make that SmartTabs, which is close.
  345. *
  346. ^o_v               ToggleSmartTabs
  347. ^o_w               ToggleWordWrap
  348. *
  349. * ^OX is "release margins" which QEdit doesn't have
  350. *
  351. ^o_x
  352. ^o_z               ZoomWindow
  353. ^p                 Literal
  354. ^q_a               FindReplace
  355. ^q_b               GotoBlockBeg
  356. ^q_c               EndFile
  357. ^q_d               EndLine
  358. ^q_e               BegScreen
  359. ^q_f               Find
  360. ^q_i               ToggleIndent
  361. ^q_k               GotoBlockEnd
  362. ^q_l               UndoCursorline
  363. *
  364. * ^QO is a SideKick extension.  This definition is not quite
  365. *    exactly what SideKick does, but close.
  366. *
  367. ^q_o               InsertDate
  368. ^q_p               PrevPosition
  369. *
  370. * ^QQ (repeat following command) has no equivalent in QEdit
  371. *
  372. ^q_q
  373. ^q_r               BegFile
  374. ^q_s               BegLine
  375. *
  376. * ^QT is a SideKick extension.  This definition are not quite
  377. *    exactly what SideKick does, but close.
  378. *
  379. ^q_t               InsertTime
  380. *
  381. * ^QV does "Last Find" in WordStar.  This is pretty close.
  382. *
  383. ^q_v               PrevPosition
  384. *
  385. * ^QW (continuous scroll down) has no equivalent in QEdit
  386. *
  387. ^q_w
  388. ^q_x               EndScreen
  389. ^q_y               DelToEol
  390. *
  391. * ^QZ (continuous scroll up) has no equivalent in QEdit
  392. *
  393. ^q_z
  394. *
  395. * The following two are actually "delete to begin of line", but this is
  396. * close as we can come, since we can't do macros on two-keys.
  397. *
  398. ^q_del             DelLtWord
  399. ^q_^-              DelLtWord
  400. *
  401. * The following two are from Borland's environments
  402. *
  403. ^q_^[              Match
  404. ^q_^]              Match
  405.  
  406. ^r                 PageUp
  407. ^s                 CursorLeft
  408. ^t                 DelRtWord
  409. ^u                 UnKill
  410. ^v                 ToggleInsert
  411. ^w                 ScrollUp
  412. ^x                 CursorDown
  413. ^y                 DelLine
  414. ^z                 ScrollDown
  415.  
  416. *
  417. * other enhanced only keys
  418. *
  419. @'
  420. @,
  421. @.
  422. @/
  423. @;
  424. @[
  425. @\
  426. @]
  427. @`
  428. @backspace
  429. @enter
  430. @escape
  431. @grey*
  432. @grey+
  433. @grey-
  434. @grey/
  435. @greycursordown
  436. @greycursorleft
  437. @greycursorright
  438. @greycursorup
  439. @greydel
  440. @greyend
  441. @greyhome
  442. @greyins
  443. @greypgdn
  444. @greypgup
  445. @greyenter
  446. @tab
  447.  
  448. greyenter          Return
  449. ^greyenter         ExecuteScrap
  450. ^centercursor
  451. ^cursordown        LineDown
  452. ^cursorup          LineUp
  453. ^del
  454.  
  455. ^grey*
  456. ^grey+
  457. ^grey-
  458. ^grey/
  459. ^ins
  460. ^tab
  461.  
  462. centercursor
  463.  
  464. *
  465. * EOF: QCONFIG.WS
  466. *
  467.