home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / tse2jr4.zip / TSEJR2.DOC < prev    next >
Text File  |  1997-02-21  |  295KB  |  6,928 lines

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