home *** CD-ROM | disk | FTP | other *** search
/ Game Fest 1993 / gamefest1993stgcomputerslimited1993.iso / soft / more4 / pro7 / qedit.doc < prev    next >
Text File  |  1991-09-03  |  254KB  |  6,512 lines

  1.                                                                                                                                
  2.                         Welcome to
  3.  
  4.                     QEdit(R) Advanced
  5.                     the "quick editor"
  6.  
  7.                 Version 2.1 (February 1990)
  8. (See the file "READ.ME" for additional v2.15 documentation)
  9.  
  10.  
  11.              R E F E R E N C E   M A N U A L
  12.  
  13. Please note that this is the shareware version of the documentation.
  14. The licensed commercial version includes an indexed, bound manual.
  15.  
  16.  
  17.  
  18.                        SemWare(R)
  19.             4343 Shallowford Road, Suite C3A
  20.                 Marietta, GA  30062-5022
  21.  
  22.                  VOICE: (404)  641-9002
  23.                  FAX:   (404)  640-6213
  24.                  BBS:   (404)  641-8968
  25.  
  26. Copyright 1985-1991 Applied Systems Technologies, Inc.
  27. All rights reserved worldwide.
  28.  
  29. This software embodies valuable trade secrets proprietary to Applied
  30. Systems Technologies, Inc.
  31.  
  32. SemWare and QEdit are registered trademarks of Applied Systems
  33. Technologies, Inc.  All trademarks referenced in this document are
  34. the property of their respective owners.
  35.  
  36. Specifications subject to change without notice.
  37.  
  38.  
  39.          _______
  40.     ____|__     |                (R)
  41.  --|       |    |-------------------
  42.    |   ____|__  |  Association of
  43.    |  |       |_|  Shareware
  44.    |__|   o   |    Professionals
  45.  -----|   |   |---------------------
  46.       |___|___|    MEMBER
  47.  
  48. This program is produced by a member of the Association of Shareware 
  49. Professionals (ASP). ASP wants to make sure that the shareware 
  50. principle works for you. If you are unable to resolve a 
  51. shareware-related problem with an ASP member by contacting the 
  52. member directly, ASP may be able to help. The ASP Ombudsman can help 
  53. you resolve a dispute or problem with an ASP member, but does not 
  54. provide technical support for members' products. Please write to the 
  55. ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442- 9427 or send a 
  56. Compuserve message via CompuServe Mail to ASP Ombudsman 70007,3536.
  57.  
  58.  
  59.          QEDIT ADVANCED SHAREWARE SOFTWARE LICENSE
  60.          =========================================
  61.  
  62. This version of QEdit is NOT public domain or free software, but is
  63. being distributed as "shareware" for EVALUATION PURPOSES ONLY.
  64.  
  65. Copyright, Proprietary Rights
  66. -----------------------------
  67. The QEdit Advanced software is owned by Applied Systems
  68. Technologies, Inc. (doing business under the registered tradename
  69. SemWare) or its suppliers and is protected by United States
  70. copyright laws and international treaty provisions. You may not
  71. reverse engineer, decompile, disassemble, or create derivative works
  72. based on the software for any purpose other than creating an
  73. adaptation to the software as an essential step in its utilization
  74. for your own use. This software embodies valuable trade secrets
  75. proprietary to SemWare; you may not disclose any information
  76. regarding the internal operations of this software to others.
  77.  
  78. Usage Restrictions
  79. ------------------
  80. SemWare grants a limited license to individuals to use this 
  81. shareware software for a 30-day evaluation period on a private, 
  82. non-commercial basis, for the express purpose of determining whether 
  83. QEdit is suitable for their needs. At the end of this 30-day 
  84. evaluation period, the individual must either purchase a license 
  85. from SemWare for continued use of the program, or discontinue using 
  86. QEdit.
  87.  
  88. What does this mean? If you use this program on a continued basis, 
  89. you must purchase a license for its use. QEdit is NOT free, and we 
  90. are not giving away free copies. We are giving you the opportunity 
  91. to try it before paying for a license for continued use. It is that 
  92. simple. Try it. Then either pay for it, or quit using it.
  93.  
  94. Paying for a license to continue using the software product is not 
  95. only required, but also allows SemWare to provide support and 
  96. updates, and stay in business. Licensed users receive printed 
  97. documentation, additional utilities and configuration files, and a 
  98. version of the program that does NOT show the opening and closing 
  99. shareware reminder screens. Registration of the licensed copy allows 
  100. the registered user to receive free technical support (by phone, 
  101. fax, our own support BBS, mail, or various electronic services such 
  102. as CompuServe), and makes them eligible for discounts on future 
  103. versions.
  104.  
  105. Purchasing a license for QEdit Advanced entitles you to use the 
  106. program on any and all computers available to you, provided you do 
  107. not operate QEdit on more than one computer or terminal at a time 
  108. and you do not operate QEdit on a network or a multi-user system. If 
  109. you would like a network or multiple-use (site) license, please 
  110. contact SemWare for details.
  111.  
  112.  
  113. Distribution, Copying Restrictions
  114. ----------------------------------
  115. Individuals are granted a limited license to copy the SHAREWARE 
  116. version of QEdit Advanced only for the trial use of other 
  117. individuals and subject to the above limitations. This license DOES 
  118. NOT include distribution or copying of this software package:
  119.  
  120.    1.  In connection with any other product or service;
  121.  
  122.    2.  For general use within a company, institution, or agency;
  123.  
  124.    3.  For any consideration or 'disk fee'; or
  125.  
  126.    4.  In modified form (i.e., any distribution that does not
  127.        include ALL FILES supplied by SemWare with the shareware
  128.        version of QEdit Advanced, WITHOUT ALTERATION. This also
  129.        prohibits distribution of all or portions of the
  130.        documentation in printed form.)
  131.  
  132. Operators of electronic bulletin board systems (Sysops) are
  133. permitted and encouraged to post the shareware version of QEdit
  134. Advanced for downloading by their users, as long as the above
  135. conditions are met. Though a fee may be charged for BBS access, NO
  136. FEE may be charged to specifically access or download the QEdit
  137. Advanced shareware files.
  138.  
  139. Non-profit computer-related User Groups may distribute the shareware
  140. version of QEdit Advanced provided the above conditions are met.
  141. However, such User Groups MAY charge a NOMINAL fee to cover the cost
  142. of the disk and copying of the software.
  143.  
  144. Disk vendors MUST obtain written permission from SemWare before 
  145. distributing the shareware version of QEdit Advanced. Certain 
  146. restrictions apply. Generally, ASP approved vendors are granted 
  147. permission. For further details, see VENDOR.DOC.
  148.  
  149.  
  150.                     WARRANTY DISCLAIMER
  151.                     ===================
  152.  
  153. SEMWARE PROVIDES THE SHAREWARE VERSION OF QEDIT ADVANCED "AS IS" AND 
  154. WITHOUT ANY WARRANTY. TO THE EXTENT PERMITTED UNDER APPLICABLE LAW, 
  155. SEMWARE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT 
  156. NOT LIMITED TO, ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS 
  157. FOR A PARTICULAR PURPOSE. SPECIFICALLY, SEMWARE MAKES NO 
  158. REPRESENTATION OR WARRANTY THAT THE SOFTWARE IS FIT FOR ANY 
  159. PARTICULAR PURPOSE.
  160.  
  161. SEMWARE SHALL NOT BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE 
  162. OF THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO, LOSS OF PROFIT, DATA 
  163. OR USE OF THE SOFTWARE, OR SPECIAL, INCIDENTAL OR CONSEQUENTIAL 
  164. DAMAGES OR OTHER SIMILIAR CLAIMS, EVEN IF SEMWARE HAS BEEN 
  165. SPECIFICALLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES 
  166. DO NOT ALLOW THE EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, 
  167. SO THE FOREGOING LIMITATION MAY NOT APPLY TO YOU.
  168.  
  169.  
  170.  
  171.               US GOVERNMENT RESTRICTED RIGHTS
  172.               ===============================
  173.  
  174. This software and documentation are provided with RESTRICTED RIGHTS. 
  175. Use, duplication or disclosure by the U.S. Government is subject to 
  176. restrictions as set forth in subparagraph (c)(1)(ii) of the Rights
  177. in Technical Data and Computer Software clause at 252.227-7013. 
  178. Contractor/manufacturer is Applied Systems Technologies, Inc., 4343 
  179. Shallowford Road, Suite C3A, Marietta, Georgia 30062-5022, U.S.A.
  180.  
  181.  
  182.             ORDERING INFORMATION
  183.  
  184. Purchasing a license for QEdit Advanced allows you to use the 
  185. product on a regular and/or continuing basis. Registration of your
  186. licensed copy of QEdit Advanced entitles you to free technical 
  187. support from SemWare, discounts on updates, and access to the 
  188. Registered User area of our support BBS (404/641-8968, <N81>, 
  189. 1200/2400/9600 baud, 24 hours a day).
  190.  
  191. With your purchase, you will receive: a licensed copy of QEdit
  192. Advanced V2.15 with a 90-day limited warranty; a bound, indexed
  193. manual, along with a QEdit quick reference card; additional 
  194. utilities for use with QEdit.
  195.  
  196. We offer discounts to educational institutions, full-time students, 
  197. BBS sysops, US and Georgia government agencies, and various approved 
  198. Computer-related User Groups. Students must include proof of student 
  199. status (photocopy of current registration slip or student ID card). 
  200. BBS sysops must supply the name and number of their BBS, along with 
  201. any other relevant information. User Groups must be members of our 
  202. SemWare Supporter program. Call for details.
  203.  
  204. ALL PRICES AND DISCOUNTS ARE SUBJECT TO CHANGE WITHOUT NOTICE.
  205.  
  206.  
  207. SITE LICENSES AND QUANTITY PURCHASES
  208. ------------------------------------
  209. All corporate, business, government or other commercial, public, or 
  210. private users of QEdit must be licensed. We offer quantity discounts 
  211. as well as site (multi-user) licensing. Please call or write for 
  212. more information.
  213.  
  214. ORDERS OUTSIDE THE U.S./CANADA/MEXICO
  215. -------------------------------------
  216. Please use your MasterCard, VISA, American Express, Carte Blanche,
  217. Diners Club, or Discover card when ordering, or send a check drawn
  218. on a US bank payable in US dollars. Please add $10 for each copy to
  219. cover overseas shipping.
  220.  
  221.  
  222. Remit to:  SemWare                                  Order Form  #9108-OF04
  223.            4343 Shallowford Rd, Suite C3A
  224.            Marietta, GA  30062-5022  USA
  225.  
  226.             ***  QEdit Advanced version 2.15, August 1991  ***
  227.                     * Single-User License Order Form *
  228.  
  229. We take VISA, MasterCard, American Express, Diners Club, Carte Blanche,
  230. and Discover. You can use this handy order form to order by MAIL, or by:
  231.  
  232.  PHONE: (404) 641-9002 (Mon-Fri, 9am-5pm ET)       FAX: (404) 640-6213
  233.            BBS: (404) 641-8968   (1200/2400/9600 HST, <N81>)
  234.                          COMPUSERVE:  71520,67
  235.  
  236. NOTE: We offer quantity discounts and multiple-user licenses. We also
  237.       offer student/educational discounts, discounts to BBS sysops, US and
  238.       Georgia govt. agencies, and approved User Groups. Call for details.
  239. --------------------------------------------------------------------------
  240. SemWare, send me:
  241.  
  242. ____ QEdit Advanced with Printed Manual.......... @ $54.95 ea  $ ______
  243.      Includes single-user licensed copy of software (Version
  244.      2.15) with 90-day limited warranty, spiral-bound
  245.      indexed manual, reference card, low-cost upgrades.
  246.  
  247. SHIPPING (each copy)... US/Canada/Mexico: $3;  Overseas: $10   $ ______
  248.  
  249. Purchase Orders under $100.00, add $6 Billing Fee ...........  $ ______
  250.      (DOES NOT APPLY to PREPAID Check or Charge Card orders)
  251.  
  252.                                                      SUBTOTAL  $ ______
  253.  
  254. Georgia Residents please add Sales Tax ................  @ 5%  $ ______
  255.  
  256.                          TOTAL (U.S. Funds drawn on U.S. Bank) $ ______
  257.                                              
  258. Payment by:  ( )CHECK   ( )VISA   ( )MC   ( )AMEX   ( )PO#_____________
  259.                      ( )DC     ( )CB   ( )DISCOVER      (copy attached)
  260.  
  261. Name: _____________________________________________________________
  262.  
  263. Company (ONLY if company address):_________________________________
  264.  
  265. Address: __________________________________________________________
  266.  
  267.        : __________________________________________________________
  268.  
  269.        : __________________________________________________________
  270.  
  271. Voice Day Phone: ______________________ Evening: __________________
  272.  
  273. Card #: _________________________________ Exp. Date: ______________
  274.  
  275. Signature of cardholder: __________________________________________
  276.  
  277. PRICES SUBJECT TO CHANGE WITHOUT NOTICE.  Call to confirm current prices.
  278.         TSR and OS/2 VERSIONS NOW AVAILABLE!  Call for details.
  279.  
  280.  
  281. TABLE OF CONTENTS________________________________________
  282.  
  283. Acknowledgements ...................................  ii
  284. Introduction ....................................... iii
  285. Features ...........................................  iv
  286. System Requirements ................................   v
  287. Installation .......................................  vi
  288.  
  289. Chapter 1  Users Guide for QEdit                     1-1
  290.    Quick Start ..................................... 1-2
  291.       Getting Started .............................. 1-2
  292.       In the Editor ................................ 1-2
  293.       Getting Out .................................. 1-3
  294.    Menus ........................................... 1-3
  295.    The Status Line ................................. 1-4
  296.    Files ........................................... 1-5
  297.       Creating New Files ........................... 1-5
  298.       Loading Existing Files ....................... 1-5
  299.       Multiple Files:  The Ring .................... 1-6
  300.       Saving Files and Exiting  .................... 1-8
  301.    Viewing and Getting Around in the Text .......... 1-9
  302.       Cursor Movement .............................. 1-9
  303.          Moving Through a File ..................... 1-9
  304.          Moving Around on the Screen ............... 1-12
  305.          Moving by Lines and Characters ............ 1-13
  306.       Using Windows ................................ 1-13
  307.          Creating Windows .......................... 1-14
  308.          Switching Windows ......................... 1-14
  309.          Changing Window Size ...................... 1-14
  310.          Closing Windows ........................... 1-15
  311.    Copying, Moving, Replacing, and Deleting text ... 1-16
  312.       Block Commands ............................... 1-16
  313.          Marking and Unmarking a Block ............. 1-16
  314.          Manipulating Blocks Directly .............. 1-18
  315.          Manipulating Blocks Using Scrap Buffers ... 1-19
  316.          Manipulating Blocks Using Scratch Buffers . 1-21
  317.          Examples of Block Commands ................ 1-22
  318.       Non-Block Commands ........................... 1-25
  319.          Adding Text ............................... 1-25
  320.          Copying Text .............................. 1-26
  321.          Moving Text ............................... 1-27
  322.          Deleting and Undeleting Text .............. 1-28
  323.          Replacing Text ............................ 1-29
  324.       The Kill Buffer - A Safety Net ............... 1-31
  325.    Macros .......................................... 1-33
  326.       Creating Macros .............................. 1-33
  327.  
  328.       Using Macros ................................. 1-34
  329.       Saving and Reloading Macros .................. 1-34
  330.       Example of a Macro ........................... 1-35
  331.    Printing ........................................ 1-35
  332.       Print Formatting ............................. 1-36
  333.       Formfeeds .................................... 1-36
  334.    The Shell and Dos Commands ...................... 1-37
  335.    Word Processing Commands ........................ 1-38
  336.    Modes ........................................... 1-39
  337.  
  338. Chapter 2  Customizing QEdit                         2-1
  339.    Initiating the Configuration Program ............ 2-2
  340.    The Configuration Menu .......................... 2-3
  341.    Advanced Options ................................ 2-5
  342.    Colors/Screen Options ........................... 2-7
  343.    General Options ................................. 2-9
  344.    The Help Screen ................................. 2-13
  345.    Keyboard Configuration .......................... 2-14
  346.       The Keyboard Definition File ................. 2-14
  347.       Creating a Keyboard Definition File .......... 2-16
  348.    Printer Options ................................. 2-17
  349.    Tab Settings .................................... 2-18
  350.  
  351. Chapter 3  QEdit Command Reference                   3-1
  352.  
  353. Appendix A.  List of Commands                        A-1
  354.    By Function ..................................... A-1
  355.    Alphabetically .................................. A-6
  356.  
  357. Appendix B.  List of Configurable Keys               B-1
  358.    Function Keys ................................... B-1
  359.    Special Purpose Keys ............................ B-2
  360.    Control Keys .................................... B-3
  361.    Alternate Keys .................................. B-5
  362.    Enhanced Keyboard Keys .......................... B-6
  363.  
  364. Appendix C.  Error Messages                          C-1
  365.    QEdit Error Messages ............................ C-1
  366.    QCONFIG Error Messages .......................... C-3
  367.  
  368. Appendix D.  Commonly Used Macros                    D-1
  369.  
  370. Appendix E.  Addendum                                E-1
  371.  
  372. ***NOTE:  Because of disk space limitations, the Index
  373.           has been omitted from this documentation.
  374.  
  375. ACKNOWLEDGEMENTS____________________________________________________
  376.  
  377. Many years of work have gone into the development of this version of
  378. QEdit.  And we had LOTS of help.  Special thanks go to:
  379.  
  380. My wife, for her many valuable suggestions, for "proofing" this
  381. manual, and for putting up with all the long hours (and many all
  382. nighters) that I have spent working on QEdit.
  383.  
  384. Gerhard Barth, who went above and beyond the call of duty to help us
  385. track down a nasty bug in the very first version of QEdit.
  386.  
  387. P.L. Olympia, who has gone out of his way and spent much time
  388. promoting this program.
  389.  
  390. Anthony M. Marcy, who developed the INLINER program, an assembler
  391. which translates 8088 assembly language directly into Turbo Pascal
  392. INLINE code.
  393.  
  394. Karl Brendel, for his constant support and excellent testing.  Karl
  395. is also the author of an excellent add-on product for QMODEM called
  396. QFONEDIT.
  397.  
  398. John Newlin, for his encouragement and support.  John is also the
  399. author of SCOUT.  If you're looking for a powerful file or DOS
  400. manager that's memory resident, then look no further.  SCOUT is
  401. probably what you're looking for.
  402.  
  403. Stuart Warren, for his insight, encouragement, and many valuable
  404. programming suggestions.
  405.  
  406. Steve Watkins, for all the many hours he spent testing and the many
  407. "hard to find" bugs and quirks that he uncovered.
  408.  
  409. All the folks at TurboPower software.  We're especially grateful for
  410. TdebugPlus.  Using Turbo Pascal without the tools provided by the
  411. TurboPower folks is just plain wasteful!
  412.  
  413. To ALL registered users - THANK YOU - it is only through your
  414. support that additional versions are made possible.
  415.  
  416.  ii
  417.  
  418. INTRODUCTION________________________________________________________
  419.  
  420. "You can never be too rich, too thin, or have too much RAM and
  421. Disk storage."  Ancient American proverb, ca. 1980
  422.  
  423. This manual describes the use and operation of QEdit, a full-screen
  424. text editor for the IBM PC and compatible computers.  The manual
  425. includes installation instructions, a user's guide, and a reference
  426. section which explains all of QEdit's commands.
  427.  
  428. QEdit is a text editor as opposed to a word processor.  This means
  429. that most of its features are geared toward creating and maintaining
  430. program source code and other text files.  However, QEdit can also
  431. be used like a word processor to write documents or letters since it
  432. includes word-wrapping and paragraph reformatting capabilities.
  433.  
  434.  
  435. QEdit was developed with these goals in mind:
  436.  
  437. - FAST OPERATION - More than anything else, QEdit was designed to
  438.   operate quickly, especially in these areas:
  439.  
  440.     - Initially loading a file for editing.
  441.     - Displaying/Updating the screen.
  442.     - Moving through the editing window.
  443.     - Searching for text.
  444.     - Saving a file back to disk.
  445.  
  446.  
  447. - EASE OF USE - This version of QEdit includes:
  448.  
  449.     - Optional "Pop-Down" menus.
  450.     - Customizable Help Screen.
  451.     - Complete execution from a single file (Q.EXE).
  452.     - Pop-up file directory and picker.
  453.  
  454.  
  455. - COMPACT PROGRAM SIZE - Every effort was made to keep the program
  456.   size as compact as possible.  Even though memory is getting
  457.   cheaper all the time, we didn't want QEdit to require any more
  458.   memory than absolutely necessary.
  459.  
  460.  iii
  461.  
  462. FEATURES____________________________________________________________
  463.  
  464. These are just some of the many features you will enjoy while using
  465. QEdit:
  466.  
  467. - It is very fast!
  468.  
  469. - It is customizable.  QEdit can be easily configured the way you
  470.   like it.  This includes the meaning of ALL special keys on the
  471.   keyboard (Alt, Ctrl, and function keys; <Home>, <PgUp>, etc.),
  472.   colors, screen appearance, and many other options.
  473.  
  474. - It utilizes all available memory.  With QEdit you can edit files
  475.   as large as your computer's memory will allow.
  476.  
  477. - It allows true multi-file editing.  The number of files you can
  478.   edit is limited only by available memory.
  479.  
  480. - It enables you to view files through up to eight "windows".  You
  481.   can have multiple views of the same file or view a different file
  482.   in each window.
  483.  
  484. - It provides up to 99 scratch buffers for cut-and-paste or template
  485.   operations.
  486.  
  487. - It allows you to exit to DOS (or a DOS shell) temporarily and use
  488.   DOS commands from within the editor.
  489.  
  490. - It is easy to use.  You can use the optional "Pop-Down" menus to
  491.   access QEdit's commands, and there is a Help Screen which you can
  492.   customize for your own needs.
  493.  
  494. - It supports Character, Line, and Column Blocks.
  495.  
  496. - It allows you to create macros which will execute a series of
  497.   commands and keystrokes by pressing a single key.
  498.  
  499. - It provides wordwrap and paragraph reformat capabilities.
  500.  
  501. - It saves deleted words, lines, and Blocks in a deletion buffer for
  502.   later recall.
  503.  
  504. - It provides "C mode", which utilizes automatic indentation for C
  505.   language programming.
  506.  
  507. - It locates matching braces and parentheses, a useful feature for
  508.   programming.
  509.  
  510. - It will load multiple files from the DOS command line, with or
  511.   without wildcard characters.
  512.  
  513. - It allows you to specify up to six default file extensions for use
  514.   when loading files and determining tab settings.
  515.  
  516.  iv
  517.  
  518. - It allows you to execute command line compilers from within QEdit,
  519.   using its macro capability.
  520.  
  521. - It provides line drawing to create diagrams and tables.
  522.  
  523. - It supports enhanced (101 key) keyboards.
  524.  
  525. - It supports up to 200-column and 100-line screens.
  526.  
  527. - It supports EGA 43-line mode and VGA 50-line mode.
  528.  
  529. - It is compact.  Even with all these features, QEdit requires less
  530.   than 50k of disk space.
  531.  
  532.  
  533.  
  534. SYSTEM REQUIREMENTS_________________________________________________
  535.  
  536. QEdit will run on the IBM PS/2, PC/AT, PC/XT, PC, PC/Jr, and on IBM
  537. compatible computers including the Compaq, NCR, Tandy, and WYSE
  538. PC's.  MINIMUM requirements are:
  539.  
  540. - 128 KB of memory (although QEdit can utilize up to 640 KB if it
  541.   is available).
  542.  
  543. - PC-DOS 2.0 or greater or MS-DOS 2.0 or greater.
  544.  
  545. - One diskette drive.
  546.  
  547. - Either a color or a monochrome monitor with 80-column display.
  548.  
  549. - 60 KB of disk space.
  550.  
  551. - Q.EXE, the editor program itself.  No other files are necessary for
  552.   operating QEdit.
  553.  
  554.  v
  555.  
  556. INSTALLATION________________________________________________________
  557.  
  558. Before installing QEdit, you should review the contents of the
  559. READ.ME file on your QEdit distribution diskette.  This file
  560. contains important information (usage information, new features,
  561. changes, etc.) that became available after this manual was printed.
  562. You should carefully review the READ.ME file before using QEdit.
  563.  
  564. The READ.ME file also contains a complete list of the files included
  565. on the distribution diskette.  A partial list is included here:
  566.  
  567. Q.EXE          QEdit.  No other files are necessary for proper
  568.                operation of QEdit.
  569.  
  570. QCONFIG.EXE    The QEdit configuration program.  This program
  571.                allows you to customize QEdit.
  572.  
  573. QCONFIG.DAT    The default QEdit Keyboard Definition file. Used
  574.                by QCONFIG.EXE.
  575.  
  576. QHELP.TXT      The default QEdit Help text.  Used by QCONFIG.EXE.
  577.  
  578.  
  579. QEdit is simple to install.  But first, be sure to make a backup
  580. copy of the distribution diskette.
  581.  
  582. Once you have made your backup copy, simply copy Q.EXE to the disk
  583. and/or subdirectory where you would like to use it.  If you are
  584. using a hard disk, then you probably want to put it somewhere that
  585. is accessible via the "path".  For example, on our system, we keep
  586. many of our executable programs in a subdirectory called TOOLS.
  587.  
  588. +---------------------------------+
  589. |QEdit Tip:                       |
  590. | Please note that one of the     |
  591. | MAJOR features of QEdit is      |
  592. | configurability.  You can       |
  593. | customize the colors, the keys, |
  594. | the on-screen appearance of the |
  595. | editor, and many other          |
  596. | functions.                      |
  597. |                                 |
  598. | By spending just a small amount |
  599. | of time reviewing Chapter 2 on  |
  600. | configuration, you can benefit  |
  601. | greatly through customizing the |
  602. | editor to your personal         |
  603. | preferences.                    |
  604. +---------------------------------+
  605.  
  606. If you will be customizing QEdit (Refer to Chapter 2 for complete
  607. information on customizing QEdit), then you may wish to create a
  608. special directory and copy the files Q.EXE, QCONFIG.EXE,
  609. QCONFIG.DAT, and QHELP.TXT to that directory.
  610.  
  611.  vi
  612.  
  613. CHAPTER 1.  USERS GUIDE FOR QEDIT___________________________________
  614.  
  615. Quick Start
  616. ===========
  617.  
  618. With QEdit you can edit any text file with a few simple commands.
  619. The next three sections briefly describe the quickest way possible
  620. to load, edit, and save a file.
  621.  
  622.  
  623. Getting Started
  624.  
  625. Using QEdit is simple and straightforward.
  626.  
  627. To initiate QEdit, type "Q <Enter>".  The Editor will respond with
  628. a prompt for the name of the file to be edited.
  629.  
  630. +-----------------------------------------------------+
  631. |  File(s) to edit: <Esc = abort>                     |
  632. |                                                     |
  633. +-----------------------------------------------------+
  634.  
  635. Enter the filename.  The filename may include full path designation.
  636.  
  637. +---------------------------------+
  638. |QEdit Tip:                       |
  639. |  At any "File to edit" prompt,  |
  640. |  you may use wildcard characters|
  641. |  (* or ?) to obtain a list of   |
  642. |  matching files in the          |
  643. |  directory.                     |
  644. +---------------------------------+
  645.  
  646. You may optionally include the filename on the DOS command line in
  647. order to bypass this prompt.  For example, from the DOS command line,
  648. type:
  649.                "Q filename <Enter>"
  650.  
  651.  
  652. In the Editor
  653.  
  654. Once you are in QEdit, the cursor movement keys (Left, Right, Up,
  655. Down, Home, End, ...) allow you to move around in the text.
  656.  
  657. To obtain a help screen, simply press <F1>.  Pressing <F1> again
  658. returns you to the text.
  659.  
  660. To obtain a menu of QEdit commands, press <Esc>.  You may then use
  661. the cursor movement keys to position the cursor bar over the desired
  662. command.  Pressing <Enter> will execute the command.
  663.  
  664.  1-2
  665.  
  666. +------------------------------------------------+
  667. | QEdit Tip:                                     |
  668. |   Pressing <Esc> will abort any editor prompt. |
  669. +------------------------------------------------+
  670.  
  671.  
  672. Getting Out
  673.  
  674. The easiest way to get out of QEdit and save all the work you have
  675. done is to enter <Alt F> <G>.
  676.  
  677.  
  678. Menus
  679. =====
  680.  
  681. QEdit provides an easy-to-use "Pop-Down" style menu system.  The
  682. menu system is very helpful while learning to use the editor.  It is
  683. also handy for executing seldom used commands.
  684.  
  685. To access the menus and execute a command:
  686.  
  687. 1.  Press <Esc>.  The main menu will be displayed at the top of
  688.     the screen.  The main menu consists of a list of sub-menu items.
  689.  
  690. 2.  Select a sub-menu item.  You may do this by moving the cursor 
  691.     bar to the desired item and pressing <Enter> or by typing the 
  692.     capital letter of the desired item.
  693.  
  694. 3.  Execute a command.  This is done in the same manner as selecting
  695.     the sub-menu items.
  696.  
  697. Here is an example of the "Pop-Down" style menu system.  This User
  698. is about to execute the "Copy block" command.
  699.  
  700. +----------------------------------------------------------------+
  701. |File  Window #Block# Search  Print  Macro  Editing  Other  Quit |
  702. +----------------------------------------------------------------+
  703.               | mark block Begin |
  704.               | mark block End   |
  705.               |#Copy block#######|
  706.               | Move block       |
  707.               | Delete block     |
  708.               | Unmark           |
  709.               | mark Line        |
  710.               +------------------+
  711.  
  712. You can execute many QEdit commands using the menus.  As you become
  713. more familiar with the editor, you may wish to use the <Ctrl>,
  714. <Alt>, and function keys, instead of the menus, to execute commands
  715. more quickly.  A cross reference of all QEdit commands can be found
  716. in Appendix A.
  717.  
  718.  1-3
  719.  
  720. The Status Line
  721. ===============
  722.  
  723. At the top of the editing screen is the Status Line.  The Status
  724. Line constantly displays information regarding the file you are
  725. currently editing.
  726.  
  727. The Status Line is shown below with a description of the information
  728. displayed.
  729.  
  730. +----------------------------------------------------------------+
  731. |L 15   C 15   IAW R B  411K   *c:\qedit\qedit.doc               |
  732. +----------------------------------------------------------------+
  733.    |      |    ||| | |   |     |      |
  734.    |      |    ||| | |   |     |      +--- The path and name of the
  735.    |      |    ||| | |   |     |            file you are editing
  736.    |      |    ||| | |   |     |
  737.    |      |    ||| | |   |     +- *) Indicates file has been changed
  738.    |      |    ||| | |   |
  739.    |      |    ||| | |   +--- Amount of available memory
  740.    |      |    ||| | |
  741.    |      |    ||| | +--- B) Indicates Box Drawing mode is ON
  742.    |      |    ||| |
  743.    |      |    ||| +--- R) Indicates macro recording is ON
  744.    |      |    |||
  745.    |      |    ||+--- W) Indicates WordWrap mode is ON
  746.    |      |    ||
  747.    |      |    |+--- A) Indicates AutoIndent mode is ON
  748.    |      |    |
  749.    |      |    +--- I) Indicates Insert mode is ON
  750.    |      |
  751.    |      +--- The current cursor column number
  752.    |
  753.    +--- The current cursor line number
  754.  
  755.  
  756. For more information on Insert, AutoIndent, WordWrap, and Box
  757. Drawing, refer to the "Modes" section in this chapter.  For more
  758. information on macro recording, refer to the "Macros" section in
  759. this chapter.
  760.  
  761. +---------------------------------+
  762. | QEdit Tip:                      |
  763. |   The Status Line may be config-|
  764. |   ured to appear at the bottom  |
  765. |   of the screen.  Refer to the  |
  766. |   "Colors/Screen Options"       |
  767. |   section of Chapter 2 for more |
  768. |   information.                  |
  769. +---------------------------------+
  770.  
  771.  1-4
  772.  
  773. Files
  774. =====
  775.  
  776. Creating New Files
  777.  
  778. There are three different ways to create new files, ready for 
  779. editing.
  780.  
  781. 1. From the DOS command line, enter <Q> followed by one or more new
  782.    filenames.  Each filename must be separated by a space. For
  783.    example, typing:
  784.  
  785.                "Q file1 b:file2 \dir1\file3 <Enter>"
  786.  
  787.    will create "file1" in the current directory, "file2" on disk
  788.    drive B, and "file3" in the directory "dir1".
  789.  
  790. +---------------------------------+
  791. | QEdit Tip:                      |
  792. |   When specifying file names    |
  793. |   to QEdit, you may use full    |
  794. |   path designations if desired. |
  795. +---------------------------------+
  796.  
  797. 2. From the DOS command line, type "Q <Enter>".  QEdit will
  798.    respond with the prompt:
  799.      +------------------------------------------------+
  800.      |  File(s) to edit: <Esc = abort>                |
  801.      |                                                |
  802.      +------------------------------------------------+
  803.  
  804.    Enter one or more new filenames, each separated by a space.
  805.  
  806. 3. From within the editor, enter the EditFile <Alt E> command. The
  807.    above prompt will appear.  Again, you may enter one or more new
  808.    filenames, each separated by a space.
  809.  
  810.  
  811. Loading Existing Files
  812.  
  813. Loading existing files works exactly like creating new files (in the
  814. previous section) with two exceptions:
  815.  
  816. - The filename(s) specified must exist on disk.
  817.  
  818. - The filename(s) may contain wildcard characters (*, ?).
  819.  
  820. QEdit can be configured to respond to wildcarded filename entries in
  821. one of two ways:
  822.  
  823. 1. Load all matching files into the editor.
  824.  
  825.  1-5
  826.  
  827. 2. Show all the matching filenames in a "pick" listing. You can then
  828.    use the cursor keys to find the file you want and press <Enter>
  829.    to load it into the editor.
  830.  
  831. QEdit can also be configured to use default file extensions, such as
  832. "doc" and "pas" when entering filenames.  For more information on
  833. configuring these options, refer to the "General Options" section of
  834. Chapter 2.
  835.  
  836.  
  837. Multiple Files: The Ring
  838.  
  839. QEdit is a true multi-file editor.  It allows as many files as will
  840. fit into memory to be loaded at the same time.  All of these files
  841. can then be edited by simply switching back and forth between them
  842. without having to save and load each file individually. Switching
  843. between files is accomplished very quickly and easily.
  844.  
  845. A simple explanation of how QEdit handles multiple files will help
  846. you in manipulating and editing multiple files.
  847.  
  848. QEdit maintains all loaded files in a "ring".  As we describe each
  849. of the commands used to manipulate the files in the ring, refer to
  850. the illustration below.
  851.  
  852. +----------------------------------------------------+
  853. |             +----+              +----+             |
  854. |             |    |              |....|             |
  855. |     +-----> | A  | <---<Ctrl KP>|.B..|<Alt N>      |
  856. |     |       |    |              |....|      |      |
  857. |     |       +----+              +----+      |      |
  858. |     v         ^                 <Alt E>     v      |
  859. |   +----+      |                   |       +----+   |
  860. |   |    |      |                   |       |    |   |
  861. |   | F  | <----+-------------------+-----> | C  |   |
  862. |   |    |      |                   |       |    |   |
  863. |   +----+      |                   |       +----+   |
  864. |     ^         v                   v         ^      |
  865. |     |       +----+              +----+      |      |
  866. |     |       |    |              |    |      |      |
  867. |     +-----> | E  | <----------> | D  | <----+      |
  868. |             |    |              |    |             |
  869. |             +----+              +----+             |
  870. |                                                    |
  871. |                     The "Ring"                     |
  872. +----------------------------------------------------+
  873.  
  874. In the ring we see that six files have been loaded into the editor.
  875. You can, of course, load many more files - as many as your
  876. computer's memory will allow.
  877.  
  878.  1-6
  879.  
  880. Assume the file currently being edited is file "B".  You may then
  881. move from one file to another in any of the following ways:
  882.  
  883. - Enter the NextFile <Alt N> command.
  884.   You will now be editing the next file in the ring, file "C".
  885.  
  886. - Enter the PrevFile <Ctrl KP> command.
  887.   You will now be editing the previous file in the ring, file "A".
  888.  
  889. - Enter the EditFile <Alt E> command.
  890.   The editor will prompt for a filename.  You may enter the name of
  891.   any file in the ring.  The editor will make the entered file the
  892.   current one for editing.
  893.  
  894. You may, at any time, add files to the ring or discard files from
  895. the ring.  If you add a new file to the ring using the EditFile
  896. command, it will become the current file and the old current file
  897. will become the previous file.  If you delete a file from the ring
  898. the previous file will become the current file.
  899.  
  900. +---------------------------------+
  901. | QEdit Tip:                      |
  902. |   When loading files, be aware  |
  903. |   that QEdit will not load two  |
  904. |   copies of the same file.  If  |
  905. |   you issue the EditFile command|
  906. |   for a file already loaded,    |
  907. |   that file will become the     |
  908. |   new current file.             |
  909. +---------------------------------+
  910.  
  911.  1-7
  912.  
  913. Saving Files and Exiting
  914.  
  915. QEdit provides several different ways to save files, discard files,
  916. and exit the editor.  A set of five basic commands provides assorted
  917. combinations of saving, discarding, and exiting in order to suit
  918. individual preferences.
  919.  
  920. We recommend selecting one or two methods with which you feel most
  921. comfortable and using them consistently.
  922.  
  923. The table below summarizes these commands and their effects.
  924.  
  925. +------------------------------------------------------------------+
  926. |Command for Single    Command for Multiple                        |
  927. |File or Current File  Files                                       |
  928. |--------------------  --------------------                        |
  929. |Exit      <Ctrl KD>   GExit     <Alt X>           X       X   X(a)|
  930. |                                                                  |
  931. |File      <Ctrl KX>   GFile     <Alt F><G>    X           X   X(a)|
  932. |                                                                  |
  933. |PQuit     <Ctrl KQ>   GPQuit    <Alt Q><Q>            X   X   X(a)|
  934. |                                                                  |
  935. |Quit (b)                                                  X   X   |
  936. |                                                                  |
  937. |SaveFile  <Ctrl KS>   GSave     <Alt Y>       X                   |
  938. |                                                                  |
  939. |                                              |   |   |   |   |   |
  940. |  Edited File(s) are Saved Unconditionally ---+   |   |   |   |   |
  941. |                                                  |   |   |   |   |
  942. |     User Prompted to Save Edited Files (Y/N)  ---+   |   |   |   |
  943. |                                                      |   |   |   |
  944. |        User Warned That File Changes May Be Lost  ---+   |   |   |
  945. |                                                          |   |   |
  946. |                    File(s) are Discarded From Editor  ---+   |   |
  947. |                                                              |   |
  948. |                                 The Editor is Terminated  ---+   |
  949. |                                                                  |
  950. |    (a) The Exit, File, and PQuit commands can be configured to   |
  951. |        terminate or not terminate the editor.  Refer to the      |
  952. |        "General Options" section of Chapter 2 for more           |
  953. |        information.                                              |
  954. |                                                                  |
  955. |    (b) USE WITH CAUTION!                                         |
  956. +------------------------------------------------------------------+
  957.  1-8
  958.  
  959. Viewing and Getting Around in the Text
  960. ======================================
  961.  
  962. QEdit is quite versatile in allowing you to move around in the text.
  963. With simple keystrokes you can either move a few characters or lines
  964. at a time or move from one end of the file to another.  You can go
  965. to specific lines in the file or go to each occurrence of a
  966. particular string of characters.  And with QEdit's windows, you can
  967. view up to eight files at a time or have multiple views of the same
  968. file.
  969.  
  970. As you will see, there are quite a few commands in QEdit for moving
  971. around in your text.  If you are not already familiar with these
  972. types of commands, try them out.  You will probably find some new
  973. commands that will be useful for your applications of QEdit.
  974.  
  975.  
  976. Cursor Movement
  977. ---------------
  978.  
  979. Moving Through a File
  980.  
  981. QEdit provides several commands which enable you to move about in a
  982. file.
  983.  
  984. - BegFile <Ctrl PgUp> and EndFile <Ctrl PgDn>
  985.   As their names imply, these commands move the cursor to the
  986.   beginning or end of the current file.  BegFile positions the
  987.   cursor at column one on the first line of the file.  EndFile
  988.   positions the cursor after the last non-blank character on the
  989.   last line of the file.
  990.  
  991. - PageUp <PgUp> and PageDown <PgDn>
  992.   PageUp scrolls the text toward the top of the file, one page-full,
  993.   less one line, at a time.  PageDown scrolls the text toward the
  994.   end of the file, one page-full, less one line, at a time.
  995.  
  996. - HalfPgUp and HalfPgDn
  997.   These commands work exactly like the PageUp and PageDown commands,
  998.   except that they scroll only one-half page at a time.
  999.  
  1000. +---------------------------------+
  1001. | QEdit Tip:                      |
  1002. |   All QEdit commands, including |
  1003. |   those without default key     |
  1004. |   assignments, can be assigned  |
  1005. |   as the user desires, to       |
  1006. |   almost any key.  Refer to     |
  1007. |   the "Keyboard Configuration"  |
  1008. |   section of Chapter 2 for more |
  1009. |   information.                  |
  1010. +---------------------------------+
  1011.  
  1012.  1-9
  1013.  
  1014. - ScrollUp <Ctrl W> and LineUp
  1015.   These commands scroll the text one line at a time toward the 
  1016.   beginning of the file.
  1017.  
  1018.   The ScrollUp command will cause the cursor to remain on the same 
  1019.   line of text until it reaches the bottom of the screen, while the 
  1020.   LineUp command will cause the cursor to remain stationary on the 
  1021.   screen.
  1022.  
  1023. - ScrollDown <Ctrl Z> and LineDown
  1024.   These commands scroll the text one line at a time toward the end 
  1025.   of the file.
  1026.  
  1027.   The ScrollDown command will cause the cursor to remain on the same 
  1028.   line of text until it reaches the top of the screen, while the 
  1029.   LineDown command will cause the cursor to remain stationary on the 
  1030.   screen.
  1031.  
  1032. - GotoLine <Ctrl J>
  1033.   Upon entering the GotoLine command, QEdit will prompt with:
  1034.     +--------------------------+
  1035.     |line number: <Esc = abort>|
  1036.     |                          |
  1037.     +--------------------------+
  1038.  
  1039.   By typing a line number and <Enter>, QEdit will "jump" the cursor 
  1040.   to the specified line number.  An easy way to move about quickly 
  1041.   in your text is to keep track of critical positions by noting 
  1042.   their line number, which is displayed on the Status Line, and then 
  1043.   using this command to "jump" to those positions.
  1044.  
  1045. - GotoBlockBeg <Ctrl QB> and GotoBlockEnd <Ctrl QK>
  1046.   These commands move the cursor to the beginning or to the end of 
  1047.   the currently marked Block.  If the marked Block is in another 
  1048.   file, QEdit will make that file the current file and then move you 
  1049.   to the beginning or end of the Block.  For more information on 
  1050.   using marked Blocks, refer to the "Block Commands" section in this 
  1051.   chapter.
  1052.  
  1053. - PrevPosition <Ctrl QP>
  1054.   This command can come in very handy.  It moves you to the cursor's 
  1055.   previous position.  Although it would not be of much use if you 
  1056.   had only moved a character or two, it can be useful for larger 
  1057.   jumps of the cursor.
  1058.  
  1059.   For example, perhaps you are in the middle of a file and want to 
  1060.   check something at the very beginning of the file.  To get to the 
  1061.   beginning, you would simply enter BegFile <Ctrl PageUp>.  After 
  1062.   you look at the beginning, you want to get back to where you were 
  1063.   previously.  You could use PageDown, but that could be tedious, 
  1064.   especially if your file is large.  The easiest way would be to 
  1065.   enter PrevPosition, and with a single keystroke, you are 
  1066.   immediately back where you started.  Note: PrevPosition can only 
  1067.   take you back to the cursor's immediately previous position.
  1068.  
  1069.  1-10
  1070.  
  1071.   If there are intervening keystrokes that move the cursor,
  1072.   PrevPosition will move you back to the most recent location of the
  1073.   cursor.
  1074.  
  1075. - Find <Ctrl QF> and RepeatFind <Ctrl L>
  1076.   These commands will search for a specific string of characters in
  1077.   the file.  Upon entering the Find command, QEdit will prompt for
  1078.   the string of characters for which to search.
  1079.     +---------------------------------------------+
  1080.     |Search for: <Esc = Abort>                    |
  1081.     |                                             |
  1082.     +---------------------------------------------+
  1083.  
  1084.   Enter the desired string of characters and press <Enter>.
  1085.  
  1086.   QEdit will then prompt for the search options to use.
  1087.     +-------------------------------------------------------------+
  1088.     |Options [BGLIW] (Back Global Local Ignore-case Whole-words): |
  1089.     |I                                                            |
  1090.     +-------------------------------------------------------------+
  1091.  
  1092.   Enter the letter(s) corresponding to the option(s) you want and
  1093.   press <Enter>.  The available options are (see Appendix E for
  1094.   additional options):
  1095.  
  1096.     [B] = Search backward from the current cursor position. When you 
  1097.           choose "B", QEdit will search backward from the cursor 
  1098.           position toward the beginning of the file.  Otherwise, it 
  1099.           will search from the cursor position toward the end of the 
  1100.           file.
  1101.  
  1102.     [I] = Ignore the case (capital or lowercase) of the search 
  1103.           string.  For example, "Hello" would match "hello" if this 
  1104.           option is chosen.  This option is set ON by default.
  1105.  
  1106.     [W] = Search for whole words only. For example, when this option 
  1107.           is chosen, the word "sent" will match only the actual word 
  1108.           "sent".  Otherwise, any other words that contain the 
  1109.           string (such as "sentence" or "absent") would also match.
  1110.  
  1111.   Once the Find command is executed the cursor will be placed at the 
  1112.   first occurrence of the search string found in the text.  To 
  1113.   locate subsequent occurrences of the search string, simply enter 
  1114.   the RepeatFind command.
  1115.  
  1116.   If you want to search for a string and replace it with another 
  1117.   string, refer to the "Replacing Text" section in this chapter.
  1118.  
  1119. - Match <Alt F3>
  1120.   This is a specialized search command.  It acts only on the
  1121.   characters ( ), { }, and [ ].  With the cursor placed on one of
  1122.   these characters, enter the Match command.  QEdit will locate the 
  1123.   logical matching character of the pair.  This command can be 
  1124.   useful for programming in languages where complicated expressions 
  1125.   are grouped using these characters.
  1126.  1-11
  1127.  
  1128. Moving Around on the Screen
  1129.  
  1130. These commands affect the cursor position within the current
  1131. screen of displayed text.
  1132.  
  1133. - BegScreen <Ctrl Home> and EndScreen <Ctrl End>
  1134.   These commands move you to the first or last line of the screen
  1135.   (or current window if you have windows open).  The cursor's column
  1136.   position does not change.
  1137.  
  1138. - BegLine <Home> and EndLine <End>
  1139.   You are probably already familiar with these commands.  BegLine
  1140.   moves the cursor to the beginning, or column one, of the current
  1141.   cursor line. EndLine moves the cursor to the last non-blank
  1142.   character of the current cursor line.
  1143.  
  1144. - ScreenLeft <Alt F5> and ScreenRight <Alt F6>
  1145.   These commands scroll the entire text to the left or right one
  1146.   column at a time.  You can change the number of columns which are
  1147.   shifted each time using the QEdit configuration program.  Refer to
  1148.   the "Colors/Screen Options" section of Chapter 2 for more
  1149.   information.
  1150.  
  1151. - WordLeft <Ctrl Cursor Left> and WordRight <Ctrl Cursor Right>
  1152.   These commands move the cursor to the first character of the
  1153.   previous or following word in the text.
  1154.  
  1155. - MakeCtrofScreen <Shift F5>, MakeTopofScreen <F5>, MakeBotofScreen
  1156.   These three commands change the position of the cursor line on the 
  1157.   screen (or window, if you have windows open).  They can be useful 
  1158.   if you prefer to work at the bottom or top of the screen or if you 
  1159.   want to keep the text surrounding your cursor line in view.
  1160.  
  1161.   The MakeCtrofScreen command scrolls the text on the screen (either
  1162.   up or down) until the cursor line is the center line of the
  1163.   screen.
  1164.  
  1165.   The MakeTopofScreen command scrolls the text upward until the
  1166.   cursor line is the top line of the screen.
  1167.  
  1168.   The MakeBotofScreen command scrolls the text downward until the
  1169.   cursor line is the last line of the screen.
  1170.  
  1171.  1-12
  1172.  
  1173. Moving By Lines and Characters
  1174.  
  1175. These commands enable you to move in short increments through the
  1176. text.
  1177.  
  1178. - CursorLeft <Cursor Left> and CursorRight <Cursor Right>
  1179.   These commands move the cursor one column to the right or left on
  1180.   the cursor line.
  1181.  
  1182.   When you use CursorLeft, the cursor will stop when it reaches the
  1183.   left edge of the screen, unless the text has been scrolled to the
  1184.   left.  In that case it scrolls the text to the right one column at
  1185.   a time until it reaches column one.
  1186.  
  1187.   When you use CursorRight and the cursor reaches the right edge of
  1188.   the screen, it will begin to scroll the text to the left.  It will
  1189.   stop scrolling when it reaches the maximum line length.
  1190.  
  1191. - CursorUp <Cursor Up> and CursorDown <Cursor Down>
  1192.   These commands move the cursor up or down in the file one line at
  1193.   a time.  The cursor's column position does not change.
  1194.  
  1195. Using Windows
  1196. -------------
  1197.  
  1198. QEdit provides the ability to view different areas of files (either
  1199. multiple files or the same file) at the same time, through the use
  1200. of windows.  A window is a portion of the screen that allows you to
  1201. view text.  You can divide your screen into as many as eight
  1202. horizontal windows.  You can then view as many as eight different
  1203. files through these windows or have multiple views of a single
  1204. file. This capability can be quite helpful for comparing text,
  1205. copying text, and moving text.
  1206.  
  1207. An example of a screen split into three windows is shown below.
  1208. +------------------------------------------------------------+
  1209. | L 1    C 1    IAW         411K     *c:\file1               |
  1210. |                                                            |
  1211. | This window is a view of file number 1 at line number 1.   |
  1212. | This file is being edited with Insert, AutoIndent, and     |
  1213. | WordWrap modes all ON.  This file has been updated.        |
  1214. |                                                            |
  1215. |                                                            |
  1216. | L 483  C 12   IAW         411K     *c:\file1               |
  1217. |                                                            |
  1218. | This window is a view of file number 1 at line number 483. |
  1219. |                                                            |
  1220. |                                                            |
  1221. | L 15   C 15   I           411K      c:\file2               |
  1222. |               -                                            |
  1223. | This window is a view of file number 2.                    |
  1224. | This file is being edited with Insert mode ON, while       |
  1225. | AutoIndent and WordWrap modes are OFF.  This file has not  |
  1226. | been updated.                                              |
  1227. +------------------------------------------------------------+
  1228.  1-13
  1229.  
  1230. Creating Windows
  1231.  
  1232. To create a window, use the HorizontalWindow <Ctrl OH> command. The
  1233. screen will be split into two halves, or windows, each window having
  1234. its own Status Line.  The cursor will reside in the newly created
  1235. window, making it the current window.
  1236.  
  1237. If only one file is being edited, the newly created window will
  1238. simply be an additional view of the same file.  QEdit will not load
  1239. more than one copy of the same file.
  1240.  
  1241. If multiple files are being edited, the newly created window will be
  1242. a view of the next file in the ring.  (Refer to the "Multiple Files"
  1243. section in this chapter.)  If desired, you can configure QEdit to
  1244. prompt for the name of the file to be viewed in the new window
  1245. instead of the editor automatically selecting the next file in the
  1246. ring.  Refer to the "General Options" section of Chapter 2 for more
  1247. information.
  1248.  
  1249. Once the screen has been split into windows, entering the
  1250. HorizontalWindow command again will affect the current window. All
  1251. other windows will remain unchanged.
  1252.  
  1253.  
  1254. Switching Windows
  1255.  
  1256. When multiple windows are opened, editing will only take place in
  1257. the current window (the window containing the cursor).  For editing
  1258. text in other windows, two commands are provided to switch from one
  1259. window to another.
  1260.  
  1261. - The PrevWindow <Ctrl OP> command will move the cursor to the
  1262.   window above the current window.  If the current window is at the
  1263.   top of the screen, the cursor will move to the last window on the
  1264.   screen.
  1265.  
  1266. - The NextWindow <Ctrl ON> command will move the cursor to the
  1267.   window below the current window.  If the current window is at the
  1268.   bottom of the screen, the cursor will move to the first window on
  1269.   the screen.
  1270.  
  1271.  
  1272. Changing Window Size
  1273.  
  1274. You can change the size of any of the windows on the screen with the
  1275. commands below.
  1276.  
  1277. - The GrowWindow <Ctrl OG>, ShrinkWindow <Ctrl OS>, and ResizeWindow 
  1278.   <Esc><W><R>, commands allow you to change the size of the current 
  1279.   window.  Upon entering any of these commands, QEdit will prompt 
  1280.   you to change the size of the window by using the cursor up and 
  1281.   cursor down keys.
  1282.  
  1283.  1-14
  1284.  
  1285. - The ZoomWindow <Ctrl OZ> command will cause the current window to
  1286.   fill the entire screen, as all other windows disappear.  To
  1287.   restore the screen with all windows, simply press <Ctrl OZ> again.
  1288.   Be careful not fOpenSys2OpenSys23.22i386L ßH▐& ╕ä  └∞╤L@╚7╨T@Ç╨Z@Ç}╨\@╕~╨d@ds
  1289. --------------
  1290.  
  1291. In this section, we will see how to mark and manipulate Blocks.  A
  1292. Block is some portion of the text file which has been specifically
  1293. delineated using QEdit's Block marking commands.  We will see how to
  1294. manipulate Blocks both directly and through the use of intermediate
  1295. storage areas known as buffers.
  1296.  
  1297. QEdit contains a rich set of Block commands.  There are commands to
  1298. mark Blocks by lines, columns, and characters.  There are commands
  1299. to copy, move, shift, and delete Blocks.  These commands are very
  1300. useful for transferring text from one file to another. There are
  1301. also cut-and-paste commands, as well as commands to move Blocks to
  1302. and from named Scratch Buffers.
  1303.  
  1304.  
  1305. Marking and Unmarking a Block
  1306.  
  1307. Before you can manipulate a Block, you must first "mark" or outline
  1308. a Block.  There are four ways of marking a Block in QEdit.  The one
  1309. you choose will depend on the editing situation and what you find
  1310. most comfortable to use.
  1311.  
  1312. - MarkLine <Alt L>
  1313.   This command allows you to mark a Block in whole line increments.
  1314.   In other words, the Block will contain complete lines only and no
  1315.   portions of lines.  To use this command place the cursor anywhere
  1316.   on the first line of the text you wish to mark and press <Alt L>.
  1317.   (Notice that the line is immediately marked.)  Now, move the
  1318.   cursor (the Block will "follow" the cursor) to the last line of
  1319.   text to be marked and press <Alt L> again.  You now have a marked
  1320.   Block, ready for manipulation.
  1321.  
  1322.  
  1323. - DropAnchor <Alt A>
  1324.   This command allows you to mark a Block one character at a time.
  1325.   In other words, the Block will contain a stream of characters
  1326.   (which can span over multiple lines).  To use this command place
  1327.   the cursor over the first character of the text you wish to mark
  1328.   and press <Alt A>.  Then begin moving the cursor toward the end of
  1329.   the text to be marked.  Notice that the Block "follows" the cursor
  1330.   position.  Once the cursor is placed over the last character to be
  1331.   marked, press <Alt A> again.  You now have a marked Block, ready
  1332.   for manipulation.
  1333.  
  1334.  1-16
  1335.  
  1336. - MarkCharacter
  1337.   This command works just like DropAnchor except that while marking
  1338.   the Block, the cursor is not included within the Block.
  1339.  
  1340.   MarkCharacter is provided as a replacement for the DropAnchor
  1341.   command.  If you want the cursor position included in character
  1342.   Blocks, then continue to use DropAnchor; otherwise, replace the
  1343.   DropAnchor command with this command in the QCONFIG.DAT file.
  1344.   Refer to the "Keyboard Configuration" section of Chapter 2 for
  1345.   more information on changing QEdit command assignments.
  1346.  
  1347. - MarkColumn <Alt K>
  1348.   This command allows you to mark one or more columns of text.  To
  1349.   use this command place the cursor over the upper left-hand
  1350.   character of the text you wish to mark and press <Alt K>.  Then
  1351.   begin moving the cursor to the right and/or downward.  Notice that
  1352.   the Block "follows" the cursor position.  Once the cursor is
  1353.   placed over the lower right-hand character of the Block, press
  1354.   <Alt K> again.  You now have a marked Block, ready for
  1355.   manipulation.
  1356.  
  1357. +--------------------------------------------------+
  1358. | QEdit Tip:                                       |
  1359. |   When using the MarkLine, MarkCharacter,        |
  1360. |   MarkColumn, and DropAnchor commands, it is not |
  1361. |   necessary to mark the end of the Block.  QEdit |
  1362. |   will assume the end of the Block to be the     |
  1363. |   current cursor position for DropAnchor,        |
  1364. |   MarkCharacter, and MarkColumn and the current  |
  1365. |   cursor line for MarkLine. Marking the end of   |
  1366. |   the Block is only necessary when moving or     |
  1367. |   copying text within the same file.             |
  1368. +--------------------------------------------------+
  1369.  
  1370. - MarkBlockBegin <Ctrl KB> and MarkBlockEnd <Ctrl KK>
  1371.   This is another method of marking a Block one character at a time.
  1372.   To mark a Block with this command, place the cursor over the first
  1373.   character of the text you wish to mark and press <Ctrl KB>.  Then
  1374.   position the cursor one character past the end of the text that is
  1375.   to be marked and press <Ctrl KK>.  The Block is now marked and
  1376.   ready for manipulation.
  1377.  
  1378. - UnmarkBlock <Alt U>
  1379.   Entering the UnmarkBlock command causes the currently marked Block
  1380.   to be unmarked.
  1381.  
  1382. QEdit allows you to mark one Block at a time.  If you mark a Block
  1383. and then go elsewhere in the file and attempt to mark another Block,
  1384. QEdit will simply extend the first Block by including all the text
  1385. between the original Block and the current cursor position.  If you
  1386. mark a Block in one file and then go to another file and mark a
  1387. Block, QEdit will automatically unmark the Block in the first file.
  1388.  
  1389.  1-17
  1390.  
  1391. Also, if you mix types of Block marking, by entering MarkLine
  1392. followed by DropAnchor or vice-versa, QEdit will mark the Block
  1393. according to the last command entered.
  1394.  
  1395. Manipulating Blocks Directly
  1396.  
  1397. QEdit provides several ways to manipulate a marked Block. The
  1398. following commands act directly on a marked Block.
  1399. +--------------------------------------------------+
  1400. | QEdit Tip:                                       |
  1401. |   When Copying or Moving Blocks:                 |
  1402. |                                                  |
  1403. |   Blocks marked using the Drop- Anchor,          |
  1404. |   MarkCharacter, MarkColumn, and                 |
  1405. |   MarkBlockBegin/End commands will always be     |
  1406. |   inserted beginning at the current cursor       |
  1407. |   position.                                      |
  1408. |                                                  |
  1409. |   Blocks marked using the Mark- Line command     |
  1410. |   will be inserted at either the line before or  |
  1411. |   the line after the current cursor line.  Refer |
  1412. |   to the "General Options" section of Chapter 2  |
  1413. |   for more information.                          |
  1414. +--------------------------------------------------+
  1415.  
  1416. - CopyBlock <Alt C>
  1417.   This command makes a copy of the marked Block and inserts it where
  1418.   you decide.  You can insert this copy of the Block at some other
  1419.   place in the same file or in another file.  The original Block of
  1420.   text, from which you made the copy, is not affected.
  1421.  
  1422.   To use this command, first mark the Block as described above.
  1423.   Next, move the cursor to the position in the file where you wish
  1424.   to insert the marked text.  (Or, if you have multiple files loaded
  1425.   and wish to copy text from one file to another, use the NextFile,
  1426.   PrevFile or EditFile commands to get a new current file and
  1427.   likewise position the cursor.)  Now enter the CopyBlock <Alt C>
  1428.   command.  The Block will be inserted at the new position.  You may
  1429.   notice, after you use CopyBlock, that the newly inserted Block of
  1430.   text is now marked and the original Block is unmarked.  To unmark
  1431.   the copied Block, enter the UnmarkBlock command.
  1432.  
  1433.   QEdit provides an easy method for copying the same Block
  1434.   repeatedly. Refer to the Copy and Paste commands in the following
  1435.   section for more information.
  1436.  
  1437. - CopyOverBlock <Alt Z>
  1438.   This command is for use with column Blocks only.  It works just
  1439.   like CopyBlock except the Block is copied to the current cursor
  1440.   position by overlaying existing text and without shifting text to
  1441.   the right.
  1442.  1-18
  1443.  
  1444. - MoveBlock <Alt M>
  1445.   This command works exactly like CopyBlock with one exception: Upon
  1446.   entering the MoveBlock <Alt M> command, the originally marked
  1447.   Block is deleted from the file.
  1448.  
  1449.   As with the CopyBlock command, you can move a Block to another
  1450.   part of the same file or from one file to another.
  1451.  
  1452.   QEdit provides an easy method for deleting a Block from its
  1453.   original position and inserting it repeatedly at other positions.
  1454.   Refer to the Cut and Paste commands in the following section for
  1455.   more information.
  1456.  
  1457. - DeleteBlock <Alt G>.
  1458.   This command simply deletes a marked Block of text from the file.
  1459.   To use this command, first mark a Block of text to be deleted,
  1460.   then enter the DeleteBlock command.  The marked text will be
  1461.   deleted from the file.  (Deleted Blocks will be placed in the Kill
  1462.   buffer. Refer to "The Kill Buffer" section in this chapter for
  1463.   more information.)
  1464.  
  1465. - ShiftLeft <Shift F7> and ShiftRight <Shift F8>
  1466.   These commands allow the User to shift text contained in a Block
  1467.   to the left or right. To use these commands, first mark a Block.
  1468.   Now enter ShiftLeft or ShiftRight.  The entire marked Block of
  1469.   text will be shifted one column to the left or right respectively.
  1470.   If there is no marked Block of text or the cursor is outside of
  1471.   the marked Block, the current cursor line will be shifted. This
  1472.   command is very useful for changing indentation for portions of
  1473.   text or source code.
  1474.  
  1475.  
  1476. Manipulating Blocks Using Scrap Buffers
  1477.  
  1478. QEdit provides an extremely helpful device for quickly manipulating
  1479. Blocks of text.  This device consists of a Scrap Buffer and four
  1480. QEdit commands which act on the Scrap Buffer.
  1481.  
  1482. The Scrap Buffer is a temporary holding area for marked Blocks of
  1483. text.  The commands Cut, Copy, Paste, and PasteOver are solely
  1484. responsible for placing text into the Scrap Buffer and copying text
  1485. from the Scrap Buffer.
  1486.  
  1487.  1-19
  1488.  
  1489. When you issue a Copy or Cut command (we will discuss how to use
  1490. these in the following section ), the marked Block is placed into
  1491. the Scrap Buffer.  The next time you Copy or Cut a Block into the
  1492. Scrap Buffer, the previous contents of the Scrap Buffer are deleted
  1493. and replaced with the new Block.
  1494.  
  1495. You can repeatedly use the Paste and PasteOver commands as many
  1496. times as needed to insert a copy of the Block held in the Scrap
  1497. Buffer at multiple positions in your file or files.  The Paste and
  1498. PasteOver commands do not purge the contents of the Scrap Buffer.
  1499.  
  1500. - Copy <grey +> and Paste <grey *> or PasteOver <Ctrl PrtSc>
  1501.   To copy a section of text from its present position and insert it
  1502.   somewhere else:
  1503.  
  1504.   1. Mark the text using the Block marking commands.
  1505.  
  1506.   2. Enter Copy <grey +>.  This places a copy of the marked text
  1507.      into the Scrap Buffer.
  1508.  
  1509.   3. If you want to insert the text somewhere else within the same
  1510.      file, use the cursor movement commands to place the cursor
  1511.      where you wish to insert the text.
  1512.  
  1513.   4. If you want to insert the text in another file, switch to that
  1514.      file using the NextFile, PrevFile, or EditFile command to
  1515.      access that file.  Then, likewise place the cursor at the
  1516.      desired position.
  1517.  
  1518.   5. Enter Paste <grey *> to insert the text.  If you have copied
  1519.      a column Block into the Scrap Buffer and wish to insert it
  1520.      by overlaying existing text then use PasteOver <Ctrl PrtSc>
  1521.      instead of Paste.
  1522.  
  1523.   Since Paste and PasteOver leave the contents of the Scrap Buffer
  1524.   intact, you can make multiple insertions in the same or different
  1525.   files. Simply move the cursor to the file and position where you
  1526.   wish to make additional insertions and enter Paste <grey *> or
  1527.   PasteOver <Ctrl PrtSc>.  Please note that the next time you issue
  1528.   a Cut or Copy command, the previous contents of the Scrap Buffer
  1529.   will be discarded.
  1530.  
  1531. - Cut <grey -> and Paste <grey *> or PasteOver <Ctrl PrtSc>
  1532.   Cut and Paste/PasteOver work exactly like Copy and Paste/PasteOver
  1533.   except that Cut will delete the marked Block from the file.  You
  1534.   can still make multiple insertions of the text using the Paste or
  1535.   PasteOver Commands.
  1536.  
  1537.  1-20
  1538.  
  1539. +----------------------------------------------------+
  1540.   QEdit Tip:                                         |
  1541.     QEdit can be configured to have the Cut and Copy |
  1542.     commands act on the current cursor line if no    |
  1543.     Block is marked. Refer to the "Advanced Options" |
  1544.     section of Chapter 2 for more information.       |
  1545. +----------------------------------------------------+
  1546.  
  1547.  
  1548. Manipulating Blocks Using Scratch Buffers
  1549.  
  1550. A Scratch Buffer is a special type of buffer to which you assign a 
  1551. name.  QEdit allows you to create and name up to 99 Scratch Buffers 
  1552. for each editing session.  These can be useful if you have several 
  1553. different Blocks of text that you want to insert in multiple 
  1554. locations.  The commands StoreScrbuff <Ctrl BS>, AppendScrbuff
  1555. <Ctrl BA>, and GetScrbuff <Ctrl BL> are used to place text in, and
  1556. retrieve text from, a Scratch Buffer.  Whenever you issue one of 
  1557. these commands, QEdit will ask you for the name of the Scratch 
  1558. Buffer.  The contents of all Scratch Buffers are discarded when the 
  1559. editor is terminated.
  1560.  
  1561. - StoreScrbuff <Ctrl BS> and AppendScrbuff <Ctrl BA>
  1562.  
  1563.   To place a Block of text into a named buffer:
  1564.  
  1565.   1. Mark the Block.
  1566.  
  1567.   2. If you want to create a new Scratch Buffer containing the 
  1568.      marked Block, enter StoreScrbuff <Ctrl BS>.  (This command is 
  1569.      also used if you wish to replace the current contents of a 
  1570.      Scratch Buffer with the marked Block.)  If you want to append 
  1571.      the marked Block to the current contents of the Scratch Buffer, 
  1572.      enter AppendScrbuff <Ctrl BA>.
  1573.  
  1574.   3. QEdit will prompt for the name of the Scratch Buffer.
  1575.        +----------------------------------------------------+
  1576.        |Store (Append) to buffer: <Esc = abort>             |
  1577.        |                                                    |
  1578.        +----------------------------------------------------+
  1579.  
  1580.   4. Enter a name.  It is best to use a name which reflects the
  1581.      contents of the buffer and is easily remembered.
  1582.  
  1583.   The Block is now stored in a Scratch Buffer under the assigned
  1584.   name.
  1585.  
  1586.   - GetScrbuff <Ctrl BL>
  1587.     To retrieve the contents of a named Scratch Buffer and insert it
  1588.     at the current cursor position:
  1589.  
  1590.     1. Position the cursor where you wish the contents of the named
  1591.        Scratch Buffer to be inserted.
  1592.  
  1593.  1-21
  1594.  
  1595.     2. Enter GetScrbuff <Ctrl BL>.  QEdit will prompt for the name
  1596.        of the Scratch Buffer to be retrieved.
  1597.  
  1598.        +---------------------------------------------+
  1599.        |Get from buffer: <Esc = abort>               |
  1600.        |                                             |
  1601.        +---------------------------------------------+
  1602.  
  1603.     3. Enter the name of the desired Scratch Buffer.
  1604.  
  1605.     4. Repeat the above steps whenever you want to insert the
  1606.        contents of a Scratch Buffer into your text.
  1607.  
  1608.  
  1609. Examples of Block Commands
  1610.  
  1611. This section contains examples of commonly used Block Commands.
  1612.  
  1613. - Copying or moving a Block within the same file.
  1614.  
  1615.   1. Position the cursor at the beginning of the Block to be copied
  1616.      or moved.
  1617.  
  1618.   2. Enter DropAnchor <Alt A> to mark a stream of characters, or
  1619.      MarkLine <Alt L> to mark whole lines, or MarkColumn <Alt K> to
  1620.      mark a column of text.
  1621.  
  1622.   3. Position the cursor at the end of the Block to be copied or 
  1623.      moved.
  1624.  
  1625.   4. Enter DropAnchor, MarkLine, or MarkColumn again to mark the end
  1626.      of the Block.
  1627.  
  1628.   5. Move the cursor to the location in the file where you want to
  1629.      insert the marked Block.
  1630.  
  1631.   6. Enter CopyBlock <Alt C>, CopyOverBlock <Alt Z> (column Blocks
  1632.      only), or MoveBlock <Alt M>.
  1633.  
  1634.   7. Enter UnmarkBlock <Alt U> to unmark the Block.
  1635.  
  1636.   The Block has now been copied or moved.
  1637.  
  1638.  
  1639. - Copying or moving a Block to another file.
  1640.  
  1641.   1. Position the cursor at the beginning of the Block to be copied
  1642.      or moved.
  1643.  
  1644.   2. Enter DropAnchor <Alt A> to mark a stream of characters, or
  1645.      MarkLine <Alt L> to mark whole lines, or MarkColumn <Alt K> to
  1646.      mark a column of text.
  1647.  
  1648.  1-22
  1649.  
  1650.   3. Position the cursor at the end of the Block to be copied or 
  1651.      moved.
  1652.  
  1653.   4. Switch to the "target" file using the file commands EditFile,
  1654.      NextFile, or PrevFile.
  1655.  
  1656.   5. Move the cursor to the location in the file where you want to
  1657.      insert the marked Block.
  1658.  
  1659.   6. Enter CopyBlock <Alt C>, CopyOverBlock <Alt Z> (column Blocks
  1660.      only), or MoveBlock <Alt M>.
  1661.  
  1662.   7. Enter UnmarkBlock <Alt U> to unmark the Block.
  1663.  
  1664.   The Block has now been copied or moved.
  1665.  
  1666.  
  1667. - Copying or moving a Block for multiple insertions in the same file.
  1668.  
  1669.   If you want to insert the same Block at several positions within a
  1670.   file, follow these steps:
  1671.  
  1672.   1. Position the cursor at the beginning of the Block to be copied
  1673.      or moved.
  1674.  
  1675.   2. Enter DropAnchor <Alt A> to mark a stream of characters, or
  1676.      MarkLine <Alt L> to mark whole lines, or MarkColumn <Alt K> to
  1677.      mark a column of text.
  1678.  
  1679.   3. Position the cursor at the end of the Block to be copied or 
  1680.      moved.
  1681.  
  1682.   4. If you want to leave the Block in its original position and 
  1683.      insert copies of it at other locations, then enter Copy
  1684.      <grey +>.
  1685.  
  1686.      If you want to delete the Block from its original position and
  1687.      insert copies of it at other locations, then enter Cut <grey ->.
  1688.  
  1689.      The Block is now stored in the Scrap Buffer.
  1690.  
  1691.   5. Move the cursor to the location in the file where you want to
  1692.      insert the Block.
  1693.  
  1694.   6. Enter Paste <grey *> or PasteOver <Ctrl PrtSc> (column Blocks
  1695.      only).
  1696.  
  1697.   The Block is now inserted.  Repeat steps 5 and 6 for each 
  1698.   additional insertion.
  1699.  
  1700.  1-23
  1701.  
  1702. - Copying or moving a Block for multiple insertions in more than one
  1703.   file.
  1704.  
  1705.   If you want to insert the same Block at several positions in more
  1706.   than one file, follow these steps:
  1707.  
  1708.   1. Position the cursor at the beginning of the Block to be copied
  1709.      or moved.
  1710.  
  1711.   2. Enter DropAnchor <Alt A> to mark a stream of characters, or
  1712.      MarkLine <Alt L> to mark whole lines, or MarkColumn <Alt K> to
  1713.      mark a column of text.
  1714.  
  1715.   3. Position the cursor at the end of the Block to be copied or 
  1716.      moved.
  1717.  
  1718.   4. If you want to leave the Block in its original position and
  1719.      insert copies of it at other locations, then enter Copy
  1720.      <grey +>.
  1721.  
  1722.      If you want to delete the Block from its original position and
  1723.      insert copies of it at other locations, then enter Cut <grey ->.
  1724.  
  1725.      The Block is now stored in the Scrap Buffer.
  1726.  
  1727.   5. Switch to the "target" file using the file commands EditFile,
  1728.      NextFile, or PrevFile.
  1729.  
  1730.   6. Move the cursor to the location in the file where you want to
  1731.      insert the Block.
  1732.  
  1733.   7. Enter Paste <grey *> or PasteOver <Ctrl PrtSc> (column Blocks
  1734.      only).
  1735.  
  1736.   The Block is now inserted.  Repeat steps 5-7 for each additional
  1737.   insertion.
  1738.  
  1739. - Copying multiple Blocks for insertion in one or more files.
  1740.  
  1741.   If you have several Blocks that you want to insert in several
  1742.   different files, follow these steps:
  1743.  
  1744.   1. Position the cursor at the beginning of the first Block.
  1745.  
  1746.   2. Enter DropAnchor <Alt A> to mark a stream of characters, or
  1747.      MarkLine <Alt L> to mark whole lines, or MarkColumn <Alt K> to
  1748.      mark a column of text.
  1749.  
  1750.   3. Position the cursor at the end of the first Block.
  1751.  
  1752.   4. Enter AppendScrbuff <Ctrl BA> if you want to append to an
  1753.      existing Scratch Buffer.  Otherwise, enter StoreScrbuff
  1754.      <Ctrl BS> to create or overwrite an existing Scratch Buffer.
  1755.  
  1756.  1-24
  1757.  
  1758.   5.  QEdit will prompt for the name of the buffer.  Enter a name.
  1759.       (It is best to use a name which reflects the contents of the
  1760.       buffer and is easily remembered).
  1761.  
  1762.       The Block is now stored in a Scratch Buffer under the assigned
  1763.       name.  Repeat steps 1-5 for each additional Block you want to
  1764.       store.
  1765.  
  1766.   6. Switch to the "target" file using the file commands EditFile,
  1767.      NextFile, or PrevFile.
  1768.  
  1769.   7. Move the cursor to the location in the file where you want to
  1770.      insert a Block.
  1771.  
  1772.   8. Enter GetScrbuff <Ctrl BL>.  QEdit will prompt for the name of
  1773.      the Scratch Buffer.  Enter the name of the desired Scratch
  1774.      Buffer for insertion.
  1775.  
  1776.   Repeat steps 6 through 8 for each insertion of a stored Block.
  1777.  
  1778. Non-Block Commands
  1779. ------------------
  1780.  
  1781. In addition to QEdit's array of Block commands, there are also many
  1782. commands for manipulating your text which do not depend on marked
  1783. Blocks.  This section explains each of these non-Block commands in
  1784. detail.
  1785.  
  1786.  
  1787. Adding Text
  1788.  
  1789. - AddLine <F2>
  1790.   As its name implies, this command inserts a blank line in the 
  1791.   text. The line is added immediately below the current cursor line. 
  1792.   The cursor is moved to the new line.  The cursor column does not 
  1793.   change.
  1794.  
  1795. - InsertLine <Alt F2>
  1796.   This command inserts a blank line in the text above the cursor
  1797.   line.  The cursor remains on the new line and the cursor column
  1798.   does not change.
  1799.  
  1800. - Literal <Ctrl P>
  1801.   The Literal command is used to insert control characters into the
  1802.   text.  To use this command, enter <Ctrl P> followed by a control
  1803.   character.  The control character will be inserted into the text.
  1804.   For example, to insert a formfeed character (ASCII 12) in the
  1805.   text, enter <Ctrl P> <Ctrl L>.
  1806.  
  1807.  1-25
  1808.  
  1809.   This command is handy for entering the control characters 
  1810.   represented by ASCII decimal values 1 through 26.  Simply enter 
  1811.   <Ctrl P> followed by <Ctrl A> for ASCII character 1, or <Ctrl B> 
  1812.   for ASCII character 2 and so on, up to <Ctrl Z> for ASCII 
  1813.   character 26.
  1814. +-------------------------------------------------------+
  1815. | QEdit Tip:                                            |
  1816. |   An alternate and perhaps easier method of entering  |
  1817. |   control characters or any ASCII character into your |
  1818. |   text is to hold down the <Alt> key and enter the    |
  1819. |   decimal equivalent of the ASCII character using the |
  1820. |   numeric keypad. For example, to insert a formfeed   |
  1821. |   character (ASCII 12) in the text, just enter <Alt   |
  1822. |   12> using the numeric keypad.                       |
  1823. |                                                       |
  1824. |   If a linefeed character (ASCII 10) is entered,      |
  1825. |   QEdit will split the line at this position the next |
  1826. |   time the file is edited.                            |
  1827. +-------------------------------------------------------+
  1828.  
  1829. - ToggleBoxDraw <Shift F1>
  1830.   This is a specialized command which is really a mode of operation
  1831.   that can be switched ON or OFF.  If switched ON, the cursor
  1832.   movement keys (up, down, right, left) can be used to "draw" lines
  1833.   in the text.  This can be very useful for creating graphs and
  1834.   tables.  To switch Box Drawing mode ON, enter <Shift F1>.  To
  1835.   switch OFF, enter <Shift F1> again.
  1836.  
  1837. - ToggleEnterMatching <Esc><O><E>
  1838.   This is also a specialized command which is really a mode of
  1839.   operation that can be switched ON or OFF.  If switched ON, QEdit
  1840.   will automatically insert into the text a corresponding ), ], or "
  1841.   character each time a (, [, or " character, respectively, is
  1842.   entered.  To switch EnterMatching mode ON, enter <Esc><O><E>.  To
  1843.   switch OFF, enter <Esc><O><E> again.
  1844.  
  1845.  
  1846. Copying Text
  1847.  
  1848. - GetPrev <Ctrl - (dash)>
  1849.   This command copies the character directly above the cursor onto 
  1850.   the cursor line.  To get an idea of how this command works, place 
  1851.   the cursor at the beginning of any line which has text on the line 
  1852.   immediately above it.  Now press <Ctrl - (dash)> and hold it down. 
  1853.   The cursor will move to the right while copying the the characters 
  1854.   from the line above.
  1855.  
  1856. - DupLine <F4>
  1857.   This command simply makes a copy of the current cursor line and 
  1858.   inserts this copy on the line immediately below the cursor line. 
  1859.   The cursor is placed on the new line.
  1860.  
  1861.  1-26
  1862.  
  1863. - Copy <grey +> and Paste <grey *>
  1864.   Refer to the "Block Commands" section in this chapter for a 
  1865.   complete explanation of these commands.  The commands are included 
  1866.   here because, if desired, the User can configure QEdit so that 
  1867.   these commands act on the current cursor line in the same manner in 
  1868.   which they act on Blocks.  For more information on how to configure 
  1869.   this option, refer to the "Advanced Options" section of Chapter 2.
  1870.  
  1871.  
  1872. Moving Text
  1873.  
  1874. - Align
  1875.   This command lines up the left-most character of the cursor line 
  1876.   with the left-most character of the line above it.  This allows 
  1877.   you to align portions of text which require a common left margin. 
  1878.   This command also moves the cursor down one line; thus, large 
  1879.   portions of text can be aligned very quickly by entering this 
  1880.   command and holding the command key down.
  1881.  
  1882. - JoinLine  <Alt J>
  1883.   This command will delete the line below the current cursor line 
  1884.   and append it to the end of the cursor line.
  1885.  
  1886.   If the cursor is positioned on or before the last non-blank
  1887.   character of the line, the line below will be appended immediately
  1888.   following the last non-blank character.
  1889.  
  1890.   If the cursor is positioned beyond the last non-blank character of 
  1891.   the line, the line below will be appended beginning at the current 
  1892.   cursor position.
  1893.  
  1894.   If the line below the cursor line is blank, the blank line will be 
  1895.   deleted.
  1896.  
  1897. - SplitLine <Alt S>
  1898.   This command will delete all text on and to the right of the 
  1899.   cursor on the cursor line and will insert this text on a new line 
  1900.   immediately below the cursor line.  The cursor position will not 
  1901.   change.
  1902.  
  1903. - Return <Enter>
  1904.   Before reading the explanation of the Return command, it may be 
  1905.   helpful to review the discussion of Insert mode in the "Modes" 
  1906.   section in this chapter.
  1907.  
  1908.   If the editor is in Insert mode, this command performs like the 
  1909.   SplitLine command; that is, all text on and to the right of the 
  1910.   cursor on the cursor line will be deleted and inserted on a new 
  1911.   line immediately below the cursor line.  The cursor, however, will 
  1912.   be placed on the new line.
  1913.  
  1914.   If the editor is not in Insert mode, this command will simply 
  1915.   place the cursor at the beginning of the line below the cursor 
  1916.   line.  No text will be affected.
  1917.  
  1918.  1-27
  1919.  
  1920.   If the editor is in AutoIndent mode, the cursor will be placed at
  1921.   the left margin instead of at the beginning of the line.
  1922.  
  1923. +---------------------------------+
  1924. | QEdit Tip:                      |
  1925. |   QEdit can be configured so    |
  1926. |   that the Return command does  |
  1927. |   not split lines in Insert     |
  1928. |   mode.                         |
  1929. |   Refer to the "Advanced        |
  1930. |   Options" section of Chapter 2 |
  1931. |   for more information.         |
  1932. +---------------------------------+
  1933.  
  1934. - Cut <grey -> and Paste <grey *>
  1935.   Refer to the "Block Commands" section in this chapter for a
  1936.   complete explanation of these commands.  The commands are included
  1937.   here because, if desired, the User can configure QEdit so that
  1938.   these commands act on the current cursor line in the same manner
  1939.   in which they act on Blocks.  For more information on how to
  1940.   configure this option, refer to the "Advanced Options" section of
  1941.   Chapter 2.
  1942.  
  1943. - ShiftLeft <Shift F7> and ShiftRight <Shift F8>
  1944.   Refer to the "Block Commands" section in this chapter for a
  1945.   complete explanation of these commands.  The commands are included
  1946.   here because, if there is no marked Block in the text, these
  1947.   commands will act on the current cursor line.
  1948.  
  1949.  
  1950. Deleting And Undeleting Text
  1951.  
  1952. - Backspace <Backspace> and DelLtWord <Ctrl Backspace>
  1953.   If Insert mode is ON, the Backspace command deletes the character
  1954.   to the left of the cursor.  The text to the right of the cursor is
  1955.   pulled behind the cursor as it moves to the left.  If the cursor
  1956.   is in column one and you enter Backspace, the cursor line is
  1957.   appended to the line immediately above.
  1958.  
  1959.   If Insert mode is OFF, the Backspace command works the same as
  1960.   above except the text to the right of the cursor is not pulled
  1961.   behind the cursor as it moves left.
  1962.  
  1963.   The DelLtWord command is a backspace for "words".  It works just
  1964.   like the Backspace command, except that it deletes all characters
  1965.   from the cursor to the beginning of the previous word.
  1966.  
  1967. - DelCh <Del> and DelRtWord <Ctrl T>
  1968.   DelCh will delete the character at the cursor position and pull
  1969.   the text to the right of the cursor, one column to the left.
  1970.  
  1971.   If the cursor position is to the right of the last non-blank
  1972.   character on the cursor line, the line immediately below will be
  1973.   appended to the cursor line.
  1974.  
  1975.  1-28
  1976.  
  1977.   The DelRtWord command is a character delete for "words".  It
  1978.   works just like the DelCh command, except that it deletes
  1979.   all characters from the cursor to the beginning of the following
  1980.   word.
  1981.  
  1982. - DelToEol <F6>
  1983.   This command deletes the character at the cursor position and all
  1984.   text to the right of the cursor on the current cursor line.  The
  1985.   cursor position does not change.
  1986.  
  1987. - DelLine <Alt D>
  1988.   This command deletes the current cursor line from the text. All
  1989.   text below the deleted line is shifted up one line.
  1990.  
  1991. - UndoCursorline  <Ctrl QL>
  1992.   This command allows you to reverse any changes you have made to
  1993.   the cursor line.  This can be helpful if you accidentally delete
  1994.   or change part of a line, or you just change your mind and want
  1995.   the cursor line back the way it was.  This command must be issued
  1996.   before the cursor is moved from the current cursor line and before
  1997.   any file or window commands are entered.  Changes made using the
  1998.   FindReplace command cannot be reversed with this command.
  1999.  
  2000. - UnKill <Ctrl U>
  2001.   This command allows you to retrieve text that has been deleted by
  2002.   the DeleteBlock, DelLine, DelRtWord, or DelToEol commands.  Refer
  2003.   to "The Kill Buffer" section in this chapter for a complete
  2004.   explanation on the use of this command.
  2005.  
  2006.  
  2007. Replacing Text
  2008.  
  2009. QEdit provides the ability to search for specific strings of
  2010. characters throughout your text and then replace all, some, or none
  2011. of them with another string of characters.  (If you want to search
  2012. for strings of characters without replacing them, use the Find
  2013. command which is described in the "Moving Through a File" section in
  2014. this chapter.)
  2015.  
  2016. - FindReplace <Ctrl QA>
  2017.   This command will search for a specific string of characters in
  2018.   the current file, and optionally, replace it with another string
  2019.   of characters.
  2020.  
  2021.   Upon entering the FindReplace command, QEdit will prompt for the
  2022.   string of characters for which to search.
  2023.     +-------------------------------------------------+
  2024.     |Search For: <Esc = Abort>                        |
  2025.     |                                                 |
  2026.     +-------------------------------------------------+
  2027.  
  2028.   Enter the desired string of characters and press <Enter>.
  2029.  
  2030.  1-29
  2031.  
  2032.   QEdit will then prompt for a new string of characters (to replace
  2033.   the old string).
  2034.     +-------------------------------------------------+
  2035.     |Replace with: <Esc = Abort>                      |
  2036.     |                                                 |
  2037.     +-------------------------------------------------+
  2038.  
  2039.   Enter the new string of characters and press <Enter>.
  2040.  
  2041.   QEdit will then prompt for the search options you wish to use.
  2042.     +------------------------------------------------------------+
  2043.     |Options [BGLIWN] (Back Global Local Ignore-case Whole-words |
  2044.     |No-prompting):                                              |
  2045.     |I                                                           |
  2046.     +------------------------------------------------------------+
  2047.  
  2048.   Enter the letter(s) corresponding to the option(s) you want and
  2049.   press <Enter>.  The available options are (see Appendix E for
  2050.   additional options):
  2051.  
  2052.    [B] = Search backward from the current cursor position.  If you
  2053.          choose "B", QEdit will search backward from the cursor
  2054.          position toward the beginning of the file.  Otherwise, it
  2055.          will search from the cursor position toward the end of the
  2056.          file.
  2057.  
  2058.    [I] = Ignore the case (capital or lowercase) of the search 
  2059.          string.  For example, "Hello" would match "hello" when this 
  2060.          option is chosen.  This option is set ON by default.
  2061.  
  2062.    [W] = Search for whole words only.  For example, when this option
  2063.          is chosen, the word "sent" will match only the actual word
  2064.          "sent".  Otherwise, any other words that contain the
  2065.          string (such as "sentence" or "absent") would also match.
  2066.  
  2067.    [N] = Find and replace without prompting.  If you choose "N",
  2068.          QEdit will find and replace every occurrence of the search
  2069.          string, without asking you if you want to replace each
  2070.          individual occurrence.
  2071.  
  2072.   If you select the "No-prompting" option, QEdit will find and 
  2073.   replace every occurrence of the search string with no further User 
  2074.   intervention.  If you do not select the "No-prompting" option, 
  2075.   QEdit will prompt at every occurrence of the search string with:
  2076.     +-------------------------------------+
  2077.     |  Replace (Yes/No/Only/Rest/Quit):   |
  2078.     +-------------------------------------+
  2079.  
  2080.   Valid responses are:
  2081.     <Y>es  - Replace the search string with the new string
  2082.              and continue to the next occurrence.
  2083.     <N>o   - Do not replace the search string, but continue
  2084.              to the next occurrence.
  2085.  
  2086.  1-30
  2087.  
  2088.     <O>nly - Replace the search string with the new string
  2089.              and quit.
  2090.     <R>est - Replace the search string with the new string
  2091.              and replace the rest of the occurrences with no
  2092.              further prompts.
  2093.     <Q>uit - Abort the FindReplace process.
  2094.  
  2095.  
  2096. - RepeatFind <Ctrl L>
  2097.   This command will reissue the previous Find or FindReplace command
  2098.   using the same character strings and options.
  2099.  
  2100.  
  2101. The Kill Buffer - A Safety Net
  2102. ------------------------------
  2103.  
  2104. QEdit maintains a temporary storage area for deleted text.  This
  2105. provides the User a safeguard against incorrectly or inadvertently
  2106. deleting text.  This recovery mechanism is automatically in effect
  2107. when QEdit is running.  No action is required from the User until
  2108. there is a need to recover deleted text.
  2109.  
  2110. The temporary storage area is called the Kill Buffer.  QEdit will
  2111. place into the Kill Buffer text which has been deleted by these
  2112. commands:
  2113.  
  2114.              DeleteBlock  <Alt G>
  2115.              DelLine      <Alt D>
  2116.              DelRtWord    <Ctrl T>
  2117.              DelToEol     <F6>
  2118.  
  2119. To understand how the Kill Buffer works and how text is recovered
  2120. from the Kill Buffer, refer to the illustration below.
  2121.  
  2122.  
  2123.                        The Kill Buffer
  2124.  
  2125.      Entry    Command
  2126.      Number   Entered      Buffer Contents             top
  2127.     +-----------------------------------------------------+
  2128.     |  4    | DelToEol   | part of this line was deleted. |
  2129.     |-------+------------+--------------------------------|
  2130.     |  3    | DelRtWord  | (1 word deleted)               |
  2131.     |-------+------------+--------------------------------|
  2132.     |  2    | DelLine    | This entire line was deleted.  |
  2133.     |-------+------------+--------------------------------|
  2134.     |  1    | DelLine    | This entire line was deleted.  |
  2135.     |-------+------------+--------------------------------|
  2136.     | empty |            |                                |
  2137.     |-------+------------+--------------------------------|
  2138.     | empty |            |                                |
  2139.     +-----------------------------------------------------+
  2140.                                                      bottom
  2141.  
  2142.  1-31
  2143.  
  2144. Each time one of the text deletion commands is used, a new entry is 
  2145. made in the Kill Buffer.  In the above example, four deletion
  2146. commands have been issued.  The text from these four commands has
  2147. been stored in the Kill Buffer from top to bottom. In other words, 
  2148. when the DelToEol command was issued (entry #4), the first three 
  2149. entries were pushed toward the bottom of the Kill Buffer and the 
  2150. newly deleted text was entered at the top.
  2151.  
  2152. In the example, the Kill Buffer has enough room for six entries. 
  2153. When a seventh entry is made, the oldest entry, or entry number one, 
  2154. will be discarded from the Kill Buffer.  Once discarded from the 
  2155. Kill Buffer, that text can no longer be recovered.
  2156.  
  2157. To recover deleted text, the UnKill <Ctrl U> command is used. Each 
  2158. time the UnKill command is issued the most recent entry (the "top" 
  2159. entry of the Kill Buffer) is retrieved and restored to the file. 
  2160. This entry is then deleted from the Kill Buffer, and all remaining 
  2161. entries move toward the top of the buffer by one position. In the 
  2162. example, the first time the UnKill command is issued, entry #4 will 
  2163. be recovered. Next, entry #3 will be recovered, and so on. Thus, 
  2164. recovering deleted text follows the rule of LIFO (last in - first 
  2165. out). The last entry of deleted text will be the first one recovered 
  2166. and the first entry of deleted text will be the last one recovered.
  2167.  
  2168. Here are some additional items of which to be aware regarding the
  2169. Kill Buffer and its uses.
  2170.  
  2171. - A separate Kill Buffer is maintained for each file loaded into
  2172.   QEdit.  The Kill Buffer for each file exists only as long as the
  2173.   file is loaded.
  2174.  
  2175. - The default size of the Kill Buffer is 30 entries.  This may be
  2176.   changed using the QEdit configuration program. Refer to the
  2177.   "General Options" section of Chapter 2 for more information.
  2178.  
  2179. - The text deleted using the DelLine, DelRtWord, and DelToEol 
  2180.   commands will take up one entry in the Kill Buffer each time the 
  2181.   commands are executed.  The text deleted using the DeleteBlock 
  2182.   command will take up as many entries as there are lines in the 
  2183.   Block.
  2184.  
  2185.   It is important to note that regardless of how large the Kill 
  2186.   Buffer is configured to be, it may be possible to mark and delete 
  2187.   a Block in the file which is larger than the buffer.  If this 
  2188.   situation arises, QEdit will save the deleted text in the Kill 
  2189.   Buffer from the bottom up.  For example, if a marked Block is 200 
  2190.   lines long and five lines too large for the Kill Buffer, then the 
  2191.   top five lines of the Block will not be loaded into the Kill Buffer.
  2192.  
  2193. - When issuing the UnKill command to recover deleted text, deleted
  2194.   lines will be inserted immediately before the current cursor line,
  2195.   and deleted words will be inserted immediately before the current
  2196.   cursor position.
  2197.  
  2198.  1-32
  2199.  
  2200. Macros
  2201. ======
  2202.  
  2203. A macro is a series of commands and/or keystrokes which are assigned
  2204. to a single key.  If you find that you are repeatedly entering the
  2205. same series of commands and keystrokes (for example, a row of
  2206. asterisks, three Returns, and then a Tab), using macros will allow
  2207. you to easily assign these to a single key, such as <Shift F6>.
  2208. Then, the next time you wish to enter a row of asterisks, three
  2209. Returns, and a Tab, you will only have to press <Shift F6>.
  2210.  
  2211. Creating, using, and saving macros for later use is both quick and
  2212. simple.  By taking a few minutes to review the following sections,
  2213. you should be able to save plenty of time and keystrokes in your
  2214. future editing with the help of macros.  (For advanced macro usage,
  2215. see QMAC.DOC on the QEdit software diskette.)
  2216.  
  2217.  
  2218. Creating Macros
  2219.  
  2220. Once you have decided to assign a series of commands and keystrokes
  2221. to a single key, creating the macro is simply a matter of entering
  2222. this series while QEdit "records" the macro.
  2223.  
  2224. To create a macro follow these steps:
  2225.  
  2226. 1. Position the text and cursor to where you will begin entering the
  2227.    series of commands and keys.  (You may want to practice your
  2228.    series once or twice before actually recording the macro.)
  2229.  
  2230. 2. Enter the MacroRecord <Ctrl M> command.  An "R" will appear on
  2231.    the Status Line to indicate macro recording is ON.  The following
  2232.    message will appear:
  2233.      +--------------------------------------------------------+
  2234.      |Assign to what key: (Enter for "scrap", Escape to Abort)|
  2235.      +--------------------------------------------------------+
  2236.  
  2237. 3. Enter the key to which you want to assign the series of commands 
  2238.    and keystrokes.  There are two requirements here.  The key must 
  2239.    be a "configurable" key.  A list of all configurable keys is 
  2240.    contained in Appendix B.  Also, the key cannot have a command 
  2241.    already assigned to it.
  2242.  
  2243.    You may assign the macro to a "scrap" or temporary area by simply
  2244.    pressing <Enter>.  The scrap area will hold your macro until
  2245.    another macro is recorded.
  2246.  
  2247. 4. Enter the series of commands and keystrokes to be assigned. Note
  2248.    that the "R" still appears on the Status Line.
  2249.  
  2250. 5. Enter the MacroRecord <Ctrl M> command again.  Macro recording is
  2251.    now OFF.  The "R" no longer appears on the the Status Line.  The
  2252.    macro is now created and assigned to the key specified in step 3.
  2253.  
  2254.  1-33
  2255.  
  2256. Using Macros
  2257.  
  2258. To use your macro, simply position the text and cursor properly and
  2259. press the key to which you assigned the macro, or use the
  2260. ExecuteScrap <Ctrl Enter> command to retrieve the latest macro from
  2261. the scrap area. If the macro does not behave as you expected
  2262. (perhaps you inadvertently hit an extraneous key while recording),
  2263. simply repeat the above steps.  Your old macro assignment will be
  2264. replaced with the new one.
  2265.  
  2266. +-----------------------------------------------------+
  2267. | QEdit Tip:                                          |
  2268. |   Be aware of modes, especially Insert mode, when   |
  2269. |   recording and using macros.  Macros recorded with |
  2270. |   Insert mode ON and then used with Insert mode OFF |
  2271. |   (and vice-versa) may behave very strangely.       |
  2272. +-----------------------------------------------------+
  2273.  
  2274.  
  2275. Saving and Reloading Macros
  2276.  
  2277. Normally, macros created using this process are lost once the editor
  2278. is terminated.  QEdit, however, provides an easy method of saving
  2279. your macros so that they may be reloaded for use in any future
  2280. editing session.
  2281.  
  2282. Macros can be saved in a binary disk file.  You specify the name of
  2283. this file.  Once macros have been created, enter the MacroWrite
  2284. <Esc><M><W> command.  QEdit will prompt with:
  2285.   +------------------------------------------------+
  2286.   |Macro file to write: <Esc = abort>              |
  2287.   |                                                |
  2288.   +------------------------------------------------+
  2289.  
  2290. Enter the name of the file to contain your macros.  The macros will
  2291. be saved under the given filename.  You may notice that this file
  2292. now appears in the current DOS directory.  Macros assigned to the
  2293. scrap area cannot be saved.
  2294.  
  2295. In a future editing session, if you wish to reuse your previously
  2296. defined macros, you need only reload the macro file.  To do this
  2297. enter the MacroRead <Esc><M><R> command.  QEdit will prompt with:
  2298.   +------------------------------------------------+
  2299.   |Macro file to read: <Esc = abort>               |
  2300.   |                                                |
  2301.   +------------------------------------------------+
  2302.  
  2303. Enter the name of the previously saved macro file.  Your macros will
  2304. be reloaded.  You may then use them in the same manner as before.
  2305.  
  2306. The QEdit configuration program provides an alternate method of
  2307. creating macros.  Refer to the "Keyboard Configuration" section of
  2308. Chapter 2 for more information.
  2309.  
  2310.  1-34
  2311.  
  2312. Example of a Macro
  2313.  
  2314. To create a macro which will insert a formfeed character (ASCII
  2315. 12) at column one of the current cursor line, do the following:
  2316.  
  2317. 1. Position the cursor in the text where you would like to insert
  2318.    the formfeed character.
  2319.  
  2320. 2. Enter MacroRecord <Ctrl M>.
  2321.  
  2322. 3. Press <Alt F1> to assign the macro to this key.
  2323.  
  2324. 4. Press the following series of keys:
  2325.      <Home>     (for the BegLine command)
  2326.      <Ctrl P>   (for the Literal command)
  2327.      <Ctrl L>   (a formfeed character)
  2328.  
  2329. 5. Enter MacroRecord <Ctrl M>.  The macro is now created and
  2330.    assigned to the <Alt F1> key.
  2331.  
  2332. Now, whenever you enter <Alt F1>, the cursor will be moved to column
  2333. one and a formfeed character will be inserted, just as if you had
  2334. typed it in from the keyboard.
  2335.  
  2336.  
  2337. Printing
  2338. ========
  2339.  
  2340. QEdit allows you to print either your entire current file or a
  2341. portion of the current file.
  2342.  
  2343. To print the entire current file, simply enter the PrintAll
  2344. <Alt P><A> command.  The entire current file will be printed.
  2345.  
  2346. To print a portion of the current file, first mark the portion of
  2347. the file to be printed using the Block marking commands.  (Refer to
  2348. the "Block Commands" section in this chapter.)  Next, enter the
  2349. PrintBlock <Alt P><B> command.  Only the marked Block portion of the
  2350. file will be printed.
  2351.  
  2352.  1-35
  2353.  
  2354. Print Formatting
  2355.  
  2356. Two commands are provided for setting the left margin and the page 
  2357. size.  Appendix E contains information on commands for setting the 
  2358. top and bottom print margins. (The left margin and page size may 
  2359. also be specified using the configuration program.  Refer to the 
  2360. "Printer Options" section of Chapter 2 and to Appendix E for more 
  2361. information.)
  2362.  
  2363. - SetPrintLeftMargin <Alt P><L>
  2364.   This command specifies the number of blank spaces to be used as a
  2365.   left margin. QEdit will prompt with:
  2366.     +------------------------------------------+
  2367.     |Printer left margin [0..80]: <Esc = Abort>|
  2368.     |0                                         |
  2369.     +------------------------------------------+
  2370.  
  2371.   Enter the left margin length from zero to 80.
  2372.  
  2373. - SetPrintPageSize <Alt P><P>
  2374.   This command specifies the the number of lines to be printed on
  2375.   each page. QEdit will prompt with:
  2376.     +-----------------------------------------+
  2377.     |Printer page size [0..400]: <Esc = Abort>|
  2378.     |0                                        |
  2379.     +-----------------------------------------+
  2380.  
  2381.   Enter a page size from zero to 400.  A zero will instruct QEdit
  2382.   to print continuously without page breaks.
  2383.  
  2384.  
  2385. Formfeeds
  2386.  
  2387. QEdit will automatically send a formfeed character (ASCII 12) to the
  2388. printer at the end of each page.  A page is determined by the page
  2389. size as explained in the section above.
  2390.  
  2391. At times you may find it desirable to insert formfeed characters
  2392. directly into your text.  For example, you want the page size for
  2393. your text to be 55 lines, which you have set using the
  2394. SetPrintPageSize command, but there is a 15-line table in the text
  2395. that should appear on a page by itself.  To accomplish this, simply
  2396. insert formfeed characters immediately before and after the table.
  2397.  
  2398. To insert a formfeed character in the text, enter the Literal
  2399. <Ctrl P> command followed by a formfeed <Ctrl L> character. If you
  2400. need to insert formfeed characters into your text repeatedly, you
  2401. may want to use a macro.  An example of a macro to insert formfeed
  2402. characters can be found in the "Macros" section in this chapter.
  2403.  
  2404. It is also possible, from within QEdit, to send a formfeed character
  2405. to the printer, causing the printer to eject a page.  To do this,
  2406. simply enter the PrintEject <Alt P><F> command.
  2407.  
  2408.  1-36
  2409.  
  2410. The Shell and Dos commands
  2411. ==========================
  2412.  
  2413. (For the following discussion, "Dos" is a QEdit command, while "DOS"
  2414. refers to the computer's operating system.)
  2415.  
  2416. QEdit provides two very helpful commands that allow you to interact
  2417. with DOS from within the editor.  The commands, Shell and Dos, allow
  2418. you to perform most functions that you would normally execute from
  2419. the DOS command line, then return you to your original position in
  2420. the editor.
  2421.  
  2422. QEdit also has an option which frees up memory when executing the
  2423. Shell and Dos commands.  For details, see "Swapping" in Appendix E.
  2424.  
  2425. - Shell <F9>
  2426.   This command should be used when executing multiple DOS commands.
  2427.   Upon entering the Shell command, control will be passed to DOS.
  2428.   The DOS prompt will appear on the screen, just as if no other
  2429.   programs were running.  You may now enter most DOS commands.
  2430.   (Some exceptions are noted below.)  Once you have entered all the
  2431.   desired DOS commands, simply type "exit <Enter>" and control
  2432.   will be passed back to QEdit.  You will be positioned in the file
  2433.   exactly where you were when the Shell command was entered.
  2434.  
  2435. - Dos <Alt F9>
  2436.   This command should be used when executing a single DOS command.
  2437.   Upon entering this command, QEdit will prompt with:
  2438.  
  2439.   +-------------------------------------------------+
  2440.   |Execute what: <Esc = Abort>                      |
  2441.   |                                                 |
  2442.   +-------------------------------------------------+
  2443.  
  2444.   You may now enter almost any DOS command.  (Some exceptions are
  2445.   noted below.)  Once the DOS command has completed, pressing any
  2446.   key will pass control back to QEdit.
  2447.  
  2448. You should not execute any TSR programs (programs that terminate but
  2449. remain resident in your computer) from the Shell or Dos commands.
  2450. For example, the DOS PRINT and GRAPHICS commands are TSR programs.
  2451.  
  2452. If you mistakenly execute a TSR program from QEdit's Shell or Dos
  2453. command, the computer's memory allocation scheme will probably
  2454. become fragmented, and as a result, QEdit's available memory may
  2455. become severely limited.  You should save your files, terminate
  2456. QEdit, and then reboot the computer.
  2457.  
  2458.  1-37
  2459.  
  2460. Word Processing Commands
  2461. ========================
  2462.  
  2463. QEdit has all the features you need to do basic word processing.  In
  2464. addition to the commands which enable you to view and edit your text
  2465. (discussed in previous sections), QEdit provides word-wrapping and
  2466. paragraph reformatting capabilities.  Also, Appendix E contains
  2467. information on QEdit commands for changing case, centering a line
  2468. (or block of lines), and filling a block.
  2469.  
  2470. - The right margin
  2471.   To benefit from the word-wrap and paragraph reformatting features
  2472.   of QEdit, an appropriate right margin must first be set.  The
  2473.   default setting is column 60.  This may be changed using the
  2474.   configuration program.  (Refer to the "General Options" section of
  2475.   Chapter 2 for instructions on how to change the right margin
  2476.   setting.)  This value of the right margin will be used each time
  2477.   the editor is initiated.
  2478.  
  2479.   QEdit provides the ability to change the right margin setting
  2480.   temporarily while the editor is running without affecting the
  2481.   permanent setting. To change the right margin setting temporarily,
  2482.   enter the SetRmargin <Ctrl OR> command.  QEdit will prompt with:
  2483.  
  2484.   +------------------------------------+
  2485.   |right margin [1..300]: <Esc = abort>|
  2486.   |60                                  |
  2487.   +------------------------------------+
  2488.  
  2489.   Enter the desired column number for the right margin.  The new
  2490.   setting will be in effect until the SetRmargin command is entered
  2491.   again or the next time the editor is initiated.  WordWrap mode is
  2492.   automatically switched ON whenever the right margin is set using
  2493.   this command.
  2494.  
  2495. - WordWrap
  2496.   WordWrap is a QEdit mode which can be switched ON and OFF
  2497.   using the ToggleWordwrap <Ctrl OW> command.  When switched ON,
  2498.   this mode will cause the cursor to advance automatically to the
  2499.   next line when text is being entered.
  2500.  
  2501.   The cursor will advance to the next line based on the right
  2502.   margin, which is set using the SetRmargin <Ctrl OR> command.  Once
  2503.   the cursor reaches the right margin and a non-blank character is
  2504.   typed, the cursor, along with the word (i.e., any continuous
  2505.   string of non-blank characters) currently being typed, will be
  2506.   advanced to the next line.
  2507.  
  2508.   The cursor will not advance to the next line if the current line
  2509.   does not contain at least one space.
  2510.  
  2511.  1-38
  2512.  
  2513. - Paragraph Reformatting
  2514.   The WrapPara <Alt B> command will reformat text from the current
  2515.   cursor position to the next blank line or the end of the file.
  2516.  
  2517.   The right-hand side of the text will be reformatted based on the
  2518.   right margin.  The right margin is set using the SetRmargin
  2519.   <Ctrl OR> command.
  2520.  
  2521.   The left-hand side of the text will be reformatted based on
  2522.   AutoIndent mode.  If AutoIndent mode is switched OFF, the left
  2523.   margin will be column one.  If AutoIndent mode is switched ON, the
  2524.   first non-blank character on the line immediately AFTER the cursor
  2525.   line will be used for the left margin.  Using the line AFTER the
  2526.   cursor line allows for special indentation for the first line of a
  2527.   paragraph.
  2528.  
  2529.  
  2530. Modes
  2531. =====
  2532.  
  2533. QEdit uses modes to affect the operation of the editor.  In general,
  2534. a QEdit mode is a state during which certain commands or keystrokes
  2535. behave differently.  Following is an explanation of all the QEdit
  2536. modes.
  2537.  
  2538. - Insert mode
  2539.   Insert mode can be switched ON and OFF by pressing the <Ins> key.
  2540.   When Insert mode is ON, an "I" will appear on the Status Line.
  2541.   The following table describes the commands and keystrokes which
  2542.   are affected by Insert mode.
  2543.  
  2544.  
  2545.   Command/
  2546.   Keystroke     Insert ON                 Insert OFF
  2547.   -----------   ----------------------    ---------------------
  2548.   Characters,   Shift text to right       Overwrite existing
  2549.   Space         of cursor, one column     text.
  2550.                 to the right.
  2551.  
  2552.   Backspace     Deletes character/word    Deletes character/word
  2553.                 to left of cursor.        to left of cursor.
  2554.                 Text to right of cursor   Text to right of cursor
  2555.                 shifts left one column.   does not shift.
  2556.  
  2557.   Return        Splits line at cursor     Does not split line.
  2558.                 position.  Cursor moves   Cursor moves to next
  2559.                 to next line.             line.
  2560.  
  2561.   TabLt,        Tabs cursor and shifts    Tabs cursor only.
  2562.   TabRt         text same number of
  2563.                 positions.
  2564.  
  2565.  1-39
  2566.  
  2567. - AutoIndent mode
  2568.   AutoIndent mode is switched ON and OFF using the ToggleIndent
  2569.   <Ctrl QI> command.  This mode, when ON, positions the cursor at
  2570.   the current left margin (This is not the same as the print left
  2571.   margin.) whenever the <Enter> key is pressed.  The current left
  2572.   margin is determined by the first non-blank character on the
  2573.   immediately preceding line.  The following table describes the
  2574.   commands and keystrokes which are affected by AutoIndent mode.
  2575.  
  2576.   Command/
  2577.   Keystroke   AutoIndent ON                 AutoIndent OFF
  2578.   ---------   --------------------------    ------------------------
  2579.  
  2580.   Return      Cursor positioned below       Cursor positioned at
  2581.               first non-blank character     column one.
  2582.               of previous line.
  2583.  
  2584.   WrapPara    When reformatting, the left   A left margin of zero is
  2585.               margin is determined from     used when reformatting.
  2586.               the first non-blank
  2587.               character on the line
  2588.               immediately following the
  2589.               cursor line.
  2590.  
  2591. - C mode
  2592.   This mode is specifically for "C" language programming.  It is
  2593.   switched ON and OFF using the configuration program.  (Refer to
  2594.   the "General Options" section of Chapter 2 for information on
  2595.   switching C mode ON and OFF.)  C mode is only in effect when
  2596.   AutoIndent mode is also ON.
  2597.  
  2598.   C Mode, when switched ON, affects files with a ".c", ".cpp",
  2599.   ".cxx", ".h", ".hpp", or ".hxx", file extension.  When the current
  2600.   cursor line contains a "{" and the <Enter> key is pressed, QEdit
  2601.   issues a normal Return followed by a TabRt command.  Additionally,
  2602.   when a "}" character is entered, QEdit first issues a TabLt
  2603.   command and then enters the "}" character.
  2604.  
  2605. - WordWrap mode
  2606.   WordWrap mode is switched ON and OFF using the ToggleWordwrap
  2607.   <Ctrl OW> command.  When switched ON, this mode will cause the
  2608.   cursor to advance to the next line automatically when text is
  2609.   being entered.
  2610.  
  2611.   The cursor will advance to the next line based on the right
  2612.   margin, which is set using the SetRmargin <Ctrl OR> command. Once
  2613.   the cursor reaches the right margin and a non-blank character is
  2614.   typed, the cursor, along with the word (i.e., any continuous
  2615.   string of non-blank characters) currently being typed, will be
  2616.   advanced to the next line.
  2617.  
  2618.   The cursor will not advance to the next line if the current line
  2619.   does not contain at least one space.
  2620.  
  2621.  1-40
  2622.  
  2623. - BackUp mode
  2624.   BackUp mode is switched ON and OFF using the ToggleBakups
  2625.   <Esc><O><B> command.  When BackUp Mode is switched ON, QEdit will
  2626.   create a backup copy (using the .bak file extension) for any file
  2627.   that is edited and saved.  The backup copy of the file is an image
  2628.   of the file before it was last edited and saved.  When BackUp mode
  2629.   is OFF, no backup files will be created.
  2630.  
  2631. - MacroRecord mode
  2632.   MacroRecord mode is switched ON and OFF using the MacroRecord
  2633.   <Ctrl M> command.  This mode, when ON, records and assigns a
  2634.   series of commands and keystrokes to a designated key (or scrap
  2635.   area).  This creates a macro.  For a complete explanation of
  2636.   macros and their use, refer to the "Macros" section in this
  2637.   chapter.
  2638.  
  2639. - EnterMatching mode
  2640.   EnterMatching mode is switched ON and OFF using the
  2641.   ToggleEnterMatching <Esc><O><E> command.  If switched ON, QEdit
  2642.   will automatically insert into the text a corresponding ), ], or "
  2643.   character each time a (, [, or " character, respectively, is
  2644.   entered.
  2645.  
  2646. - Box Drawing mode
  2647.   Box Drawing mode is switched ON and OFF using the ToggleBoxDraw
  2648.   <Shift F1> command.  If switched ON, the cursor movement keys (up,
  2649.   down, right, left) can be used to "draw" lines in the text.  This
  2650.   can be very useful for creating charts and tables.  All of the
  2651.   diagrams found in this manual were created using Box Drawing.  The
  2652.   ToggleBoxType command allows you to select different line drawing
  2653.   styles.
  2654.  
  2655. - Smart Tabs mode
  2656.   Smart Tabs mode is switched ON and OFF using the ToggleSmartTabs
  2657.   <Ctrl QT> command.  If switched ON, the TabRt and TabLt commands
  2658.   will place the cursor beneath the first character of the next (or
  2659.   previous) word on the first nonblank line preceding the current
  2660.   cursor line.
  2661.  
  2662.   Smart Tabs mode should NOT be used in conjunction with C mode.
  2663.  
  2664. - Physical Tab Expansion mode
  2665.   Physical Tab Expansion mode is switched ON and OFF using the
  2666.   ToggleTabsExpand <Alt V> command.  If switched ON, physical tab
  2667.   characters (ASCII 9's) found in a file will be expanded into
  2668.   spaces according to the Physical Tab Width set in the
  2669.   configuration program.  If switched OFF, physical tabs will be
  2670.   displayed on the screen and a physical tab character will be
  2671.   placed in the text each time the TabRt command is entered.
  2672.  
  2673.  1-41
  2674.  
  2675. +--------------------------------------------------+
  2676. | QEdit Tip:                                       |
  2677. |   In general, Physical Tab Expansion mode should |
  2678. |   always be set ON.  You would only want to set  |
  2679. |   it OFF if you were editing binary or data      |
  2680. |   files that contain or require physical tabs.   |
  2681. +--------------------------------------------------+
  2682.  
  2683. - Tabs Out mode
  2684.   Tabs Out mode is switched ON and OFF using the ToggleTabsOut
  2685.   <Alt I> command.  If switched ON, continuous spaces in a line of
  2686.   text will be replaced with physical tabs (ASCII 9's) according to
  2687.   the Physical Tab Width set in the configuration program.  Only
  2688.   spaces in edited lines are replaced with physical tabs. Spaces
  2689.   falling between single or double quotes will not be replaced.
  2690.  
  2691.  1-42
  2692.  
  2693. CHAPTER 2.  CUSTOMIZING QEDIT_______________________________________
  2694.  
  2695. QEdit provides a configuration capability which allows the User to
  2696. customize the editor to suit individual preferences.  There are a
  2697. wide range of options which may be customized including key
  2698. assignments, color, tab settings, and printer options.
  2699.  
  2700. Of course, customizing QEdit is not a requirement.  If you like the
  2701. editor exactly the way it is, it will not be necessary to use the
  2702. configuration program.
  2703.  
  2704. The configuration program is QCONFIG.EXE and is included on the
  2705. distribution diskette, along with the other QEdit software. The
  2706. configuration program customizes QEdit by actually modifying the
  2707. editor program itself - Q.EXE.
  2708.  
  2709. +---------------------------------+
  2710. | QEdit Tip:                      |
  2711. |   Before running the            |
  2712. |   configuration program, make   |
  2713. |   a backup copy of the original |
  2714. |   QEdit distribution disk.      |
  2715. +---------------------------------+
  2716.  
  2717. Initiating the Configuration Program
  2718. ====================================
  2719.  
  2720. To initiate the configuration program, type "qconfig <Enter>" from
  2721. the DOS command line.  The program will request the name of the
  2722. editor program to customize with the prompt:
  2723.  
  2724. +-------------------------------------------------------+
  2725. |   Enter program name to config, <CR> for Q.EXE :      |
  2726. +-------------------------------------------------------+
  2727.  
  2728. Simply press <Enter>, unless you have previously renamed the
  2729. editor or if the editor is located in another directory.
  2730.  
  2731. If you have renamed the editor, enter the appropriate filename and
  2732. press <Enter>.  If the editor is located in another directory,
  2733. enter the full pathname and press <Enter>.
  2734.  
  2735.  
  2736. If the file to be customized could not be located on disk, this
  2737. error message will be displayed:
  2738. +--------------------------------------------------+
  2739. |FATAL ERROR: Q.EXE not found                      |
  2740. +--------------------------------------------------+
  2741.  
  2742. Check the editor's filename and/or path for accuracy.
  2743.  
  2744.  2-2
  2745.  
  2746. If the version numbers of the editor and the configuration program
  2747. are not the same, this error message will be displayed:
  2748.  
  2749. +--------------------------------------------------+
  2750. |FATAL ERROR: patch area not found                 |
  2751. +--------------------------------------------------+
  2752.  
  2753. Try reloading the QEdit software from the distribution disk
  2754. (i.e., Q.EXE and QCONFIG.EXE).
  2755.  
  2756.  
  2757. The Configuration Menu
  2758. ======================
  2759.  
  2760. The configuration program will display a menu from which to select
  2761. the desired functions for customization.
  2762.  
  2763. +--------------------------------------------------------------+
  2764. |  Configuration choices.                                      |
  2765. |  Choose One of the Following by pressing the indicated Key:  |
  2766. |                                                              |
  2767. |  A)dvanced options                                           |
  2768. |  C)olors/screen                                              |
  2769. |  G)eneral options                                            |
  2770. |  H)elp install                                               |
  2771. |  K)eys                                                       |
  2772. |  P)rinter options                                            |
  2773. |  Q)uit                                                       |
  2774. |  S)ave changes and quit                                      |
  2775. |  T)ab settings                                               |
  2776. +--------------------------------------------------------------+
  2777.  
  2778. Following is a brief explanation of these menu items.  They will
  2779. each be discussed in detail in this chapter.  (See Appendix E for
  2780. additional options.)
  2781.  
  2782. A)dvanced options
  2783.     Contains a variety of configurable options, including those
  2784.     related to video display, DOS memory, and editor menus.
  2785.  
  2786. C)olors/screen
  2787.     Allows you to change colors of various editor displays when
  2788.     using a color monitor.
  2789.  
  2790. G)eneral options
  2791.     A miscellaneous category of options.
  2792.  
  2793. H)elp install
  2794.     Allows you to create your own Help Screen.
  2795.  
  2796.  2-3
  2797.  
  2798. K)eys
  2799.     Allows you to reassign editor commands to different keys.
  2800.  
  2801. P)rinter options
  2802.     Allows you to set options for printing text, such as page size.
  2803.  
  2804. Q)uit
  2805.     Terminates the program.  You will first be prompted to save or
  2806.     not to save changes.
  2807.  
  2808. S)ave changes and quit
  2809.     After you have made all of the desired changes, press <S> to
  2810.     save the changes and terminate the program.
  2811.  
  2812. T)ab settings
  2813.     Allows you to set the physical and cursor tab widths.
  2814.  
  2815.  
  2816. Choose the category that you wish to customize by pressing the first
  2817. letter of the corresponding menu item.  You will be prompted for a
  2818. response to each option within the category.  Each configuration
  2819. option will be displayed along with its current value.  (The Keys
  2820. and Help install categories, however, work a little differently in
  2821. that they request a filename.)
  2822.  
  2823. For each option displayed, you may enter a new value. If you do not
  2824. wish to change the current value, simply press <Enter>.  After you
  2825. have reviewed all options in a category, you will be returned to
  2826. the main menu where you may select another category.
  2827.  
  2828. Once you have completed customizing, you may save all the changes
  2829. you have made by pressing <S> at the main menu prompt.  Your changes
  2830. will be made permanent (that is, effective the next time you execute
  2831. the editor), and the configuration program will be terminated.
  2832.  
  2833. If you decide that you do not want to save your changes, press <Q>. 
  2834. The prompt "Save Changes (Y/N)?" will be displayed.  Simply press 
  2835. <N>.  No changes will be saved and the configuration program will be
  2836. terminated.
  2837.  
  2838.  2-4
  2839.  
  2840. Advanced Options
  2841. ================
  2842.  
  2843. This section contains a list of the Advanced Options which can be
  2844. customized using the configuration program. The configuration
  2845. program prompt, the default value, and a description are given for
  2846. each option.
  2847.  
  2848. - Test for presence of EGA or VGA adapters (Y/N)? [Y] :
  2849.     For Concurrent PC-DOS (a Digital Research version of DOS) users
  2850.     only, this option should be set to <N>.
  2851.  
  2852. - Test for presence of enhanced keyboard (Y/N)? [N] :
  2853.     If your system has an enhanced (101 key) keyboard then set this
  2854.     option to <Y> and QEdit will recognize the additional keys such
  2855.     as F11, F12, and grey cursor keys.
  2856.  
  2857. +--------------------------------------------------+
  2858. | QEdit Tip:                                       |
  2859. |   Many TSR's, including mouse drivers, do not    |
  2860. |   properly recognize the enhanced keyboard.  If  |
  2861. |   you are using a TSR and it is not working with |
  2862. |   QEdit, try setting this option to <N>.         |
  2863. +--------------------------------------------------+
  2864.  
  2865. - Should QEdit change the cursor size (Y/N)? [Y] :
  2866.     By default, QEdit uses a small cursor when Insert mode is OFF
  2867.     and a medium cursor when Insert mode is ON.  Selecting <N> will
  2868.     tell QEdit not to change the cursor size.
  2869.  
  2870. - Do you want the Return command to split lines in insert mode
  2871.   (Y/N)? [Y] :
  2872.     Normally, the Return command splits the current line at the
  2873.     cursor when pressed in Insert mode. This means that the part of
  2874.     the line following the cursor will be inserted on a new line. If
  2875.     Insert mode is OFF, the Return command will simply place the
  2876.     cursor at the beginning of the next line.
  2877.  
  2878.     If you select <N> for this option, the Return command will 
  2879.     always act as if Insert mode is OFF. Return will move the cursor 
  2880.     to the beginning of the next line with no effect on the text.
  2881.  
  2882.  2-5
  2883.  
  2884. - Should Cut and Copy use current line if no block marked(Y/N)? [N]:
  2885.     If a block is not marked, and you execute the Cut or Copy
  2886.     command, the current cursor line will be affected if you enter
  2887.     <Y> for this option.
  2888.  
  2889. - Amount of memory to reserve from DOS (in paragraphs)
  2890.   [0,8..32767]  [0] :
  2891.     COMMAND.COM normally occupies the high end of DOS memory. If a
  2892.     program uses all available DOS memory, then COMMAND.COM can be
  2893.     overlayed and will have to be reloaded when the application is
  2894.     finished.  This really is not a problem on a hard disk system,
  2895.     as the reload takes a very short time.  On a diskette based
  2896.     system, the delay can be somewhat annoying.  Specifying a value
  2897.     of 1400 should keep COMMAND.COM from having to be reloaded on
  2898.     any DOS version through 3.3.  Please note that this will deny
  2899.     QEdit of an additional 22k of memory.
  2900.  
  2901. - Code generated by ALT numeric keypad  [0] :
  2902.     The <Alt> numeric keypad can be used to enter just about any of
  2903.     the characters in the IBM PC character set.  Characters are
  2904.     entered by holding down the <Alt> key and pressing the decimal
  2905.     number(s) that represents that character.  On IBM PC's this
  2906.     action returns a scan code of 0.  A small number of compatible
  2907.     PC's return a different scan code.  If your PC returns a
  2908.     different scan code for the <Alt> numeric keypad, enter it here.
  2909.  
  2910. - Do you want the ESCAPE command to invoke the menus (Y/N)? [Y] :
  2911.     By default, the Escape command displays the "Pop-Down" menus,
  2912.     when executed outside of the menus or any QEdit prompts.  If you
  2913.     do NOT want the Escape command to do this, select <N> for this
  2914.     option.
  2915.  
  2916.  2-6
  2917.  
  2918. Colors/Screen Options
  2919. =====================
  2920.  
  2921. This section contains a list of the Screen and Screen Color Options
  2922. which can be customized using the configuration program. The
  2923. configuration program prompt, the default value, and a description
  2924. are given for each option.
  2925.  
  2926. - Statusline position: "T" for top, "B" for bottom  [T] :
  2927.     The Status Line may be positioned at the top or at the bottom
  2928.     line of the screen.
  2929.  
  2930. - Statusline fill character [ ] :
  2931.     This character is used to "break up" the information on the
  2932.     editor's Status Line.  The default is a space.  For example,
  2933.     if the dash character is specified then the Status Line would
  2934.     look like this:
  2935.  
  2936. +-----------------------------------------------------------+
  2937. |L 15-- C 15---IAW-R-B--411K-----*c:\qedit\qedit.doc--------|
  2938. +-----------------------------------------------------------+
  2939.  
  2940. - Do you want the display "boxed" (Y/N)? [N] :
  2941.     The editing screen may be completely enclosed in a box.
  2942.  
  2943. - Do you want the original screen restored upon termination (Y/N)?[Y]:
  2944.     QEdit can optionally restore the original screen upon exiting
  2945.     the program.  Be aware that selecting this option takes up 4k of
  2946.     memory.  But it is very handy after long uninterrupted editing
  2947.     sessions to see what you were doing before you started.
  2948.  
  2949. - Do you want "snow" checking (Y/N)? [Y] :
  2950.     If QEdit determines that your system has a Color/Graphics
  2951.     Adapter card (CGA), the editor will not write to the screen at
  2952.     full speed in order to avoid "snow" (a sparkling appearance on
  2953.     the screen that results from updating the screen too quickly).
  2954.  
  2955.     If you have a COMPAQ, ZENITH, or other color adapter that allows
  2956.     full speed screen updating without "snow", then set this option
  2957.     to <N>.
  2958.  
  2959.     This option has no effect on monochrome and true EGA/VGA cards.
  2960.  
  2961. - Number of columns to scroll horizontally for screen lt/rt
  2962.   commands [1..400] [1] :
  2963.     This is the number of columns that QEdit should scroll when you
  2964.     enter the ScreenLeft or ScreenRight commands.
  2965.  
  2966.  2-7
  2967.  
  2968. +-----------------------------------------------------+
  2969. |Attribute chart/guide. [0..127]                      |
  2970. |                                                     |
  2971. |                                                     |
  2972. |              **    GRAPHIC CHART    **              |
  2973. |              **    OMITTED FROM     **              |
  2974. |              **  DOCUMENTATION FOR  **              |
  2975. |              **  SHAREWARE VERSION  **              |
  2976. |          (run QCONFIG to view color chart)          |
  2977. |                                                     |
  2978. |Select attributes from the chart above.              |
  2979. +-----------------------------------------------------+
  2980.  
  2981. The chart above is for use with the following Screen Color Options.
  2982. Enter a number, in response to each option, based on the color in
  2983. which the number appears on the chart.
  2984.  
  2985. If you have a monochrome screen, many of the values in the chart 
  2986. will appear to be the same color. However, you will still have the 
  2987. options of normal, highlighted, underlined, and reverse video. If 
  2988. you have a color monitor you can take advantage of a wider array of 
  2989. options.
  2990.  
  2991. - Blocked Text [112]:
  2992.     The color used for marked Blocks.
  2993.  
  2994. - Error msgs [112]:
  2995.     The color used for warning and error messages.
  2996.  
  2997. - Text Area [7]:
  2998.     The color used for normal text (the editing screen).
  2999.  
  3000. - Status Line [9]:
  3001.     The color used for the Status Line.
  3002.  
  3003. - Cursor Line [15]:
  3004.     The color used for the cursor line. Reverts to normal when a 
  3005.     block is marked.
  3006.  
  3007. - Messages [15]:
  3008.     The color used for QEdit messages.
  3009.  
  3010. - Hi-lited items [9]:
  3011.     The color used for "found" search strings when using the Find
  3012.     and FindReplace commands.
  3013.  
  3014. - EOF line/indicator [15]:
  3015.     The color used for the "end of file" line.
  3016.  
  3017.  2-8
  3018.  
  3019. - Help screen [112]:
  3020.     The color used for the Help Screen.
  3021.  
  3022. - Box borders [15]:
  3023.     The color used for box borders.
  3024.  
  3025. - PopUp windows [15]:
  3026.     The color used for the background of the "Pop-Down" menus.
  3027.  
  3028. - Menu items [15]:
  3029.     The color used for items within menus.
  3030.  
  3031. - Selected Menu items [112]:
  3032.     The color used for selected items within menus.
  3033.  
  3034.  
  3035. General Options
  3036. ===============
  3037.  
  3038. This section contains a list of the General Options which can be
  3039. customized using the configuration program.  The configuration
  3040. program prompt, the default value, and a description are given for
  3041. each option.  (See Appendix E for additional options.)
  3042.  
  3043. - Do you want the DelCh command to join lines if at EOL (Y/N)? [Y] :
  3044.     If you want the DelCh command to be restricted so that it only
  3045.     works on the current line, then select <N> for this option.  If
  3046.     you select <Y>, the command will work across line breaks.  This
  3047.     means that if you issue DelCh at the end of the line, the
  3048.     following line will be joined to the end of the cursor line
  3049.     (just as if you had issued a JoinLine command).
  3050.  
  3051. - Do you want the PQuit, Exit, and File commands to return to
  3052.   "EditFile" prompt (Y/N)? [Y] :
  3053.     If only 1 file is being edited, QEdit can either terminate or
  3054.     ask for another file to edit whenever the PQuit, Exit, or File
  3055.     commands are executed.  Enter <N> to terminate.
  3056.  
  3057. - Do you want the editor to start in Wordwrap Mode (Y/N)? [N] :
  3058.     If you want WordWrap mode to be ON each time QEdit is executed,
  3059.     then set this option to <Y>.  Refer to the "Word Processing
  3060.     Commands" section of Chapter 1 for more information on WordWrap.
  3061.  
  3062. - Default right margin for Wordwrap [1..512] [60] :
  3063.     This is the default right margin setting each time QEdit is
  3064.     executed.  Refer to the "Word Processing Commands" section of
  3065.     Chapter 1 for more information.
  3066.  
  3067.  2-9
  3068.  
  3069. - Do you want the editor to start in Insert Mode (Y/N)? [Y] :
  3070.     If you want Insert mode to be ON each time QEdit is executed,
  3071.     then set this option to <Y>.  Refer to the "Modes" section of
  3072.     Chapter 1 for more information on Insert mode.
  3073.  
  3074. - Do you want the editor to start in Autoindent Mode (Y/N)? [Y] :
  3075.     If you want AutoIndent mode to be ON each time QEdit is
  3076.     executed, then set this option to <Y>.  Refer to the "Modes"
  3077.     section of Chapter 1 for more information on AutoIndent mode.
  3078.  
  3079. - Load wildcarded filespecs from the command line (Y/N)? [Y] :
  3080.     When QEdit encounters a wildcarded file specification (* or ?)
  3081.     from the DOS command line, it will do one of two things
  3082.     depending on this option setting.  If you select <Y>, the editor
  3083.     will load every file that matches the wildcarded specification.
  3084.     (For example, if you entered "q *.doc", QEdit would load all
  3085.     files with the extension ".doc"). However, if you select <N>,
  3086.     QEdit will display a "Pop-Down" menu list of all the files which
  3087.     match the wildcarded specification. You can then choose the file
  3088.     you want to edit by using the cursor keys and pressing <Enter>.
  3089.  
  3090. - Load wildcarded filespecs from inside the editor (Y/N)? [N] :
  3091.     This option is similar to the previous one, except that it 
  3092.     refers to the EditFile command rather than the DOS command line 
  3093.     used at startup.  If you use a wildcard character with EditFile 
  3094.     it will either load all matching files, or show you a list of 
  3095.     matching files, depending on your choice for this option. Select 
  3096.     <Y> to load all matching files and <N> to display a list of 
  3097.     matching files.
  3098.  
  3099. - Do you want the editor to start in "enter matching" mode (Y/N)?[N]:
  3100.     When ON, the double quote, parenthesis, and square bracket
  3101.     keys all automatically enter the matching character when the
  3102.     left character is entered.  For example, typing the '[' key
  3103.     automatically enters a ']' immediately following.
  3104.  
  3105. - Use CMODE for .c, .cpp, .cxx, .h, .hpp, and .hxx files (Y/N)? [Y]:
  3106.     C mode is included primarily for editing C Language programs.  C
  3107.     mode is only in effect when AutoIndent mode is also ON.  When C
  3108.     mode is active, <Enter> typed on a line containing a '{' does a
  3109.     normal return and then issues a TabRt command.  Subsequently,
  3110.     when a '}' is typed, a TabLt command is issued.
  3111.  
  3112. - Default number of deleted lines to keep per file [0..300] [30] :
  3113.     QEdit saves a certain number of deleted lines and blocks, which
  3114.     can later be recalled using the UnKill command.  This option
  3115.     allows you to select the maximum number of lines QEdit can save
  3116.     for every edited file.
  3117.  
  3118.  2-10
  3119.  
  3120. - Remove trailing blanks from edited lines (Y/N)? [Y] :
  3121.     When you edit a line of text, QEdit can either remove trailing
  3122.     blanks from that line or leave it as is.  For most purposes,
  3123.     the remove option is preferable, as it will generally create
  3124.     smaller files.
  3125.  
  3126. - Delete white space after words with DelRtWord command (Y/N)? [Y] :
  3127.     If you enter the DelRtWord command, it deletes the "word" to the
  3128.     right of the cursor.  This option causes DelRtWord to
  3129.     delete the blank space which follows the word as well.
  3130.  
  3131. - Terminate files with a Control Z (Y/N)? [N] :
  3132.     MS/PC-DOS versions 2.0 thru 3.3 do NOT require an end of file
  3133.     terminator (the exact size of the file is stored in the
  3134.     directory).  However, some programs that were directly
  3135.     translated from their CP/M versions still require the Control Z
  3136.     end of file marker.  If you have one of these programs for which
  3137.     you are creating text files, you should select <Y> for this
  3138.     option.
  3139.  
  3140. - Do you want "backups" of saved files (Y/N)? [Y] :
  3141.     Select <Y> if you want a backup file (an image of the file
  3142.     before you did any editing) with the .bak extension saved each
  3143.     time you save a file.
  3144.  
  3145. - Prompt for filename on open window (Y/N)? [N] :
  3146.     If you enter the HorizontalWindow command, QEdit can either
  3147.     prompt you for the name of the file you want to load into the
  3148.     new window or load the next file in the ring into the new
  3149.     window (in the latter case, if only one file is being edited
  3150.     another window for the same file is opened).
  3151.  
  3152.     To have QEdit prompt you for a filename, select <Y>.  To have it
  3153.     load the next file in the ring, select <N>.
  3154.  
  3155. - Close window when a file is quit (Y/N)? [Y] :
  3156.     If you enter any command which discards a file from the editor
  3157.     whenever more than one window is open, QEdit can either load
  3158.     the next file in the ring into that window or close that
  3159.     window.
  3160.  
  3161.     To have QEdit close the window, select <Y>.  To have it load the
  3162.     next file in the ring, select <N>.
  3163.  
  3164. - Display End Of File marker (Y/N)? [Y] :
  3165.     QEdit can optionally display a line at the end of the file in
  3166.     the following format:
  3167.  
  3168.           <*** End of File ***>
  3169.  
  3170.  2-11
  3171.  
  3172. - Insert line blocks ABOVE the cursor line (Y/N)? [N] :
  3173.     Line blocks can either be inserted (with the Paste, CopyBlock,
  3174.     or MoveBlock command) above or below the current cursor line.
  3175.  
  3176. - Default Find options [IWBG] [I]:
  3177.     Select the default search options when using the Find command.
  3178.     The options are:
  3179.  
  3180.     I - Ignore Case.  The Find command will ignore lower and upper
  3181.         case when searching for a matching string.
  3182.  
  3183.     W - Words Only.  The Find command will search for matching
  3184.         strings which are whole words only.  For example, with the
  3185.         "W" option on, searching for the string "not", QEdit would
  3186.         ignore strings such as "cannot", "notes", etc. and only
  3187.         identify occurrences of the string "not" delimited by
  3188.         spaces.
  3189.  
  3190.     B - Backwards Search.  This option causes the Find command to
  3191.         begin with the current cursor position and search backwards
  3192.         toward the beginning of the file.
  3193.  
  3194.     G - Global Search. Begin searching from the beginning of the 
  3195.         file.
  3196.  
  3197.     Note that even when these options are not selected as defaults,
  3198.     they can still be selected from within the editor whenever the
  3199.     Find command is executed.
  3200.  
  3201. - Default FindReplace options [IWBNG] [I]:
  3202.     Select the default search and replace options when using the
  3203.     FindReplace command.  The options are:
  3204.  
  3205.     I - Ignore Case.  The FindReplace command will ignore lower and
  3206.         upper case when searching for a matching string.
  3207.  
  3208.     W - Words Only.  The FindReplace command will search for
  3209.         matching strings which are whole words only.  For example,
  3210.         with the "W" option on, searching for the string "not",
  3211.         QEdit would ignore strings such as "cannot", "notes", etc.
  3212.         and only identify occurrences of the string "not" delimited
  3213.         by spaces.
  3214.  
  3215.     B - Backwards Search.  This option causes the FindReplace
  3216.         command to begin with the current cursor position and search
  3217.         backwards toward the beginning of the file.
  3218.  
  3219.     N - No Prompting.  The FindReplace command will not prompt when
  3220.         it identifies a matching string; instead, all occurrences of
  3221.         the search string will be replaced with the new string.
  3222.  
  3223.     G - Global Search. Begin searching from the beginning of the 
  3224.         file.
  3225.  
  3226.  2-12
  3227.  
  3228.     Note that even when these options are not selected as defaults,
  3229.     they can still be selected from within the editor whenever the
  3230.     FindReplace command is executed.
  3231.  
  3232. - Default file extension number 1 [.pas]:
  3233.  
  3234. - Default file extension number 2 [.inc]:
  3235.  
  3236. - Default file extension number 3 [.asm]:
  3237.  
  3238. - Default file extension number 4 [.c]:
  3239.  
  3240. - Default file extension number 5 [.h]:
  3241.  
  3242. - Default file extension number 6 [.doc]:
  3243.  
  3244.     Six default file extensions are provided to save keystrokes each
  3245.     time a filename to edit is entered.  These file extensions are
  3246.     used whenever QEdit is executed with a filename from the command
  3247.     line or whenever the EditFile command is entered.
  3248.  
  3249.     When using QEdit, if the filename entered does not have a period
  3250.     (and does not include the DOS wildcard characters) and that
  3251.     file does NOT exist as named, QEdit appends the first default
  3252.     file extension to the name and tries to load that file.  If that
  3253.     file exists, then QEdit loads it for editing.  If it does not
  3254.     exist, QEdit will repeat the process with the other default file
  3255.     extensions.  If no files were found, then QEdit will create a
  3256.     new file as originally named.
  3257.  
  3258.  
  3259. The Help Screen
  3260. ===============
  3261.  
  3262. QEdit allows you to create a customized one page Help Screen, which
  3263. may be displayed at any time from within the editor by entering the
  3264. QuickHelp <F1> command.
  3265.  
  3266. Of course, you may prefer to use the default Help Screen which is
  3267. already loaded into QEdit.  In that case no action is required.
  3268. However, if you want to design and use your own Help Screen, simply
  3269. follow these steps:
  3270.  
  3271. 1. Create an 80 x 25 (80 columns by 25 lines) text file (you can use
  3272.    QEdit to create this file) and list all of the information that
  3273.    should appear on the screen when the QuickHelp command is
  3274.    entered.  We suggest that you list less frequently used commands
  3275.    in this file, while leaving out more familiar commands such as
  3276.    cursor movement and paging.
  3277.  
  3278.  2-13
  3279.  
  3280. 2. Run QCONFIG.EXE and select option <H> from the menu.
  3281.  
  3282. 3. You will be prompted for the name of the Help file just created.
  3283.    Enter that name.
  3284.  
  3285. That is all there is to it!  The next time you enter QuickHelp from
  3286. within QEdit, your customized Help Screen will be displayed.
  3287.  
  3288.  
  3289. Keyboard Configuration
  3290. ======================
  3291.  
  3292. QEdit provides the extremely helpful capability of assigning editor
  3293. commands (and strings of characters) to almost any key you prefer.
  3294.  
  3295. This allows you to assign frequently used commands to keys which are
  3296. most convenient for your use or you may wish to reassign commands
  3297. completely to emulate another text editor or word processor with
  3298. which you are already familiar.
  3299.  
  3300. By taking a few minutes to review this section, your future text
  3301. editing may become significantly smoother and more comfortable as a
  3302. result of customizing your keyboard to suit your individual
  3303. preferences.
  3304.  
  3305.  
  3306. The Keyboard Definition File
  3307.  
  3308. QEdit uses the Keyboard Definition file to customize the keyboard.
  3309. This file contains a list of all the keys to which commands may be
  3310. assigned.  Supplied with QEdit is a Keyboard Definition file called
  3311. QCONFIG.DAT which contains the default settings for the keyboard.
  3312. Other files are supplied which emulate certain common word
  3313. processors.  WordStar command keys can be emulated using the
  3314. WSKEY.DAT Keyboard Definition file.  Brief command keys can be
  3315. emulated using the BRIEF.DAT Keyboard Definition file.
  3316.  
  3317. The Keyboard Definition file consists of a list of configurable keys
  3318. and the commands or macros which are assigned to them.  The
  3319. configurable keys are on the left side of the file with the commands
  3320. or macros assigned to the keys on the right.  Blank lines and lines
  3321. starting with an asterisk "*" are ignored. The QCONFIG.DAT file, as
  3322. well as Appendix B, contains a complete list of configurable keys.
  3323.  
  3324. Control keys are specified with a "^".  For example:
  3325.  
  3326.    ^f1 or ^F1 specifies Control F1
  3327.    ^c  or ^C  specifies Control C
  3328.    ^PgUp      specifies Control PgUp
  3329.  
  3330.  2-14
  3331.  
  3332. Alternate keys are specified with a "@".  For example:
  3333.  
  3334.    @f1 or @F1 specifies Alt F1
  3335.    @c  or @C  specifies Alt C
  3336.    @PgUp      specifies Alt PgUp
  3337.  
  3338. Shift keys are specified with a "#".  For example:
  3339.  
  3340.    #f1 or #F1 specifies Shift F1
  3341.  
  3342. The format of a line in the Keyboard Definition file is simply the
  3343. keystroke followed by the command.  For example:
  3344.  
  3345.    f1                      QuickHelp
  3346.    #f5                     MakeCtrofScreen
  3347.    @f2                     InsertLine
  3348.    cursorup                CursorUp
  3349.    ^cursorleft             WordLeft
  3350.    backspace               Backspace
  3351.    ^backspace              DelLtWord
  3352.    @a                      DropAnchor
  3353.    ^a                      WordLeft
  3354.  
  3355. +-------------------------------------------------+
  3356. | QEdit Tip:                                      |
  3357. |   The configuration program ignores the case of |
  3358. |   the command, as well as any underscores that  |
  3359. |   may be embedded.  This means that InsertLine, |
  3360. |   insert_line, and Insert_Line all refer to the |
  3361. |   same command.                                 |
  3362. |                                                 |
  3363. |   Also, the order of the keys does not matter.  |
  3364. |   The configurable keys may be put in any order |
  3365. |   desired.                                      |
  3366. +-------------------------------------------------+
  3367.  
  3368. There is also a provision for assigning commands to a "twokey". A
  3369. twokey consists of two distinct keystrokes, such as <Ctrl B>
  3370. immediately followed by <A>.  To assign a command to a twokey, enter
  3371. both keystrokes of the twokey in the first column (keystroke column)
  3372. separated by an underline.
  3373.  
  3374. For example, to assign the Exit command to the twokey,
  3375. <Ctrl F1> <F2>, enter the following into the Keyboard Definition
  3376. file:
  3377.  
  3378.    ^f1_f2     Exit
  3379.  
  3380.  2-15
  3381.  
  3382. Through the use of macros, multiple commands and/or text may be
  3383. assigned to any configurable key (Macros, however, cannot be
  3384. assigned to twokeys).  To define a macro, specify MacroBegin as the
  3385. first command, followed by any combination of text and QEdit
  3386. commands, each separated by a space.  Text should be enclosed in
  3387. single or double quotes.  The commands and/or text must all fit on
  3388. one line, not exceeding 255 characters in length.
  3389.  
  3390. Example:
  3391.  
  3392.    f1  MacroBegin EditFile 'help.dat' Return
  3393.  
  3394. This macro would load the file 'help.dat'.  Note that the Return
  3395. command is issued after the text.  This is required to terminate the
  3396. QEdit prompt.
  3397.  
  3398. Example:
  3399.  
  3400.    @t  MacroBegin GSave Dos 'tpc ' CurrentFilename Return
  3401.  
  3402. Now, when you press <Alt T>, all changed files will be saved and the
  3403. Turbo Pascal compiler will be invoked on the current file.
  3404.  
  3405. Example (the following must appear on 1 line in the Keyboard
  3406. Definition file):
  3407.  
  3408.    @f1   MacroBegin EditFile 'errors.lst' Return Quit Dos
  3409.          'tcc ' CurrentFilename ' >errors.lst' Return Return
  3410.          HorizontalWindow EditFile 'errors.lst' Return
  3411.  
  3412. This macro will run the Turbo C compiler on the current file, saving
  3413. the results to a file called "errors.lst", and loading that file
  3414. into another window after the compile is finished.
  3415.  
  3416. Additional examples can be found in Appendix D.  In general, any
  3417. commonly used sequence of commands (or a useful, but complicated
  3418. sequence of commands for that matter) is a good candidate for a
  3419. macro.
  3420.  
  3421.  
  3422. Creating a Keyboard Definition File
  3423.  
  3424. To customize the keyboard using the default Keyboard Definition
  3425. file, QCONFIG.DAT, no action is required.  QEdit is distributed with
  3426. this Keyboard Definition file already loaded.
  3427.  
  3428.  2-16
  3429.  
  3430. To customize the keyboard using one of the supplied word processor
  3431. emulation Keyboard Definition files, skip to step number 6 below.
  3432.  
  3433. To create your own Keyboard Definition file, do the following:
  3434.  
  3435. 1. Load the file QCONFIG.DAT into QEdit (from the DOS command line
  3436.    type "q qconfig.dat <Enter>").
  3437.  
  3438. 2. Rename the file using the ChangeFilename command <Alt O>.
  3439.  
  3440. 3. Browse through the file using the Cursor Up and Down keys. Notice 
  3441.    that the left side of the file contains a list of all configurable 
  3442.    keys.  To the right of each key is the command or macro currently 
  3443.    assigned to the key.  Some keys have no commands assigned.
  3444.  
  3445. 4. Change the commands assigned to the keys to suit your particular
  3446.    needs.  For more information on how to assign keys, refer to The
  3447.    Keyboard Definition file section above.
  3448.  
  3449. 5. Save the file and exit QEdit by pressing <Alt X>.
  3450.  
  3451. 6. Run QCONFIG.EXE and select option <K> from the menu.
  3452.  
  3453. 7. You will be prompted for the name of the Keyboard Definition
  3454.    file.  Enter the name of the Keyboard Definition file you wish to
  3455.    load.  If you are creating your own file, enter the new name
  3456.    chosen in step 2.
  3457.  
  3458. 8. Your key assignments will be incorporated into the editor
  3459.    program, Q.EXE.  The QCONFIG menu will again appear. Press <S> to
  3460.    save your changes and terminate the program.
  3461.  
  3462. 9. Run the editor to insure that your key assignments function as
  3463.    desired.
  3464.  
  3465.  
  3466. Printer Options
  3467. ===============
  3468.  
  3469. This section contains a list of the Printer Options which can be
  3470. customized using the configuration program.  The configuration
  3471. program prompt, the default value, and a description are given for
  3472. each option.  (See Appendix E for additional options.)
  3473.  
  3474. - Default left margin for printing [0..80] [0]:
  3475.     This is the number of spaces QEdit skips before printing each
  3476.     line. If you do not want QEdit to skip any spaces at the
  3477.     beginning of each line, select zero.
  3478.  
  3479. - Default page size for printing [0..400] [0]:
  3480.     QEdit will send a formfeed character to the printer after
  3481.     printing this number of lines.  If you do NOT want QEdit
  3482.     to send formfeeds (continuous printing), select zero.
  3483.  
  3484.  2-17
  3485.  
  3486. - Add formfeed after printing (Y/N)? [Y] :
  3487.     Should QEdit send a formfeed when printing is complete?  If you
  3488.     select <Y>, your forms should be correctly lined up in
  3489.     preparation for the next printing operation.
  3490.  
  3491.  
  3492. Tab Settings
  3493. ============
  3494.  
  3495. This section contains a list of all Tab Setting Options which can be
  3496. customized using the configuration program.  The configuration
  3497. program prompt, the default value, and a description are given for
  3498. each option.
  3499.  
  3500.  
  3501. - Do you want the editor to start in Physical Tab Expansion Mode 
  3502.   (Y/N)?[Y]:
  3503.     If you want Physical Tab Expansion mode to be ON each time QEdit 
  3504.     is executed, then set this option to <Y>.  Refer to the "Modes" 
  3505.     section of Chapter 1 for more information on Physical Tab 
  3506.     Expansion.
  3507.  
  3508. - Do you want the editor to start in Tabs Out Mode (Y/N)? [N] :
  3509.     If you want Tabs Out mode to be ON each time QEdit
  3510.     is executed, then set this option to <Y>.  Refer to the "Modes"
  3511.     section of Chapter 1 for more information on Tabs Out.
  3512.  
  3513. - Default physical tab width [2,4, or 8] [8]:
  3514.     This is the tab width that QEdit uses when Physical Tab 
  3515.     Expansion mode or Tabs Out mode are ON.
  3516.  
  3517. - Default Cursor tab width [2..12] [8]:
  3518.     This is the tab width that QEdit uses when you enter the TabRt
  3519.     and TabLt commands.
  3520.  
  3521. - Default file extension number 1 for default tabs [.pas]:
  3522.   Physical tab width for above [2]:
  3523.   Cursor tab width for above [2]:
  3524.  
  3525. - Default file extension number 2 for default tabs [.inc]:
  3526.   Physical tab width for above [2]:
  3527.   Cursor tab width for above [2]:
  3528.  
  3529. - Default file extension number 3 for default tabs [.asm]:
  3530.   Physical tab width for above [8]:
  3531.   Cursor tab width for above [8]:
  3532.  
  3533.  2-18
  3534.  
  3535. - Default file extension number 4 for default tabs [.c]:
  3536.   Physical tab width for above [4]:
  3537.   Cursor tab width for above [4]:
  3538.  
  3539. - Default file extension number 5 for default tabs [.h]:
  3540.   Physical tab width for above [4]:
  3541.   Cursor tab width for above [4]:
  3542.  
  3543. - Default file extension number 6 for default tabs [.doc]:
  3544.   Physical tab width for above [8]:
  3545.   Cursor tab width for above [8]:
  3546.  
  3547.     QEdit allows you to set default physical and cursor tab widths
  3548.     for up to six different file extensions.  When a file is loaded
  3549.     that matches one of these extensions, these defaults are used.
  3550.     Otherwise, the defaults set in the first two Tab Settings are
  3551.     used.
  3552.  
  3553. - Do you want the editor to start in Smart Tabs Mode (Y/N)? [N] :
  3554.     If you want Smart Tabs mode to be ON each time QEdit
  3555.     is executed, then set this option to <Y>.  Refer to the "Modes"
  3556.     section of Chapter 1 for more information on Smart Tabs.
  3557.  
  3558.  2-19
  3559.  
  3560. CHAPTER 3.  QEDIT COMMAND REFERENCE_________________________________
  3561.  
  3562. This chapter contains a description for each of the QEdit commands.
  3563. Where appropriate, the default key assignments are provided.
  3564. Additionally, <Esc> sequences are given for those commands which can
  3565. be accessed through the "Pop-Down" menus.
  3566.  
  3567. To assign commands which do not have a default assignment or to
  3568. change existing key assignments, refer to the "Keyboard
  3569. Configuration" section of Chapter 2 for instructions.
  3570.  
  3571.  
  3572. AddLine             <F2> or <Esc><E><A>
  3573. ----------------------------------------
  3574.  
  3575. Adds a blank line after the cursor line, placing the cursor on the
  3576. newly created line.  The cursor column does not change.
  3577.  
  3578.  
  3579. Align
  3580. ----------------------------------------
  3581.  
  3582. Aligns the text on the cursor line with the text on the line
  3583. immediately before the cursor line and then positions the cursor on
  3584. the next line.  The cursor column does not change.  If the cursor is
  3585. on line one, or the previous line is blank, or the cursor line is
  3586. blank, this command will only move the cursor to the next line.
  3587.  
  3588.  
  3589. AppendScrbuff       <Ctrl BA>
  3590. ----------------------------------------
  3591.  
  3592. Appends the currently marked Block to the end of the named Scratch
  3593. Buffer.  The existing contents of the named Scratch Buffer are not
  3594. lost. If the named Scratch Buffer does not exist, a new Scratch
  3595. Buffer will be created.
  3596.  
  3597.  
  3598. Backspace           <Backspace>
  3599. ----------------------------------------
  3600.  
  3601. If Insert mode is ON:
  3602.  Deletes the character to the left of the cursor.  The text to the
  3603.  right of, and including the cursor position, shifts left one
  3604.  position. If the cursor is in column one, the cursor line is
  3605.  appended to the end of the preceding line.
  3606.  
  3607. If Insert mode is OFF:
  3608.  Deletes the character to the left of the cursor.  The text to the
  3609.  right of the cursor does NOT close in or shift.  If the cursor is
  3610.  in column one, however, the cursor line will still be appended to
  3611.  the end of the previous line.
  3612.  
  3613.  3-2
  3614.  
  3615. BegFile             <Ctrl PgUp>
  3616. ----------------------------------------
  3617.  
  3618. Positions the cursor at column one on the first line of the current
  3619. file.
  3620.  
  3621.  
  3622. BegLine             <Home>
  3623. ----------------------------------------
  3624.  
  3625. Positions the cursor at column one of the current cursor line.
  3626.  
  3627.  
  3628. BegScreen           <Ctrl Home>
  3629. ----------------------------------------
  3630.  
  3631. Positions the cursor at the top line of the current window.  The
  3632. cursor column does not change.
  3633.  
  3634.  
  3635. ChangeFilename      <Alt O> or <Alt F><C> or <Esc><F><C>
  3636. ----------------------------------------
  3637.  
  3638. Changes the name of the current file.  QEdit will prompt for the new
  3639. name.  If the file already exists, you will be required to confirm
  3640. that you still want to rename the file.  The current file is marked
  3641. as being a changed file.  (An asterisk will appear on the Status
  3642. Line preceding the filename.)  This command will have no effect on
  3643. disk files, until the renamed file is saved.
  3644.  
  3645.  
  3646. CloseWindow         <Ctrl OC> or <Esc><W><C>
  3647. ----------------------------------------
  3648.  
  3649. Closes the current window, unless it is the only window which is
  3650. open, in which case the command has no effect.
  3651.  
  3652.  
  3653. Copy                <grey +>
  3654. ----------------------------------------
  3655.  
  3656. Copies the marked Block into the Scrap Buffer.  The Block is then
  3657. unmarked.  If no Block is marked, the cursor line is copied into the
  3658. Scrap Buffer.  The copying of the cursor line, when a Block is not
  3659. marked, is configurable.  Refer to the "Advanced Options" section of
  3660. Chapter 2 for more information.
  3661.  
  3662.  
  3663. CopyBlock           <Alt C> or <Esc><B><C>
  3664. ----------------------------------------
  3665.  
  3666. Copies the marked Block to the cursor position.  If the Block is a
  3667. character Block (created using the DropAnchor, MarkCharacter, or
  3668. MarkBlockBegin/End commands)
  3669.  
  3670.  3-3
  3671.  
  3672. or a column Block (created using the MarkColumn command), the Block
  3673. is inserted into the text beginning at the current cursor position.
  3674. If the Block is a line Block (created using the MarkLine command),
  3675. it is inserted before or after the current cursor line, depending on
  3676. the configuration setting (Refer to the "General Options" section of
  3677. Chapter 2 for more information).  The Block remains marked.  Blocks
  3678. may be copied from one file to another.
  3679.  
  3680.  
  3681. CopyOverBlock       <Alt Z>
  3682. ----------------------------------------
  3683. Copies the currently marked column Block and places it at the
  3684. current cursor position by overlaying existing text and without
  3685. shifting text to the right.  This command only works with column
  3686. Blocks.  The Block remains marked.  Blocks may be "copied over" from
  3687. one file to another.
  3688.  
  3689.  
  3690. CurrentFilename
  3691. ----------------------------------------
  3692.  
  3693. Returns the name of the currently edited file, as if it had been
  3694. typed at the keyboard.  This command is useful for manipulation of
  3695. files from within macros.
  3696.  
  3697.  
  3698. CursorDown          <Cursor Down>
  3699. ----------------------------------------
  3700.  
  3701. Moves the cursor downward in the file to the next line.
  3702.  
  3703.  
  3704. CursorLeft          <Cursor Left>
  3705. ----------------------------------------
  3706.  
  3707. Moves the cursor one character to the left.  When the cursor reaches
  3708. the left edge of the screen, it stops, unless the text has been
  3709. scrolled left, in which case the text scrolls right one position.
  3710.  
  3711.  
  3712. CursorRight         <Cursor Right>
  3713. ----------------------------------------
  3714.  
  3715. Moves the cursor one character to the right.  When the cursor
  3716. reaches the right end of the screen, the text starts scrolling left
  3717. until the cursor reaches the maximum line length.
  3718.  
  3719.  
  3720. CursorUp            <Cursor Up>
  3721. ----------------------------------------
  3722.  
  3723. Moves the cursor upward in the file to the previous line.
  3724.  
  3725.  3-4
  3726.  
  3727. Cut                 <grey ->
  3728. ----------------------------------------
  3729.  
  3730. Copies the marked Block into the Scrap Buffer.  The Block is then
  3731. deleted from the file being edited.  If no Block is marked, the
  3732. cursor line is cut into the Scrap Buffer.  The cutting of the cursor
  3733. line, when a Block is not marked, is configurable.  Refer to the
  3734. "Advanced Options" section of Chapter 2 for more information.
  3735.  
  3736.  
  3737. DelCh               <Del>
  3738. ----------------------------------------
  3739.  
  3740. Deletes the character at the current cursor position.  The line to
  3741. the right of the cursor shifts left one position.  If the cursor
  3742. position is past the last character on the line, the next line is
  3743. appended to the cursor line.  The "joining" of the next line when
  3744. the cursor is past the last character on the line is configurable.
  3745. Refer to the "General Options" section of Chapter 2 for more
  3746. information.
  3747.  
  3748.  
  3749. DeleteBlock         <Alt G> or <Esc><B><D>
  3750. ----------------------------------------
  3751.  
  3752. Deletes the currently marked character or line Block.  If there is
  3753. not a Block marked in the current file, this command has no effect.
  3754.  
  3755.  
  3756. DelLine             <Alt D> or <Esc><E><D>
  3757. ----------------------------------------
  3758.  
  3759. Deletes the cursor line.  The line following the cursor line becomes
  3760. the new cursor line.
  3761.  
  3762.  
  3763. DelLtWord           <Ctrl Backspace>
  3764. ----------------------------------------
  3765.  
  3766. Deletes the "word" to the left of the cursor.  If the cursor is in
  3767. column one, the cursor line is appended to the end of the preceding
  3768. line.
  3769.  
  3770.  
  3771. DelRtWord           <Ctrl T>
  3772. ----------------------------------------
  3773.  
  3774. Deletes the "word" to the right of the cursor.  If the cursor
  3775. position is past the last character on the line, the next line is
  3776. appended to the cursor line.
  3777.  
  3778.  3-5
  3779.  
  3780. DelToEol            <F6> or <Esc><E><E>
  3781. ----------------------------------------
  3782.  
  3783. Deletes text on the cursor line, from the cursor position to the end
  3784. of line.
  3785.  
  3786.  
  3787. Dos                 <Alt F9>
  3788. ----------------------------------------
  3789.  
  3790. QEdit prompts for a command, which is passed to DOS for execution.
  3791. After the command is executed by DOS, control is returned to QEdit.
  3792. If you want to execute a series of commands in DOS, you should use
  3793. the Shell command, described later in this chapter.
  3794.  
  3795. +--------------------------------------------------------+
  3796. | QEdit Tip:                                             |
  3797. |   You should NOT execute any TSR (terminate and stay   |
  3798. |   resident) programs here. These include the DOS print |
  3799. |   and graph commands and memory-resident programs such |
  3800. |   as Sidekick and Superkey.                            |
  3801. +--------------------------------------------------------+
  3802.  
  3803.  
  3804. DropAnchor          <Alt A>
  3805. ----------------------------------------
  3806.  
  3807. This command is used to mark a character Block.  Initially executing
  3808. this command will mark one end of a Block at the cursor position.
  3809. As the cursor is moved, the Block will "grow" with it.  Executing
  3810. this command again will mark the other end of the Block at the
  3811. cursor position.  If DropAnchor is executed in a file that already
  3812. contains a character Block, the Block is extended to the current
  3813. cursor position.
  3814.  
  3815.  
  3816. DupLine             <F4>
  3817. ----------------------------------------
  3818.  
  3819. Makes a copy of the current cursor line and inserts the copy
  3820. immediately following the cursor line.  The cursor is moved to the
  3821. new line.
  3822.  
  3823.  
  3824. EditFile            <Alt E> or <Alt F><L> or <Esc><F><L>
  3825. ----------------------------------------
  3826.  
  3827. The editor prompts for the name(s) of the additional file(s) to be
  3828. edited.  Wildcard characters (* or ?) are permissible, as are
  3829. multiple filenames.  The editor will not load multiple copies of the
  3830. same file.  If you issue the EditFile command using the name of a
  3831. file that has already been loaded, QEdit will simply make that file
  3832. the current file.
  3833.  
  3834.  3-6
  3835.  
  3836. EndFile             <Ctrl PgDn>
  3837. ----------------------------------------
  3838.  
  3839. Positions the cursor on the last line of the file immediately
  3840. following the last non-blank character.  If the last line of the
  3841. file is blank, the cursor is positioned in column one.
  3842.  
  3843.  
  3844. EndLine             <End>
  3845. ----------------------------------------
  3846.  
  3847. Positions the cursor immediately following the last non-blank
  3848. character on the cursor line.
  3849.  
  3850.  
  3851. EndScreen           <Ctrl End>
  3852. ----------------------------------------
  3853.  
  3854. The cursor is positioned on the last line of the current window.  
  3855. The cursor column does not change.
  3856.  
  3857.  
  3858. Escape              <Esc>
  3859. ----------------------------------------
  3860.  
  3861. If executed while editing, the "Pop-Down" menus are displayed.
  3862. Otherwise, this command aborts any editor prompt.
  3863.  
  3864.  
  3865. ExecuteScrap        <Ctrl Enter>
  3866. ----------------------------------------
  3867.  
  3868. Plays back the latest macro that was created using the MacroRecord
  3869. command.
  3870.  
  3871.  
  3872. Exit                <Ctrl KD>
  3873. ----------------------------------------
  3874.  
  3875. Conditionally discards the current file.  If the file has not been
  3876. modified, the file is discarded without prompting.  If the file has
  3877. been modified, the editor prompts with "Save Changes (Y/N)?".
  3878. Pressing <Y> will save and then discard the file.  Pressing <N> will
  3879. discard the file without saving any changes.
  3880.  
  3881. QEdit can be configured, when only a single file is being edited and
  3882. the Exit command is issued, to either terminate or prompt for
  3883. another file to edit.  Refer to the "General Options" section of
  3884. Chapter 2 for more information.
  3885.  
  3886.  
  3887.  3-7
  3888.  
  3889. File                <Ctrl KX> or <Alt F><F> or <Esc><F><F>
  3890. ----------------------------------------
  3891.  
  3892. Saves and then discards the current file.
  3893.  
  3894. QEdit can be configured, when only a single file is being edited and
  3895. the File command is issued, to either terminate or prompt for
  3896. another file to edit.  Refer to the "General Options" section of
  3897. Chapter 2 for more information.
  3898.  
  3899.  
  3900. Find                <Ctrl QF> or <Esc><S><F>
  3901. ----------------------------------------
  3902.  
  3903. Searches for a specified string of characters within the current
  3904. file. The User is prompted for a search string and search options.
  3905. Available search options are:
  3906.   [B] Search backwards from the current cursor position.
  3907.   [G] Global search.  Begin searching from the beginning of the
  3908.       file (or marked block, if the L option is also selected.)
  3909.   [L] Local search.  Limit the search to the marked block.
  3910.   [I] Ignore the case of the search string.
  3911.   [W] Search for whole words only.
  3912.  
  3913.  
  3914. FindReplace         <Ctrl QA> or <Esc><S><R>
  3915. ----------------------------------------
  3916.  
  3917. Searches and replaces strings within the current file.  The User is
  3918. prompted for a search string, a replace string, and options.
  3919. Available options are:
  3920.   [B] Search backwards from the current cursor position.
  3921.   [G] Global search and replace. Begin searching from the beginning
  3922.       of the file (or marked block, if the L option is also 
  3923.       selected.)
  3924.   [L] Local search and replace.  Limit the search to the marked 
  3925.       block.
  3926.   [I] Ignore the case of the search string.
  3927.   [W] Search for whole words only.
  3928.   [N] Find and replace without prompting.
  3929.  
  3930. At every occurrence of the search string in the file, the User is
  3931. given the following replace options.
  3932.   [Y] Replace the search string with the replace string and
  3933.       continue on to the next occurrence of the search string.
  3934.   [N] Do not make any changes but continue on to the next
  3935.       occurrence of the search string.
  3936.   [O] Replace the search string with the replace string and
  3937.       then terminate the FindReplace process.
  3938.   [R] Replace the search string with the replace string for this
  3939.       and the rest of the occurrences throughout the file without
  3940.       any further prompting.
  3941.   [Q] Terminate the FindReplace process.
  3942.  
  3943.  3-8
  3944.  
  3945. GetPrev             <Ctrl - (dash)>
  3946. ----------------------------------------
  3947.  
  3948. Duplicates the character immediately above the cursor at the cursor
  3949. position.
  3950.  
  3951.  
  3952. GetScrbuff          <Ctrl BL>
  3953. ----------------------------------------
  3954.  
  3955. Inserts the contents of the named Scratch Buffer at the cursor
  3956. position. Refer to the "Block Commands" section of Chapter 1 for
  3957. more information.
  3958.  
  3959.  
  3960. GExit               <Alt X> or <Alt Q><X> or <Esc><Q><X>
  3961. ----------------------------------------
  3962.  
  3963. Issues the Exit command for all files that have been loaded.  If no
  3964. files have been modified, this command immediately terminates the
  3965. editor and returns control to DOS.  If any files have been modified
  3966. you are prompted with "Save Changes (Y/N)?" for each modified file.
  3967.  
  3968. For example, if you have ten files loaded and two of them have been
  3969. modified, then you will be prompted to save changes twice, once for
  3970. each modified file.
  3971.  
  3972.  
  3973. GFile               <Alt F><G> or <Esc><F><G>
  3974. ----------------------------------------
  3975.  
  3976. Instructs the editor to discard all files which have been loaded.
  3977. Any files which have been modified will be saved.
  3978.  
  3979. If no files have been changed, this command immediately terminates
  3980. the editor and returns control to DOS.
  3981.  
  3982.  
  3983. GotoBlockBeg        <Ctrl QB>
  3984. ----------------------------------------
  3985.  
  3986. Positions the cursor at the beginning of the currently marked Block.
  3987. If the Block is in a file other than the current file, the file
  3988. containing the Block becomes the new current file.
  3989.  
  3990.  
  3991. GotoBlockEnd        <Ctrl QK>
  3992. ----------------------------------------
  3993.  
  3994. Positions the cursor at the end of the currently marked Block. If
  3995. the Block is in a file other than the current file, the file
  3996. containing the Block becomes the new current file.
  3997.  
  3998.  3-9
  3999.  
  4000. GotoLine            <Ctrl J>
  4001. ----------------------------------------
  4002.  
  4003. Positions the cursor at the requested line.  The editor will prompt
  4004. for the desired line number.
  4005.  
  4006.  
  4007. GPQuit              <F3> or <Alt Q><Q> or <Esc><Q><Q>
  4008. ----------------------------------------
  4009.  
  4010. Issues the PQuit command for all files that have been loaded.
  4011.  
  4012.  
  4013. GrowWindow          <Ctrl OG> or <Esc><W><R>
  4014. ----------------------------------------
  4015.  
  4016. Changes the size of the current window, if there are multiple 
  4017. windows on the screen.
  4018.  
  4019.  
  4020. GSave               <Alt Y>
  4021. ----------------------------------------
  4022.  
  4023. Issues the SaveFile command for all files that have been modified.
  4024.  
  4025.  
  4026. HalfPgDn
  4027. ----------------------------------------
  4028.  
  4029. Scrolls the text toward the end of the file one-half page.
  4030.  
  4031.  
  4032. HalfPgUp
  4033. ----------------------------------------
  4034.  
  4035. Scrolls the text toward the beginning of the file one-half page.
  4036.  
  4037.  
  4038. HorizontalWindow    <Ctrl OH> or <Esc><W><S>
  4039. ----------------------------------------
  4040.  
  4041. Splits the screen or current window horizontally, creating a new
  4042. window.  Up to eight windows may be displayed on the screen at one
  4043. time.
  4044.  
  4045.  
  4046. InsertDate
  4047. ----------------------------------------
  4048.  
  4049. Inserts the system date at the current cursor position.
  4050.  
  4051.  3-10
  4052.  
  4053. InsertLine          <Alt F2> or <Esc><E><I>
  4054. ----------------------------------------
  4055.  
  4056. Inserts a blank line above the cursor line and positions the cursor
  4057. on the newly created line.  The cursor column does not change.
  4058.  
  4059.  
  4060. InsertTime
  4061. ----------------------------------------
  4062.  
  4063. Inserts the system time at the current cursor position.
  4064.  
  4065.  
  4066. JoinLine            <Alt J> or <Esc><E><J>
  4067. ----------------------------------------
  4068.  
  4069. Joins the line below the cursor line to the end of the cursor line.
  4070. If the cursor is past the end of the line, then the line is joined
  4071. at the cursor position.
  4072.  
  4073.  
  4074. KillFile            <Ctrl KZ>
  4075. ----------------------------------------
  4076.  
  4077. Erases the currently edited file from disk.  The file remains loaded
  4078. in the editor and is marked as being a changed file.  (An asterisk
  4079. will appear on the Status Line preceding the filename.)  This
  4080. command is very useful when available disk space is low.
  4081.  
  4082.  
  4083. LineDown
  4084. ----------------------------------------
  4085.  
  4086. Scrolls the text one line at a time toward the end of the file.  The
  4087. cursor remains stationary on the screen.
  4088.  
  4089.  
  4090. LineUp
  4091. ----------------------------------------
  4092.  
  4093. Scrolls the text one line at a time toward the beginning of the
  4094. file.  The cursor remains stationary on the screen.
  4095.  
  4096.  3-11
  4097.  
  4098. Literal             <Ctrl P>
  4099. ----------------------------------------
  4100.  
  4101. Causes the editor to literally interpret the keystroke that is
  4102. entered immediately following this command.  It is used to insert
  4103. control characters into the currently edited file.  For example, to
  4104. insert the ASCII form-feed character (ASCII 12), you would first
  4105. press <Ctrl P> then <Ctrl L>.  To insert a "null" character into the
  4106. file, press <Ctrl P> and then <Ctrl 2>.  (Note: The "2" must be the
  4107. "2" key on the alphanumeric keyboard, NOT the key on the numeric
  4108. keypad.)  Refer to the "Adding Text" section of Chapter 1 for more
  4109. information.
  4110.  
  4111.  
  4112. MacroRead           <Esc> <M><R>
  4113. ----------------------------------------
  4114.  
  4115. Loads the named macro file, with all macros contained therein, from
  4116. disk into the editor's internal macro buffer.  The macros are
  4117. assigned to the keys exactly as they were originally recorded and
  4118. saved.  The editor prompts the User for the name of the file.
  4119.  
  4120.  
  4121. MacroRecord         <Ctrl M> or <Esc><M><M>
  4122. ----------------------------------------
  4123.  
  4124. Toggles (ON and OFF) macro recording.  If macro recording is OFF, 
  4125. this will turn macro recording ON and prompt for a key to which to 
  4126. assign the macro.  After pressing the desired key (see Appendix B 
  4127. for a list of available keys), all following keystrokes are recorded 
  4128. until the MacroRecord key is pressed again.  After the macro has 
  4129. been recorded, it can be played back by pressing the key to which 
  4130. the macro was assigned.
  4131.  
  4132. Instead of assigning a macro to a specific key, it can be assigned
  4133. to a "scrap" or temporary area by simple pressing <Enter> at the
  4134. prompt.  A macro assigned to the scrap area may be played back by
  4135. entering the ExecuteScrap <Ctrl Enter> command.  The scrap area
  4136. will be updated each time the MacroRecord command is executed.
  4137.  
  4138.  
  4139.  
  4140. MacroWrite          <Esc> <M><W>
  4141. ----------------------------------------
  4142.  
  4143. Saves all currently defined macros to a binary disk file.  The
  4144. editor prompts for the name of the file.
  4145.  
  4146.  3-12
  4147.  
  4148. MainMenu            <Esc>
  4149. ----------------------------------------
  4150.  
  4151. Activates the "Pop-Down" style menu system.  Many of the editor's
  4152. commands can be executed via the menus.
  4153.  
  4154.  
  4155. MakeBotofScreen
  4156. ----------------------------------------
  4157.  
  4158. Scrolls the text in the window so that the cursor line becomes the
  4159. bottom line of the window.
  4160.  
  4161.  
  4162. MakeCtrofScreen     <Shift F5>
  4163. ----------------------------------------
  4164.  
  4165. Scrolls the text in the window so that the cursor line becomes the
  4166. center line of the window.
  4167.  
  4168.  
  4169. MakeTopofScreen     <F5>
  4170. ----------------------------------------
  4171.  
  4172. Scrolls the text in the window so that the cursor line becomes the
  4173. top line of the window.
  4174.  
  4175.  
  4176. MarkBlockBegin      <Ctrl KB> or <Esc><B><B>
  4177. ----------------------------------------
  4178.  
  4179. Marks the beginning of a character Block.  The Block is not shown
  4180. until the MarkBlockEnd command is executed at some position beyond
  4181. the beginning position of the Block.  For an alternate method of
  4182. marking character Blocks, refer to the DropAnchor and MarkCharacter
  4183. commands.
  4184.  
  4185.  
  4186. MarkBlockEnd        <Ctrl KK> or <Esc><B><E>
  4187. ----------------------------------------
  4188.  
  4189. Marks the end of a character Block.  The Block is not shown until
  4190. the MarkBlockBegin command is also executed at some position before
  4191. the end of the Block.  For an alternate method of marking character
  4192. Blocks, refer to the DropAnchor and MarkCharacter commands.
  4193.  
  4194.  3-13
  4195.  
  4196. MarkCharacter
  4197. ----------------------------------------
  4198. This command is used to mark a character Block.  It is similar to
  4199. the DropAnchor command except the cursor position is NOT included as
  4200. part of the Block.
  4201.  
  4202. This command is provided as a replacement for the DropAnchor 
  4203. command. If you want the cursor position included in character 
  4204. Blocks, then continue to use DropAnchor; otherwise, replace the 
  4205. DropAnchor command with this command.
  4206.  
  4207.  
  4208. MarkColumn          <Alt K>
  4209. ----------------------------------------
  4210. This command is used to mark a column Block.  Initially executing
  4211. this command will mark the current cursor position.  As the cursor
  4212. is moved, the Block will "grow".  Executing this command again will
  4213. mark the other end of the Block at the current cursor position.  If
  4214. MarkColumn is executed in a file that already contains a Block, the
  4215. Block is extended to the current cursor position.
  4216.  
  4217.  
  4218. MarkLine            <Alt L> or <Esc><B><L>
  4219. ----------------------------------------
  4220.  
  4221. This command is used to mark a line Block.  Initially executing this
  4222. command will mark the current cursor line.  As the cursor is moved,
  4223. the Block will "grow" with it line by line.  Executing this command
  4224. again will mark the other end of the Block at the current cursor
  4225. line.  If MarkLine is executed in a file that already contains a
  4226. Block, the Block is extended to the current cursor line.
  4227.  
  4228.  
  4229. Match               <Alt F3>
  4230. ----------------------------------------
  4231.  
  4232. Will find the corresponding "(", ")", "{", "}", "[", "]" character.
  4233. This command is primarily intended for programming languages in
  4234. which complicated expressions are grouped with one or more of these
  4235. characters.  This command is very useful for finding unmatched
  4236. parentheses.
  4237.  
  4238.  
  4239. MoveBlock           <Alt M> or <Esc><B><M>
  4240. ----------------------------------------
  4241.  
  4242. Moves (copies and deletes) the currently marked Block to the cursor
  4243. position.  If the Block is a character Block (created using the
  4244. DropAnchor, MarkCharacter, or MarkBlockBegin/End commands) or a
  4245. column Block (created using the MarkColumn command), the Block is
  4246. inserted into the text beginning at the current cursor position.  If
  4247. the Block is a line Block (created using the MarkLine command), it
  4248.  
  4249.  3-14
  4250.  
  4251. is inserted before or after the current cursor line, depending on
  4252. the configuration setting  (Refer to the "General Options" section
  4253. of Chapter 2 for more information).  The Block remains marked.
  4254. Blocks may be moved from one file to another.
  4255.  
  4256. NextFile            <Alt N> or <Alt F><N> or <Esc><F><N>
  4257. ----------------------------------------
  4258.  
  4259. Makes the next file in the ring the new current file when multiple
  4260. files are loaded.
  4261.  
  4262.  
  4263. NextWindow          <Ctrl ON> or <Esc><W><N>
  4264. ----------------------------------------
  4265.  
  4266. Makes the window below the current window the new current window.  
  4267. If the current window is at the bottom of the screen, the top window 
  4268. on the screen will become the current window.
  4269.  
  4270.  
  4271. OneWindow           <Ctrl OO> or <Esc><W><O>
  4272. ----------------------------------------
  4273.  
  4274. Closes all windows except the current window and expands it to
  4275. occupy the entire screen.
  4276.  
  4277.  
  4278. PageDown            <PgDn>
  4279. ----------------------------------------
  4280.  
  4281. Scrolls the text toward the end of the file, one page-full less one
  4282. line, at a time.
  4283.  
  4284.  
  4285. PageUp              <PgUp>
  4286. ----------------------------------------
  4287.  
  4288. Scrolls the text toward the top of the file, one page-full less one
  4289. line, at a time.
  4290.  
  4291.  
  4292.  
  4293. Paste               <grey *>
  4294. ----------------------------------------
  4295.  
  4296. Inserts the contents of the Scrap Buffer at the cursor position.
  4297. The Scrap Buffer is loaded using the Cut or Copy commands.  If the
  4298. Scrap Buffer contains a character or column Block, it is inserted at
  4299. the cursor position. If the Scrap Buffer contains a line Block, it
  4300. is inserted before or after the cursor line depending on the
  4301. configuration setting.  Refer to the "General Options" section of
  4302. Chapter 2 for more information.
  4303.  
  4304. Paste is also available within prompt boxes.
  4305.  
  4306.  3-15
  4307.  
  4308. PasteOver           <Ctrl PrtSc>
  4309. ----------------------------------------
  4310. This is a Paste command for column Blocks.  It takes a column Block
  4311. which has been loaded into the Scrap Buffer using the Cut or Copy
  4312. commands and places it at the current cursor position by overlaying
  4313. existing text and without shifting text to the right.
  4314.  
  4315.  
  4316. PQuit               <Ctrl KQ> or <Alt F><Q> or <Esc><F><Q>
  4317. ----------------------------------------
  4318.  
  4319. This command initiates a protected quit.  If the current file has
  4320. not been modified, it is discarded.  If the current file has been
  4321. modified, the User is warned that changes will be lost.  If multiple
  4322. files are being edited, this command will make the previous file in
  4323. the ring the new current file.
  4324.  
  4325. QEdit can be configured, when only a single file is being edited and
  4326. the PQuit command is issued, to either terminate or prompt for
  4327. another file to edit.  Refer to the "General Options" section of
  4328. Chapter 2 for more information.
  4329.  
  4330.  
  4331. PrevFile            <Ctrl KP> or <Alt F><P> or <Esc><F><P>
  4332. ----------------------------------------
  4333.  
  4334. Makes the previous file in the ring the new current file when
  4335. multiple files are loaded.
  4336.  
  4337.  
  4338. PrevPosition        <Ctrl QP>
  4339. ----------------------------------------
  4340.  
  4341. Positions the cursor at the previous cursor position.  Very helpful
  4342. when used with the GotoLine command.  The GotoLine line can be used
  4343. to go directly to a certain area of the file.  The PrevPosition can
  4344. then be used to return you to the original cursor position.
  4345.  
  4346.  
  4347. PrevWindow          <Ctrl OP> or <Esc><W><P>
  4348. ----------------------------------------
  4349.  
  4350. Makes the window above the current window the new current window. If
  4351. the current window is at the top of the screen, the bottom window on
  4352. the screen will become the current window.
  4353.  
  4354.  
  4355. PrintAll            <Alt P><A> or <Esc><P><A>
  4356. ----------------------------------------
  4357.  
  4358. Prints the entire contents of the current file.
  4359.  
  4360.  3-16
  4361.  
  4362. PrintBlock          <Alt P><B> or <Esc><P><B>
  4363. ----------------------------------------
  4364.  
  4365. Prints the entire contents of the marked Block.  The marked Block
  4366. must be in the current file.
  4367.  
  4368.  
  4369. PrintEject          <Alt P><F> or <Esc><P><F>
  4370. ----------------------------------------
  4371.  
  4372. Sends a formfeed character (ASCII 12) to the printer.
  4373.  
  4374. QuickHelp           <F1> or <Alt H>
  4375. ----------------------------------------
  4376.  
  4377. Displays the Help Screen.  A Help Screen is provided with QEdit;
  4378. however, you may wish to design your own Help Screen.  For more
  4379. information, refer to the "The Help Screen" section of Chapter 2.
  4380.  
  4381.  
  4382. Quit
  4383. ----------------------------------------
  4384.  
  4385. Unconditional quit.  The current file is discarded regardless of any
  4386. changes made to it.  This command is for those who do not like
  4387. software that "nags" you.  USE WITH CAUTION!
  4388.  
  4389.  
  4390. ReadBlock           <Alt R> or <Alt F><R> or <Esc><F><R>
  4391. ----------------------------------------
  4392.  
  4393. Inserts the named disk file at the current cursor position.
  4394.  
  4395. RepeatFind          <Ctrl L> or <Esc><S><A>
  4396. ----------------------------------------
  4397.  
  4398. Repeats the previous Find or FindReplace command.
  4399.  
  4400. ResizeWindow        <Ctrl OG> or <Ctrl OS> or <Esc><W><R>
  4401. ----------------------------------------
  4402.  
  4403. Changes the size of the current window, if there are multiple 
  4404. windows on the screen.
  4405.  
  4406.  
  4407. Return              <Enter>
  4408. ----------------------------------------
  4409.  
  4410. The Return command behaves differently depending on Insert mode and
  4411. AutoIndent mode.
  4412.  
  4413. If Insert mode is OFF, the cursor is positioned at the first column
  4414. of the next line.
  4415.                                           (Continued on next page.)
  4416.  3-17
  4417.  
  4418. If Insert mode is ON, the current cursor line is split at the cursor
  4419. position and any text to the right of and including the cursor
  4420. position is placed on a new line following the current line.  If the
  4421. cursor is past the last character on the line, then a blank line is
  4422. added following the current line.  The cursor is then moved to the
  4423. first column of the new line.
  4424.  
  4425. If AutoIndent is ON, spaces are inserted ahead of the cursor
  4426. position to align it with the text on the previous line.
  4427.  
  4428. If AutoIndent is OFF, the text is moved to the beginning of the
  4429. next line.
  4430.  
  4431. The Return command can be configured to split or not to split lines
  4432. when Insert mode is ON.  Refer to the "Advanced Options" section of
  4433. Chapter 2 for more information.
  4434.  
  4435.  
  4436. SaveFile            <Ctrl KS> or <Alt F><S> or <Esc><F><S>
  4437. ----------------------------------------
  4438.  
  4439. Saves to disk the file currently being edited.  The file remains
  4440. loaded, ready for further editing.
  4441.  
  4442.  
  4443. ScreenLeft          <Alt F5>
  4444. ----------------------------------------
  4445.  
  4446. Shifts the screen to the left, the number of columns specified in
  4447. the configuration program.  Refer to the "Colors/Screen Options"
  4448. section of Chapter 2 for more information.
  4449.  
  4450.  
  4451. ScreenRight         <Alt F6>
  4452. ----------------------------------------
  4453.  
  4454. Shifts the screen to the Right, the number of columns specified in
  4455. the configuration program.  Refer to the "Colors/Screen Options"
  4456. section of Chapter 2 for more information.
  4457.  
  4458.  
  4459. ScrollDown          <Ctrl Z>
  4460. ----------------------------------------
  4461.  
  4462. Scrolls the text one line at a time toward the end of the file.  The
  4463. cursor remains on the same line of text until it reaches the top of
  4464. the screen.
  4465.  
  4466.  3-18
  4467.  
  4468. ScrollUp            <Ctrl W>
  4469. ----------------------------------------
  4470.  
  4471. Scrolls the text one line at a time toward the beginning of the
  4472. file.  The cursor remains on the same line of text until it reaches
  4473. the bottom of the screen.
  4474.  
  4475.  
  4476. SetCtabwidth        <Esc><O><C>
  4477. ----------------------------------------
  4478.  
  4479. Sets the cursor tab width.  This is the width that is used when the
  4480. TabRt or TabLt commands are executed.
  4481.  
  4482.  
  4483. SetEGA25
  4484. ----------------------------------------
  4485. Switches a monitor with an EGA or VGA card to 25-line mode.  This
  4486. command has no effect if the video card is not an EGA or VGA type.
  4487.  
  4488.  
  4489. SetEGA43
  4490. ----------------------------------------
  4491. Switches a monitor with an EGA or VGA card to 43-line mode or
  4492. 50-line mode, respectively.  This command has no effect if the video
  4493. card is not an EGA or VGA type.
  4494.  
  4495.  
  4496. SetPrintLeftMargin  <Alt P><L> or <Esc><P><L>
  4497. ----------------------------------------
  4498.  
  4499. Sets the number of spaces to be printed as a left margin at the
  4500. beginning of each line. The default is zero.
  4501.  
  4502.  
  4503. SetPrintPageSize    <Alt P><P> or <Esc><P><P>
  4504. ----------------------------------------
  4505.  
  4506. Sets the number of lines to be printed per page before sending a
  4507. formfeed.  A value of zero will allow continuous printing (no
  4508. formfeeds sent).
  4509.  
  4510.  
  4511. SetPtabwidth        <Esc><O><P>
  4512. ----------------------------------------
  4513.  
  4514. Sets the Physical Tab Width.  This determines the width to which
  4515. physical tab characters found in files are expanded if Physical Tab
  4516. Expansion is set ON.  It also determines the number of spaces to be
  4517. used for Tabs Out mode.  Refer to the ToggleTabsExpand and
  4518. ToggleTabsOut commands in this chapter for more information.
  4519.  
  4520.  3-19
  4521.  
  4522. SetRmargin          <Ctrl OR> or <Esc><O><R>
  4523. ----------------------------------------
  4524.  
  4525. Sets the right margin for word-wrap and paragraph reformatting.
  4526. WordWrap mode is automatically switched ON whenever the right margin
  4527. is set using this command.
  4528.  
  4529.  
  4530. Shell               <F9> or <Alt F><O> or <Esc><F><O>
  4531. ----------------------------------------
  4532.  
  4533. Invokes a DOS shell.  While in the shell, you can execute DOS and
  4534. other commands.  When you are ready to leave the shell, type
  4535. "exit <Enter>".  You will be back in QEdit, exactly where you
  4536. left off.
  4537.  
  4538. +------------------------------------------------------------+
  4539. | QEdit Tip:                                                 |
  4540. |   You should NOT execute any TSR (terminate and stay       |
  4541. |   resident) programs here. These include the DOS print and |
  4542. |   graph commands and memory-resident programs such as      |
  4543. |   Sidekick and Superkey.                                   |
  4544. +------------------------------------------------------------+
  4545.  
  4546.  
  4547. ShiftLeft           <Shift F7>
  4548. ----------------------------------------
  4549.  
  4550. Shifts the contents of the currently marked Block (or the cursor
  4551. line, if the cursor does not reside in a marked Block) one position
  4552. to the left.  If you issue this command when the leftmost
  4553. character(s) of the line(s) being shifted is in column 1, that
  4554. character(s) will be deleted to allow the remainder of the line to
  4555. shift left one position.
  4556.  
  4557.  
  4558. ShiftRight          <Shift F8>
  4559. ----------------------------------------
  4560.  
  4561. Shifts the contents of the currently marked Block (or the cursor
  4562. line, if the cursor does not reside in a marked Block) one position
  4563. to the right.  If you issue this command when the rightmost
  4564. character(s) of the line(s) being shifted is in column 512, that
  4565. character(s) will be deleted to allow the remainder of the line to
  4566. shift right one position.
  4567.  
  4568.  
  4569. ShowEntryScreen     <Alt F10>
  4570. ----------------------------------------
  4571.  
  4572. Displays the original DOS screen as it appeared upon initial
  4573. execution of the editor.  Pressing any key will return you to the
  4574. edit screen.
  4575.  
  4576.  3-20
  4577.  
  4578. ShrinkWindow        <Ctrl OS> or <Esc><W><R>
  4579. ----------------------------------------
  4580.  
  4581. Changes the size of the current window, if there are multiple
  4582. windows on the screen.
  4583.  
  4584.  
  4585.  
  4586. SplitLine           <Alt S> or <Esc><E><S>
  4587. ----------------------------------------
  4588.  
  4589. Splits the current cursor line at the cursor position.  Any text to
  4590. the right of and including the cursor position is placed on a new
  4591. line following the current line.  If the cursor is past the last
  4592. character on the line, then a blank line is added following the
  4593. current line. The cursor position does not change.
  4594.  
  4595.  
  4596. StoreScrbuff        <Ctrl BS>
  4597. ----------------------------------------
  4598.  
  4599. Copies the currently marked Block to the named Scratch Buffer. The
  4600. editor will prompt for the name of the Scratch Buffer.  The contents
  4601. of all Scratch Buffers are lost when the editor is terminated.
  4602.  
  4603.  
  4604. TabLt               <Shift Tab>
  4605. ----------------------------------------
  4606.  
  4607. Positions the cursor at the previous tab position, as defined by the 
  4608. tab width. If in Insert mode, the text to the right of, and including 
  4609. the cursor position, also shifts left.  If in Insert mode AND inside 
  4610. a marked block, the entire block shifts left by the current cursor 
  4611. tab width (if appropriate advanced configuration option is set).
  4612.  
  4613.  
  4614. TabRt               <Tab>
  4615. ----------------------------------------
  4616.  
  4617. Positions the cursor at the next tab position, as defined by the 
  4618. cursor tab width.  If in Insert mode, the text to the right of, and 
  4619. including the cursor position, also shifts right.  If in Insert mode 
  4620. AND inside a marked block, the entire block shifts right by the 
  4621. current cursor tab width (if appropriate advanced configuration 
  4622. option is set).
  4623.  
  4624.  
  4625. ToggleBakups        <Esc><O><B>
  4626. ----------------------------------------
  4627.  
  4628. Toggles file backups ON and OFF.  If ON, QEdit will create a backup
  4629. file using the ".bak" file extension whenever a modified file is
  4630. saved.
  4631.  
  4632.  3-21
  4633.  
  4634. ToggleBoxDraw       <Shift F1>
  4635. ----------------------------------------
  4636.  
  4637. Toggles Box Drawing mode ON and OFF.  If ON, the cursor movement
  4638. keys (up, down, right, left) will "draw" lines in the text, both
  4639. up/down and right/left.  Very useful for creating charts and tables.
  4640.  
  4641. The letter "B" will appear on the Status Line when this mode is ON.
  4642.  
  4643.  
  4644. ToggleEGA43         <Ctrl F1>
  4645. ----------------------------------------
  4646. Toggles an EGA monitor between 25-line and 43-line mode or a VGA
  4647. monitor between 25-line and 50-line mode.  This command has no
  4648. effect if the video card is not an EGA or VGA type.
  4649.  
  4650.  
  4651. ToggleEnterMatching <Esc><O><E>
  4652. ----------------------------------------
  4653.  
  4654. Toggles EnterMatching mode ON and OFF.  If ON, the double quote,
  4655. parenthesis, and square bracket keys all automatically enter the
  4656. matching character when the left character is entered.  For example,
  4657. typing the '[' key automatically enters a ']' immediately following.
  4658.  
  4659.  
  4660. ToggleIndent        <Ctrl QI> or <Esc><O><A>
  4661. ----------------------------------------
  4662.  
  4663. Toggles AutoIndent mode ON and OFF.  If ON, the cursor is positioned
  4664. at the current left margin whenever the <Enter> key is pressed.
  4665. The current left margin is determined by the first non-blank
  4666. character on the immediately preceding line.
  4667.  
  4668. Paragraph reformatting and word-wrapping will also use the current
  4669. left margin when AutoIndent mode is ON.
  4670.  
  4671. The letter "A" will appear on the Status Line when this mode is ON.
  4672.  
  4673.  
  4674. ToggleInsert        <Ins> or <Esc><O><I>
  4675. ----------------------------------------
  4676.  
  4677. Toggles Insert mode ON and OFF.  If ON, text to the right of the
  4678. cursor on the cursor line is shifted whenever characters, spaces,
  4679. the Backspace command, the TabLt command, or the TabRt command is
  4680. entered.  Also, entering the Return command will cause a line split
  4681. at the current cursor position.
  4682.  
  4683. The letter "I" will appear on the Status Line when this mode is ON.
  4684.  
  4685.  3-22
  4686.  
  4687. ToggleSmartTabs     <Ctrl QT>
  4688. ----------------------------------------
  4689.  
  4690. Toggles Smart Tabs ON and OFF.  If ON, the TabRt and TabLt commands
  4691. will place the cursor beneath the beginning of the next (or previous)
  4692. word on the first nonblank line preceding the current cursor line.
  4693.  
  4694. Smart Tabs mode should NOT be set ON while C mode is ON.
  4695.  
  4696.  
  4697. ToggleTabsExpand    <Alt V>
  4698. ----------------------------------------
  4699.  
  4700. Toggles Physical Tab Expansion ON and OFF.  If ON, physical tab
  4701. characters (ASCII 9's) found in a file will be expanded into spaces
  4702. according to the Physical Tab Width set in the configuration
  4703. program.  If OFF, physical tabs will be displayed on the screen and
  4704. a physical tab character will be placed in the text each time the
  4705. TabRt command is entered.
  4706.  
  4707.  
  4708. ToggleTabsOut       <Alt I>
  4709. ----------------------------------------
  4710.  
  4711. Toggles Tabs Out mode ON and OFF.  If ON, continuous spaces in a
  4712. line of text will be replaced with physical tabs (ASCII 9's)
  4713. according to the Physical Tab Width set in the configuration program.
  4714. Only spaces in edited lines are replaced with physical tabs. Spaces
  4715. falling between single or double quotes will not be replaced.
  4716.  
  4717.  
  4718. ToggleWordwrap      <Ctrl OW> or <Esc><O><W>
  4719. ----------------------------------------
  4720.  
  4721. Toggles WordWrap mode ON and OFF.  If ON, the cursor, along with
  4722. the word currently being typed, will automatically advance to the
  4723. next line whenever a character is typed beyond the right margin.
  4724. The right margin can be permanently set using the configuration
  4725. program (refer to the "General Options" section of Chapter 2 for
  4726. more information) or temporarily changed using the SetRmargin
  4727. command.
  4728.  
  4729. The letter "W" will appear on the Status Line when this mode is ON.
  4730.  
  4731.  
  4732. UndoCursorline      <Ctrl QL>
  4733. ----------------------------------------
  4734.  
  4735. Reverses any changes made to the current cursor line (except changes
  4736. made with the FindReplace command).  If the cursor has been moved
  4737. from the changed line or a file or window command is executed, the
  4738. changes cannot be undone.
  4739.  
  4740.  3-23
  4741.  
  4742. UnKill              <Ctrl U> or <Esc><E><U>
  4743. ----------------------------------------
  4744.  
  4745. Recovers the last deleted entry from the current file's Kill Buffer.
  4746. Deleted blocks and lines will be inserted immediately before the
  4747. current cursor line and deleted words will be inserted immediately
  4748. before the current cursor position.
  4749.  
  4750. The number of lines saved in the Kill Buffer may be set with the
  4751. configuration program.  Refer to the "General Options" section of
  4752. Chapter 2 for more information.
  4753.  
  4754.  
  4755. UnmarkBlock         <Alt U> or <Esc><B><U>
  4756. ----------------------------------------
  4757.  
  4758. Unmarks the currently marked Block.
  4759.  
  4760. WordLeft            <Ctrl Cursor Left>
  4761. ----------------------------------------
  4762.  
  4763. Positions the cursor at the first character of the previous word.
  4764.  
  4765.  
  4766. WordRight           <Ctrl Cursor Right>
  4767. ----------------------------------------
  4768.  
  4769. Positions the cursor at the first character of the following word.
  4770.  
  4771. WrapPara            <Alt B>
  4772. ----------------------------------------
  4773.  
  4774. Reformats text from the current cursor position until a blank line
  4775. or end of file is encountered.  If AutoIndent is ON, the line below
  4776. the cursor line is used for the left margin.  Otherwise, a left
  4777. margin of zero is used.  The right margin is determined by the
  4778. configuration program or the SetRmargin command.
  4779.  
  4780.  
  4781. WriteBlock          <Alt W> or <Alt F><W> or <Esc><F><W>
  4782. ----------------------------------------
  4783.  
  4784. Writes the currently marked Block to the named file.  The editor
  4785. will prompt for the name of the file.
  4786.  
  4787.  
  4788. ZoomWindow          <Ctrl OZ> or <Esc><W><Z>
  4789. ----------------------------------------
  4790.  
  4791. Toggles Zoom mode ON and OFF.  If there are multiple windows on the
  4792. screen, entering the ZoomWindow command will cause the current
  4793. window to fill the entire screen.  Pressing ZoomWindow again
  4794. restores the other windows to the screen.
  4795.  
  4796.  3-24
  4797.  
  4798. APPENDIX A.  LIST OF COMMANDS_______________________________________
  4799.  
  4800.                         +-------------+
  4801.                         | By Function |
  4802.                         +-------------+
  4803.  
  4804.                       Menu (Esc)  Default               Customized
  4805. Command               Sequence    Keystroke             Keystroke
  4806. --------------------  ----------  --------------------  ----------
  4807.  
  4808. Cursor Movement
  4809. ---------------
  4810. BegFile                           Ctrl PgUp
  4811. BegLine                           Home
  4812. BegScreen                         Ctrl Home
  4813. CursorDown                        Cursor Down
  4814. CursorLeft                        Cursor Left
  4815.  
  4816. CursorRight                       Cursor Right
  4817. CursorUp                          Cursor Up
  4818. EndFile                           Ctrl PgDn
  4819. EndLine                           End
  4820. EndScreen                         Ctrl End
  4821.  
  4822. GotoBlockBeg                      Ctrl QB
  4823. GotoBlockEnd                      Ctrl QK
  4824. GotoLine                          Ctrl J
  4825. HalfPgDn
  4826. HalfPgUp
  4827.  
  4828. LineDown
  4829. LineUp
  4830. MakeBotofScreen
  4831. MakeCtrofScreen                   Shift F5
  4832. MakeTopofScreen                   F5
  4833.  
  4834.  A-1
  4835.  
  4836. PageDown                          PgDn
  4837. PageUp                            PgUp
  4838. PrevPosition                      Ctrl QP
  4839. ScreenLeft                        Alt  F5
  4840. ScreenRight                       Alt  F6
  4841.  
  4842. ScrollDown                        Ctrl Z
  4843. ScrollUp                          Ctrl W
  4844. WordLeft                          Ctrl Cursor Left
  4845. WordRight                         Ctrl Cursor Right
  4846.  
  4847.  
  4848. Editing
  4849. -------
  4850. AddLine               EA          F2
  4851. Align
  4852. Backspace                         Backspace
  4853. DelCh                             Del
  4854. DelLine               ED          Alt  D
  4855.  
  4856. DelLtWord                         Ctrl Backspace
  4857. DelRtWord                         Ctrl T
  4858. DelToEol              EE          F6
  4859. DupLine                           F4
  4860. GetPrev                           Ctrl - (dash)
  4861.  
  4862. InsertLine            EI          Alt  F2
  4863. JoinLine              EJ          Alt  J
  4864. Literal                           Ctrl P
  4865. Return                            Enter
  4866. SplitLine             ES          Alt  S
  4867.  
  4868. UnKill                EU          Ctrl U
  4869.  
  4870.  
  4871. Block/Scratch Buffer
  4872. --------------------
  4873. AppendScrbuff                     Ctrl BA
  4874. Copy                              grey +
  4875. CopyBlock             BC          Alt  C
  4876. CopyOverBlock                     Alt  Z
  4877. Cut                               grey -
  4878.  
  4879.  A-2
  4880.  
  4881. DeleteBlock           BD          Alt  G
  4882. DropAnchor                        Alt  A
  4883. GetScrbuff                        Ctrl BL
  4884. MarkBlockBegin        BB          Ctrl KB or F7
  4885. MarkBlockEnd          BE          Ctrl KK or F8
  4886.  
  4887. MarkCharacter
  4888. MarkColumn                        Alt  K
  4889. MarkLine              BL          Alt  L
  4890. MoveBlock             BM          Alt  M
  4891. Paste                             grey *
  4892.  
  4893. PasteOver                         Ctrl PrtSc
  4894. ShiftLeft                         Shift F7
  4895. ShiftRight                        Shift F8
  4896. StoreScrbuff                      Ctrl BS
  4897. UnmarkBlock           BU          Alt  U
  4898.  
  4899.  
  4900. File
  4901. ----
  4902. ChangeFilename        FC          Alt  O  or Alt  F,C
  4903. EditFile              FL          Alt  E  or Alt  F,L
  4904. Exit                              Ctrl KD
  4905. File                  FF          Ctrl KX or Alt  F,F
  4906. GExit                 QX          Alt  X  or Alt  Q,X
  4907.  
  4908. GFile                 FG          Alt  F,G
  4909. GPQuit                QQ          F3      or Alt  Q,Q
  4910. GSave                             Alt  Y
  4911. KillFile                          Ctrl KZ
  4912. NextFile              FN          Alt  N  or Alt  F,N
  4913.  
  4914. PQuit                 FQ          Ctrl KQ or Alt  F,Q
  4915. PrevFile              FP          Ctrl KP or Alt  F,P
  4916. Quit
  4917. ReadBlock             FR          Alt  R  or Alt  F,R
  4918. SaveFile              FS          Ctrl KS or Alt  F,S
  4919.  
  4920. WriteBlock            FW          Alt  W  or Alt  F,W
  4921.  
  4922.  A-3
  4923.  
  4924. Window
  4925. ------
  4926. CloseWindow           WC          Ctrl OC
  4927. GrowWindow            WG          Ctrl OG
  4928. HorizontalWindow      WS          Ctrl OH
  4929. NextWindow            WN          Ctrl ON
  4930. OneWindow             WO          Ctrl OO
  4931.  
  4932. PrevWindow            WP          Ctrl OP
  4933. ShrinkWindow          WR          Ctrl OS
  4934. ZoomWindow            WZ          Ctrl OZ
  4935.  
  4936.  
  4937. Macro
  4938. -----
  4939. CurrentFilename
  4940. ExecuteScrap                      Ctrl Enter
  4941. MacroRead             MR
  4942. MacroRecord           MM          Ctrl M
  4943. MacroWrite            MW
  4944.  
  4945.  
  4946. Printing
  4947. --------
  4948. PrintAll              PA          Alt  P,A
  4949. PrintBlock            PB          Alt  P,B
  4950. PrintEject            PF          Alt  P,F
  4951. SetPrintLeftMargin    PL          Alt  P,L
  4952. SetPrintPageSize      PP          Alt  P,P
  4953.  
  4954.  
  4955. Tab
  4956. ---
  4957. SetCtabwidth          OC
  4958. SetPtabwidth          OP
  4959. TabLt                             Shift Tab
  4960. TabRt                             Tab
  4961.  
  4962.  A-4
  4963.  
  4964. Find/Replace
  4965. ------------
  4966. Find                  SF          Ctrl QF
  4967. FindReplace           SR          Ctrl QA
  4968. RepeatFind            SA          Ctrl L
  4969.  
  4970.  
  4971. Toggles
  4972. -------
  4973. ToggleBakups          OB
  4974. ToggleBoxDraw                     Shift F1
  4975. ToggleEnterMatching   OE
  4976. ToggleIndent          OA          Ctrl QI
  4977. ToggleInsert          OI          Ins
  4978.  
  4979. ToggleSmartTabs                   Ctrl QT
  4980. ToggleTabsExpand                  Alt  V
  4981. ToggleTabsOut                     Alt  I
  4982. ToggleWordwrap        OW          Ctrl OW
  4983.  
  4984.  
  4985. Other
  4986. -----
  4987. Dos                               Alt  F9
  4988. Escape                            Escape
  4989. InsertDate
  4990. InsertTime
  4991. MainMenu                          Escape
  4992.  
  4993. Match                             Alt  F3
  4994. QuickHelp                         Alt  H  or F1
  4995. SetEGA25
  4996. SetEGA43
  4997. SetRmargin            OR          Ctrl OR
  4998.  
  4999. Shell                 FO          F9      or Alt  F,O
  5000. ShowEntryScreen                   Alt  F10
  5001. ToggleEGA43                       Ctrl F1
  5002. UndoCursorline                    Ctrl QL
  5003. WrapPara                          Alt  B
  5004.  
  5005.  A-5
  5006.  
  5007.                         +----------------+
  5008.                         | Alphabetically |
  5009.                         +----------------+
  5010.  
  5011.                       Menu (Esc)  Default               Customized
  5012. Command               Sequence    Keystroke             Keystroke
  5013. --------------------  ----------  --------------------  ----------
  5014.  
  5015. AddLine               EA          F2
  5016. Align
  5017. AppendScrbuff                     Ctrl BA
  5018. Backspace                         Backspace
  5019. BegFile                           Ctrl PgUp
  5020.  
  5021. BegLine                           Home
  5022. BegScreen                         Ctrl Home
  5023. ChangeFilename        FC          Alt  O  or Alt  F,C
  5024. CloseWindow           WC          Ctrl OC
  5025. Copy                              grey +
  5026.  
  5027. CopyBlock             BC          Alt  C
  5028. CopyOverBlock                     Alt  Z
  5029. CurrentFilename
  5030. CursorDown                        Cursor Down
  5031. CursorLeft                        Cursor Left
  5032.  
  5033. CursorRight                       Cursor Right
  5034. CursorUp                          Cursor Up
  5035. Cut                               grey -
  5036. DelCh                             Del
  5037. DeleteBlock           BD          Alt  G
  5038.  
  5039. DelLine               ED          Alt  D
  5040. DelLtWord                         Ctrl Backspace
  5041. DelRtWord                         Ctrl T
  5042. DelToEol              EE          F6
  5043. Dos                               Alt  F9
  5044.  
  5045. DropAnchor                        Alt  A
  5046. DupLine                           F4
  5047. EditFile              FL          Alt  E  or Alt  F,L
  5048. EndFile                           Ctrl PgDn
  5049. EndLine                           End
  5050.  
  5051. EndScreen                         Ctrl End
  5052. Escape                            Escape
  5053. ExecuteScrap                      Ctrl Enter
  5054. Exit                              Ctrl KD
  5055. File                  FF          Ctrl KX or Alt  F,F
  5056.  
  5057.  A-6
  5058.  
  5059. Find                  SF          Ctrl QF
  5060. FindReplace           SR          Ctrl QA
  5061. GetPrev                           Ctrl - (dash)
  5062. GetScrbuff                        Ctrl BL
  5063. GExit                 QX          Alt  X  or Alt  Q,X
  5064.  
  5065. GFile                 FG          Alt  F,G
  5066. GotoBlockBeg                      Ctrl QB
  5067. GotoBlockEnd                      Ctrl QK
  5068. GotoLine                          Ctrl J
  5069. GPQuit                QQ          F3      or Alt  Q,Q
  5070.  
  5071. GrowWindow            WG          Ctrl OG
  5072. GSave                             Alt  Y
  5073. HalfPgDn
  5074. HalfPgUp
  5075. HorizontalWindow      WS          Ctrl OH
  5076.  
  5077. InsertDate
  5078. InsertLine            EI          Alt  F2
  5079. InsertTime
  5080. JoinLine              EJ          Alt  J
  5081. KillFile                          Ctrl KZ
  5082.  
  5083. LineDown
  5084. LineUp
  5085. Literal                           Ctrl P
  5086. MacroRead             MR
  5087. MacroRecord           MM          Ctrl M
  5088.  
  5089. MacroWrite            MW
  5090. MainMenu                          Escape
  5091. MakeBotofScreen
  5092. MakeCtrofScreen                   Shift F5
  5093. MakeTopofScreen                   F5
  5094.  
  5095. MarkBlockBegin        BB          Ctrl KB or F7
  5096. MarkBlockEnd          BE          Ctrl KK or F8
  5097. MarkCharacter
  5098. MarkColumn                        Alt  K
  5099. MarkLine              BL          Alt  L
  5100.  
  5101.  A-7
  5102.  
  5103. Match                             Alt  F3
  5104. MoveBlock             BM          Alt  M
  5105. NextFile              FN          Alt  N  or Alt  F,N
  5106. NextWindow            WN          Ctrl ON
  5107. OneWindow             WO          Ctrl OO
  5108.  
  5109. PageDown                          PgDn
  5110. PageUp                            PgUp
  5111. Paste                             grey *
  5112. PasteOver                         Ctrl PrtSc
  5113. PQuit                 FQ          Ctrl KQ or Alt  F,Q
  5114.  
  5115. PrevFile              FP          Ctrl KP or Alt  F,P
  5116. PrevPosition                      Ctrl QP
  5117. PrevWindow            WP          Ctrl OP
  5118. PrintAll              PA          Alt  P,A
  5119. PrintBlock            PB          Alt  P,B
  5120.  
  5121. PrintEject            PF          Alt  P,F
  5122. QuickHelp                         Alt  H  or F1
  5123. Quit
  5124. ReadBlock             FR          Alt  R  or Alt  F,R
  5125. RepeatFind            SA          Ctrl L
  5126.  
  5127. Return                            Enter
  5128. SaveFile              FS          Ctrl KS or Alt  F,S
  5129. ScreenLeft                        Alt  F5
  5130. ScreenRight                       Alt  F6
  5131. ScrollDown                        Ctrl Z
  5132.  
  5133. ScrollUp                          Ctrl W
  5134. SetCtabwidth          OC
  5135. SetEGA25
  5136. SetEGA43
  5137. SetPrintLeftMargin    PL          Alt  P,L
  5138.  
  5139. SetPrintPageSize      PP          Alt  P,P
  5140. SetPtabwidth          OP
  5141. SetRmargin            OR          Ctrl OR
  5142. Shell                 FO          F9      or Alt  F,O
  5143. ShiftLeft                         Shift F7
  5144.  
  5145.  A-8
  5146.  
  5147. ShiftRight                        Shift F8
  5148. ShowEntryScreen                   Alt  F10
  5149. ShrinkWindow          WR          Ctrl OS
  5150. SplitLine             ES          Alt  S
  5151. StoreScrbuff                      Ctrl BS
  5152.  
  5153. TabLt                             Shift Tab
  5154. TabRt                             Tab
  5155. ToggleBakups          OB
  5156. ToggleBoxDraw                     Shift F1
  5157. ToggleEGA43                       Ctrl F1
  5158.  
  5159. ToggleEnterMatching   OE
  5160. ToggleIndent          OA          Ctrl QI
  5161. ToggleInsert          OI          Ins
  5162. ToggleSmartTabs                   Ctrl QT
  5163. ToggleTabsExpand                  Alt  V
  5164.  
  5165. ToggleTabsOut                     Alt  I
  5166. ToggleWordwrap        OW          Ctrl OW
  5167. UndoCursorline                    Ctrl QL
  5168. UnKill                EU          Ctrl U
  5169. UnmarkBlock           BU          Alt  U
  5170.  
  5171. WordLeft                          Ctrl Cursor Left
  5172. WordRight                         Ctrl Cursor Right
  5173. WrapPara                          Alt  B
  5174. WriteBlock            FW          Alt  W  or Alt  F,W
  5175. ZoomWindow            WZ          Ctrl OZ
  5176.  
  5177.  A-9
  5178.  
  5179. APPENDIX B.  LIST OF CONFIGURABLE KEYS______________________________
  5180.  
  5181.                         +---------------+
  5182.                         | Function Keys |
  5183.                         +---------------+
  5184.  
  5185. Keystroke    Default Command   |  Keystroke    Default Command
  5186. ---------    ---------------   |  ---------    ---------------
  5187. F1           QuickHelp         |  Shift F1     ToggleBoxDraw
  5188. F2           AddLine           |  Shift F2
  5189. F3           GPQuit            |  Shift F3
  5190. F4           DupLine           |  Shift F4
  5191. F5           MakeTopofScreen   |  Shift F5     MakeCtrofScreen
  5192.                                |
  5193. F6           DelToEol          |  Shift F6
  5194. F7           MarkBlockBegin    |  Shift F7     ShiftLeft
  5195. F8           MarkBlockEnd      |  Shift F8     ShiftRight
  5196. F9           Shell             |  Shift F9
  5197. F10                            |  Shift F10
  5198. -------------------------------+------------------------------
  5199. Ctrl F1      ToggleEGA43       |  Alt F1
  5200. Ctrl F2                        |  Alt F2       InsertLine
  5201. Ctrl F3                        |  Alt F3       Match
  5202. Ctrl F4                        |  Alt F4
  5203. Ctrl F5                        |  Alt F5       ScreenLeft
  5204.                                |
  5205. Ctrl F6                        |  Alt F6       ScreenRight
  5206. Ctrl F7                        |  Alt F7
  5207. Ctrl F8                        |  Alt F8
  5208. Ctrl F9                        |  Alt F9       Dos
  5209. Ctrl F10                       |  Alt F10      ShowEntryScreen
  5210.  
  5211.  B-1
  5212.  
  5213.                        +----------------------+
  5214.                        | Special Purpose Keys |
  5215.                        +----------------------+
  5216.  
  5217. Keystroke      Default Command | Keystroke         Default Command
  5218. ------------   --------------- | ----------------  ----------------
  5219. Backspace      Backspace       | Ctrl Backspace    DelLtWord
  5220. Cursor down    CursorDown      |
  5221. Cursor left    CursorLeft      | Ctrl Cursor left  WordLeft
  5222. Cursor right   CursorRight     | Ctrl Cursor right WordRight
  5223. Cursor up      CursorUp        |
  5224.                                |
  5225. Del            DelCh           | Shift Del
  5226. End            EndLine         | Ctrl End          EndScreen
  5227. Enter          Return          | Ctrl Enter        ExecuteScrap
  5228. Escape         Escape          |
  5229. grey *         Paste           |
  5230.                                |
  5231. grey +         Copy            |
  5232. grey -         Cut             |
  5233. Home           BegLine         | Ctrl Home         BegScreen
  5234. Ins            ToggleInsert    | Shift Ins
  5235. PgDn           PageDown        | Ctrl PgDn         EndFile
  5236.                                |
  5237. PgUp           PageUp          | Ctrl PgUp         BegFile
  5238. Tab            TabRt           | Shift Tab         TabLt
  5239. `                              |
  5240. /                              |
  5241. ~ (tilde)                      |
  5242.                                |
  5243.                                | Ctrl PrtSc        PasteOver
  5244.                                | Ctrl [
  5245.                                | Ctrl ]
  5246.                                | Ctrl -            GetPrev
  5247.                                | Ctrl \
  5248.                                | Ctrl 2
  5249.                                | Ctrl 6
  5250.  
  5251.  B-2
  5252.  
  5253.                         +--------------+
  5254.                         | Control Keys |
  5255.                         +--------------+
  5256.  
  5257.  
  5258.  Keystroke   Default Command    |  Keystroke   Default Command
  5259.  ---------   ---------------    |  ---------   ---------------
  5260.  Ctrl A      WordLeft           |  Ctrl P      Literal
  5261. *Ctrl BA     AppendScrbuff      | *Ctrl QA     FindReplace
  5262.  Ctrl BL     GetScrbuff         |  Ctrl QB     GotoBlockBeg
  5263.  Ctrl BS     StoreScrbuff       |  Ctrl QC     EndFile
  5264.  Ctrl C      PageDown           |  Ctrl QD     EndLine
  5265.                                 |
  5266.  Ctrl D      CursorRight        |  Ctrl QE     BegScreen
  5267.  Ctrl E      CursorUp           |  Ctrl QF     Find
  5268.  Ctrl F      WordRight          |  Ctrl QI     ToggleIndent
  5269.  Ctrl G      DelCh              |  Ctrl QK     GotoBlockEnd
  5270.  Ctrl H      Backspace          |  Ctrl QL     UndoCursorline
  5271.                                 |
  5272.  Ctrl I      TabRt              |  Ctrl QP     PrevPosition
  5273.  Ctrl J      GotoLine           |  Ctrl QR     BegFile
  5274. *Ctrl KB     MarkBlockBegin     |  Ctrl QS     BegLine
  5275.  Ctrl KC     CopyBlock          |  Ctrl QT     ToggleSmartTabs
  5276.  Ctrl KD     Exit               |  Ctrl QX     EndScreen
  5277.                                 |
  5278.  Ctrl KE     EditFile           |  Ctrl QY     DelToEol
  5279.  Ctrl KF     ChangeFilename     |  Ctrl R      PageUp
  5280.  Ctrl KH     UnmarkBlock        |  Ctrl S      CursorLeft
  5281.  Ctrl KK     MarkBlockEnd       |  Ctrl T      DelRtWord
  5282.  Ctrl KN     NextFile           |  Ctrl U      UnKill
  5283.                                 |
  5284.  Ctrl KP     PrevFile           |  Ctrl V      ToggleInsert
  5285.  Ctrl KQ     PQuit              |  Ctrl W      ScrollUp
  5286.  Ctrl KR     ReadBlock          |  Ctrl X      CursorDown
  5287.  Ctrl KS     SaveFile           |  Ctrl Y      DelLine
  5288.  Ctrl KT     ToggleTabsExpand   |  Ctrl Z      ScrollDown
  5289.                                 |
  5290.  Ctrl KV     MoveBlock          |
  5291.  Ctrl KW     WriteBlock         |
  5292.  Ctrl KX     File               |
  5293.  Ctrl KY     DeleteBlock        |
  5294.  Ctrl KZ     KillFile           |
  5295.                                 |
  5296.  Ctrl L      RepeatFind         |
  5297.  Ctrl M      MacroRecord        |
  5298.  Ctrl N      SplitLine          |
  5299. *Ctrl OC     CloseWindow        |
  5300.  Ctrl OG     GrowWindow         |
  5301.  
  5302.  B-3
  5303.  
  5304.  Ctrl OH     HorizontalWindow   |
  5305.  Ctrl OL     SetPrintLeftMargin |
  5306.  Ctrl ON     NextWindow         |
  5307.  Ctrl OO     OneWindow          |
  5308.  Ctrl OP     PrevWindow         |
  5309.                                 |
  5310.  Ctrl OR     SetRmargin         |
  5311.  Ctrl OS     ShrinkWindow       |
  5312.  Ctrl OW     ToggleWordwrap     |
  5313.  Ctrl OZ     ZoomWindow         |
  5314.  
  5315. * QEdit allows you to assign commands to "twokey" combinations. A
  5316.   twokey consists of two distinct keystrokes, such as <Ctrl B>
  5317.   immediately followed by <A>. Please note that keystrokes such as
  5318.   <Ctrl A> and <Alt C> by themselves each count as only one
  5319.   keystroke, just as <shift F1> is only one keystroke.  You cannot
  5320.   assign a QEdit command to a key which is already being used as the
  5321.   first keystroke of a twokey.
  5322.  
  5323.  B-4
  5324.  
  5325.                         +----------------+
  5326.                         | Alternate Keys |
  5327.                         +----------------+
  5328.  
  5329.  
  5330. Keystroke   Default Command         |  Keystroke   Default Command
  5331. ---------   ---------------         |  ---------   ---------------
  5332. Alt A       DropAnchor              |  Alt 1
  5333. Alt B       WrapPara                |  Alt 2
  5334. Alt C       CopyBlock               |  Alt 3
  5335. Alt D       DelLine                 |  Alt 4
  5336. Alt E       EditFile                |  Alt 5
  5337.                                     |
  5338. Alt F       MacroBegin MainMenu 'f' |  Alt 6
  5339. Alt G       DeleteBlock             |  Alt 7
  5340. Alt H       QuickHelp               |  Alt 8
  5341. Alt I       ToggleTabsOut           |  Alt 9
  5342. Alt J       JoinLine                |  Alt 0
  5343.                                     |
  5344. Alt K       MarkColumn              |  Alt -
  5345. Alt L       MarkLine                |  Alt =
  5346. Alt M       MoveBlock               |
  5347. Alt N       NextFile                |
  5348. Alt O       ChangeFilename          |
  5349.                                     |
  5350. Alt P       MacroBegin MainMenu 'p' |
  5351. Alt Q       MacroBegin MainMenu 'q' |
  5352. Alt R       ReadBlock               |
  5353. Alt S       SplitLine               |
  5354. Alt T                               |
  5355.                                     |
  5356. Alt U       UnmarkBlock             |
  5357. Alt V       ToggleTabsExpand        |
  5358. Alt W       WriteBlock              |
  5359. Alt X       GExit                   |
  5360. Alt Y       GSave                   |
  5361.                                     |
  5362. Alt Z       CopyOverBlock           |
  5363.  
  5364.  B-5
  5365.  
  5366.                     +------------------------+
  5367.                     | Enhanced Keyboard Keys |
  5368.                     +------------------------+
  5369.  
  5370. Keystroke    Default Command     |  Keystroke    Default Command
  5371. ---------    ---------------     |  ---------    ---------------
  5372. F11                              |  Alt F11
  5373. F12                              |  Alt F12
  5374. Shift F11                        |  Alt '
  5375. Shift F12                        |  Alt ,
  5376. Ctrl F11                         |  Alt .
  5377.                                  |
  5378. Ctrl F12                         |  Alt /
  5379. Ctrl Center Cursor               |  Alt \
  5380. Ctrl Cursor Down                 |  Alt ;
  5381. Ctrl Cursor Up                   |  Alt [
  5382. Ctrl Del                         |  Alt ]
  5383.                                  |
  5384. Ctrl grey *                      |  Alt `
  5385. Ctrl grey +                      |  Alt Backspace
  5386. Ctrl grey -                      |  Alt Enter
  5387. Ctrl grey /                      |  Alt Escape
  5388. Ctrl Ins                         |  Alt grey *
  5389.                                  |
  5390. Ctrl Tab                         |  Alt grey +
  5391. Center Cursor                    |  Alt grey -
  5392. grey Enter                       |  Alt grey /
  5393. Ctrl grey Enter                  |  Alt grey Cursor Down
  5394.                                  |  Alt grey Cursor Left
  5395.                                  |
  5396.                                  |  Alt grey Cursor Right
  5397.                                  |  Alt grey Cursor Up
  5398.                                  |  Alt grey Del
  5399.                                  |  Alt grey End
  5400.                                  |  Alt grey Home
  5401.                                  |
  5402.                                  |  Alt grey Ins
  5403.                                  |  Alt grey PgDn
  5404.                                  |  Alt grey PgUp
  5405.                                  |  Alt grey Enter
  5406.                                  |  Alt Tab
  5407.  
  5408.  
  5409. A list of all configurable keys is also contained in the QCONFIG.DAT
  5410. file on the QEdit distribution diskette.
  5411.  
  5412.  
  5413.  B-6
  5414.  
  5415. APPENDIX C.  ERROR MESSAGES_________________________________________
  5416.  
  5417. This Appendix contains an alphabetical list of the error messages
  5418. that can be displayed by QEdit.  Each message has a description and,
  5419. as required, a resolution.  There is a separate list for QCONFIG
  5420. (the configuration program) error messages.
  5421.  
  5422.  
  5423. QEdit Error Messages
  5424. ====================
  5425.  
  5426. Can't execute scrap macro when macro recording on:  The ExecuteScrap
  5427. command cannot be used during macro recording.
  5428.  
  5429. Disk full:  A disk full condition was encountered while trying to
  5430. save a file.
  5431. Resolution:  Temporarily exit to DOS using the Shell command and
  5432. remove some files on the full disk, OR use the KillFile command to
  5433. remove the currently edited file from disk, OR use the
  5434. ChangeFilename command to direct the file to a different disk drive
  5435. designation.
  5436.  
  5437. Error creating file:  The filename specified on the command line is
  5438. either an invalid DOS filename or there are no files matching the
  5439. wildcarded specification.
  5440. Resolution:  Enter a valid DOS filename or valid wildcarded
  5441. designation on the command line when executing QEdit.
  5442.  
  5443. Error running program:  DOS returned an error condition when
  5444. QEdit attempted to perform the DOS EXEC function to load and execute
  5445. a program and/or the DOS SHELL.
  5446. Resolution:  Check these possible causes: there is not enough memory
  5447. to load the external program, OR the COMMAND.COM file is not
  5448. available, OR the COMSPEC environment variable is not set properly.
  5449. Refer to your DOS manual for more information on the COMSPEC
  5450. environment variable.
  5451.  
  5452. Error opening file:  The file specified cannot be opened.
  5453. Resolution:  Check for possible disk errors or failure.
  5454.  
  5455. Error reading file:  The file specified cannot be read.
  5456. Resolution:  Check for possible disk errors or failure.
  5457.  
  5458.  C-1
  5459.  
  5460. Error renaming file:  The file specified cannot be renamed.
  5461. Resolution:  Check for possible disk errors or failure.
  5462.  
  5463. Error writing file:  The file specified cannot be saved.
  5464. Resolution:  Check for possible disk errors or failure.
  5465.  
  5466. File not found:  The file specified in response to the MacroRead or
  5467. ReadBlock command could not be found on disk.
  5468. Resolution:  Check for the correct name of the file to read.
  5469.  
  5470. Filename already in use in ring:  The file specified in response to
  5471. the ChangeFilename command is already loaded into the editor.
  5472. Resolution:  Enter a filename that is not already loaded into the
  5473. editor.  If you are attempting to "jump" to another file in the
  5474. ring, use the EditFile command.
  5475.  
  5476. Invalid macro filesize:  An attempt was made to load a macro file
  5477. using the MacroRead command, which is either too large or is not
  5478. a valid macro file.
  5479. Resolution:  Check for the correct name of the macro file to read.
  5480.  
  5481. Key already defined:  An attempt was made to assign a
  5482. macro to a key which already has a command assignment.
  5483. Resolution:  Refer to Appendix B and select a key which does not
  5484. already have a command assignment.
  5485.  
  5486. Long lines split:  An attempt was made to load a file whose line
  5487. length exceeded the QEdit limit of 512 characters.
  5488. Resolution:  The file can still be edited, but be aware that all
  5489. lines exceeding 512 characters will be split into shorter lines.
  5490.  
  5491. Macro table full:  There is no more room to record macros.
  5492. Resolution:  Delete some unused macros.
  5493.  
  5494. Macro too long - Aborted:  The macro being created during macro
  5495. recording has exceeded the maximum length.
  5496. Resolution:  Keep macros to less than 250 consecutive "entries".  
  5497. Note that during macro recording each QEdit command takes up 1 of 
  5498. these entries and each keyboard character takes up 2 entries.
  5499.  
  5500. Match not found:  No match was found for "(", "{", or "[" characters
  5501. when using the Match command.
  5502.  
  5503. Memory lost to sub-process:  A memory-resident program (TSR) was
  5504. executed using the QEdit Dos or Shell command and has procured
  5505. memory that was in use by the editor.
  5506. Resolution:  Immediately SAVE any files you are editing and re-boot
  5507. your system.
  5508.  
  5509.  C-2
  5510.  
  5511. No files found:  An invalid wildcarded filename was entered in
  5512. response to a QEdit "file(s) to edit" prompt.
  5513. Resolution:  Check for the correct filename(s) to edit.
  5514.  
  5515. Not enough memory to load entire file:  There is not enough memory 
  5516. to load the requested file into the editor.
  5517. Resolution:  Split the requested file into separate files.
  5518.  
  5519. Not enough memory:  There is not enough memory to continue editing
  5520. the current file.
  5521. Resolution:  Split the current file into separate files.
  5522.  
  5523. Printer error:  An error was encountered while attempting to direct
  5524. an edit file to the printer.
  5525. Resolution:  Check to see that the printer is powered on, online, 
  5526. and properly connected to the computer.
  5527.  
  5528. Press any key to continue:  The editor has displayed a message and
  5529. will not continue until instructed.
  5530.  
  5531.  
  5532. QCONFIG Error Messages
  5533. ======================
  5534.  
  5535. invalid response - try again:  An invalid parameter was entered in
  5536. response to a configuration option.
  5537. Resolution:  Reread option and enter valid parameter.
  5538.  
  5539. ERROR!!! Help buffer overflow in help.txt at line #:  The Help
  5540. file contains more than 1800 non-blank characters.
  5541. Resolution:  Edit the Help file and reduce the number of non-blank
  5542. characters.
  5543.  
  5544. Help filename xxxxxxxx.xxx NOT found:  The specified name of the 
  5545. Help file can not be found on disk.
  5546. Resolution:  Check for the correct name of the Help file.
  5547.  
  5548. Unexpected End Of File encountered at line #:   There is a problem
  5549. with the format of the Help file - possibly corrupted.
  5550. Resolution:  Load the Help file into QEdit and enter the SaveFile
  5551. command.
  5552.  
  5553. Line # too long:  The specified line in the Help file exceeds the
  5554. maximum length of 80 characters.
  5555. Resolution:  Edit the Help file and ensure that no lines exceed 80
  5556. characters in length.
  5557.  
  5558.  C-3
  5559.  
  5560. FATAL ERROR:  macro too long at line #:  The macro at the specified
  5561. line number in the Keyboard Definition file exceeds the maximum
  5562. length of 255 characters.
  5563. Resolution:  Edit the Keyboard Definition file and ensure that no
  5564. macros exceed 255 characters in length.
  5565.  
  5566. FATAL ERROR:  unrecognized command xxxx at line #:  The Keyboard
  5567. Definition file contains an invalid command at the specified line
  5568. number.
  5569. Resolution:  Edit the Keyboard Definition file and correct the
  5570. invalid command.
  5571.  
  5572. FATAL ERROR:  macro table full at line #:  There is no more room 
  5573. left in the Keyboard Definition file for macros.
  5574. Resolution:  Delete some unused macros.
  5575.  
  5576. FATAL ERROR:  too many twokey definitions, aborted at line #:  The
  5577. maximum number of twokey assignments in the Keyboard Definition file
  5578. has been exceeded.
  5579. Resolution:  Edit the Keyboard Definition file and reduce the number
  5580. of twokey assignments.  Generally, there can be 30 to 50 twokey
  5581. assignments, depending on the number of unique first keys.  The more
  5582. unique first keys there are, the fewer twokey assignments can be
  5583. made.
  5584.  
  5585. FATAL ERROR:  invalid second key code xx at line #:  The Keyboard
  5586. Definition file contains an invalid second key (of a twokey
  5587. assignment) at the specified line number.
  5588. Resolution:  Edit the Keyboard Definition file and correct the
  5589. invalid key.
  5590.  
  5591. FATAL ERROR:  macro_begin not supported for twokey commands, line #:
  5592. Macros cannot be assigned to twokeys.
  5593.  
  5594. FATAL ERROR:  return bound to twokey at line #:  The Return command
  5595. cannot be assigned to a twokey.
  5596.  
  5597. FATAL ERROR:  escape bound to twokey at line #:  The Escape command
  5598. cannot be assigned to a twokey.
  5599.  
  5600. FATAL ERROR:  undefined key xxxx encountered at line #:   The 
  5601. Keyboard Definition file contains an invalid configurable key at the 
  5602. specified line number.
  5603. Resolution:  Edit the Keyboard Definition file and correct the
  5604. invalid key.
  5605.  
  5606. FATAL ERROR:  return command MUST be "bound" to a key:  The Return
  5607. command is not assigned to any key in the Keyboard Definition file.
  5608. Resolution:  Assign the Return command to some configurable key in
  5609. the Keyboard Definition file.
  5610.  
  5611.  C-4
  5612.  
  5613. FATAL ERROR:  escape command MUST be "bound" to a key:  The Escape
  5614. command is not assigned to any key in the Keyboard Definition file.
  5615. Resolution:  Assign the Escape command to some configurable key in
  5616. the Keyboard Definition file.
  5617.  
  5618. File xxxxxxxx.xxx not found:  The specified name of the Keyboard
  5619. Definition file can not be found on disk.
  5620. Resolution:  Check for the correct name of the Keyboard Definition
  5621. file.
  5622.  
  5623. FATAL ERROR:  xxxxxxxx.xxx not found:  The specified name of the
  5624. QEdit executable file cannot be found on disk.
  5625. Resolution: Check for the correct name of the QEdit executable file.
  5626.  
  5627. FATAL ERROR:  patch area NOT found:  There is a problem with the 
  5628. QEdit executable file (Q.EXE or copy of same).
  5629. Resolution:  Reload the QEdit (Q.EXE) and QCONFIG.EXE executable
  5630. files from the QEdit distribution disk.
  5631.  
  5632. FATAL ERROR:  end of patch area NOT found.  There is a problem with
  5633. the QEdit executable file (Q.EXE or copy of same).
  5634. Resolution:  Reload the QEdit (Q.EXE) and QCONFIG.EXE executable
  5635. files from the QEdit distribution disk.
  5636.  
  5637.  
  5638.  C-5
  5639.  
  5640. APPENDIX D.  COMMONLY USED MACROS___________________________________
  5641.  
  5642. We have received many useful suggestions from QEdit users over the
  5643. years.  Since the introduction of macros in version 2.00, we have
  5644. received ideas for some very helpful macros.  Here is a short list
  5645. of some of the more useful (and simple) macros.  (Appendix E
  5646. contains additional sample macros.)
  5647.  
  5648.  
  5649. - By default, QEdit's AddLine and DelLine commands do not change the
  5650.   cursor position.  Many would prefer that the cursor move to column
  5651.   one when these commands are executed.  A solution is to change the
  5652.   QCONFIG.DAT file (and reload using QCONFIG.EXE) as follows:
  5653.  
  5654.   Default QCONFIG.DAT file:
  5655.  
  5656.   f2   AddLine
  5657.   ^y   DelLine
  5658.  
  5659.   Customized QCONFIG.DAT file:
  5660.  
  5661.   f2   MacroBegin AddLine BegLine
  5662.   ^y   MacroBegin DelLine BegLine
  5663.  
  5664.  
  5665. - By default, QEdit's CopyBlock and MoveBlock commands leave the
  5666.   copied or moved block marked.  Many would prefer for the block to
  5667.   be unmarked.  A solution is to change the QCONFIG.DAT file (and
  5668.   reload using QCONFIG.EXE) as follows:
  5669.  
  5670.   Default QCONFIG.DAT file:
  5671.  
  5672.   @c   CopyBlock
  5673.   @m   MoveBlock
  5674.  
  5675.   Customized QCONFIG.DAT file:
  5676.  
  5677.   @c   MacroBegin CopyBlock UnmarkBlock
  5678.   @m   MacroBegin MoveBlock UnmarkBlock
  5679.  
  5680.  
  5681.  D-1
  5682.  
  5683. - By default, QEdit's ReadBlock command inserts a file from disk at
  5684.   the current cursor position.  To have QEdit insert files on the
  5685.   line immediately following the current cursor line, change the
  5686.   QCONFIG.DAT file (and reload using QCONFIG.EXE) as follows:
  5687.  
  5688.   Default QCONFIG.DAT file:
  5689.  
  5690.   @r   ReadBlock
  5691.  
  5692.   Customized QCONFIG.DAT file:
  5693.  
  5694.   @r   MacroBegin EndLine SplitLine CursorDown BegLine ReadBlock
  5695.        GotoBlockEnd JoinLine GotoBlockBeg
  5696.  
  5697.  
  5698. - By default, QEdit's DropAnchor command will end or extend a block 
  5699.   if executed after a Block has been initially or entirely marked. 
  5700.   Some editors have a similar command, except that it acts as a 
  5701.   toggle.  That is, if you are already marking a Block, and you 
  5702.   press DropAnchor again, the Block is unmarked and marking begins 
  5703.   again at the current cursor position.  To implement, change the 
  5704.   QCONFIG.DAT file (and reload using QCONFIG.EXE) as follows:
  5705.  
  5706.   Default QCONFIG.DAT file:
  5707.  
  5708.   @a   DropAnchor
  5709.  
  5710.   Customized QCONFIG.DAT file:
  5711.  
  5712.   @a   MacroBegin UnmarkBlock DropAnchor
  5713.  
  5714.  
  5715. - A very useful QEdit command, GetPrev, will copy a character from
  5716.   the line immediately above the cursor line, onto the cursor line.
  5717.   Many times, it may be necessary to copy this character to several
  5718.   succeeding lines in the same column.  The GetPrev command, used in
  5719.   a macro, makes this function easy.  We will assign the macro to
  5720.   the <Alt 1> key (@1 in QEdit's terminology).
  5721.  
  5722.   @1   MacroBegin GetPrev CursorLeft CursorDown
  5723.  
  5724.  
  5725. - This macro will allow you to edit a sorted list of files of the
  5726.   current directory.
  5727.  
  5728.   @1   MacroBegin Dos "dir *.* | sort>filedir.tmp" Return Return
  5729.        EditFile "filedir.tmp" Return DelLine DelLine DelLine DelLine
  5730.  
  5731.  D-2
  5732.  
  5733. APPENDIX E.  ADDENDUM_________________________________
  5734.  
  5735. Contents
  5736. ========
  5737.  
  5738. About this Addendum and Version 2.1 ............. E-2
  5739. Upgrading from QEdit Version 2.07 or Later ...... E-3
  5740. Upgrading from QEdit Version 2.06 or Earlier .... E-4
  5741. New QEdit Commands .............................. E-5
  5742. QEdit Changes
  5743.    Macro Pause .................................. E-8
  5744.    Startup Macros ............................... E-9
  5745.    Save-As-Filename ............................. E-10
  5746.    Read-Only Files  ............................. E-10
  5747.    Invoking QEdit at a Specific Line Number ..... E-11
  5748.    Dos and Shell Commands:
  5749.      Swapping, [QE] Shell Indicator ............. E-11
  5750.    Find, FindReplace Commands:
  5751.      Local and Global Options ................... E-12
  5752.    Conditional Logic for Macros:
  5753.      Jump, JTrue, JFalse Commands ............... E-12
  5754. Configuration Program (QCONFIG) Changes ......... E-13
  5755. New Macros ...................................... E-14
  5756.  
  5757.  
  5758.  E-1
  5759.  
  5760. About this Addendum and Version 2.1
  5761. ===================================
  5762. This addendum documents all new features and changes since version
  5763. 2.07 of QEdit.  The following is a quick summary of the new features
  5764. and changes. Many of these are explained in more detail in this
  5765. addendum.
  5766.  
  5767. Especially for programmers we've added:
  5768.  
  5769.  - swapping to disk or expanded memory to free up memory for
  5770.    compiles when the DOS shell commands are executed (ToggleSwap
  5771.    command, default configuration option)
  5772.  
  5773.  - the ability to shift entire blocks using the tab left and right
  5774.    commands (TabLt and TabRt)
  5775.  
  5776.  - additional C mode file extensions (.cpp, .cxx, .hpp, .hxx)
  5777.  
  5778.  - a "sticky" AutoIndent configuration option
  5779.  
  5780.  - the availability of the CurrentFilename command at anytime
  5781.  
  5782.  - a DOS command line option (-n) for jumping to a specific line
  5783.    number
  5784.  
  5785. Especially for writers and nonprogrammers we've added:
  5786.  
  5787.  - case-change (Flip, Lower, Upper commands)
  5788.  
  5789.  - multiple line-drawing characters (ToggleBoxType command)
  5790.  
  5791.  - top and bottom margins for printing (SetPrintBotMargin,
  5792.    SetPrintTopMargin commands)
  5793.  
  5794.  - line-centering (CenterLine command)
  5795.  
  5796.  - block-fill (FillBlock command)
  5797.  
  5798. Especially for laptop users we've added:
  5799.  
  5800.  - an optional large flashing block cursor (configuration option)
  5801.  
  5802. Especially for macro users we've added:
  5803.  
  5804.  - the ability to load and/or execute macros from the DOS command
  5805.    line
  5806.  
  5807.  - macro pause (Pause command)
  5808.  
  5809.  - macro repeat (RepeatCmd command)
  5810.  
  5811.  - conditional logic (Jump, JTrue, JFalse commands)
  5812.  
  5813.  E-2
  5814.  
  5815. For everybody we've added:
  5816.  
  5817.  - sorting (Sort command)
  5818.  
  5819.  - column block copy, move, delete, and print
  5820.  
  5821.  - a "save-as-filename" feature with an option to append
  5822.  
  5823.  - the ability to both increase and decrease the size of a window
  5824.    using either of the window sizing commands (GrowWindow and
  5825.    ShrinkWindow)
  5826.  
  5827.  - the availability of the Paste command within prompt boxes
  5828.  
  5829.  - new options for the Find and FindReplace commands to start a 
  5830.    search at the beginning of your file (g option) and limit a 
  5831.    search to a marked block (l option)
  5832.  
  5833.  - the ability to cancel global search and replace and the new
  5834.    RepeatCmd by pressing <Ctrl Break>
  5835.  
  5836.  - an optional bell that sounds on warning messages & missed searches
  5837.  
  5838.  - editing of Read-Only files
  5839.  
  5840.  - Pop-Down style boxes for all "Yes/No" prompts
  5841.  
  5842.  - the saving of all deleted characters to the Kill Buffer when
  5843.    using the DelRtWord command
  5844.  
  5845.  - the ability to search more than one line backward for a nonblank
  5846.    line in Smart Tabs mode
  5847.  
  5848.  
  5849. Upgrading from QEdit Version 2.07 or Later
  5850. ==========================================
  5851. If you are upgrading QEdit version 2.1 from version 2.07 or later
  5852. and you do not care to retain any changes you have made using the
  5853. configuration program (QCONFIG), then simply refer to the
  5854. "Installation" section for installation instructions.
  5855.  
  5856. If you wish to upgrade while retaining your configuration changes
  5857. then do the following:
  5858.  
  5859.   1. Copy the QCONFIG.DAT that you currently use to a floppy disk
  5860.      or some other safe location.
  5861.  
  5862.   2. Make a backup copy of your QEdit version 2.1 distribution
  5863.      diskette and file the original away in a safe location.
  5864.  
  5865.   3. Insert the copy of the distribution diskette (from step 2)
  5866.      into a floppy drive and execute the Update Program by
  5867.      entering "<drive designation>:qupdate"
  5868.  E-3
  5869.  
  5870.   4. Enter responses to the Update Program prompts as they appear.
  5871.  
  5872.   5. Upon successful completion the Update Program will display
  5873.      "QEdit Advanced updated successfully."
  5874.  
  5875.   6. Copy the QEdit version 2.1 software from the floppy diskette
  5876.      to the directory that you use to run QEdit. For example:
  5877.          Copy a:*.* \tools
  5878.  
  5879.   7. Copy your QCONFIG.DAT file from step 1 to the directory that
  5880.      you use to run QEdit.  This should be the same directory to
  5881.      which you copied the files in step 6.
  5882.  
  5883.   8. Edit and add to the QCONFIG.DAT file (using QEdit of course)
  5884.      any new QEdit commands added since the version you were using.
  5885.      Refer to the "New QEdit Commands" section of Appendix E for a
  5886.      complete list of new commands.  Now run QCONFIG to install
  5887.      these new commands.  For more information on the QCONFIG.DAT
  5888.      file and running QCONFIG please refer to Chapter 2.
  5889.  
  5890.  
  5891. Upgrading from QEdit Version 2.06 or Earlier
  5892. ============================================
  5893. If you are upgrading QEdit version 2.1 from version 2.06 or earlier
  5894. and you do not care to retain any changes you have made using the
  5895. configuration program (QCONFIG), then simply refer to the
  5896. "Installation" section for installation instructions.
  5897.  
  5898. The only configuration changes that can be retained from version
  5899. 2.06 or earlier are the key assignments made in the QCONFIG.DAT
  5900. file. If you wish to upgrade while retaining these changes then do
  5901. the following:
  5902.  
  5903.   1. Copy the QCONFIG.DAT that you currently use to a floppy disk
  5904.      or some other safe location.
  5905.  
  5906.   2. Make a backup copy of your QEdit version 2.1 distribution
  5907.      diskette and file the original away in a safe location.
  5908.  
  5909.   3. Copy the QEdit version 2.1 software from the floppy diskette
  5910.      from step 2 to the directory that you use to run QEdit.  For
  5911.      example:  Copy a:*.* \tools
  5912.  
  5913.   4. Copy your QCONFIG.DAT file from step 1 to the directory that
  5914.      you use to run QEdit.  This should be the same directory to
  5915.      which you copied the files in step 3.
  5916.  
  5917.   5. Edit and add to the QCONFIG.DAT file (using QEdit of course)
  5918.      any new QEdit commands added since the version you were using.
  5919.      Refer to the "New QEdit Commands" section of Appendix E for a
  5920.      complete list of new commands.  Now run QCONFIG to install
  5921.      these new commands.  For more information on the QCONFIG.DAT
  5922.      file and running QCONFIG please refer to Chapter 2.
  5923.  E-4
  5924.  
  5925. New QEdit Commands
  5926. ==================
  5927. This section contains a description of each of the new QEdit 
  5928. commands. Where appropriate, the default key assignments are 
  5929. provided.  To assign commands which do not have a default assignment 
  5930. or to change existing key assignments, refer to the "Keyboard 
  5931. Configuration" section of Chapter 2 for instructions.
  5932.  
  5933.  
  5934. AltWordSet
  5935. ----------------------------------------
  5936. Instructs QEdit to recognize an expanded set of characters as "word"
  5937. characters.
  5938.  
  5939. The default word set contains the following characters: 0 through 9,
  5940. upper and lower case A through Z, and the underline character.  The
  5941. AltWordSet command causes additional characters to be considered
  5942. "word" characters.  These additional characters are:  ! # $ % & ` '
  5943. ( ) - . / \ @ { } ~ : ^
  5944.  
  5945. The AltWordSet command will affect the operation of these commands:
  5946.       DelLtWord  <Ctrl Backspace>
  5947.       DelRtWord  <Ctrl T>
  5948.       MarkWord   <Ctrl KT>
  5949.       WordLeft   <Ctrl Cursor Left>
  5950.       WordRight  <Ctrl Cursor Right>
  5951.  
  5952. The default word set can be re-installed by executing the
  5953. DefaultWordSet command.
  5954.  
  5955.  
  5956. CenterLine          <Ctrl OT>
  5957. ----------------------------------------
  5958. Centers the current cursor line based on column 1 and the right
  5959. margin.  Use the SetRmargin <Ctrl OR> command to change the right
  5960. margin.
  5961.  
  5962. With the cursor inside of a line block, you can execute this command
  5963. to center several lines at once.  With the cursor inside of a column
  5964. block, you can center lines based on the left and right block
  5965. boundaries.
  5966.  
  5967.  
  5968. DefaultWordSet
  5969. ----------------------------------------
  5970. Re-installs the default word set.  Refer to the AltWordSet command
  5971. for more information about word sets.
  5972.  
  5973.  
  5974. EndPara
  5975. ----------------------------------------
  5976. Positions the cursor immediately following the last nonblank
  5977. character of the current paragraph.
  5978.  E-5
  5979.  
  5980. FillBlock           <Ctrl KL>
  5981. ----------------------------------------
  5982. Fills an entire marked block with any ASCII character.  You will be
  5983. prompted to enter the desired character.  FillBlock is recommended
  5984. for use with column and word blocks only because it will fill other
  5985. type blocks with characters beyond column 80.
  5986.  
  5987. Flip                <Alt 3>
  5988. ----------------------------------------
  5989. Reverses the case (upper to lower and lower to upper) of all
  5990. characters in a marked block.  The cursor must be within the marked
  5991. block.  If the cursor is outside of the marked block or if no block
  5992. is marked, the case of the character at the current cursor position
  5993. is reversed.
  5994.  
  5995.  
  5996. GotoColumn
  5997. ----------------------------------------
  5998. Positions the cursor at the requested column.  The editor will 
  5999. prompt for the desired column number.
  6000.  
  6001. Lower               <Alt 2>
  6002. ----------------------------------------
  6003. Changes all characters in a marked block to lower case.  The cursor
  6004. must be within the marked block.  If the cursor is outside of the
  6005. marked block or if no block is marked, the character at the current
  6006. cursor position is changed to lower case.
  6007.  
  6008.  
  6009. MarkWord            <Ctrl KT>
  6010. ----------------------------------------
  6011. This command is used to mark a word block.  Executing this command
  6012. will mark the word at the current cursor position.  If there is no
  6013. word at the current cursor position, then no action is taken.
  6014.  
  6015. NewFile
  6016. ----------------------------------------
  6017. Executes the Exit <Ctrl KD> command followed by the EditFile <Alt E>
  6018. command.  Refer to Chapter 3 for more information regarding the Exit
  6019. and EditFile commands.
  6020.  
  6021.  
  6022. NextPara
  6023. ----------------------------------------
  6024. Positions the cursor on the first character of the next paragraph.
  6025.  
  6026.  
  6027. Pause
  6028. ----------------------------------------
  6029. Temporarily suspends execution of a macro until either <Enter> or
  6030. <Escape> is pressed.  Refer to the "QEdit Changes" section of
  6031. Appendix E for more information.
  6032.  
  6033.  E-6
  6034.  
  6035. PrevPara
  6036. ----------------------------------------
  6037. Positions the cursor on the first character of the previous 
  6038. paragraph.
  6039.  
  6040.  
  6041. RepeatCmd           <Ctrl QQ>
  6042. ----------------------------------------
  6043. Repeats the last character, command, or macro entered from the
  6044. keyboard up to 9,999 times.  You will be prompted for the number of
  6045. times to repeat.
  6046.  
  6047. Repeating will automatically terminate if any command fails.  For
  6048. example, if you are repeating a search and get a "Not Found" then
  6049. repeating will stop.  Also, you can enter <Ctrl Break> at anytime
  6050. from the keyboard to cancel repeating.
  6051.  
  6052. RepeatCmd is very handy for use within macros in the QCONFIG.DAT 
  6053. file. For example, to cursor down 10 times within a macro you would 
  6054. enter: "CursorDown 10" (without the quotes). For more information on 
  6055. macros refer to the "Keyboard Configuration" section of Chapter 2.
  6056.  
  6057.  
  6058. SetPrintBotMargin   <Alt P><O> or <Esc><P><O>
  6059. ----------------------------------------
  6060. Sets the number of lines that will be left blank at the bottom of
  6061. each page during printing.
  6062.  
  6063.  
  6064. SetPrintTopMargin   <Alt P><T> or <Esc><P><T>
  6065. ----------------------------------------
  6066. Sets the number of lines that will be left blank at the top of each
  6067. page during printing.
  6068.  
  6069.  
  6070. Sort                <Shift F3>
  6071. ----------------------------------------
  6072. Sorts a range of lines in ascending order.  The sort key is
  6073. determined by a marked column block.  The length of the column block
  6074. determines the range of lines to be sorted.  For more information
  6075. about column blocks refer to the MarkColumn command in chapter 3.
  6076.  
  6077. This command can only be used with a single, nonzoomed window on the
  6078. screen.
  6079.  
  6080.  
  6081. ToggleBoxType       <Alt F1>
  6082. ----------------------------------------
  6083. This command prompts the User to select from different line drawing
  6084. styles for use with Box Drawing mode.  The options are: Single,
  6085. Double Top, Double Side, Double, and Eraser.
  6086.  
  6087.  E-7
  6088.  
  6089. ToggleSwap          <Esc><O><S>
  6090. ----------------------------------------
  6091. Toggles (ON and OFF) swapping to expanded memory or disk when the
  6092. Shell <F9> and Dos <Alt F9> commands are executed.  (You can specify
  6093. a default for swapping using the configuration program.  Refer to
  6094. the "Configuration Program (QCONFIG) Changes" section of Appendix E
  6095. for more information.)
  6096.  
  6097. If ON, QEdit will swap itself out of DOS memory and to expanded
  6098. memory or disk when a shell command is executed.  This will leave a
  6099. small 2K kernel of QEdit in DOS memory, freeing up the rest of DOS
  6100. memory for running other applications out of the shell such as
  6101. compilers or spreadsheets.
  6102.  
  6103. While you are in a shell, QEdit will maintain a file with a ".SWP"
  6104. file extension in your root directory.  It is very important that
  6105. you do not delete this file while in the shell.
  6106.  
  6107.  
  6108. Upper               <Alt 1>
  6109. ----------------------------------------
  6110. Changes all characters in a marked block to upper case.  The cursor
  6111. must be within the marked block.  If the cursor is outside of the
  6112. marked block or if no block is marked, the character at the current
  6113. cursor position is changed to upper case.
  6114.  
  6115.  
  6116. QEdit Changes
  6117. =============
  6118. This section contains new QEdit features and changes which require a
  6119. detailed explanation.  For a summary of all new features and changes
  6120. refer to the "About this Addendum and Version 2.1" section of
  6121. Appendix E.
  6122.  
  6123.  
  6124. Macro Pause
  6125. -----------
  6126. A new command, Pause, has been added for use within macros.  The
  6127. Pause command allows you to suspend execution of a macro, make
  6128. entries from the keyboard, and then continue execution of the macro.
  6129.  
  6130. To use the Pause command you place "Pause" at the appropriate
  6131. position within a macro in the QCONFIG.DAT file.  (For more
  6132. information about creating macros refer to the "Keyboard
  6133. Configuration" section of Chapter 2.)
  6134.  
  6135. When you execute a macro containing a Pause command from within
  6136. QEdit, its execution will be suspended when the Pause command is
  6137. encountered. A "P" will appear on the Status Line.  At this point
  6138. the User can enter text from the keyboard.  Pressing <Enter> will
  6139. resume execution of the macro.  Pressing <Escape> will terminate
  6140. execution of the suspended macro entirely.
  6141.  
  6142.  E-8
  6143.  
  6144. Please note that the <Enter> entered from the keyboard to resume
  6145. execution of a suspended macro is "eaten" by the Pause command; or,
  6146. in other words, the <Enter> does not become part of the macro.
  6147.  
  6148. Some examples of using the Pause command within macros can be found
  6149. in the "New Macros" section of Appendix E.
  6150.  
  6151.  
  6152. Startup Macros
  6153. --------------
  6154. QEdit has a new feature which allows you to load and/or execute
  6155. macros from the DOS command line.  Previously, any macro created
  6156. within QEdit and saved using the MacroWrite <Esc><M><W> command had
  6157. to be manually reloaded using the MacroRead <Esc><M><R> command for
  6158. each new editing session. (You may want to review the "Macros"
  6159. section of Chapter 1 before proceeding.)
  6160.  
  6161. To load a macro from the DOS command line type "-l" (this is a dash
  6162. character and the letter "l") followed by a macro filename when you
  6163. execute QEdit.  For example, from the DOS prompt type:
  6164.  
  6165.     q <filename to edit> -l<macro filename>
  6166.  
  6167. To execute a macro from the DOS command line type "-e" followed by a
  6168. macro filename when you execute QEdit.  It will automatically
  6169. execute the first macro in the macro file after the file to be
  6170. edited has been loaded.  For example, from the DOS prompt type:
  6171.  
  6172.     q <filename to edit> -e<macro filename>
  6173.  
  6174. Here are some additional notes regarding the use of Startup Macros.
  6175.  
  6176. - The macro file to be loaded and/or executed must be created using
  6177.   the MacroWrite <Esc><M><W> command.
  6178.  
  6179. - A "/" character can be used instead of the "-" character, as in
  6180.   "/l" and "/e".
  6181.  
  6182. - You must supply a filename to be edited on the DOS command line to
  6183.   use this feature.
  6184.  
  6185. - When using the execute ("-e") option, only the first macro in the
  6186.   macrofile is executed.  Also, the macro is executed only after the
  6187.   file to be edited has been loaded.
  6188.  
  6189. - You can both load and execute a macro at the same time. For 
  6190.   example, from the DOS prompt:
  6191.  
  6192.    q <edit filename> -e<macro filename> -l<macro filename>
  6193.  
  6194.  E-9
  6195.  
  6196. Here is an example of using Startup Macros.
  6197.  
  6198. Suppose you have two macro files created using the MacroWrite
  6199. <Esc><M><W> command.  The macro files are called first.mac and
  6200. second.mac.
  6201.  
  6202. Now suppose you want to edit a file called work.tmp and at the same
  6203. time, from the DOS command line, load the macro file called
  6204. first.mac and execute the macro file called second.mac.  Then from
  6205. the DOS command line you would enter:
  6206.  
  6207.     q work.tmp -lfirst.mac -esecond.mac
  6208.  
  6209.  
  6210. Save-As-Filename
  6211. ----------------
  6212. A new feature allows you to save your current file under a different
  6213. name.  To do so, execute the WriteBlock <Alt W> command with no
  6214. marked blocks in the file.  QEdit will prompt with:
  6215.   +----------------------------------------------+
  6216.   |File to write:                                |
  6217.   |                                              |
  6218.   +----------------------------------------------+
  6219.  
  6220. Enter the new filename.  If the filename you specify already exists,
  6221. QEdit will prompt with:
  6222.                         +======= Choose ========+
  6223.                         | Overlay existing file |
  6224.                         | Append to file        |
  6225.                         +=======================+
  6226.  
  6227. Select the option you desire or press Escape to abort.
  6228.  
  6229. If there is a marked block in the file, the WriteBlock command will,
  6230. as before, write the currently marked block to the named file.
  6231.  
  6232.  
  6233. Read-Only Files
  6234. ---------------
  6235. Read-Only files can now be loaded and edited.  However, they cannot
  6236. be saved.  If you attempt to save a Read-Only file the following
  6237. message will appear:
  6238.       +============================================+
  6239.       |File is marked as READONLY - Press <Esc>    |
  6240.       +============================================+
  6241.  
  6242. This message will also appear when you initially load the file.
  6243.  
  6244. To save a Read-Only file, simply save it under a different name
  6245. using the WriteBlock <Alt W> command (be sure there are no marked
  6246. blocks in the file), or change the filename using the ChangeFilename
  6247. <Alt O> command and then save the file under the new name.
  6248.  
  6249.  E-10
  6250.  
  6251. Invoking QEdit at a Specific Line Number
  6252. ----------------------------------------
  6253. A new DOS command line option (-n) allows you to specify a line
  6254. number in a file on which to position the cursor when the file is
  6255. loaded into QEdit. From the DOS prompt type:
  6256.  
  6257.     q <filename to edit> -n<specific line number>
  6258.  
  6259. For example, to load file1 at line number 125, from the DOS command
  6260. line you would enter:
  6261.  
  6262.     q file1 -n125
  6263.  
  6264.  
  6265. Dos and Shell Commands:  Swapping, [QE] Shell Indicator
  6266. -------------------------------------------------------
  6267. The QEdit Dos and Shell commands can now optionally swap QEdit out
  6268. to disk or expanded memory leaving only a 2k kernel in memory.  This
  6269. allows much more memory for running memory-hungry programs (such as
  6270. compilers) from within QEdit. You can set this option by default
  6271. using the configuration program (Advanced Options), or you can
  6272. toggle it on and off using the ToggleSwap command.  (Refer to the
  6273. "Configuration Program (QCONFIG) Changes" section of Appendix E, and
  6274. to the ToggleSwap command under the "New QEdit Advanced Commands"
  6275. section of Appendix E.)
  6276.  
  6277. While in a shell with swapping on, QEdit will maintain a file with a
  6278. ".SWP" file extension in your root directory.  It is very important
  6279. that you do not delete this file while in the shell.
  6280.  
  6281.  
  6282. Once in the shell, QEdit will optionally append "[QE]" to the DOS
  6283. prompt string, provided that:
  6284.  
  6285.   1) You have defined the prompt environment variable.
  6286.   2) There is enough space left in the environment.
  6287.   3) You have set the "Change DOS PROMPT during a Shell" option to
  6288.      [Y]es.  (Refer to Advanced Options of the "Configuration
  6289.      Program (QCONFIG) Changes" section of Appendix E.)
  6290.  
  6291. If you have NOT defined the prompt environment variable, then we
  6292. suggest you do so.  It is helpful with DOS command line operations
  6293. in general.  A suggested prompt is (this should go in your
  6294. AUTOEXEC.BAT file):
  6295.  
  6296.     set prompt=$p $t $g
  6297.  
  6298. If you do have a prompt string defined, but you do not get the 
  6299. "[QE]" prompt in the QEdit shell, add the following to your 
  6300. AUTOEXEC.BAT:
  6301.  
  6302.     set x=x
  6303.  
  6304.  E-11
  6305.  
  6306. Find, FindReplace Commands:  Local and Global Options
  6307. -----------------------------------------------------
  6308. Two options, local and global, have been added to the Find and
  6309. FindReplace commands:
  6310.  
  6311.   [G] = Global search.  Begins searching from the beginning of the
  6312.         file, or from the beginning of the marked block if the [L]
  6313.         option is also selected.
  6314.  
  6315.   [L] = Local search.  Limits the search to the currently marked
  6316.         block.  If the cursor is outside the marked block, or the
  6317.         [G] option is also selected, the search starts at the
  6318.         beginning of the marked block.  Otherwise, the search starts
  6319.         at the current cursor position inside the marked block.
  6320.  
  6321. You can press <Ctrl Break> to halt a global FindReplace.
  6322.  
  6323.  
  6324. Conditional Logic for Macros:  Jump, JTrue, JFalse Commands
  6325. -----------------------------------------------------------
  6326. Three commands have been added for use within QEdit macros:  Jump,
  6327. JTrue, and JFalse.  Placement of one of these commands following
  6328. another QEdit command in a macro allows for branching or looping
  6329. during macro execution.
  6330.  
  6331. All QEdit commands set an internal QEdit result code of "true" upon
  6332. successful execution, or "false" if execution is unsuccessful or no
  6333. action occurs. The Jump command makes an unconditional jump.  The
  6334. JTrue command makes a jump only when a result code of "true" is
  6335. returned; JFalse makes a jump only for a result code of "false".
  6336.  
  6337.  
  6338. Labels can be defined for branching, in the format "label:".  The
  6339. maximum label length is 15 characters.
  6340.  
  6341.  
  6342. For example, here is a macro to delete from the cursor position to
  6343. the beginning of the line, assigned to the f10 key:
  6344.  
  6345.      f10 MacroBegin
  6346.          begin:
  6347.            CursorLeft
  6348.            JFalse done:
  6349.            DelCh
  6350.            Jump begin:
  6351.          done:
  6352.  
  6353. NOTE:  As with all macros, this MUST all occur on ONE LINE in your
  6354.        QCONFIG.DAT file.
  6355.  
  6356.  E-12
  6357.  
  6358. Configuration Program (QCONFIG) Changes
  6359. =======================================
  6360. This section contains a list of new options which have been added to 
  6361. the configuration program (QCONFIG). The configuration program 
  6362. prompt, the default value, and a description are given for each 
  6363. option.
  6364.  
  6365. Under Advanced Options:
  6366.  
  6367. - Swap to Expanded memory or DISK on Dos and Shell commands (Y/N)?[Y]:
  6368.     Select <Y> if you want QEdit to swap itself out of DOS memory 
  6369.     and to expanded memory or disk whenever the shell commands are 
  6370.     executed.  This will leave a small 2K kernel of QEdit in DOS 
  6371.     memory, freeing up the rest of DOS memory for running other 
  6372.     applications out of the shell such as compilers or spreadsheets.
  6373.  
  6374. - Drive for disk swapping on the Dos/Shell commands [A..Z] [C] :
  6375.     If you selected <Y> for the previous option then specify here 
  6376.     the disk drive designation to be used for swapping.  Enter an 
  6377.     asterisk (*) if you want QEdit to default to your current drive 
  6378.     for swapping.
  6379.  
  6380. - Do you want a large flashing cursor (Y/N)? [N] :
  6381.     If you want to use a large flashing block cursor then set this
  6382.     option to <Y>.  This option is great for laptop users.
  6383.  
  6384. - Get num rows on screen from BIOS data area (100% IBM PC only)
  6385.   (Y/N)? [N] :
  6386.     FOR NON EGA/VGA SYSTEMS ONLY; set this option to <Y> if you want
  6387.     QEdit to automatically detect the number of rows on your screen.
  6388.  
  6389.     Setting this option to <Y>, to automatically detect the number 
  6390.     of rows on your screen, only works if you have an IBM PC-AT or 
  6391.     100% compatible.  For example, setting this option to <Y> does 
  6392.     NOT work on AT&T 6300's.
  6393.  
  6394. - Number of rows on screen (NOT NEEDED with EGA/VGA) [25..255] [25]:
  6395.     FOR NON EGA/VGA SYSTEMS ONLY; if you set the previous option to
  6396.     <N>, then you must provide the number of rows on your screen here.
  6397.  
  6398.     You should set this option to 25 unless you have a special card
  6399.     and monitor (such as a Genius Video System) that allow you to
  6400.     display more than 25 rows.
  6401.  
  6402. - Should the editor restore the starting drive/dir on program exit
  6403.   (Y/N)? [Y] :
  6404.     Set this option to <Y> if you want to return to the original DOS 
  6405.     drive and directory on program exit regardless of which drives 
  6406.     and directories you have accessed with the QEdit directory 
  6407.     picker or Shell command.
  6408.  
  6409. - Should the editor change the DOS PROMPT during a shell (Y/N)? [N]:
  6410.     Set this option to <Y> if you want the following to be appended 
  6411.     to the DOS prompt during a QEdit Shell: [QE]
  6412.  E-13
  6413.  
  6414. - Should [TabRt]/[TabLt] be allowed to shift an entire block (Y/N)?
  6415.   [N] :
  6416.     Set this option to <Y> if you want the TabRt and TabLt commands 
  6417.     to shift entire marked blocks when the cursor is within the 
  6418.     marked block.
  6419.  
  6420. The following Advanced Option has been deleted:
  6421.  
  6422.     "Do you want to invoke the editor at a specified line number"
  6423.     has been replaced with the "-n" DOS command-line option.
  6424.  
  6425.  
  6426. Under General Options:
  6427.  
  6428. - Do you want the editor to use "sticky" AutoIndent (Y/N)? [N] :
  6429.     If you want QEdit to search more than one line backward for a
  6430.     nonblank line to use for autoindenting, then set this option to
  6431.     <Y>.  AutoIndent mode must be set ON for this option to work.
  6432.     Refer to the "Modes" section of Chapter 1 for more information 
  6433.     on AutoIndent mode.
  6434.  
  6435. - Do you want a beep on warning messages and missed searches (Y/N)?
  6436.   [N] :
  6437.   Select <Y> if you want the bell to sound on any QEdit warning
  6438.   message and whenever there is no match resulting from a Find or
  6439.   FindReplace command.
  6440.  
  6441.  
  6442. Under Printer Options:
  6443.  
  6444. - Default top margin for printing [0..100] :
  6445.     This is the number of lines that will be left blank at the top 
  6446.     of each page during printing.
  6447.  
  6448. - Default bottom margin for printing [0..100] :
  6449.     This is the number of lines that will be left blank at the 
  6450.     bottom of each page during printing.
  6451.  
  6452.  
  6453. New Macros
  6454. ==========
  6455. New features added since version 2.07, such as the Pause command and
  6456. the ability to use the Paste command inside dialogue boxes, make
  6457. several new and interesting macros possible.  The following are some
  6458. sample macros, utilizing these new features, which you might find
  6459. useful.
  6460.  
  6461. The macros in this section can be assigned to any key you desire in
  6462. the Keyboard Definition file.  For more information about creating
  6463. macros refer to the "Keyboard Configuration" section of Chapter 2.
  6464.  
  6465.  E-14
  6466.  
  6467. - For example, suppose you wanted to create a "find" command that
  6468.   always searched forward, ignored case, and didn't prompt you for
  6469.   options.  In the QCONFIG.DAT file, assign to whatever key you like
  6470.   (f7 in this example):
  6471.  
  6472.   f7 MacroBegin Find Pause Return 'i' Return
  6473.  
  6474.   If you wanted to get really fancy, you could let <f7> be your
  6475.   find-forward, and <shift f7> be your find-backward:
  6476.  
  6477.   #f7 MacroBegin Find Pause Return 'ib' Return
  6478.  
  6479. - A macro to take the filename at the current cursor position and 
  6480.   load that file into the editor (In QEdit this macro has been 
  6481.   assigned by default to <Ctrl ]>.):
  6482.  
  6483.   MacroBegin AltWordSet MarkWord Copy EditFile Paste Return
  6484.              DefaultWordSet
  6485.  
  6486.   This macro does the following:
  6487.  
  6488.   AltWordSet     - sets the proper word set for filenames
  6489.   MarkWord       - marks the filename at the current cursor position
  6490.   Copy           - copies the filename into the scrap buffer
  6491.   EditFile       - initiates the EditFile command
  6492.   Paste          - inserts the copied filename into the prompt box
  6493.   Return         - terminates the EditFile prompt
  6494.   DefaultWordSet - restores the normal word set
  6495.  
  6496. - A macro to initiate a Find on the word at the current cursor
  6497.   position (In QEdit this macro has been assigned by default to
  6498.   <Alt =>.):
  6499.  
  6500.   MacroBegin MarkWord Copy Find Paste Return Return
  6501.  
  6502.   This macro does the following:
  6503.  
  6504.   MarkWord       - marks the word at the current cursor position
  6505.   Copy           - copies the word into the scrap buffer
  6506.   Find           - initiates the Find command
  6507.   Paste          - inserts the copied word into the prompt box
  6508.   Return         - terminates the search string prompt box
  6509.   Return         - terminates the Find options prompt box
  6510.  
  6511.  E-15
  6512.