home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / AUROR112.ZIP / A.DOC < prev    next >
Text File  |  1993-11-17  |  224KB  |  5,519 lines

  1.  
  2.  
  3.  
  4.   T h e   A u r o r a   E d i t o r   U s e r ' s   G u i d e
  5.   ───────────────────────────────────────────────────────────
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.   The Aurora Editor User's Guide
  16.  
  17.   Version 1.12, November 1993  (unregistered)
  18.  
  19.   Copyright (c) 1993 Aurora Terra, Inc.
  20.  
  21.   ALL RIGHTS RESERVED.
  22.  
  23.  
  24.  
  25.  
  26.  
  27.   Aurora Terra, Inc.
  28.   P.O. Box 34275
  29.   Bethesda, MD. 20827-0275  USA
  30.   (301)-468-2255  (Voice)
  31.  
  32.  
  33.  
  34.  
  35.   The Aurora Editor is Copyright (c) 1993 by Aurora Terra, Inc.
  36.   The Aurora Editor/386 is Copyright (c) 1993 by Aurora Terra, Inc.
  37.   The Aurora Macro Language is Copyright (c) 1993 by Aurora Terra, Inc.
  38.  
  39.   No parts of The Aurora Editor software or this document may be copied
  40.   in part or in whole, except as provided by the License in the
  41.   following pages.
  42.  
  43.   This version of The Aurora Editor is NOT public domain or free
  44.   software, but is distributed as "shareware" for evaluation purposes
  45.   only. Please refer to the license information in the following pages.
  46.  
  47.   The Aurora Editor is a trademark of Aurora Terra, Inc.
  48.   The Aurora Editor/386 is a trademark of Aurora Terra, Inc.
  49.   The Aurora Macro Language is a trademark of Aurora Terra, Inc.
  50.  
  51.   Other product names found throughout this document are trademarks of
  52.   various companies.
  53.                                                             License   ii
  54.  
  55.  
  56.   Copyright and Proprietary Rights
  57.   ────────────────────────────────
  58.  
  59.   The Aurora Editor software is owned by Aurora Terra, Inc. and is
  60.   protected by United States copyright laws and international treaty
  61.   provisions. The Aurora Editor software contains valuable trade secrets
  62.   proprietary to Aurora Terra, Inc. You may not disassemble, decompile,
  63.   reverse engineer, or create any derivative works of the software for
  64.   any purpose other than making an adaptation to the software as a
  65.   normal step in configuring it for your own personal use.
  66.  
  67.  
  68.   License and Restrictions
  69.   ────────────────────────
  70.  
  71.   Aurora Terra grants individuals a limited license to use the shareware
  72.   version of The Aurora Editor for an evaluation period of up to 30 days
  73.   in order to determine if it suits their needs. Any other use of The
  74.   Aurora Editor, or use past the 30 day trial period requires the
  75.   individual to purchase a license from Aurora Terra.
  76.  
  77.   The Aurora Editor is not "public domain" or "free" software. If you
  78.   use it beyond the 30-day trial you MUST purchase a license.
  79.  
  80.   All users are granted a limited license to copy the shareware version
  81.   of The Aurora Editor for the sole purpose of allowing others to try
  82.   it, subject to the above as well as the following restrictions:
  83.  
  84.   - The Aurora Editor must be distributed in absolutely unmodified form
  85.     in its entirety, including all file names, program code,
  86.     documentation, and any related files. No other programs or files may
  87.     be included. The files may be distributed in a compressed or library
  88.     format.
  89.  
  90.   - The Aurora Editor may not be included in combination with any other
  91.     software or hardware product as an enticement or for any other
  92.     reason, without special permission from Aurora Terra.
  93.  
  94.   - No fee or payment may be charged or accepted for The Aurora Editor.
  95.  
  96.  
  97.   Electronic bulletin board system operators (sysops) are encouraged
  98.   post the shareware version of The Aurora Editor on their BBS for
  99.   downloading by their users, but only if the above conditions are met
  100.   and no special fee is charged to access The Aurora Editor files (a
  101.   general fee may be charged to access the BBS).
  102.  
  103.   Special restrictions apply to Disk Vendors and Retailers. For further
  104.   details, see VENDOR.DOC.
  105.                                                           Warranty   iii
  106.  
  107.  
  108.   Non-profit User Groups may distribute the shareware version of The
  109.   Aurora Editor provided the above conditions are met. These User Groups
  110.   may charge a nominal fee to cover the cost of the disk and copying of
  111.   the software.
  112.  
  113.  
  114.   Warranty Disclaimer
  115.   ───────────────────
  116.  
  117.   Aurora Terra makes no warranty of any kind, either express or implied,
  118.   including but not limited to implied warranties of merchantability and
  119.   fitness for a particular purpose, with respect to this software and
  120.   accompanying documentation.
  121.  
  122.   IN NO EVENT SHALL AURORA TERRA BE LIABLE FOR ANY DAMAGES RESULTING
  123.   FROM THE USE OF THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO, DAMAGES
  124.   FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
  125.   INFORMATION, INCIDENTAL OR CONSEQUENTIAL DAMAGES, OR OTHER FINANCIAL
  126.   LOSS ARISING OUT OF THE USE OF OR INABILITY TO USE THIS PROGRAM, EVEN
  127.   IF AURORA TERRA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  128.  
  129.  
  130.   I-1  Ordering Information
  131.   ─────────────────────────
  132.  
  133.   Purchasing a license for (or registering) The Aurora Editor, allows
  134.   you to use the product beyond the 30-day trial period. With your
  135.   registration, you will receive the complete licensed version of The
  136.   Aurora Editor with all the latest enhancements.
  137.  
  138.   Registration also entitles you to free lifetime technical support,
  139.   free and discounted upgrades, and priority notification on new updates
  140.   and releases.
  141.  
  142.   Registration costs just $44.95 plus $2 shipping ($4 overseas). For a
  143.   printed bound manual, add $10.00 plus $2 extra shipping ($5 overseas).
  144.   Maryland residents add 5% sales tax. Please register now, and help us
  145.   continue to make high quality software available to you at a low cost.
  146.  
  147.   Discounts are available for BBS sysops, educational institutions,
  148.   full-time students, US government agencies, and approved user groups.
  149.   We also offer quantity discounts and site (multi-user) licensing.
  150.   Please call or write for more information.
  151.                                                            Ordering   iv
  152.  
  153.  
  154.   For Checks, Money Orders, or Corporate Purchase Orders:
  155.  
  156.     Please Send Check, Money Order, or Corporate Purchase Order to:
  157.     Aurora Terra, P.O. Box 34275, Bethesda, MD. 20827-0275. Checks must
  158.     be drawn on a US bank and payable in US dollars.
  159.  
  160.  
  161.   For Credit Card Orders only:
  162.  
  163.     You can order The Aurora Editor with VISA, MasterCard, AMEX, or
  164.     Discover from Public (software) Library by calling (800)-2424-PsL or
  165.     (713)-524-6394, or by FAX to (713)-524-6398, or Compuserve Email to
  166.     71355,470. Please specify item #10917. You can also mail credit card
  167.     orders to PsL at P.O. Box 35705, Houston, TX 77235-5705 USA.
  168.  
  169.  
  170.   For questions about registration, product details, technical support,
  171.   discounts, or other inquiries, call Aurora Terra at (301)-468-2255, or
  172.   write to: Aurora Terra, P.O. Box 34275, Bethesda, MD. 20827-0275, or
  173.   Compuserve Email to: 71702,1025 (internet:71702.1025@compuserve.com).
  174.  
  175.  
  176.   You can use the following convenient order form if you wish:
  177.                                                           Order Form   v
  178.  
  179.   +----------------------------------------------------------------------+
  180.   |                                                                      |
  181.   | Aurora Terra, please send me:                          Item  #10917  |
  182.   |                                                                      |
  183.   |                                                                      |
  184.   | The Aurora Editor v1.12 ........................... $44.95  $______  |
  185.   |                                                                      |
  186.   | Printed Bound Manual ................................. $10  $______  |
  187.   |                                                                      |
  188.   | Shipping (US/Canada/Mexico) ......... $2  (with manual $4)           |
  189.   |          (Overseas) ................. $4  (with manual $9)  $______  |
  190.   |                                                                      |
  191.   |                                                 Subtotal 1  $______  |
  192.   |                                                                      |
  193.   |                                                x  Quantity   ______  |
  194.   |                                                                      |
  195.   |                                                 Subtotal 2  $______  |
  196.   |                                                                      |
  197.   | Maryland residents please add 5% Sales Tax ...............  $______  |
  198.   |                                                                      |
  199.   | Disk Type:  ( ) 5.25"   ( ) 3.5"                     TOTAL  $______  |
  200.   |                                                                      |
  201.   +----------------------------------------------------------------------+
  202.   |                                                                      |
  203.   | Name: _____________________________________________________________  |
  204.   |                                                                      |
  205.   | Company (if company address): _____________________________________  |
  206.   |                                                                      |
  207.   | Address: __________________________________________________________  |
  208.   |                                                                      |
  209.   |          __________________________________________________________  |
  210.   |                                                                      |
  211.   |          __________________________________________________________  |
  212.   |                                                                      |
  213.   | Phone (day): __________________   Phone (Evening): ________________  |
  214.   |                                                                      |
  215.   |                                                                      |
  216.   | Payment by:  ( ) Check/Money Order  ( ) PO#_______________ (attach)  |
  217.   |              ( ) VISA  ( ) MC  ( ) AMEX  ( ) DISCOVER                |
  218.   |                                                                      |
  219.   +----------------------------------------------------------------------+
  220.   |                                                                      |
  221.   | For Credit Card FAX or EMail Orders only:                            |
  222.   |                                                                      |
  223.   |   Card #______________________________________ Exp. Date:__________  |
  224.   |                                                                      |
  225.   |   Cardholder name:_________________________________________________  |
  226.   |                                                                      |
  227.   |   Signature:_______________________________________________________  |
  228.   |                                                                      |
  229.   |                                                                      |
  230.   | Prices are subject to change without notice. Call to confirm.        |
  231.   |                                                                      |
  232.   +----------------------------------------------------------------------+
  233.                                                                          
  234.  
  235.                                                   Table of Contents   vi
  236.  
  237.  
  238.   Table of Contents
  239.   ─────────────────
  240.  
  241.   I-1. Ordering Information..........................................iii
  242.   I-2. Acknowledgements.............................................viii
  243.   I-3. Introduction...................................................ix
  244.   I-4. Features........................................................x
  245.   I-5. Hardware and Software Requirements.............................xi
  246.   I-6. Installation..................................................xii
  247.   I-7. The Documentation............................................xiii
  248.  
  249.   1-1. Getting Started.................................................1
  250.  
  251.   2-1. Windows.........................................................2
  252.   2-2. Learning to use the Windows.....................................3
  253.   2-3. Panning the Screen..............................................6
  254.   2-4. Window Styles...................................................6
  255.   2-4. Window Styles...................................................6
  256.   2-5. Video Modes.....................................................7
  257.   2-6. Prompts.........................................................7
  258.  
  259.   3-1. Using the Menus................................................10
  260.  
  261.   4-1. The Status Line................................................12
  262.  
  263.   5-1. Creating and Loading Files.....................................13
  264.   5-2. Saving and Discarding Files....................................15
  265.   5-3. Other File Commands............................................18
  266.  
  267.   6-1. Finding Your Way Around........................................20
  268.   6-2. Scrolling......................................................25
  269.   6-3. Modifying Text.................................................26
  270.   6-4. Undo and Redo..................................................31
  271.  
  272.   7-1. OS Commands....................................................32
  273.  
  274.   8-1. Using Marked Blocks............................................34
  275.  
  276.   9-1. The Clipboard..................................................40
  277.  
  278.   10-1. Folding Text..................................................42
  279.  
  280.   11-1. Search and Replace............................................44
  281.  
  282.   12-1. Printing......................................................50
  283.  
  284.   13-1. Window Settings...............................................52
  285.   13-2. Global Settings...............................................55
  286.                                                  Table of Contents   vii
  287.  
  288.  
  289.   14-1. Key Macros....................................................59
  290.  
  291.   15-1. Other Commands................................................61
  292.   15-2. Miscellaneous Library Functions...............................62
  293.  
  294.   16-1. The File Manager..............................................66
  295.   16-2. Creating a File Manager Window................................67
  296.   16-3. Changing the Directory Listing in a File Manager Window.......68
  297.   16-4. File Manager Commands.........................................68
  298.   16-5. Marking Files in the File Manager.............................71
  299.   16-6. File Manager Sorting..........................................73
  300.  
  301.   17-1. Configuration.................................................73
  302.   17-2. Configuration - Video.........................................73
  303.   17-3. Configuration - Mouse.........................................74
  304.   17-4. Configuration - Word Processing...............................75
  305.   17-5. Configuration - Default File Extensions.......................76
  306.   17-6. Configuration - Open Options..................................77
  307.   17-7. Configuration - Save Options..................................79
  308.   17-8. Configuration - Editing Preferences...........................79
  309.   17-9. Configuration - Window Preferences............................86
  310.   17-10. Configuration - Print Settings...............................87
  311.   17-11. Configuration - Desktop Options..............................90
  312.   17-12. Configuration - Memory Options...............................91
  313.   17-13. Configuration - Other Options................................92
  314.   17-14. Configuration - Character Sets...............................92
  315.   17-15. Configuration - Confirmations................................93
  316.   17-16. Configuration - Colors.......................................93
  317.   17-17. Configuration - Borders......................................94
  318.  
  319.   18-1. Redefining the Keyboard.......................................96
  320.   18-2. Key Function Names............................................97
  321.   18-3. Defining Compound Keys........................................99
  322.   18-4. Mouse Function Names.........................................100
  323.   18-5. Defining Menus...............................................100
  324.   18-6. The Tool Bar.................................................102
  325.  
  326.   A-1. Command Line Options..........................................105
  327.  
  328.   B-2. Performance Tips..............................................106
  329.  
  330.                                                  Acknowledgements   viii
  331.  
  332.  
  333.   I-2  Acknowledgements
  334.   ─────────────────────
  335.  
  336.   The Aurora Editor has taken several years and thousands of hours to
  337.   develop. Many have contributed to this effort, but two people deserve
  338.   special thanks:
  339.  
  340.   Stu Russell, for his endless patience and words of encouragement over
  341.   the years.
  342.  
  343.   Guy Rouillier, for his valuable support, suggestions, and advice.
  344.  
  345.                                                        Introduction   ix
  346.  
  347.  
  348.   I-3  Introduction
  349.   ─────────────────
  350.  
  351.   The Aurora Editor is a powerful and beautiful general-purpose text
  352.   editor for IBMPC and compatible computers. Although The Aurora Editor
  353.   is primarily oriented toward editing text files, program source, and
  354.   binary files, it can also be easily used for Word Processing and File
  355.   Management tasks. The unregistered version of The Aurora Editor is
  356.   fully functional.
  357.  
  358.   Many people who use computers spend a large portion of their time in a
  359.   text editor. A text editor should be an attractive and fun place to
  360.   be. It should be fast, flexible, and intuitive, with the power to
  361.   provide almost any editing function needed. Limits should seldom be a
  362.   concern. It should "feel good" to be there. The Aurora Editor was
  363.   designed with all these goals in mind.
  364.  
  365.   The Aurora Editor is programmed in it's own macro language - "The
  366.   Aurora Macro Language". The Aurora Macro Language is an object
  367.   oriented, event-driven language that is very simple in syntax, yet
  368.   powerful in function. Both the macro language compiler and interpreter
  369.   are available as functions within the macro language itself. The
  370.   Aurora Macro Language can provide great flexibility in configuring the
  371.   editor to suit your needs.
  372.  
  373.   In its current form, The Aurora Editor is a very powerful and
  374.   sophisticated product. But it doesn't end there. The Aurora Editor is
  375.   an ongoing project and will continue to be enhanced in many important
  376.   and exciting new ways. Registering now ensures that you will receive
  377.   discounts and priority access to any new version or update, even if
  378.   later versions are no longer shareware.
  379.  
  380.  
  381.   I-4  Features
  382.   ─────────────
  383.  
  384.   These are just some of the outstanding features of The Aurora Editor:
  385.  
  386.   - High Performance! The screen, windows, file loading and saving, and
  387.     searching are all very fast.
  388.  
  389.   - Superb text mode windowing! Fast, beautiful, and seamless. Combines
  390.     the usability of graphical user interfaces with the speed of text
  391.     mode. Many different window styles. Edit any number of files. Edit
  392.     the same file in multiple windows, or different files in the same
  393.     window. Includes a 64k x 64k Virtual Screen!
  394.  
  395.   - Edits multiple files of virtually any size. A very fast, huge ONE
  396.     GIGABYTE paged virtual memory will satisfy even the most power
  397.     hungry user. Automatically uses XMS and EMS memory for even faster
  398.     editing of large files.
  399.                                                             Features   x
  400.  
  401.  
  402.   - A built-in sophisticated object-oriented macro language, "The Aurora
  403.     Macro Language", allows unparalleled flexibility in extending and
  404.     configuring the editor to your own preferences.
  405.  
  406.   - "The Aurora Editor/386", an even faster (and smaller) 386 version of
  407.     The Aurora Editor, is provided for users with 386 or greater
  408.     processors.
  409.  
  410.   - Full mouse support for moving and resizing windows, working with
  411.     menus and dialog boxes, scrolling, marking text, etc.
  412.  
  413.   - Includes an integrated multi-instance programmable File Manager. You
  414.     can perform most file management tasks without ever leaving the
  415.     editor.
  416.  
  417.   - Unlimited multi-level Undo/Redo of almost all editing operations.
  418.  
  419.   - Nested Text Folding, a rare and useful feature.
  420.  
  421.   - Maximum line length of 16000.
  422.  
  423.   - Supports binary viewing and editing using any line length up to
  424.     16000.
  425.  
  426.   - Supports any 1 or 2 character line delimiters (CR, CRLF, LF, and
  427.     more).
  428.  
  429.   - Executes DOS commands and programs from within the editor. The
  430.     editor shrinks down to only 1.2K.
  431.  
  432.   - User-definable menus, tool bar, keyboard, window appearances, and
  433.     editing preferences.
  434.  
  435.   - Tailored prompts. Includes Dialog boxes for first-time users, and
  436.     single-line command prompts for experienced users.
  437.  
  438.   - Grep-type file scan
  439.  
  440.   - Unlimited Bookmarks
  441.  
  442.   - Compiler support for Microsoft C, Borland C, and Turbo Pascal. Jump
  443.     instantly to compiler errors in your source code.
  444.  
  445.   - Prompt History
  446.  
  447.   - Automatically remembers previous windows positions, cursor positions,
  448.     and desktop on exit. A real time saver.
  449.  
  450.   - A full set of Block commands
  451.  
  452.   - Unlimited number of Clipboards
  453.                                                        Requirements   xi
  454.  
  455.  
  456.   - Formatted Printing with Headers, Footers, Page Numbers and Line
  457.     Numbers.
  458.  
  459.   - Online Help
  460.  
  461.   - Keyboard Macros
  462.  
  463.   - Word wrap, AutoIndent, and Paragraph Text Reflow
  464.  
  465.   - Multiple default file extensions
  466.  
  467.   - Many other features: multiple video modes, line-drawing, ascii
  468.     chart, and much more!
  469.  
  470.  
  471.   I-5  Hardware and Software Requirements
  472.   ───────────────────────────────────────
  473.  
  474.   To use The Aurora Editor you will need an IBMPC or compatible computer
  475.   with at least the following:
  476.  
  477.     - 512 kilobytes of memory
  478.     - at least 600 kilobytes of hard disk space
  479.     - a diskette drive
  480.     - A color or monochrome monitor
  481.     - DOS 3.1 or greater
  482.     - The Aurora Editor v1.12
  483.  
  484.   A 286 or above processor is recommended.
  485.  
  486.  
  487.  
  488.   I-6  Installation
  489.   ─────────────────
  490.  
  491.   Before using or installing The Aurora Editor, it is very important
  492.   that you take a moment to backup all of the distributed files. If you
  493.   do not backup, there will be no way to restore the original
  494.   configuration files if you modify them.
  495.  
  496.   To install The Aurora Editor, just copy the files from the
  497.   distribution diskette(s) to the drive and directory of your choice,
  498.   and uncompress them if they are compressed. Add this directory to your
  499.   DOS 'PATH' for easier access to The Aurora Editor.
  500.  
  501.                                                       Installation   xii
  502.  
  503.  
  504.   The following files are distributed with The Aurora Editor:
  505.  
  506.     Executable Files:
  507.       A.EXE     - The Aurora Editor (Macro Language Interpreter/Compiler)
  508.       A3.EXE    - The Aurora Editor/386 (Macro Language Interpreter/Compiler)
  509.       A.X       - compiled macro code for The Aurora Editor
  510.  
  511.     Macro Source and Libraries:
  512.       A.A       - the main macro source file for The Aurora Editor
  513.       ACFG.A    - configuration settings (included by A.A)
  514.       AKBD.A    - keyboard and mouse definitions (included by A.A)
  515.       AMEN.A    - menu definitions (included by A.A)
  516.       ALIB.X    - compiled macro library code (included by A.A)
  517.  
  518.     Documentation:
  519.       A.DOC     - The Aurora Editor Users Guide (this document)
  520.       AML.DOC   - The Aurora Macro Language Guide
  521.       AREF.DOC  - The Aurora Editor Quick Reference
  522.       READ.ME   - New features and other information
  523.  
  524.  
  525.   I-7  The Documentation
  526.   ──────────────────────
  527.  
  528.   This is "The Aurora Editor Users Guide". It provides basic information
  529.   on how to install, configure, and use The Aurora Editor. For complete
  530.   documentation on The Aurora Macro Language, see "The Aurora Macro
  531.   Language Guide" (AML.DOC).
  532.  
  533.   If you are viewing this document with The Aurora Editor, you can use
  534.   the "Help" pull-down menu <F1> to jump quickly to any topic in the
  535.   document. You can print this document using the DOS "print" command.
  536.  
  537.   The Aurora Editor is a highly configurable editor. Please note that
  538.   most key and mouse definitions, menu definitions, and configuration
  539.   settings used in this documentation are installation defaults. You can
  540.   customize most of these definitions and settings to according to your
  541.   own preferences.
  542.  
  543.   The File ALIB.X contains many compiled editor commands written in The
  544.   Aurora Macro Language. These editor commands are referred to as
  545.   "library functions", and can be used in the Keyboard Definitions file
  546.   AKBD.A, the Menu Definitions file AMEN.A, and the Macro Command
  547.   prompt. All library functions are generally available for use within
  548.   The Aurora Macro Language. This documentation explains each of these
  549.   library functions as "editor commands".
  550.                                                     Documentation   xiii
  551.  
  552.  
  553.   Editor commands are generally listed in the following format
  554.   throughout the User's Guide:
  555.  
  556.     - command  "Menu Description"  <key definition>
  557.  
  558.   For example, the command to display the "open" prompt is listed as:
  559.  
  560.     - askopen  "Open.."  <Alt-E>
  561.  
  562.   In some cases, command parameters may be included as part of the
  563.   command. Some commands do not have default key assignments at
  564.   installation time. For these commands, the "<key definition>" is
  565.   omitted. Also, some commands are not (by default) on the menus. For
  566.   these commands the "Menu Description" is omitted.
  567.  
  568.   Note that only "library" functions (editor commands) are documented
  569.   here in The Aurora Editor User's Guide. Library functions are built up
  570.   from lower-level macros and native functions in the Aurora Macro
  571.   Language and are usually all that is required for most editing tasks.
  572.   For documentation on macro language native functions, see "The Aurora
  573.   Macro Language Guide".
  574.                                                      Getting Started   1
  575.  
  576.  
  577.   1-1  Getting Started
  578.   ────────────────────
  579.  
  580.   To start The Aurora Editor, just type "A" at the DOS command prompt.
  581.   If you have computer with a 386 or greater processor, you can start
  582.   The Aurora Editor/386 by typing "A3" at the DOS command prompt.
  583.  
  584.     Note: If you prefer to start The Aurora Editor or The Aurora
  585.     Editor/386 by other names, you can rename the files A.EXE and A3.EXE
  586.     to whatever you wish (such as "E.EXE"). Make sure you keep the
  587.     ".EXE" extension. Do not rename any other files distributed with The
  588.     Aurora Editor. All distributed files must be in the same directory.
  589.  
  590.   If this is the first time you are using The Aurora Editor, a File
  591.   Manager window will be displayed showing all files in the current
  592.   directory. To edit a file, just use the cursor keys to position the
  593.   highlighted bar over a file and then press <Enter>. An Edit window
  594.   will be displayed showing the contents of the file.
  595.  
  596.   You can bypass the File Manager by entering a filename after the "A"
  597.   or "A3" command at the DOS prompt. For example:
  598.  
  599.     C>a newfile.txt
  600.  
  601.   When the Edit window is displayed, you are ready to begin editing. You
  602.   can now use the cursor movement keys, the <PgUp>, <PgDn>, <Home>, and
  603.   <End> keys, and the mouse (if available) to move through the text. You
  604.   can press <Esc> to activate the pull-down menu system and explore the
  605.   features of The Aurora Editor.
  606.  
  607.   If you need on-line help at any time, just press <F1> to display the
  608.   "Help" pull-down menu.
  609.  
  610.  
  611.   Exiting The Aurora Editor
  612.   ─────────────────────────
  613.  
  614.   To exit The Aurora Editor, keep pressing <Alt-Q> to close each window
  615.   you have opened. You can also close each window by clicking the left
  616.   mouse button on the "close" icon (≡) in the upper left corner of the
  617.   window, or by selecting "Close" from the "File" pull-down menu. If you
  618.   have not saved any changes, you will be prompted to save them.
  619.  
  620.   A quicker way to exit is to press <Alt-X>, or select "Close All" from
  621.   the File pull-down menu. This will automatically close all windows.
  622.   Again, you may be prompted to save any changes.
  623.                                                              Windows   2
  624.  
  625.  
  626.   2-1  Windows
  627.   ────────────
  628.  
  629.   The Aurora Editor provides a beautiful, intuitive windowing
  630.   environment that works well for both first-time and experienced users.
  631.   Windows are used to edit files, operate the File Manager, and display
  632.   prompts and dialog boxes. All windowing functions can be operated by
  633.   using the menus, the mouse, or user-defined function keys.
  634.  
  635.   A window in The Aurora Editor looks and behaves much like an
  636.   application window in Microsoft Windows, which allows for quick and
  637.   easy operation by most first-time users. When you become more familiar
  638.   with The Aurora Editor, you can even configure the window layout to
  639.   your own preferences (see "Window Styles" 2-4). Each window has a
  640.   "client area" (the main display area), and optional title bars, menus,
  641.   tool bars, scroll bars, and borders. The following is a sample Edit
  642.   window:
  643.  
  644.  
  645.     Close Icon       North Title Bar        Status Line      Tool Bar ─┐
  646.        │                   │                   │                       │
  647.        │    North Title    │      Menu Bar     │ Min/Max/Restore Icons │
  648.        │        │          │        │          │            │          │
  649.     ▒▒▒│▒▒░░░░░░│░░░░░░░░░░│░░░░░░░░│░░░░░░░░░░│░░░░░░░░░░░░│▒▒▒▒▒     │
  650.     ▒▒ ≡ C:\DOC\NEWDOC.TXT ┴  * [20]│ C 12  L 153  of 321  └  ▒▒     │
  651.     ▒▒ File  Window  Block  Search  Fold  Edit  Clip  Print  Set▒▒     │
  652.     ░░ <≡>  <?>  <*>  </>  <->  <|>  <o>  <s>  <F>  <f>  <r> ──────────┘
  653.     ░░                                                         ░░
  654.     ░░ This is the Edit window client area                     ▒───┐
  655.     ░░                                                         ■░░ │
  656.     ░░                                                         ▒░░ │
  657.     ░░                                                         ░░ │
  658.     ▒▒▒▒▒■▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
  659.     ▒▒                           ┬          │   ┌─ Aurora v1.12 ▒▒ │
  660.     ▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░│░░░░░░░░░░│░░░│░░░░░░░░░░░▒▒▒▒▒▒ │
  661.       │             │            │          │   │                  │
  662.     Corner          │     South Title Bar   │  South Title         │
  663.                     │                       │                      │
  664.                   Border              Horz Scroll Bar    Vert Scroll Bar
  665.  
  666.  
  667.   For Edit windows, the file you are editing is displayed in the client
  668.   area. File Manager windows are similar in appearance to Edit windows,
  669.   but the client area displays a listing of files and directories (see
  670.   "The File Manager" 16-1).
  671.  
  672.   The Aurora Editor will allow any number of overlapping Edit windows
  673.   and File Manager windows to be arranged on top of each other in a
  674.   "messy desk" style on your screen.
  675.                                                               Windows  3
  676.  
  677.  
  678.   2-2  Learning to use the Windows
  679.   ────────────────────────────────
  680.  
  681.   Editor windows are easy to control with the mouse or the keyboard. You
  682.   can also execute most window commands from the "Window" pull-down on
  683.   the menu bar. The following are some important window commands:
  684.  
  685.   - to "activate" a window with the mouse:
  686.  
  687.     Using the mouse, you can click the left mouse button on any visible
  688.     portion of a window to bring the window to the top and make it the
  689.     current or "active" window.
  690.  
  691.   - wlis  "List.."  <Alt-W>
  692.  
  693.     This command displays a menu which lists all the Edit and File
  694.     Manager windows in your current session. To bring one of the
  695.     displayed windows to the top and make it the current window, use the
  696.     cursor keys to position the highlighted bar over the window name and
  697.     press <Enter>. You can also select the window from the list using
  698.     the left mouse button.
  699.  
  700.     Note: the window list can also be displayed by double-clicking the
  701.     left mouse button on the screen background.
  702.  
  703.   - quit %p  "Close"  <Alt-Q>
  704.  
  705.     This command closes the current window and removes it from the
  706.     screen. If you are closing an Edit window and you have made changes
  707.     which have not been saved, The Aurora Editor will prompt you to save
  708.     them. You can also close a window by clicking the left mouse button
  709.     on the "close" icon (≡) in the upper left corner of the window.
  710.  
  711.     If there is another window underneath the window you just closed,
  712.     that window will become the "current" window, otherwise you will
  713.     exit the editor.
  714.  
  715.   - wnex  "Next"  <Ctrl-A>
  716.  
  717.     This command cycles through the windows in a forward direction. The
  718.     bottom-most window is placed on top of the current window and
  719.     becomes the current window.
  720.  
  721.   - wpre  "Prev"
  722.  
  723.     This command cycles through the windows in a reverse direction. The
  724.     window underneath the current window becomes the current window, and
  725.     the current window is moved underneath all other windows on the
  726.     screen.
  727.                                                              Windows   4
  728.  
  729.  
  730.   Several commands can be used to move and resize windows:
  731.  
  732.   - to move or resize a window with the mouse:
  733.  
  734.     To move the window, position the mouse over the window's north or
  735.     south title bar and press the left mouse button. Then drag the
  736.     window to the new location and release the left mouse button.
  737.  
  738.     To resize the window, position the mouse over one of the window
  739.     borders or corners and press the left mouse button. Then drag the
  740.     border or corner to the new location and release the left mouse
  741.     button.
  742.  
  743.   - wkey  "Move/Size"  <Ctrl-F5>
  744.  
  745.     This command allows you to move and resize the current window using
  746.     the cursor keys. When this command is entered, the editor is placed
  747.     in "move/resize" mode, and the border of the current window is
  748.     highlighted to indicate that it is being moved or resized.
  749.  
  750.     To move the window, just press the cursor keys until the window has
  751.     moved to the desired position, and then press <Enter> or <Esc> to
  752.     stop.
  753.  
  754.     To resize the window, press the cursor keys while the <Shift> key is
  755.     pressed down. You can resize the left and bottom borders of the
  756.     window. Press <Enter> or <Esc> to stop.
  757.  
  758.   - wmax  "Maximize"  <Ctrl-Z>
  759.  
  760.     This command "maximizes" or resizes the current window to make it
  761.     fill the entire screen so that the borders are not visible. You can
  762.     also maximize a window with the mouse by clicking the left mouse
  763.     button on the "maximize" icon () in the upper right corner of the
  764.     window, or by double clicking on the north or south title bar.
  765.  
  766.   - wmin  "Minimize"
  767.  
  768.     This command "minimizes" or resizes the current window so that only
  769.     the title bar displaying the file or directory name is visible.
  770.     Using the mouse, you can minimize a window by clicking the left
  771.     mouse button on the "minimize" icon () in the upper right corner of
  772.     the window.
  773.                                                              Windows   5
  774.  
  775.  
  776.   - wres  "Restore"
  777.  
  778.     This command restores the size of a previously minimized or
  779.     maximized window. Using the mouse, you can restore the window by
  780.     clicking the left mouse button on the "restore" icon () in the
  781.     upper right corner of the window, or by double clicking on the north
  782.     or south title bar.
  783.  
  784.  
  785.   Several commands are available for arranging windows on the screen.
  786.   These commands operate on all non-minimized windows in the current
  787.   edit session.
  788.  
  789.   - wcasc  "Cascade"  <Shift-F5>
  790.  
  791.     This command will cascade all the windows on the screen.
  792.  
  793.   - wtileh  "Tile Horz"  <Shift-F4>
  794.  
  795.     This command will horizontally tile all the windows on the screen.
  796.     The "TileNum" configuration setting affects the way windows are
  797.     tiled (see "Configuration - Window Preferences" 17-9).
  798.  
  799.   - wtilev  "Tile Vert"  <Shift-F3>
  800.  
  801.     This command will vertically tile all the windows on the screen. The
  802.     "TileNum" configuration setting affects the way windows are tiled
  803.     (see "Configuration - Window Preferences" 17-9).
  804.  
  805.   There are three commands that allow you to edit the same file in more
  806.   than one window. These commands work only in Edit windows:
  807.  
  808.   - wcopy  "Copy"  <Ctrl-C>
  809.  
  810.     This command copies the current Edit window and cascades it with the
  811.     original. The new window will edit the same file in memory as the
  812.     original window, and have the same size and cursor position.
  813.  
  814.   - wspl %h  "Split Horz"  <Alt-H>
  815.  
  816.     This command splits the current Edit window horizontally. The new
  817.     window will edit the same file in memory as the original window.
  818.  
  819.   - wspl %v  "Split Vert"  <Alt-V>
  820.  
  821.     This command splits the current Edit window vertically. The new
  822.     window will edit the same file in memory as the original window.
  823.  
  824.   - wquit %p  <Ctrl-K-Q>
  825.  
  826.     This command closes the current window. If the window is an Edit
  827.     window and the "OneWindow" configuration setting is OFF, this
  828.     command also closes the file in the window (see "Configuration -
  829.     Editing Preferences" 17-8).
  830.                                                              Panning   6
  831.  
  832.  
  833.   2-3  Panning the Screen
  834.   ───────────────────────
  835.  
  836.   The physical screen that you see when you use The Aurora Editor is
  837.   only a small window into the "virtual" screen actually used by the
  838.   editor, in the same way that an Edit window can be a small window into
  839.   a much larger file. To The Aurora Editor, the actual screen size is
  840.   64k x 64k characters!
  841.  
  842.   When the editor is initially loaded, the physical screen is located at
  843.   column 16000 and row 16000 of the virtual screen. You can adjust this
  844.   mapping of the physical screen to the virtual screen by using the
  845.   video "panning" commands:
  846.  
  847.   - to "pan" using the mouse:
  848.  
  849.     To pan the screen, position the mouse over the screen background and
  850.     press the left mouse button. Then just drag the entire screen to the
  851.     new location and release the left mouse button.
  852.  
  853.   - wkey %p  "Pan"  <Ctrl-F6>
  854.  
  855.     This command places the editor in "pan" mode, and allows you to pan
  856.     through the virtual screen using the cursor keys, When you have
  857.     panned to desired location, press <Enter> or <Esc> to stop.
  858.  
  859.  
  860.   2-4  Window Styles
  861.   ──────────────────
  862.  
  863.   You can easily configure the appearance of Edit windows and File
  864.   Manager windows to suit your own preferences (see the configuration
  865.   settings for "Window Preferences" 17-9). You can control whether or
  866.   not windows will have permanent Menu Bars, Tool Bars, Scroll Bars, and
  867.   Title Bars. You can also configure the location of the window Title,
  868.   Status Line, and Control Icons.
  869.  
  870.   The following command on the "Windows" pulldown menu can be used to
  871.   change Edit window styles within an edit session:
  872.  
  873.   - winsty  "Style Toggle"  <Ctrl-F7>
  874.  
  875.     This command toggles through about 13 "common" Edit window styles.
  876.     When this command is entered, the styles of all open Edit windows
  877.     are changed immediately. You can use the "setsav" command to save
  878.     the current Edit window style ("Save Current Settings" on the "Set"
  879.     pull-down menu).
  880.  
  881.     Note: this command only changes the style of Edit windows, not File
  882.     Manager windows.
  883.                                                          Video Modes   7
  884.  
  885.  
  886.   2-5  Video Modes
  887.   ────────────────
  888.  
  889.   The video mode used by The Aurora Editor can be changed during an
  890.   editing session from the "Set" pulldown menu under the "Video Mode"
  891.   submenu. You can choose from the following video modes:
  892.  
  893.     - 80 cols x 14 rows  (vga only)
  894.     - 80 cols x 21 rows  (vga only)
  895.     - 80 cols x 25 rows
  896.     - 80 cols x 28 rows  (vga only)
  897.     - 80 cols x 43 rows  (ega & vga only)
  898.     - 80 cols x 50 rows  (vga only)
  899.  
  900.     - 40 cols x 25 rows
  901.  
  902.  
  903.   You can also use the following commands to change the video mode:
  904.  
  905.   - vfont %t  "Video Toggle"  <Ctrl-F1>
  906.  
  907.     This command toggles back and forth between the 80 x 25 video mode
  908.     and the 80 x 50 video mode.
  909.  
  910.   - vfont  [columns]  [rows]
  911.  
  912.     This command sets the number of columns and rows displayed on the
  913.     video screen. Acceptable values for [columns] are 40 and 80.
  914.     Acceptable values for rows are: 12, 14, 21, 25, 28, 43, and 50.
  915.  
  916.  
  917.   Using the "VidCols" and "VidRows" configuration settings, you can set
  918.   the default video mode to use when the editor is initially loaded (see
  919.   "Configuration - Video" 17-2).
  920.  
  921.   Note: The Aurora Editor will also work in other "special" video modes
  922.   supported by your video card (such as 132 x 43). To use these modes,
  923.   You must set "VidCols" and "VidRows" to zero, and then set the video
  924.   mode before starting the editor (see the documentation for your video
  925.   card). A special mouse driver may also be required to use the mouse
  926.   properly in some of these modes.
  927.  
  928.  
  929.   2-6  Prompts
  930.   ────────────
  931.  
  932.   A Prompt is a special type of window through which you can enter
  933.   information requested by The Aurora Editor. Individual prompts can be
  934.                                                              Prompts   8
  935.  
  936.  
  937.   tailored by the user to appear as dialog boxes, one-line boxes, or
  938.   command line prompts. By default, all prompts are tailored to appear
  939.   as one-line boxes at installation. More experienced users may prefer
  940.   to tailor some or all editor prompts as command lines for their small
  941.   size, and less experienced users may prefer dialog boxes (see the
  942.   "Prompts" configuration setting in "Configuration - Editing
  943.   Preferences" 17-8).
  944.  
  945.   The follow section describes the available prompt types:
  946.  
  947.  
  948.   Dialog boxes:
  949.  
  950.     If a prompt window is tailored to appear as a dialog box, the window
  951.     client area may contain edit fields, buttons, and check boxes. You
  952.     can use the mouse or the <Tab> and <Shift-Tab> keys to move back and
  953.     forth between the edit fields, buttons, and check boxes. Like Edit
  954.     windows and File Manager windows, dialog boxes can be moved anywhere
  955.     on the screen by using the mouse or keyboard.
  956.  
  957.   One-line boxes:
  958.  
  959.     If the prompt window is tailored to appear as a one-line box, it
  960.     will occupy 3 lines on the screen (2 border lines and 1 command
  961.     line), and will appear immediately above or below the current cursor
  962.     position. You can use the mouse or the keyboard to move the one-line
  963.     box anywhere on the screen. Pressing <Esc> or clicking the left
  964.     mouse button on the prompt description will close the one-line box.
  965.  
  966.   Command lines:
  967.  
  968.     If the prompt window is tailored to appear as a command line, it
  969.     will occupy only one line on the screen. It will be displayed
  970.     immediately below (or above) the title bar displaying the file or
  971.     directory name. The entire area within the window will be visible.
  972.     Pressing <Esc> or clicking the left mouse button on the prompt
  973.     description will close the command line prompt.
  974.  
  975.  
  976.   The following command on the Edit window "Window" pull-down menu can
  977.   be used to globally change the prompt type from within the editor:
  978.  
  979.   - wppt  "Prompt Toggle"
  980.  
  981.     This command toggles the prompt type (for all prompts) between
  982.     Dialog boxes, One-line boxes, and Command lines. The change is
  983.     effective immediately. Note that this command changes all prompts.
  984.     To tailor individual prompts, see the "Prompts" configuration
  985.     setting ("Configuration - Editing Preferences" 17-8).
  986.                                                              Prompts   9
  987.  
  988.  
  989.   Prompt history is available in some prompts. The following commands
  990.   can be used to retrieve prompt history in any type of prompt:
  991.  
  992.   - wrtv %p  <cursorup>
  993.  
  994.     This command retrieves the previous item in the prompt history.
  995.  
  996.   - wrtv %n  <cursordown>
  997.  
  998.     This command retrieves the next item in the prompt history.
  999.  
  1000.  
  1001.   You can also retrieve prompt history by clicking the left and right
  1002.   mouse buttons on the history tab () at the far right of the prompt.
  1003.  
  1004.   If the "SaveHis" configuration setting is ON, the prompt history for
  1005.   all prompts is saved in the file A.HIS when you exit the editor and
  1006.   restored when you re-enter (see "Configuration - Desktop Options"
  1007.   17-11).
  1008.  
  1009.   Prompt history is available in following prompts:
  1010.  
  1011.     - File prompts (Open, Open and Insert, Open Binary, Rename, Save As,
  1012.         Block Save, Load Key Macros, Save Key Macros, Run Macro, Include
  1013.         Macro, Compile Macro)
  1014.  
  1015.     - Search Prompts (Find, Replace, Scan, Place Bookmark, Go to
  1016.         Bookmark)
  1017.  
  1018.     - OS Command and Capture prompts
  1019.  
  1020.     - Macro Command prompt
  1021.                                                     Using the Menus   10
  1022.  
  1023.  
  1024.   3-1  Using the Menus
  1025.   ────────────────────
  1026.  
  1027.   Both Edit windows and File Manager windows have an easy-to-use menu
  1028.   bar with "pull-down" menus. The pull-down menus allow easy access to
  1029.   many of The Aurora Editor's commands, and also show the key
  1030.   definitions for most editor commands. They can be especially helpful when
  1031.   exploring or learning to use the editor.
  1032.  
  1033.   This diagram illustrates the menu bar and a pull-down menu:
  1034.  
  1035.   ┌────────────────────────────────────────────────────────────────────────┐
  1036.   │ File  Window  Block  Search  Fold  Edit  Clip  Print  Set  Macro  Help │
  1037.   └────────────────┬──┼───────────────────────────┬────────────────────────┤
  1038.                    │  │                           │ Print           Ctrl-P │
  1039.        Menu Bar ───┘  │      Pull Down Menu ──────┤ Print Block      Alt-P │
  1040.        Menu Bar Item ─┘      Menu Item ───────────┼─Print Formfeed         │
  1041.                                                   │ Print Settings..       │
  1042.                                                   └────────────────────────┘
  1043.  
  1044.  
  1045.   The following commands allow you to access the menu bar and pull-down
  1046.   menus:
  1047.  
  1048.   - using the mouse:
  1049.  
  1050.     Click the left mouse button on a menu bar item to display it's
  1051.     pull-down menu. If you have configured the menu bar to be invisible
  1052.     (see the "EditStyle" and "FmgrStyle" configuration variables 17-9),
  1053.     you can click the right mouse button in the window client area to
  1054.     make the menu bar visible and display the most recently used
  1055.     pull-down menu.
  1056.  
  1057.     Once the pull-down menu is displayed, click the left mouse button on
  1058.     the desired menu item to remove the pull-down menu and execute the
  1059.     editor command for that item.
  1060.  
  1061.   - menb  <Esc>, <F10>
  1062.  
  1063.     This command highlights the most recently selected menu bar item.
  1064.     You can then use the cursor left and right keys to change the
  1065.     highlighted item. Once you are on the menu bar, you can display any
  1066.     pull-down menu by typing in the menu bar item's highlighted
  1067.     character. When the desired menu bar item is highlighted, press
  1068.     <Enter> to display the pull-down menu. Pressing <Esc> will exit the
  1069.     menu bar.
  1070.  
  1071.                                                     Using the Menus   11
  1072.  
  1073.  
  1074.   - men  <Alt-F10>
  1075.  
  1076.     This command displays the most recently used pull-down menu. You can
  1077.     then use the cursor left and right keys to display the previous and
  1078.     next pull-down menu on the menu bar. Use the cursor up and down keys
  1079.     to move the highlight bar on the pull-down menu to the desired menu
  1080.     command and press <Enter> to execute it. You can also execute the
  1081.     menu command by typing in the highlighted character of the menu
  1082.     item, or by entering the function key (if any) associated with the
  1083.     menu item. Pressing <Esc> from the pull-down menu will return you to
  1084.     the menu bar.
  1085.  
  1086.     Four additional keys can be used within pull-down menus:
  1087.  
  1088.     - <Home> and <PgUp> move the cursor to the first menu item.
  1089.     - <End> and <PgDn> move the cursor to the last menu item.
  1090.  
  1091.   - men2  <Alt-T>, (and <Tab> on File Manager windows)
  1092.  
  1093.     This command highlights the first tool bar control on the Edit
  1094.     window tool bar (if present) or the first drive on the File Manager
  1095.     window drive menu bar. After this command is entered, you can use
  1096.     the <Tab>, <Shift-Tab>, <cursorleft>, and <cursorright> keys to move
  1097.     to other tool bar controls or drives. Pressing the <Enter> key will
  1098.     execute the tool bar control (or display the drive contents).
  1099.     Pressing <Esc> will remove the highlight and return the focus back
  1100.     to the Edit window or File Manager window.
  1101.  
  1102.   - menh  <F1>
  1103.  
  1104.     This command displays the help menu.
  1105.  
  1106.  
  1107.   If you wish, you can customize the whole menu system according to your
  1108.   own preferences by changing existing pull-downs, adding new pull-
  1109.   downs, etc (see "Defining the Menus" 18-5). You can also customize the
  1110.   tool bar to execute your most often-used commands (see "The Tool Bar"
  1111.   18-6).
  1112.  
  1113.   You can configure The Aurora Editor so that the menu bar is normally
  1114.   invisible and only displayed when the "menb" <Esc>,<F10> or "men"
  1115.   <Alt-F10> commands are entered, or when the right mouse button is
  1116.   pressed in the window client area. This will free up an extra line in
  1117.   the window for editing while still allowing you to use the menu system
  1118.   (see the "EditStyle" and "FmgrStyle" configuration settings 17-9).
  1119.  
  1120.   When you become more experienced with The Aurora Editor, you may
  1121.   prefer to use function keys to execute commands instead of selecting
  1122.   them from the menus. If you define your own functions keys, you will
  1123.   probably also want to change the menu pull-down definitions to show
  1124.   the new key assignments (see "Defining the Menus" 18-5).
  1125.                                                     The Status Line   12
  1126.  
  1127.  
  1128.   4-1  The Edit Window Status Line
  1129.   ────────────────────────────────
  1130.  
  1131.   By default, the Edit window status line is displayed in the north
  1132.   title bar at the upper right corner of the Edit window. Note that the
  1133.   location of the status line can be configured to be on the north or
  1134.   south title bar and can be right justified, left justified, or
  1135.   centered within the title bar (see the "EditStatus" configuration
  1136.   setting 17-9).
  1137.  
  1138.   The status line displays information about the file in an Edit window.
  1139.   The following is a sample status line:
  1140.  
  1141.   ┌──────────────────────────────────────┐
  1142.   │ SVWAMBDIR* [20]  C 12  L 153  of 321 │
  1143.   └─┬┬┬┬┬┬┬┬┬┬──┬──────┬──────┬───────┬──┘
  1144.     ││││││││││  │      │      │       │
  1145.     ││││││││││  │      │      │       └─>  total lines in the file
  1146.     ││││││││││  │      │      └───────>  line number of the cursor
  1147.     ││││││││││  │      └────────────>  column number of the cursor
  1148.     ││││││││││  └─────────────────>  hex value of the char at the cursor
  1149.     │││││││││└──────────────────>  '*' indicates file is modified
  1150.     ││││││││└─────────────────>  'R' indicates Record Mode is ON
  1151.     │││││││└────────────────>  'I' indicates Insert Mode is ON
  1152.     ││││││└───────────────>  'D' indicates Line Draw is ON
  1153.     │││││└──────────────>  'B' indicates Backup is ON
  1154.     ││││└─────────────>  'M' indicates Match Character is ON
  1155.     │││└────────────>  'A' indicates AutoIndent is ON
  1156.     ││└───────────>  'W' indicates Word Wrap is ON
  1157.     │└──────────>  'V' indicates Variable Tabs is ON
  1158.     └─────────>  'S' indicates Smart Tabs is ON
  1159.  
  1160.  
  1161.   (For more information on Record Mode, Insert Mode, DrawMode, Backup,
  1162.   Match Character, AutoIndent, WordWrap, Variable Tabs, and Smart Tabs,
  1163.   see "Window Settings" 13-1).
  1164.                                          Creating and Loading Files   13
  1165.  
  1166.  
  1167.   5-1  Creating and Loading Files
  1168.   ───────────────────────────────
  1169.  
  1170.   The Aurora Editor can simultaneously edit almost any number of files,
  1171.   each of virtually any size (the virtual memory size of The Aurora
  1172.   Editor is 1 gigabyte). Each file can be displayed and edited in one or
  1173.   more windows.
  1174.  
  1175.   There are several commands to edit new or existing files:
  1176.  
  1177.   - from the command line:
  1178.  
  1179.     After entering "A" or "A3" on the DOS command line, enter any number
  1180.     of new or existing files. For example:
  1181.  
  1182.       C>a  myfile.c new.doc *.h  <Enter>
  1183.  
  1184.     For each file specified, an Edit window will be created. If the file
  1185.     exists, it will be loaded into the Edit window. If the specified
  1186.     name contains wildcards (* or ?), or specifies a drive or directory,
  1187.     then a File Manager window will be created which lists all files and
  1188.     directories that match the file specification.
  1189.  
  1190.   - from a File Manager window:
  1191.  
  1192.     You can select files to edit from the directory listing in a File
  1193.     Manager window. The File Manager also has other commands which allow
  1194.     you manipulate files on disk (see "The File Manager" 16-1).
  1195.  
  1196.   - newf  "New"  <Ctrl-N>
  1197.  
  1198.     This command creates a new Edit window with the filename "NEW.TXT".
  1199.     The new Edit window will contain one blank line.
  1200.  
  1201.   - askopen  "Open.."  <Alt-E>
  1202.  
  1203.     This command prompts you for a filename to open. You may enter a new
  1204.     or existing filename to create an Edit window for the filename, or
  1205.     you may enter a directory name or a wildcard specification to create
  1206.     a File Manager Window. If you press <Enter> at the prompt without
  1207.     entering anything, a File Manager window will be created for the
  1208.     current directory.
  1209.  
  1210.     You can specify "open options" after the filename or directory name
  1211.     by entering a "/" character and any of the following options:
  1212.                                          Creating and Loading Files   14
  1213.  
  1214.  
  1215.       i - include the file or directory listing after the cursor in the
  1216.           current window
  1217.       b - load the file in "binary" mode (see the "askopenb" command
  1218.           below). This option is ignored when entering a directory or
  1219.           wildcard specification.
  1220.       z - maximize the new window
  1221.       n - minimize the new window
  1222.       c - new windows are the same size as the topmost window and are
  1223.           cascaded to bottom and left of the topmost window.
  1224.       e - load the file into the current edit window without discarding
  1225.           the existing file in the edit window. This option is added
  1226.           automatically if the "OneWindow" configuration setting is ON
  1227.           (see "Configuration - Editing Preferences" 17-8).
  1228.       l - enter a line number after the "l" option to position the
  1229.           cursor at the specified line number
  1230.  
  1231.     For example, entering "c:\doc\test.dat/zb" at the "askopen" prompt
  1232.     will the open the file "c:\doc\test.dat" in binary mode and display
  1233.     it in a maximized window. Entering "c:\doc\test.dat/l689" opens
  1234.     "c:\doc\test.dat" and places the cursor on line 689.
  1235.  
  1236.     Note that prompt history is available at this prompt (see "Prompts"
  1237.     2-6).
  1238.  
  1239.   - askopenb  "Open Binary.."
  1240.  
  1241.     This command works like askopen, except that if a file is specified,
  1242.     it is opened in "binary" mode. When a file is opened in binary mode,
  1243.     no characters in the file are interpreted as end-of-line delimiters.
  1244.     The entire file is loaded "as is" into an Edit window. The length of
  1245.     each line is the same (except for the last line), and is determined
  1246.     by the "BinaryLength" configuration setting (see "Configuration -
  1247.     Open Options" 17-6).
  1248.  
  1249.     "Open options" can be specified in this prompt (see "askopen"
  1250.     above).
  1251.  
  1252.     Prompt history is available at this prompt (see "Prompts" 2-6).
  1253.  
  1254.   - openlast  "Open Last"  <Alt-Z>
  1255.  
  1256.     This command re-opens the last Edit window or File Manager window
  1257.     that you closed.
  1258.  
  1259.   - open  [filename or directory]  [open options]
  1260.  
  1261.     This command opens the filename or directory with the
  1262.     specified open options (see the "askopen" command above for a description
  1263.     of open options). No Prompts are displayed. For example:
  1264.  
  1265.       open "c:\config.sys" %bc.
  1266.  
  1267.     The command above loads the file "c:\config.sys" in binary mode in a
  1268.     cascaded window.
  1269.                                          Creating and Loading Files   15
  1270.  
  1271.  
  1272.   - opena  [filename]
  1273.  
  1274.     This command opens the specified configuration file for The Aurora
  1275.     Editor (ACFG.A, AKBD.A, AMEN.A) without prompting. There is no need
  1276.     to specify a path or extension. For example:
  1277.  
  1278.       opena "akbd".
  1279.  
  1280.     The command above loads The Aurora Editor keyboard definition file.
  1281.  
  1282.  
  1283.   You can press the <Ctrl-Break> key to interrupt any of the above open
  1284.   commands in progress.
  1285.  
  1286.   Note that any files not loaded in binary mode will use the value of
  1287.   the "LineDlm" configuration setting as the line delimiter string. The
  1288.   default LineDlm setting is "0D0Ah" (carriage return and linefeed).
  1289.  
  1290.   If the "SaveWin" configuration setting is ON and the file you are
  1291.   opening was previously closed, The Aurora Editor will automatically
  1292.   restore the window size, position, settings, and cursor position
  1293.   exactly as they were before you closed the window (see "Configuration
  1294.   - Desktop Options" 17-11).
  1295.  
  1296.  
  1297.   5-2  Saving and Discarding Files
  1298.   ────────────────────────────────
  1299.  
  1300.   Several commands are available for discarding files and saving files
  1301.   to disk:
  1302.  
  1303.   - save  "Save"  <F3>
  1304.  
  1305.     This command saves the file in the current Edit window to disk. If
  1306.     the file was loaded or created as a "binary" file, it will be saved
  1307.     "as is" with no line delimiter characters, otherwise each line will
  1308.     be appended with the value of the "LineDlm" configuration setting
  1309.     (see "Configuration - Open Options" 17-6).
  1310.  
  1311.     If the "Backup" setting is ON, any existing files with the same name
  1312.     on disk will be backed-up (see "Window Settings" 13-1).
  1313.  
  1314.   - asksaveas  "Save As.."
  1315.  
  1316.     This command prompts you for a filename, and then saves the file in
  1317.     the current Edit window under that filename (just like the "save"
  1318.     command above).
  1319.  
  1320.     Prompt history is available at this prompt (see "Prompts" 2-6).
  1321.                                         Saving and Discarding Files   16
  1322.  
  1323.  
  1324.   - save  [filename]
  1325.  
  1326.     This command saves the file in the current Edit window under the
  1327.     specified filename, without prompting.
  1328.  
  1329.   - quit %p
  1330.  
  1331.     This command closes the current window and removes it from the
  1332.     screen. The file displayed in the window is also closed. If changes
  1333.     were made without saving, you will be prompted to save them.
  1334.  
  1335.     If the "SaveWin" configuration setting is ON, The Aurora Editor will
  1336.     save the window size, position, settings, and cursor position. When
  1337.     the file is edited again, the editor will automatically restore the
  1338.     window size, position, settings, and cursor position exactly as they
  1339.     were before you closed the window.
  1340.  
  1341.   - gquit %p  "Close All"  <Alt-X>
  1342.  
  1343.     This command closes all windows and files in the current edit
  1344.     session and exits the editor. If changes were made to any file
  1345.     without saving, you will be prompted to save them.
  1346.  
  1347.     If the "SaveHis" configuration setting is ON and the "BootOpt"
  1348.     configuration setting is "d" (desktop), The Aurora Editor will save
  1349.     the window size, position, settings, and cursor position for the
  1350.     windows in current edit session (i.e. the "desktop"). If you then
  1351.     re-enter the editor without specifying a filename after the "A" or
  1352.     "A3" command at the DOS prompt, the desktop will automatically be
  1353.     restored, with all windows present as they were when you left the
  1354.     editor.
  1355.  
  1356.   - quit %f
  1357.  
  1358.     This command saves the file in the current Edit window (like the
  1359.     "save" command above), and then closes the file and the window.
  1360.  
  1361.   - gquit %f  "Save and Close All"
  1362.  
  1363.     This command saves the files in all open Edit windows and exits the
  1364.     editor.
  1365.  
  1366.  
  1367.   The effects of the following commands depend on the value of the
  1368.   "OneWindow" configuration setting (see "Configuration - Editing
  1369.   Preferences 17-8).
  1370.  
  1371.   - wquit %p  <Ctrl-K-Q>
  1372.  
  1373.     If the configuration setting "OneWindow" is OFF, this command closes
  1374.     both the current window and the file displayed in the window
  1375.     (identical to the "quit %p" command above).
  1376.  
  1377.     If "OneWindow" is ON, this command closes the current window without
  1378.     closing the file displayed in the window.
  1379.                                         Saving and Discarding Files   17
  1380.  
  1381.  
  1382.   - fquit %p  "Close"  <Alt-Q>
  1383.  
  1384.     If the configuration setting "OneWindow" is OFF, this command closes
  1385.     both the current window and the file displayed in the window
  1386.     (identical to the "quit %p" command above).
  1387.  
  1388.     If "OneWindow" is ON, this command closes the file in an Edit window
  1389.     without closing the Edit window. The previous open file is displayed
  1390.     in the Edit window.
  1391.  
  1392.   - fquit %f  "Save and Close"  <Ctrl-X>
  1393.  
  1394.     If the configuration setting "OneWindow" is OFF, this command saves
  1395.     the file in the current Edit window, and then closes the file and
  1396.     the window (identical to the "quit %f" command above).
  1397.  
  1398.     If "OneWindow" is ON, this command saves and closes the file in an
  1399.     Edit window without closing the Edit window. The previous open file
  1400.     is displayed in the Edit window.
  1401.  
  1402.  
  1403.   The following commands allow you edit more than one file per window:
  1404.  
  1405.   - fnex "Next"  <Ctrl-Del>
  1406.  
  1407.     This command cycles through all open files in a forward direction
  1408.     and displays them in the current Edit window.
  1409.  
  1410.   - fpre "Prev"  <Ctrl-Ins>
  1411.  
  1412.     This command cycles through all open files in a reverse direction
  1413.     and displays them in the current Edit window.
  1414.  
  1415.   - flis "List.."  <Alt-Hyphen>
  1416.  
  1417.     This command displays a menu which lists all the open files in your
  1418.     current edit session. To select a file for editing, use the cursor
  1419.     keys to position the highlighted bar over the window name and press
  1420.     <Enter>. You can also select a file from the list using the left
  1421.     mouse button.
  1422.  
  1423.     If you select a file from the list, the selected file replaces the
  1424.     existing file in the Edit window (without closing the existing
  1425.     file).
  1426.                                                 Other File Commands   18
  1427.  
  1428.  
  1429.   5-3  Other File Commands
  1430.   ────────────────────────
  1431.  
  1432.   Other useful "File" commands are also available:
  1433.  
  1434.  
  1435.   - askopenins  "Open and Insert.."  <Alt-I>
  1436.  
  1437.     This command prompts you for a filename, and then inserts the file
  1438.     after the cursor in the current Edit window. You can also specify a
  1439.     directory name or a name with wildcards (*, ?) to insert a directory
  1440.     listing after the cursor.
  1441.  
  1442.     "Open options" can be specified in this prompt (see the "askopen"
  1443.     command 5-1).
  1444.  
  1445.     Prompt history is available at this prompt (see "Prompts" 2-6).
  1446.  
  1447.   - wrdlod CSetB  <Ctrl-]>
  1448.  
  1449.     This command opens the filename at the cursor. "CSetB" is the
  1450.     character set used to define a filename for this command (see
  1451.     "Configuration - Character Sets" 17-14).
  1452.  
  1453.   - refresh
  1454.  
  1455.     This command refreshes the contents of the current window from disk.
  1456.  
  1457.   - askname  "Rename"  <Alt-N>
  1458.  
  1459.     This command prompts you for a filename, and then changes the name
  1460.     of the current Edit window to the filename you entered. Note that
  1461.     this command only renames the Edit window, not the file on disk (the
  1462.     File Manager can rename a file or directory on disk, see "The File
  1463.     Manager" 16-1).
  1464.  
  1465.     Prompt history is available at this prompt (see "Prompts" 2-6).
  1466.  
  1467.   - name  [filename]
  1468.  
  1469.     This command changes the name of the current Edit window to the
  1470.     specified filename, without prompting you for the filename.
  1471.  
  1472.   - fmgr  "File Manager.."  <F4>
  1473.  
  1474.     This command displays a File Manager window for the current
  1475.     directory.
  1476.  
  1477.   - about  "About.."
  1478.  
  1479.     This command displays a dialog box showing the current version
  1480.     number of The Aurora Editor, and the current date and time.
  1481.                                                 Other File Commands   19
  1482.  
  1483.  
  1484.   - hlp  [major]  [minor]
  1485.  
  1486.     This command displays The Aurora Editor User's Guide (this
  1487.     document), and positions the cursor at the section "[major] -
  1488.     [minor]". For example, "hlp 5 3" displays help on this section
  1489.     (see "Other File Commands").
  1490.  
  1491.   - qref  <Shift-F1>
  1492.  
  1493.     This command displays The Aurora Editor Quick Reference (AREF.DOC)
  1494.                                             Finding Your Way Around   20
  1495.  
  1496.  
  1497.   6-1  Finding Your Way Around
  1498.   ────────────────────────────
  1499.  
  1500.   Simple commands allow you to move the cursor in both Edit windows and
  1501.   File Manager windows:
  1502.  
  1503.   - left   <cursorleft>
  1504.   - right  <cursorright>
  1505.   - up     <cursorup>
  1506.   - down   <cursordown>
  1507.  
  1508.     Use the cursor commands (left, right, up, down) to move the cursor
  1509.     one line or one column at a time. If you attempt to move the cursor
  1510.     outside the window, the window will automatically scroll to display
  1511.     the new line or column.
  1512.  
  1513.     You can also move the cursor by clicking the left mouse button at
  1514.     new cursor location.
  1515.  
  1516.   - cptop  <Ctrl-Home>
  1517.  
  1518.     This command moves the cursor to the line at the top of the window
  1519.     without scrolling or changing the cursor column.
  1520.  
  1521.   - cpbot  <Ctrl-End>
  1522.  
  1523.     This command moves the cursor to the line at the bottom of the window
  1524.     without scrolling or changing the cursor column.
  1525.  
  1526.   - cgoto @ 1  <Ctrl-PgUp>
  1527.  
  1528.     This command moves the cursor to line 1 of the file or directory
  1529.     listing without changing the column (scrolling if necessary).
  1530.  
  1531.   - cgoto @ (qtexend)  <Ctrl-PgDn>
  1532.  
  1533.     This command moves the cursor to the last line of the file or
  1534.     directory listing without changing the column (scrolling if
  1535.     necessary).
  1536.                                             Finding Your Way Around   21
  1537.  
  1538.  
  1539.   - cgoto  [x]  [y]  [options]
  1540.  
  1541.     This command moves the cursor to the location specified by [x], [y]
  1542.     in the current window. The following [options] many be specified:
  1543.  
  1544.       a - [x] and [y] specify absolute column and line positions
  1545.       r - [x] and [y] are relative to the current cursor position
  1546.  
  1547.     If no [options] are specified, the default is "a".
  1548.  
  1549.   - clast  <Ctrl-Hyphen>
  1550.  
  1551.     This command moves the cursor to the previous cursor position,
  1552.     scrolling if necessary. This command can be useful for moving back
  1553.     and forth over large distances in an Edit window or File Manager
  1554.     window.
  1555.  
  1556.   - ladj @ -1  <Keypad-5>
  1557.  
  1558.     This command scrolls the text up or down so that the cursor is
  1559.     placed at the center of the window, without moving the cursor from
  1560.     the current line.
  1561.  
  1562.   - ladj @  1              <Ctrl-F9>
  1563.   - ladj @ (qwinp @ %y1d)  <Ctrl-F10>
  1564.  
  1565.     These commands scroll the text so that the cursor is placed at the
  1566.     top or bottom line of the window, without moving the cursor from the
  1567.     current line.
  1568.  
  1569.  
  1570.  
  1571.   The following commands move the cursor only in Edit windows:
  1572.  
  1573.   - chome  <Home>
  1574.  
  1575.     This command moves the cursor to column one of the current line.
  1576.  
  1577.   - ceol  <End>
  1578.  
  1579.     This command moves the cursor one column after the last non-blank
  1580.     character of the current line.
  1581.  
  1582.   - cwrd %r CSet  <Ctrl-Left>
  1583.   - cwrd  @ CSet  <Ctrl-Right>
  1584.  
  1585.     These commands move the cursor to the first character of the
  1586.     previous or next word. The configuration setting "CSet" is the
  1587.     character set used to define a word for these commands (see
  1588.     "Configuration - Character Sets" 17-14).
  1589.                                             Finding Your Way Around   22
  1590.  
  1591.  
  1592.   - askbset  "Place Bookmark.."
  1593.  
  1594.     This command allows you to place a location marker or "bookmark" at
  1595.     the cursor position in the current Edit window. You can return to
  1596.     the bookmark later using the "askbget" or "bget" commands (see
  1597.     below). Bookmarks are automatically destroyed when the Edit window
  1598.     (and all of it's copies) containing the bookmark are closed.
  1599.  
  1600.     This command will prompt you to enter the name of the bookmark. Note
  1601.     that bookmark names are global to all windows. The current cursor
  1602.     position, window size and placement, and cursor insert mode are
  1603.     saved with the bookmark. They are restored when you return to the
  1604.     bookmark using the "askbget" or "bget" commands.
  1605.  
  1606.     Prompt history is available at this prompt (see "Prompts" 2-6).
  1607.  
  1608.   - bset  "Quick Bookmark"  <Ctrl-2>
  1609.  
  1610.     This command places a bookmark in the same way as the "askbset"
  1611.     command above, except that you will not prompted to enter a bookmark
  1612.     name. A bookmark name with the prefix "BOOK" is automatically
  1613.     generated by the editor.
  1614.  
  1615.   - bset  [bookmark name]
  1616.  
  1617.     This command will place a bookmark at the cursor position using the
  1618.     specified bookmark name, without prompting.
  1619.  
  1620.   - askbget  "Go to Bookmark.."
  1621.  
  1622.     This command prompts you to enter the name of a "bookmark" you have
  1623.     previously placed using the "askbset" or "bset" commands. The cursor
  1624.     will be moved to the "bookmark" cursor position, and the Edit window
  1625.     will be sized and placed as it was when the "askbset" or "bset"
  1626.     command was entered. If the bookmark is located in another Edit
  1627.     window, that window will become the current window before returning
  1628.     to the bookmark.
  1629.  
  1630.     Prompt history is available at this prompt (see "Prompts" 2-6).
  1631.  
  1632.   - bget  "Prev Bookmark"  <Ctrl-6>
  1633.  
  1634.     This command goes to the previous bookmark without prompting.
  1635.     Entering this command repeatedly will cycle through all existing
  1636.     bookmarks in all windows.
  1637.  
  1638.   - bget  [bookmark name]
  1639.  
  1640.     This command will go to the specified bookmark, without prompting.
  1641.                                             Finding Your Way Around   23
  1642.  
  1643.  
  1644.   - askglin  "Go to Line.."  <Ctrl-J>
  1645.  
  1646.     This command will prompt you for a line number, and then move the
  1647.     cursor directly to the line you specified, scrolling if necessary.
  1648.     The column position of the cursor is not changed.
  1649.  
  1650.   - glin  [line number]
  1651.  
  1652.     This command will move the cursor to the specified line number,
  1653.     without prompting.
  1654.  
  1655.   - askgcol  "Go to Column.."
  1656.  
  1657.     This command will prompt you for a column number, and then move the
  1658.     cursor directly to the column you specified, scrolling if necessary.
  1659.     The cursor line is not changed.
  1660.  
  1661.   - gcol  [column number]
  1662.  
  1663.     This command will move the cursor to the specified column number,
  1664.     without prompting.
  1665.  
  1666.   - mloc @ %t  "Go to Block Start"  <Ctrl-B>
  1667.   - mloc @ %b  "Go to Block End"
  1668.  
  1669.     These commands move the cursor to the top or bottom of the current
  1670.     marked block. If the marked block is in another Edit window, that
  1671.     window will be made the "current" window before executing these
  1672.     commands.
  1673.  
  1674.   - cfld     "Go to Next Fold"  <Alt-7>
  1675.   - cfld %r  "Go to Prev Fold"
  1676.  
  1677.     These commands move the cursor to the next or previous "top-level"
  1678.     text fold in the current Edit window (see "Folding Text" 10-1).
  1679.  
  1680.   - ctab     <Tab>
  1681.   - ctab %l  <Shift-Tab>
  1682.  
  1683.     These commands move the cursor to the next or previous tab stop. The
  1684.     tab stop can be one of 3 types, depending on which Window Settings
  1685.     are currently set ON, and the current cursor position (see "Window
  1686.     Settings" 13-1):
  1687.                                             Finding Your Way Around   24
  1688.  
  1689.  
  1690.     - Interval Tabs
  1691.  
  1692.       Interval Tabs are the default when the "Variable Tabs" and "Smart
  1693.       Tabs" settings are turned OFF. The location of the tab stops are
  1694.       defined by the "TabWidth" configuration setting. For example,
  1695.       setting TabWidth to 8 will set tab stops at every 8th column
  1696.       position (1, 9, 17, 25, etc).
  1697.  
  1698.     - Variable Tabs
  1699.  
  1700.       Variable Tabs are used when the "Variable Tabs" setting is ON and
  1701.       the "Smart Tabs" setting is OFF. If Variable Tabs are set ON, the
  1702.       cursor will move to the next preset tab position you have
  1703.       specified in the "Tabs" configuration setting (see "Configuration
  1704.       - Word Processing" 17-4).
  1705.  
  1706.     - Smart Tabs
  1707.  
  1708.       If the "SmartTabs" configuration setting is set ON, the cursor is
  1709.       moved to the beginning of the next or previous word on the first
  1710.       non-blank line before the current line. This can be useful for
  1711.       aligning data with columns on the previous line.
  1712.  
  1713.  
  1714.   - finm  "Find Matching Char"  <Alt-F3>
  1715.  
  1716.     This command moves the cursor to the matching parenthesis (), brace
  1717.     {}, square bracket [], or angled bracket <> for the character at the
  1718.     cursor. If the character at the cursor is not one of these
  1719.     characters, then the cursor is moved to the next parenthesis, brace,
  1720.     or bracket, if one exists.
  1721.  
  1722.     This command can be very useful for balancing expressions in
  1723.     programming languages.
  1724.  
  1725.   - finc  "Go to Compiler Error"  <Alt-F7>
  1726.  
  1727.     This command can be used together with the "askoscap" <Alt-F8>
  1728.     command ("OS Capture.." on the "Macro" pulldown menu) to aid in
  1729.     running external compilers and locating compiler errors from within
  1730.     The Aurora Editor.
  1731.  
  1732.     Use the "askoscap" <Alt-F8> command ("OS Capture" on the "Macro"
  1733.     pull-down menu) to enter the command you use to compile or build
  1734.     your program. The "askoscap" command will run your compiler and
  1735.     return the compiler output in an Edit window.
  1736.                                             Finding Your Way Around   25
  1737.  
  1738.  
  1739.     You can then use the "finc" <Alt-F7> command to locate compiler
  1740.     errors. Just move cursor to the line containing the error
  1741.     description in the compiler output, and enter the "finc" <Alt-F7>
  1742.     command. The editor will automatically open the source file
  1743.     containing the error, and place the cursor on the line where the
  1744.     compiler error occurred.
  1745.  
  1746.     Note: the only Microsoft C, Borland C, and Turbo Pascal compilers
  1747.     are currently supported.
  1748.  
  1749.  
  1750.   6-2  Scrolling
  1751.   ──────────────
  1752.  
  1753.   The following commands can be used to scroll through both Edit windows
  1754.   and File Manager windows:
  1755.  
  1756.   - using the mouse:
  1757.  
  1758.     Use the vertical scroll bar for scrolling up or down, and the
  1759.     horizontal scroll bar for scrolling left or right. To scroll by one
  1760.     page, click the left mouse button on the portion of the scroll bar
  1761.     between the scroll bar thumb and the scroll bar arrows. To scroll by
  1762.     one line or column, click the left mouse button on the scroll bar
  1763.     arrows.
  1764.  
  1765.     Scrolling will repeat until you release the left mouse button (see
  1766.     the "MouHold" and "MouDelay" configuration settings 17-3). You can
  1767.     also scroll by pressing the left mouse button on the scroll bar
  1768.     thumb, dragging it to the desired position, and then releasing the
  1769.     left mouse button.
  1770.  
  1771.   - scry (- (ypagsiz))  <PgUp>
  1772.   - scry (ypagsiz)      <PgDn>
  1773.  
  1774.     These commands scroll the current window up or down by one page
  1775.     minus one line.
  1776.  
  1777.   - scry (- (/ (ypagsiz) 2))
  1778.   - scry (/ (ypagsiz) 2)
  1779.  
  1780.     These commands scroll the current window up or down by one-half
  1781.     page.
  1782.  
  1783.   - scry -1  <Ctrl-Up>
  1784.   - scry  1  <Ctrl-Down>
  1785.  
  1786.     These commands scroll the current window up or down by one line.
  1787.                                                           Scrolling   26
  1788.  
  1789.   - scrx (- (xpagsiz))  <F7>
  1790.   - scrx (xpagsiz))     <F8>
  1791.  
  1792.     These commands scroll the current window left or right by one page
  1793.     minus one column.
  1794.  
  1795.  
  1796.   6-3  Modifying Text
  1797.   ───────────────────
  1798.  
  1799.   The Aurora Editor provides many easy-to-use commands for modifying the
  1800.   text in an Edit window:
  1801.  
  1802.   - cmtog  <Ins>
  1803.  
  1804.     This command toggles the "insert mode" for the current Edit window.
  1805.     The insert mode is local to each Edit window. If the insert mode is
  1806.     ON, any characters entered will be inserted into the current line at
  1807.     the cursor. If insert mode is OFF, any characters entered will
  1808.     replace existing characters at cursor.
  1809.  
  1810.     Note that the insert mode can affect the operation of other
  1811.     commands, depending on the current configuration settings. See the
  1812.     section "Configuration - Editing Preferences" (17-8) and the
  1813.     configuration settings "EnterIns", "EnterOvl", "TabShift", and
  1814.     "BakOvl".
  1815.  
  1816.   - delch  <Del>
  1817.  
  1818.     This command will delete the character at the cursor. The characters
  1819.     to the right of the cursor will be shifted left by one column.
  1820.  
  1821.     If the configuration setting "DelJoin" is ON and the cursor is
  1822.     beyond the end of the line, the next line will be joined to the
  1823.     current line at the cursor.
  1824.  
  1825.   - baksp  <Backspace>
  1826.  
  1827.     This command moves the cursor left one column and deletes the
  1828.     character at the new cursor position. The characters to the right of
  1829.     the cursor are shifted left by one column.
  1830.  
  1831.     If the configuration setting "BakOvl" is set ON and the insert mode
  1832.     for the current window is OFF, the characters to the right of the
  1833.     cursor position will not be shifted.
  1834.  
  1835.     If the configuration setting "BakJoin" is set ON and the cursor is
  1836.     at column 1, then the current line will be joined to the end the
  1837.     previous line when executing this command.
  1838.                                                      Modifying Text   27
  1839.  
  1840.  
  1841.   - leol %l  <Alt-F6>
  1842.   - leol     "Erase to End"  <F6>
  1843.  
  1844.     These commands delete the characters from the current cursor
  1845.     position to the beginning or to the end of the line.
  1846.  
  1847.   - wrddel CSet  "Delete Right Word"  <Ctrl-T>
  1848.  
  1849.     This command deletes all characters from the cursor to the end of
  1850.     the word at the cursor. The configuration setting "CSet" is the
  1851.     character set used to define a word for this command (see
  1852.     "Configuration - Character Sets" 17-14).
  1853.  
  1854.     If the configuration setting "DelJoin" is ON and the cursor is at
  1855.     the end of the line, the next line will be joined to the current
  1856.     line at the cursor.
  1857.  
  1858.   - wrdcas  [options]  [char set].
  1859.  
  1860.     This command changes the case of the word at the cursor. The
  1861.     following [options] may be specified:
  1862.  
  1863.       l - change the word to lower case
  1864.       u - change the word to upper case
  1865.  
  1866.     Specifying both options "l" and "u" will toggle the case of each
  1867.     character in the word. If no [options] are specified, the default is
  1868.     "u".
  1869.  
  1870.     [char set] specifies the character set used to define a word for
  1871.     this command (see "Configuration - Character Sets" 17-14). If not
  1872.     specified, the default is "CSet".
  1873.  
  1874.   - lins %a  "Insert Line"  <Ctrl-Enter>
  1875.  
  1876.     This command inserts a new line after the line at the cursor.
  1877.  
  1878.     If "AutoIndent" is ON, the cursor is moved to the first non-blank
  1879.     column of the previous line. If the previous line is blank, then the
  1880.     cursor is moved to the first non-blank column of the next line. If
  1881.     the next line is also blank, the cursor column does not change.
  1882.  
  1883.     If the "AutoIndent" is OFF, the cursor is moved to column one.
  1884.  
  1885.   - lins %c
  1886.  
  1887.     This command is similar to the "lins %a" command above, except that
  1888.     the cursor column position is not changed.
  1889.                                                      Modifying Text   28
  1890.  
  1891.  
  1892.   - ldel  "Delete Line"  <Ctrl-Backspace>
  1893.  
  1894.     This command deletes the line at the cursor. The text below the
  1895.     cursor is shifted up by one line.
  1896.  
  1897.     Note: entering the "mdel" <Alt-D> command will also delete the line
  1898.     at the cursor if no marked block currently exists and the "DelLine"
  1899.     configuration setting is ON (see "Using Marked Blocks" 8-1).
  1900.  
  1901.   - lspl  "Split Line"  <Alt-S>
  1902.  
  1903.     This command splits the line at the cursor. The text from the cursor
  1904.     to the end of the line will be moved to a new line inserted after
  1905.     the cursor. If "AutoIndent" is ON, the beginning of the new line
  1906.     will be aligned with the beginning of the original line, otherwise
  1907.     the new line is moved to column one.
  1908.  
  1909.   - ljoin  "Join Line"  <Alt-J>
  1910.  
  1911.     This command appends the line below the cursor to the line at the
  1912.     cursor. If the cursor is positioned on or before the end of the
  1913.     line, the line below the cursor is joined to the end of the current
  1914.     line. If the cursor is positioned after the end of the line, the
  1915.     line below the cursor is joined at the cursor position.
  1916.  
  1917.   - ldup  "Duplicate Line"  <Alt-4>
  1918.  
  1919.     This command duplicates the line at the cursor.
  1920.  
  1921.     Note: entering the "mcpy" <Alt-C> command will also duplicate the
  1922.     line at the cursor if no marked block currently exists and the
  1923.     "CopyLine" configuration setting is ON (see "Using Marked Blocks"
  1924.     8-1).
  1925.  
  1926.   - lswp  "Swap Lines"  <Alt-5>
  1927.  
  1928.     This command swaps the line at the cursor with the following line.
  1929.  
  1930.   - lcen  "Center Line"  <Alt-6>
  1931.  
  1932.     This command centers the line at the cursor between the Left and
  1933.     Right margins.
  1934.  
  1935.   - lcom  "Comment Line"  <Alt-F1>
  1936.  
  1937.     This command "comments out" the line at the cursor by prefixing it
  1938.     with the string "//". If the line is already commented-out, then it
  1939.     is "un-commented" by removing the string "//". The cursor is moved
  1940.     to the next line without changing the column position.
  1941.                                                      Modifying Text   29
  1942.  
  1943.  
  1944.   - lcom  [string1]  [string2].
  1945.  
  1946.     This command "comments out" the line at the cursor by enclosing it
  1947.     between the strings [string1] and [string2]. If the line is already
  1948.     commented-out, then it is "un-commented" by removing the enclosing
  1949.     strings [string1] and [string2]. The cursor is moved to the next
  1950.     line without changing the column position.
  1951.  
  1952.   - enteredit  <Enter>
  1953.  
  1954.     The action taken when this command is entered depends on the insert
  1955.     mode for the current Edit window and the configuration settings
  1956.     "EnterOvl" and "EnterIns".
  1957.  
  1958.     "EnterOvl" defines the action to take when this command is entered
  1959.     and the cursor is in overlay mode. "EnterIns" defines the action to
  1960.     take when this command is entered and the cursor is in insert mode.
  1961.     You can choose one of the following values for both EnterOvl and
  1962.     EnterIns:
  1963.  
  1964.       i - inserts a new line
  1965.       s - splits the line at the cursor and moves the cursor to the
  1966.           beginning of the next line
  1967.       null - moves the cursor to the beginning of the next line
  1968.  
  1969.   - lit  "Enter Literal.."  <Ctrl-[>
  1970.  
  1971.     This command prompts you to enter a character "literally" into an
  1972.     Edit window. Any key entered is interpreted as a "type-able" key,
  1973.     not a function key.
  1974.  
  1975.     You can use this command to enter any ascii character into a file.
  1976.     At the literal prompt, hold down the <Alt> key, enter the ascii
  1977.     value of the character with the keypad keys, and then release the
  1978.     <Alt> key. Binary zeros can be entered by pressing <Shift-F1> at the
  1979.     literal prompt.
  1980.  
  1981.   - wasc  "Ascii Chart.."  <Alt-=>
  1982.  
  1983.     This command displays a menu which lists all 256 ascii characters
  1984.     and their decimal and hex values. You can select an ascii character
  1985.     from the menu and enter it into the current Edit window by pressing
  1986.     the <Enter> key over the character or by selecting it with the left
  1987.     mouse button. Pressing <Esc> cancels the ascii chart.
  1988.  
  1989.     Note: The ascii chart can also be used within an editor prompt.
  1990.                                                      Modifying Text   30
  1991.  
  1992.  
  1993.   - txt  [string]
  1994.  
  1995.     This command enters the string [string] at the cursor as if it had
  1996.     been typed in. If the cursor is in insert mode, the string is
  1997.     inserted into the text at the cursor, otherwise the string will
  1998.     overlay the text at the cursor.
  1999.  
  2000.   - stamp  "Date/Time Stamp"  <Ctrl-K-T>
  2001.  
  2002.     This command enters the current date and time at the cursor as if it
  2003.     had been typed in. If the cursor is in insert mode, the date and
  2004.     time are inserted into the text at the cursor, otherwise the date and
  2005.     time will overlay the text at the cursor. The date and time are
  2006.     entered in the following format:  MM/DD/YY HH:MMmm. For example,
  2007.     "08/30/93 01:01am".
  2008.  
  2009.   - exptab  "Expand Tabs"  <Ctrl-K-X>
  2010.  
  2011.     This command expands all the tab characters in the current Edit
  2012.     window. The tab width using during the expansion is determined by
  2013.     the "Tab Width" setting (see "Global Settings" 13-2). Acceptable
  2014.     values of "TabWidth" for this command are 2, 4 and 8.
  2015.                                                       Undo and Redo   31
  2016.  
  2017.  
  2018.   6-4  Undo and Redo
  2019.   ──────────────────
  2020.  
  2021.   The undo and redo commands are a very advanced feature of The Aurora
  2022.   Editor. They allow you to backtrack and retrace modifications you made
  2023.   to the text in an Edit window. This can be an extremely valuable
  2024.   safeguard against accidental changes, or simply a convenient way for
  2025.   you to review your recent text changes.
  2026.  
  2027.   In general, all text changes, text folding, and block marking can be
  2028.   undone. Cursor movements and scrolling are also undone, but only when
  2029.   they are associated with text changes, text folding, and marking. Any
  2030.   change to the text in an Edit window can be undone, including block
  2031.   commands. Commands which can not be un-done are file saving commands,
  2032.   and commands which make changes directly to files via the File
  2033.   Manager.
  2034.  
  2035.   The following commands let you undo and redo changes to text:
  2036.  
  2037.   - undo  "Undo"  <Ctrl-U>
  2038.  
  2039.     This command will undo the last change you made to the text in the
  2040.     current Edit window. The text will be restored to its original state
  2041.     and the window and cursor will be positioned as they were before the
  2042.     change was made.
  2043.  
  2044.     Entering this command repeatedly will continue to undo text changes
  2045.     in the reverse order you made them. The configuration setting
  2046.     "UndoSize" determines the maximum number of changes which can be
  2047.     undone (see "Configuration - Editing Preferences" 17-8).
  2048.  
  2049.   - undo %r  "Redo"  <Ctrl-Y>
  2050.  
  2051.     This command will redo the last change that you have undone with the
  2052.     undo command in the current Edit window. Entering this command
  2053.     repeatedly will redo your text changes in the order you made them.
  2054.     Changes made with this command can also be undone with undo command.
  2055.  
  2056.  
  2057.   Note that both the undo and redo commands are "local" to the text in
  2058.   an Edit window. Entering either of these commands in one Edit window
  2059.   will only modify the text in another Edit window if the other Edit
  2060.   window is a copy of the original window.
  2061.                                                         OS Commands   32
  2062.  
  2063.  
  2064.   7-1  OS Commands
  2065.   ────────────────
  2066.  
  2067.   The Aurora Editor has three commands which allow you execute almost
  2068.   any DOS command or program from with the editor and then return you to
  2069.   your editing session. They are available from the "Macro" pulldown
  2070.   menu.
  2071.  
  2072.   In order to leave the maximum amount of memory available for DOS
  2073.   programs, The Aurora Editor will shrink down to 1.2K by swapping
  2074.   itself out to XMS or EMS memory (if available), or to disk.
  2075.  
  2076.   The OS commands are:
  2077.  
  2078.   - osshell  "OS Shell"  <F9>
  2079.  
  2080.     This command passes control to the DOS program "COMMAND.COM", and
  2081.     allows you to enter commands just as if you were in a normal DOS
  2082.     session. When you are in the DOS session, enter the "EXIT" command
  2083.     to return to the editor where you left it.
  2084.  
  2085.   - askoscmd %ck  "OS Command"  <Alt-F9>
  2086.  
  2087.     This command will prompt you to enter a DOS command, execute it, and
  2088.     then return you to the editor where you left it (there is no need to
  2089.     type "EXIT").
  2090.  
  2091.     Prompt history is available at this prompt (see "Prompts" 2-6).
  2092.  
  2093.   - askoscap  "OS Capture"  <Alt-F8>
  2094.  
  2095.     This command will prompt you to enter a DOS command, execute the
  2096.     command, and capture the output in a file. You will then be returned
  2097.     to the editor and the captured output will be displayed in an Edit
  2098.     window (there is no need to type "EXIT").
  2099.  
  2100.     This command is especially helpful when used with the "finc"
  2101.     <Alt-F7> command ("Go to Compiler Error" on the "Search" pull-down
  2102.     menu). You can use the "askoscap" command to capture the output from
  2103.     a compiler, and then use the "finc" <Alt-F7> command to locate
  2104.     compiler errors in your source code (see the "finc" command 6-1).
  2105.  
  2106.     Prompt history is available at this prompt (see "Prompts" 2-6).
  2107.                                                         OS Commands   33
  2108.  
  2109.   - os  [DOS command]  [options]
  2110.  
  2111.     This command executes the specified DOS command without prompting
  2112.     you for the command. You can specify any of the following options:
  2113.  
  2114.       c - clear the screen before executing the command
  2115.       k - display the prompt "Press any key to return" when done
  2116.  
  2117.     For example:
  2118.  
  2119.       os %dir %kc
  2120.  
  2121.     The command above clears the screen, executes the DOS "dir" command,
  2122.     and then prompts you to return to the editor.
  2123.  
  2124.   - oscap  [DOS command]  [options]
  2125.  
  2126.     This command executes the specified DOS command without prompting
  2127.     you for the command, and directs the output to a file. You can
  2128.     specify the "k" option (see the "os" command above).
  2129.  
  2130.  
  2131.   Note: You should not execute any DOS "terminate and stay resident"
  2132.   programs (such as the DOS "print" command) from within any of the above
  2133.   commands. "Terminate and stay resident" programs should be started
  2134.   before the editor is started.
  2135.                                                 Using Marked Blocks   34
  2136.  
  2137.  
  2138.   8-1  Using Marked Blocks
  2139.   ────────────────────────
  2140.  
  2141.   Marking blocks of text and executing block commands are essential
  2142.   features of many text editors. A block mark is an area of text in an
  2143.   Edit window which has been designated for a specific block command.
  2144.   Unlike the clipboard commands (see "The Clipboard" 9-1), block
  2145.   commands directly manipulate Edit window text.
  2146.  
  2147.   The Aurora Editor provides commands to define block marks by lines,
  2148.   columns, and characters (streams), and also provides a large set of
  2149.   block commands. There are block commands for copying, moving,
  2150.   deleting, overlaying, reflowing text, and more.
  2151.  
  2152.   Before you can use a block command, you must first create a block
  2153.   mark. The Aurora Editor has several different commands for creating
  2154.   block marks:
  2155.  
  2156.  
  2157.   - mset %l  "Mark Line"  <Alt-L>
  2158.  
  2159.     This command creates a new "line" mark or adjusts the size of an
  2160.     existing line mark. A line mark designates a group of one or more
  2161.     complete lines without specifying any column information. To mark a
  2162.     group of lines, just move the cursor to one end of the group of
  2163.     lines to be marked and enter this command, then move the cursor to
  2164.     the other end and enter this command again. The new line mark will
  2165.     be highlighted.
  2166.  
  2167.     To create a line mark using the mouse, double-click the left mouse
  2168.     button on one end of the group of lines to be marked, and with left
  2169.     mouse button still down, drag the mouse to the other end of the
  2170.     group of lines and then release the left mouse button.
  2171.  
  2172.   - mset %r  "Mark Column"  <Alt-B>
  2173.  
  2174.     This command creates a new rectangular or "column" mark. It can also
  2175.     adjust the size of an existing column mark. A column mark designates
  2176.     rectangular area of text which spans one or more lines and one or
  2177.     more columns. To create a column mark, move the cursor to one corner
  2178.     of the desired rectangle and enter this command, then move the
  2179.     cursor to the opposite corner of the rectangle and enter this
  2180.     command again. The new column mark will be highlighted.
  2181.  
  2182.     To create a column mark using the mouse, press the left mouse button
  2183.     down at one end of the rectangle to be marked, and with left mouse
  2184.     button still down, drag the mouse to the opposite corner of the
  2185.     rectangle and release the left mouse button.
  2186.                                                 Using Marked Blocks   35
  2187.  
  2188.  
  2189.   - mset %s  "Mark Character"  <Alt-A>
  2190.  
  2191.     This command creates a new stream or "character" mark. It can also
  2192.     adjust the size of an existing character mark. A character mark
  2193.     designates a continuous segment or "stream" of characters in the
  2194.     file. To create a character mark, move the cursor to the beginning
  2195.     of the character stream and enter this command, then move the cursor
  2196.     to the end of the character stream and enter this command again. The
  2197.     new character mark will be highlighted.
  2198.  
  2199.   - mdes  "Unmark"  <Alt-U>
  2200.  
  2201.     This command will unmark the current marked block.
  2202.  
  2203.  
  2204.   Note: the "MouMrkS" and "MouMrkD" configuration settings (see
  2205.   "Configuration - Mouse" 17-3) determine the default type of block
  2206.   marks created by single-clicking and double-clicking the left mouse
  2207.   button and dragging the mouse. No matter what "MouMrkS" and "MouMrkD"
  2208.   are set to, you can still always create the desired line, column, or
  2209.   character mark by holding down the appropriate "shift" key when
  2210.   single-clicking or double-clicking the left mouse button and dragging
  2211.   the mouse:
  2212.  
  2213.     <Alt>   - forces line marks
  2214.     <Ctrl>  - forces column marks
  2215.     <Shift> - forces character (stream) marks
  2216.  
  2217.  
  2218.   There are some "short-cut" block marking commands for defining
  2219.   commonly used line and column marks, which can save you time:
  2220.  
  2221.   - mpgh %tb  "Mark Paragraph"  <Alt-3>
  2222.  
  2223.     This command creates a line mark which spans the "paragraph" in
  2224.     which the cursor is located. A paragraph is defined as a contiguous
  2225.     series of non-blank lines.
  2226.  
  2227.   - wrdmrk CSet  "Mark Word"  <Alt-1>
  2228.  
  2229.     This command creates a column mark which spans the "word" in which
  2230.     the cursor is located. The configuration setting "CSet" is the
  2231.     character set used to define a word for this command (see
  2232.     "Configuration - Character Sets" 17-14).
  2233.  
  2234.   - meol  "Mark to EOL"  <Alt-2>
  2235.  
  2236.     This command creates a column mark which spans the text from the
  2237.     current cursor position to the end of the line.
  2238.                                                 Using Marked Blocks   36
  2239.  
  2240.  
  2241.   The following block commands can be used with all marked blocks
  2242.   created by the methods described above. Note that the effects of all
  2243.   these commands can be reversed with the "undo" <Ctrl-U> command.
  2244.  
  2245.   - mcpy  "Copy"  <Alt-C>
  2246.  
  2247.     This commands inserts a copy of the text in the current marked block
  2248.     after the cursor. The original marked block remains unchanged. You can
  2249.     copy a marked block within the same Edit window, or between different
  2250.     Edit windows.
  2251.  
  2252.     The configuration setting "MoveMark" determines whether or not the
  2253.     block mark highlight is moved to the location where the text was
  2254.     copied (see "Configuration Settings - Editing Preferences" 17-8).
  2255.  
  2256.     Note: this command can also be used to duplicate the line at the
  2257.     cursor if no marked block currently exists and the "CopyLine"
  2258.     configuration setting is ON.
  2259.  
  2260.   - mcpyp  <Alt-C>
  2261.  
  2262.     This command is for use within an editor prompt. It copies the text
  2263.     in the current marked block to the cursor location within the
  2264.     prompt. Only column marks (or the first line of a stream mark) are
  2265.     copied. Line marks are ignored.
  2266.  
  2267.   - mmov  "Move"  <Alt-M>
  2268.  
  2269.     This command moves the text in the current marked block (and the
  2270.     marked block itself) after the cursor. The marked block may be in
  2271.     the current Edit window or in another Edit window.
  2272.  
  2273.   - mdel  "Delete"  <Alt-D>
  2274.  
  2275.     This command deletes the text in the current marked block, and the
  2276.     marked block itself. The marked block may be in the current Edit
  2277.     window, or in a another Edit window. Note that you can restore the
  2278.     marked block again with the "undo" <Ctrl-U> command.
  2279.  
  2280.     Note: this command can also be used to delete the line at the cursor
  2281.     if no marked block currently exists and the "DelLine" configuration
  2282.     setting is ON.
  2283.  
  2284.   - askmfill  "Fill"  <Ctrl-K-F>
  2285.  
  2286.     This command prompts you to enter a character, and then fills the
  2287.     marked block with the character you specified. If the marked block
  2288.     is a line mark, only the area between the left and right margins
  2289.     is filled.
  2290.                                                 Using Marked Blocks   37
  2291.  
  2292.  
  2293.   - msave  "Save.."  <Ctrl-K-S>
  2294.   - msave %a
  2295.  
  2296.     These commands prompt you for a filename, and then save the current
  2297.     marked block in the file you specified. If option "a" is specified,
  2298.     the block is appended to the file, otherwise the block replaces the
  2299.     file.
  2300.  
  2301.     If the file containing the marked block is a binary file, then no
  2302.     line delimiter is used when saving, otherwise each saved line in the
  2303.     block is appended with the current value of the line delimiter
  2304.     "LineDlm" configuration setting.
  2305.  
  2306.     Note: you cannot use the "undo" <Ctrl-U> command to reverse the
  2307.     effects of this command.
  2308.  
  2309.   - mcase %l  "Lowercase"
  2310.   - mcase %u  "Uppercase"  <Ctrl-K-U>
  2311.  
  2312.     These commands will convert all characters in the current marked
  2313.     block to lower case or upper case.
  2314.  
  2315.   - mcase %ul
  2316.  
  2317.     This command will "flip" or toggle the case of all characters in the
  2318.     current marked block.
  2319.  
  2320.  
  2321.   The following block commands work only on line and column blocks:
  2322.  
  2323.   - mmov %o  "Overlay"  <Alt-O>
  2324.  
  2325.     This command overlays the text at the cursor with the text in the
  2326.     current marked block. The original marked block remains unchanged
  2327.     (if it does not overlap the destination). You can overlay a marked
  2328.     block within the same Edit window, or between different Edit
  2329.     windows.
  2330.  
  2331.     The configuration setting "MoveMark" determines whether or not the
  2332.     block mark highlight is moved to the location where the text was
  2333.     overlaid (see "Configuration Settings - Editing Preferences" 17-8).
  2334.  
  2335.   - mmov %of  "Move Over"  <Ctrl-M>
  2336.  
  2337.     This command moves the text in the current marked block over the
  2338.     text at the cursor. The original marked block is blanked-out (or
  2339.     partially blanked-out if it overlaps with new block at the cursor).
  2340.     You can use this command inside the same Edit window, or between
  2341.     different Edit windows.
  2342.  
  2343.   - mshf  1    "Indent"    <Shift-F8>
  2344.   - mshf -1    "Unindent"  <Shift-F7>
  2345.  
  2346.     These commands shift the text in the current marked block left or
  2347.     right one column. They are useful for indenting or unindenting areas
  2348.     of text.
  2349.                                                 Using Marked Blocks   38
  2350.  
  2351.  
  2352.   - mjust %l  "Left Justify"
  2353.   - mjust %c  "Center"        <Ctrl-K-C>
  2354.   - mjust %r  "Right Justify"
  2355.  
  2356.     These commands left justify, center, and right justify the text in
  2357.     the current marked block. For line blocks, the current Left and
  2358.     Right margins are used. For column marks, the left and right edges
  2359.     of the mark are used as left and right margins. The centering
  2360.     command is useful for creating centered document titles.
  2361.  
  2362.   - mrfl %b  "Reflow"  <Alt-R>
  2363.  
  2364.     This useful command will "reflow" the text within the current marked
  2365.     block. If the marked block is a line mark, the marked text will be
  2366.     reflowed to fit between the Left and Right Margins. The reflowed
  2367.     text will always be left justified.
  2368.  
  2369.     If the marked block is a column mark, all the lines spanned by the
  2370.     column mark will still be reflowed as with line marks, but the left
  2371.     and right edges of the mark will be used as Left and Right margins.
  2372.  
  2373.     If the "AutoMark" configuration setting is set to "ptb" (paragraph),
  2374.     you can the reflow a paragraph by simply placing the cursor within
  2375.     the paragraph and entering this command (see "Configuration -
  2376.     Editing Preferences" 17-8). In this case, the cursor position is
  2377.     used as the left margin, and the Right Margin setting is used as the
  2378.     right margin.
  2379.  
  2380.   - mrfl %br  "Reflow RJust"  <Alt-Y>
  2381.  
  2382.     This command will reflow text in the same way as the "mrfl %b"
  2383.     <Alt-R> command above, but the reflowed text will be both left AND
  2384.     right justified. The editor may insert spaces between some words in
  2385.     the text to pad the line out to the right margin.
  2386.  
  2387.   - msrt  "Sort"  <Ctrl-K-O>
  2388.  
  2389.     This command sorts the all the lines spanned by the current marked
  2390.     block. For line marks, the entire line is used as the sort key. For
  2391.     column marks, the area between the left and right edges of the mark
  2392.     is used as the sort key. Note that for column marks, all the lines
  2393.     spanned by the mark will still be sorted, not just the area within
  2394.     the mark.
  2395.  
  2396.     If Scroll Lock is ON when this command is executed, the sort is in
  2397.     descending order, otherwise the sort is in ascending order.
  2398.  
  2399.     If the cursor Insert Mode is ON when this command is executed, the
  2400.     sort is case-insensitive, otherwise the sort is case-sensitive.
  2401.  
  2402.                                                 Using Marked Blocks   39
  2403.  
  2404.  
  2405.   - print %m  "Print Block"  <Alt-P>
  2406.  
  2407.     This command prints the text within the current marked block using
  2408.     the current printer settings (see "Configuration - Print Settings"
  2409.     17-10).
  2410.                                                       The Clipboard   40
  2411.  
  2412.  
  2413.   9-1  The Clipboard
  2414.   ──────────────────
  2415.  
  2416.   Edit window text can be indirectly manipulated by using the clipboard
  2417.   commands. These commands allow you to move or copy the text within the
  2418.   current marked block into a temporary buffer known as a "clipboard",
  2419.   and then copy or overlay the clipboard text to a new location in the
  2420.   same Edit window, or even to a new location in a different Edit
  2421.   window. As with the block commands, you can use the "undo" <Ctrl-U>
  2422.   command to reverse the effects of clipboard commands.
  2423.  
  2424.   You can have any number of clipboards in an edit session. Each
  2425.   clipboard is identified by a unique name and is available to any Edit
  2426.   window. The default clipboard is named "clipboard", and is the
  2427.   "current" clipboard when The Aurora Editor is initially started.
  2428.  
  2429.   Note that if the "AutoMark" configuration setting (see "Configuration
  2430.   - Editing Preferences" 17-8) is set to "ptb" (paragraph), you can
  2431.   "Cut" or "Copy" a paragraph by simply placing the cursor within the
  2432.   paragraph and entering one of the "clpcpy" commands described below.
  2433.  
  2434.   The following clipboard commands operate on the "current" clipboard:
  2435.  
  2436.   - clpcpy %d  "Cut"  <Grey->
  2437.  
  2438.     This command erases the contents of the current clipboard and then
  2439.     moves the text within the current marked block to the clipboard. The
  2440.     current marked block is destroyed.
  2441.  
  2442.   - clpcpy %ad  "Cut Append"  <Ctrl-Grey->
  2443.  
  2444.     This command moves the text within the current marked block to the
  2445.     end of the current clipboard without erasing the contents of the
  2446.     clipboard. The current marked block is destroyed.
  2447.  
  2448.     This command is useful for gathering separate blocks of text and
  2449.     grouping them together in the clipboard.
  2450.  
  2451.   - clpcpy  "Copy"  <Grey+>
  2452.  
  2453.     This command erases the contents of the current clipboard and then
  2454.     copies the text within the current marked block into the clipboard.
  2455.     The current marked block and its contents are unchanged.
  2456.                                                       The Clipboard   41
  2457.  
  2458.  
  2459.   - clpcpy %a  "Copy Append"  <Ctrl-Grey+>
  2460.  
  2461.     This command copies the text within the current marked block to the
  2462.     end of the current clipboard without erasing the contents of the
  2463.     clipboard. The current marked block and its contents are unchanged.
  2464.  
  2465.     This command is useful for copying separate blocks of text and
  2466.     grouping them together in the clipboard.
  2467.  
  2468.   - clppst  "Paste"  <Grey*>
  2469.  
  2470.     This command inserts the text from the current clipboard at the
  2471.     cursor position in the current Edit window. The contents of the
  2472.     clipboard are unchanged.
  2473.  
  2474.   - clppst %o  "Paste Over"  <Ctrl-Grey*>
  2475.  
  2476.     This command overlays the text from the current clipboard at the
  2477.     cursor position in the current Edit window. The contents of the
  2478.     clipboard are unchanged.
  2479.  
  2480.   - clpclr  "Clear"  <Ctrl-Grey/>
  2481.  
  2482.     This command erases the contents of the current clipboard.
  2483.  
  2484.  
  2485.   The following command changes the "current" clipboard:
  2486.  
  2487.   - askclp  "Clipboard.."
  2488.  
  2489.     This command prompts you for a unique clipboard name and changes the
  2490.     "current" clipboard to the name you enter. The clipboard will be
  2491.     created if it does not exist. Entering any of the above clipboard
  2492.     commands will now refer to the new clipboard.
  2493.  
  2494.     At installation, the default clipboard name is "clipboard".
  2495.                                                        Folding Text   42
  2496.  
  2497.  
  2498.   10-1  Folding Text
  2499.   ──────────────────
  2500.  
  2501.   The Aurora Editor allows you to "fold" multiple lines of text in an
  2502.   Edit window and make them appear as one line. This feature is useful
  2503.   for hiding lines of text that you do not wish to view, and may help to
  2504.   reduce unnecessary scrolling. If you wish to redisplay the folded
  2505.   text, it can be "unfolded" at any time. You can create any number of
  2506.   text folds of any size.
  2507.  
  2508.   A text fold is displayed in an Edit window as a single highlighted
  2509.   line indicating the number of lines in the fold. For example:
  2510.  
  2511.     ── 215 lines not displayed ─────────────────────────────────────
  2512.  
  2513.   In the example above, 215 lines of text appear as one folded line.
  2514.  
  2515.   Text folds can be "nested" by folding a group of lines which already
  2516.   contain other folds. Later when the outer fold is unfolded, the inner
  2517.   folds are redisplayed. This feature allows you to create a "hierarchy
  2518.   of folds". Fold hierarchies of any size can be created.
  2519.  
  2520.   Note that any lines contained within a text fold will be excluded from
  2521.   the search and replace commands (see "Search and Replace" 11-1).
  2522.  
  2523.   Several commands are available for folding and unfolding text. The
  2524.   effects of each of these commands can be reversed with the "undo"
  2525.   <Ctrl-U> and "undo %r" <Ctrl-Y> commands:
  2526.  
  2527.   - lfld %b  "Fold Next Line"  <Alt-8>
  2528.   - lfld %t  "Fold Prev Line"
  2529.  
  2530.     These commands extend the fold at the cursor to the next or previous
  2531.     line. If there is no fold at the cursor, then a new "one-line" fold
  2532.     is created at the cursor.
  2533.  
  2534.   - mfld %f  "Fold Block"  <Alt-F>
  2535.  
  2536.     This command creates a new fold consisting of all the lines in the
  2537.     current marked block. Any "sub-folds" will be preserved.
  2538.  
  2539.     If the "AutoMark" configuration setting is set to "ptb" (paragraph),
  2540.     you can fold a paragraph by simply placing the cursor within the
  2541.     paragraph and entering this command (see "Configuration - Editing
  2542.     Preferences" 17-8).
  2543.                                                        Folding Text   43
  2544.  
  2545.  
  2546.   - mfld %uaf  "Fold Block Flat"
  2547.  
  2548.     This command is identical the "mfld %f" command above, except that
  2549.     all existing folds within the marked block are removed before the
  2550.     new fold is created. The new fold will not have any "sub-folds".
  2551.  
  2552.   - lfld %u  "Unfold Line"  <Alt-G>
  2553.  
  2554.     This command removes the fold at the cursor.
  2555.  
  2556.   - lfld %ua  "Unfold Line Flat"
  2557.  
  2558.     This command removes the fold at the cursor, and also removes any
  2559.     "sub-folds" within the fold.
  2560.  
  2561.   - lfld %bs  "Unfold Next Line"  <Alt-9>
  2562.   - lfld %ts  "Unfold Prev Line"
  2563.  
  2564.     These commands shrink the fold at the cursor so that the bottom or
  2565.     top line in the fold is displayed.
  2566.  
  2567.   - mfld %u  "Unfold Block"
  2568.  
  2569.     This command removes any "top-level" folds contained within the
  2570.     current marked block. Folds contained within the top-level folds are
  2571.     preserved.
  2572.  
  2573.   - mfld %ua  "Unfold Block Flat"
  2574.  
  2575.     This command removes all folds contained within the current marked
  2576.     block. All existing fold hierarchies within the marked block are
  2577.     removed.
  2578.  
  2579.   - mflda %ua  "Unfold All"  <Alt-0>
  2580.  
  2581.     This command removes all folds in the current Edit window. All
  2582.     existing fold hierarchies are removed.
  2583.                                                  Search and Replace   44
  2584.  
  2585.  
  2586.   11-1  Search and Replace
  2587.   ────────────────────────
  2588.  
  2589.   The Aurora Editor provides commands for locating character strings
  2590.   within the current Edit window, or within files on disk:
  2591.  
  2592.   - askfind  "Find.."  <F5>, <Ctrl-F>
  2593.  
  2594.     This command prompts you for a character string to search for in
  2595.     the current Edit window. "Search options" can also be specified at
  2596.     the prompt. The following search options are available:
  2597.  
  2598.     i - Ignore case when searching for the string. For example, the
  2599.         search string "aurora" would find "Aurora" or "AURORA".
  2600.  
  2601.     w - Search for "whole words only". For example, the search string
  2602.         "at" would find " at " and "(at)", but not "ate" or "that". This
  2603.         option can be useful for locating variables in program source
  2604.         code.
  2605.  
  2606.     r - Reverse search. This option forces the search to proceed toward
  2607.         the top of the Edit window. If this option is not specified, the
  2608.         search proceeds toward the bottom of the Edit window.
  2609.  
  2610.     b - Marked block only. This option limits the search to the current
  2611.         marked block. The block may be a line mark or a column mark.
  2612.  
  2613.     g - Search globally starting from the beginning of the file (or the
  2614.         end of the file if used with the reverse search option). If this
  2615.         option is not selected, the search begins from the current
  2616.         cursor position. This option is ignored if the "Marked block
  2617.         only" option (b) is specified.
  2618.  
  2619.     If you have tailored the find prompt to appear as a dialog box, you
  2620.     can select these options from the "search options" group box. You
  2621.     can also configure which options default to "selected" when the
  2622.     dialog box is displayed (see the "SearchOpt" configuration setting
  2623.     17-8).
  2624.  
  2625.     If you have tailored the find prompt to appear as a command line or
  2626.     one-line box, enter the search string at the prompt and press the
  2627.     <Enter> key. For example, to find the string "Aurora":
  2628.  
  2629.       (string/iwrbg) Find> Aurora  <Enter>
  2630.                                                  Search and Replace   45
  2631.  
  2632.  
  2633.     If you are entering search options, enter the slash character (/)
  2634.     after the search string and then enter the desired search options:
  2635.  
  2636.       (string/iwrbg) Find> Aurora/iwrb  <Enter>
  2637.  
  2638.     After the <Enter> key pressed in the example above, the editor will
  2639.     search for the string "Aurora". The search will ignore case and will
  2640.     be restricted to the current marked block, starting at the bottom of
  2641.     the marked block and searching toward the top.
  2642.  
  2643.     If you need to include the slash character (/) in the search string,
  2644.     enter it twice. For example:
  2645.  
  2646.       (string/iwrbg) Find> Au//r//ora/iwrb  <Enter>
  2647.  
  2648.     In the example above, the search string is now "Au/r/ora". Note that
  2649.     double slashes are only required in one-line boxes or command line
  2650.     prompts, not in dialog boxes.
  2651.  
  2652.     If you have tailored the find prompt to appear as a command line or
  2653.     one-line box, default search options will be added by the editor if
  2654.     you have not specified any search options in the prompt (see the
  2655.     "SearchOpt" configuration setting 17-8). To prevent default search
  2656.     options from being added, either specify your own options or just
  2657.     add a "/" to the end of the search string.
  2658.  
  2659.     Prompt history is available at the find prompt (see "Prompts" 2-6).
  2660.     Note that the Find, Replace, and Scan prompts all share the same
  2661.     prompt history.
  2662.  
  2663.  
  2664.   - askrpl  "Replace.."  <Ctrl-G>
  2665.  
  2666.     This command prompts you for a character string to search for in the
  2667.     current Edit window, and a character string to replace it with.
  2668.     "Search options" can also be specified. The search options are the
  2669.     same as the search options specified for the "askfind" command (see
  2670.     above).
  2671.  
  2672.     The following "replace option" may also be specified:
  2673.  
  2674.       a - Replaces all occurrences of the search string that are found.
  2675.           A message will tell you how many replacements were made.
  2676.  
  2677.     If the replace option "a" is not specified, then you will be
  2678.     prompted to verify each replacement. Each time the search string is
  2679.     found, the following prompt will appear on the window title bar:
  2680.  
  2681.       Replace (Yes/No/All/One/Reverse/Quit)?
  2682.                                                  Search and Replace   46
  2683.  
  2684.  
  2685.     You can select one of the replace/verify options by entering the
  2686.     first character of the desired option:
  2687.  
  2688.       - y (Yes)      Replace and continue searching
  2689.       - n (No)       Do not replace and continue searching
  2690.       - a (All)      Replace all remaining occurrences without prompting
  2691.       - o (One)      Replace and do not continue searching
  2692.       - r (Reverse)  Do not replace and change the search direction
  2693.       - q (Quit)     Cancel the search
  2694.  
  2695.     Entering any other character or function key will cancel the search.
  2696.  
  2697.  
  2698.     Note that any string replacements made with this command can be
  2699.     reversed with the "undo" <Ctrl-U> and "undo %r" <Ctrl-Y> commands.
  2700.  
  2701.     If you have tailored the replace prompt to appear as a dialog box,
  2702.     you can select these options from the "replace options" group box.
  2703.     You can also configure which options default to "selected" when the
  2704.     dialog box is displayed (see the configuration settings "SearchOpt"
  2705.     and "ReplaceOpt" 17-8).
  2706.  
  2707.     If you have tailored the replace prompt to appear as a command line
  2708.     or one-line box, enter the search string at the prompt followed by
  2709.     the slash character (/), replace string, and another slash
  2710.     character. Then press the <Enter> key. For example:
  2711.  
  2712.       (string/repl/iwrbga) Repl> editor/Aurora/  <Enter>
  2713.  
  2714.     In the example above the editor will replace the first occurrence of
  2715.     the string "editor" with the string "Aurora". Note that the
  2716.     terminating slash is required.
  2717.  
  2718.     Search and replace options can be entered after the last slash (/)
  2719.     character. For example:
  2720.  
  2721.       (string/repl/iwrbga) Repl> editor/Aurora/irga  <Enter>
  2722.  
  2723.     In the example above, the editor will replace all occurrences of the
  2724.     string "editor" (ignoring case) with the string "Aurora". The search
  2725.     will proceed from the bottom of the file to the top of the file and
  2726.     you will not be prompted for any replacement.
  2727.  
  2728.     If you need to include the slash character (/) in the search string
  2729.     or replace string, enter it twice. For example:
  2730.  
  2731.       (string/repl/iwrbga) Repl> edi//tor/Aur//ora/  <Enter>
  2732.                                                  Search and Replace   47
  2733.  
  2734.  
  2735.     In the example above, the search string is "edi/tor" and the replace
  2736.     string is "Aur/ora". Note that double slashes are only required in
  2737.     one-line boxes or command line prompts, not in dialog boxes.
  2738.  
  2739.     If you would like to replace the search string with a "null" replace
  2740.     string, specify the "z" replace option without specifying a replace
  2741.     string. For example:
  2742.  
  2743.       (string/repl/iwrbga) Repl> xyz/za  <Enter>
  2744.  
  2745.     In the example above, the editor will delete all occurrences of the
  2746.     string "xyz" from the cursor position to the end of the file.
  2747.  
  2748.     If you have tailored the replace prompt to appear as a command line
  2749.     or one-line box, and you have not specified any search or replace
  2750.     options, then the default search and replace options will be added
  2751.     by the editor (see the "SearchOpt" configuration setting 17-8). To
  2752.     prevent default options from being added, either specify your own
  2753.     options, or specify the "n" option ("no default").
  2754.  
  2755.     If you have tailored the Find prompt to appear as a command-line or
  2756.     one-line box prompt, you can also enter any replace command in the
  2757.     Find prompt. This allows you to enter both Find and Replace commands
  2758.     from only one prompt.
  2759.  
  2760.     Prompt history is available at the replace prompt (see "Prompts"
  2761.     2-6). Note that the Find, Replace, and Scan prompts all share the
  2762.     same prompt history.
  2763.  
  2764.   - finl  "Repeat Last Find/Repl"  <Ctrl-L>
  2765.  
  2766.     This command will repeat the last find or replace command you
  2767.     entered, without prompting you for search or replace strings.
  2768.  
  2769.   - search  [search string]  [options]
  2770.  
  2771.     This command is used to perform the search and replace commands
  2772.     without prompting. The search string must be specified in the same
  2773.     way as it would be specified for the search and replace command line
  2774.     or one-line box prompts (see above). Specifying the "r" option adds
  2775.     the search string to the search prompt history. For example:
  2776.  
  2777.       search "abc/i" %r.
  2778.  
  2779.     The above command searches for the string "abc" (ignoring case) in
  2780.     the current Edit window, and adds the search string to the search
  2781.     prompt history.
  2782.                                                  Search and Replace   48
  2783.  
  2784.  
  2785.   - askscan  "Scan Files.."  <Ctrl-S>
  2786.  
  2787.     This command allows you to scan a directory (or a group of files
  2788.     designated by a "wildcards") for a character string. You will be
  2789.     prompted for the directory or wildcard file specification, and for a
  2790.     search string and search options. The "Ignore Case" (i) and "Whole
  2791.     Words" (w) search options can be used with this command (see the
  2792.     "askfind" command above for a description of these search options).
  2793.  
  2794.     After the scan has completed, a File Manager window will be
  2795.     displayed showing all the files in which the search string was
  2796.     found. Position the cursor to the file you wish to edit and press
  2797.     <Enter> or double-click the left mouse button if you are using the
  2798.     mouse. The file will be loaded into an Edit window and the cursor
  2799.     will be positioned at the first occurrence of the matched search
  2800.     string. You can use the "finl" <Ctrl-L> command ("Repeat Last
  2801.     Find/Repl" - see above) to find other occurrences.
  2802.  
  2803.     If you have tailored the scan prompt to appear as a dialog box, you
  2804.     can select scan search options from the "search options" group box.
  2805.     You can also configure which search options default to "selected"
  2806.     when the dialog box is displayed (see the configuration setting
  2807.     "SearchOpt" 17-8).
  2808.  
  2809.     If you have tailored the scan prompt to appear as a command line or
  2810.     one-line box, enter search string at the scan prompt:
  2811.  
  2812.       (string/files/iw) Scan> Aurora  <Enter>
  2813.  
  2814.     In the above example, the editor will search all files in the
  2815.     current directory for the string "Aurora". Consider the following
  2816.     example:
  2817.  
  2818.       (string/files/iw) Scan> Aurora/c:\doc\*.txt  <Enter>
  2819.  
  2820.     In this example, the editor will search all files with the extension
  2821.     ".txt" in the directory "c:\doc" for the string "Aurora". Now
  2822.     consider the following example:
  2823.  
  2824.       (string/files/iw) Scan> Aurora/*.doc/i  <Enter>
  2825.  
  2826.     In this example, the editor will search all files in the current
  2827.     directory with the extension .DOC for the string "Aurora",
  2828.     ignoring case during the search.
  2829.  
  2830.     As with the "askfind" command above, if you need to include the
  2831.     slash character (/) in the search string, enter it twice. Note that
  2832.     double slashes are only required in one-line boxes or command line
  2833.     versions of the scan prompt, not in dialog boxes.
  2834.                                                  Search and Replace   49
  2835.  
  2836.  
  2837.     If you have tailored the scan prompt to appear as a command line or
  2838.     one-line box, default search options will be added by the editor if
  2839.     you have not specified any search options (see the "SearchOpt"
  2840.     configuration setting 17-8)
  2841.  
  2842.     Note that you can use the <Ctrl-Break> key to interrupt the
  2843.     execution of the "askscan" <Ctrl-S> command.
  2844.  
  2845.     Prompt history is available at the Scan prompt (see "Prompts" 2-6).
  2846.     Note that the Find, Replace, and Scan prompts all share the same
  2847.     prompt history.
  2848.                                                            Printing   50
  2849.  
  2850.  
  2851.   12-1  Printing
  2852.   ──────────────
  2853.  
  2854.   The Aurora Editor provides commands for printing the contents of the
  2855.   current window, or printing a marked block of text within an Edit
  2856.   window. Using the File Manager, you can mark groups of files for
  2857.   printing and print directory listings (see "The File Manager" 16-1).
  2858.  
  2859.   Print commands will use the current printer settings to format output
  2860.   to the printer (see "Configuration - Print Settings" 17-11). The
  2861.   following print commands are available:
  2862.  
  2863.   - print     "Print" <Ctrl-P>  (Edit window)
  2864.   - print %d  "Print" <Ctrl-P>  (File Manager window)
  2865.  
  2866.     These commands print the entire contents of an Edit window or File
  2867.     Manager window using the current printer settings. Printing can be
  2868.     aborted by pressing <Ctrl-Break>.
  2869.  
  2870.   - print %m  "Print Block"  <Alt-P>
  2871.  
  2872.     This command prints the current marked block using the current
  2873.     printer settings. The marked block need not reside in the current
  2874.     window. Printing can be aborted by pressing <Ctrl-Break>.
  2875.  
  2876.   - prtstr (byte 12)  "Print Formfeed"
  2877.  
  2878.     This command ejects a page by sending a formfeed character (ascii
  2879.     12) to the printer defined in the current printer settings. The
  2880.     "prtstr" command can be used to send any control character sequence
  2881.     to the printer. For example:
  2882.  
  2883.       prtstr (byte 13 10)
  2884.  
  2885.     The above command sends a carriage return (ascii 13) and linefeed
  2886.     (ascii 10) to the printer.
  2887.  
  2888.   - prtfil  [filename]
  2889.  
  2890.     This command prints the contents of the specified filename, using
  2891.     the current printer settings. Printing can be aborted by pressing
  2892.     <Ctrl-Break>.
  2893.                                                            Printing   51
  2894.  
  2895.  
  2896.   - askprtset  "Print Settings.."
  2897.  
  2898.     This command displays a dialog box which allows you to change the
  2899.     current printer settings. You can change any of the following
  2900.     settings:
  2901.  
  2902.     - printer options, including header, footer, page numbers, line
  2903.         numbers, eject when done
  2904.     - printer output device or file
  2905.     - lines per page
  2906.     - line spacing
  2907.     - number of copies
  2908.     - printer initialization string
  2909.     - top, bottom, left, and right margins
  2910.  
  2911.     For more information on printer settings, see "Configuration -
  2912.     Print Settings" (17-10).
  2913.                                                     Window Settings   52
  2914.  
  2915.  
  2916.   13-1  Window Settings
  2917.   ─────────────────────
  2918.  
  2919.   For each Edit window in The Aurora Editor there are settings such as
  2920.   "Word Wrap" and "Line Draw" which can be switched ON or OFF during an
  2921.   edit session. You can switch these settings ON or OFF from the
  2922.   "Settings" pull-down menu, or you can define keys which toggle the
  2923.   settings.
  2924.  
  2925.   Each Edit window has it's own copy of these settings, so that changing
  2926.   a setting in one Edit window does not affect the settings of another
  2927.   Edit window. This feature can very convenient when you switch back and
  2928.   forth often between two or more Edit windows and you don't want to
  2929.   keep changing the settings every time you switch windows (for example,
  2930.   editing program source code in one window with "Word Wrap" OFF, and
  2931.   documentation in another window with "Word Wrap" ON).
  2932.  
  2933.   If the configuration setting "SaveWin" is ON, then window settings for
  2934.   each file you edit are "remembered" across edit sessions (see
  2935.   "Configuration - Desktop Options" 17-11). When you close an Edit
  2936.   window, these settings are saved along with the window sizes and
  2937.   cursor positions. The window settings are restored the next time the
  2938.   file is edited.
  2939.  
  2940.   The following section describes the settings associated with each Edit
  2941.   window. Each setting is listed in the following format:
  2942.  
  2943.     togglecommand  "menu item"  <key>
  2944.  
  2945.   The "togglecommand" is the command used to toggle the ON/OFF state of
  2946.   the setting. The "menu item" is the description of the setting as it
  2947.   appears on the "Set" pull-down menu. <key> is the default key used to
  2948.   toggle the setting (if any).
  2949.  
  2950.  
  2951.   - wmwrap  "Word Wrap"  <Ctrl-W>
  2952.  
  2953.     This setting is useful for word processing. It allows you to type
  2954.     freely without having to press <Enter> at the end of each line.
  2955.  
  2956.     If this setting is ON, and you are typing beyond the Right Margin, a
  2957.     new line is inserted after the current line, and the word you are
  2958.     currently typing (and any characters following it) are moved to the
  2959.     next line. If the "AutoIndent" Window Setting is ON, the beginning
  2960.     of the new line is aligned with the first non-blank character of the
  2961.     previous line, otherwise the new line begins at column 1. The cursor
  2962.     is placed in the same relative position in the word as it was on the
  2963.     previous line.
  2964.                                                     Window Settings   53
  2965.  
  2966.  
  2967.   - wmautoi  "AutoIndent"
  2968.  
  2969.     This setting is useful for word processing and general editing. It
  2970.     aligns the beginning of newly inserted lines with the previous line
  2971.     or next line, thus saving you keystrokes.
  2972.  
  2973.     If this setting is ON and a new line is inserted, the cursor is
  2974.     moved to the first non-blank column of the previous line. If the
  2975.     previous line is blank, then the cursor is moved to the first
  2976.     non-blank column of the next line. If the next line is also blank,
  2977.     the cursor column does not change.
  2978.  
  2979.     The AutoIndent setting can affect the following commands when a new
  2980.     line is inserted:
  2981.  
  2982.     - lins      "Insert Line"  <Ctrl-Enter>
  2983.     - lspl      "Split Line"   <Alt-S>
  2984.     - enteredit                <Enter>
  2985.     - entering characters when "Word Wrap" is ON
  2986.  
  2987.   - wmvtab  "Variable Tabs"
  2988.  
  2989.     This setting allows you use the preset tab positions specified in
  2990.     the "Tabs" configuration setting (see "Configuration - Word
  2991.     Processing" 17-4).
  2992.  
  2993.     If this setting is ON, and the "ctab" <Tab> command is entered, the
  2994.     cursor will move to the next column position specified in the "Tabs"
  2995.     configuration setting. Entering the "ctab %l" <Shift-Tab> command
  2996.     will do the same in reverse.
  2997.  
  2998.     If set ON, Variable Tabs will override regular "Interval" Tabs, but
  2999.     Variable Tabs can in turn be overridden by "Smart Tabs" (see below).
  3000.  
  3001.   - wmsmtab  "Smart Tabs"
  3002.  
  3003.     Setting Smart Tabs ON can save you time when entering data in
  3004.     columns.
  3005.  
  3006.     If this setting is ON, and the "ctab" <Tab> command is entered, the
  3007.     cursor will move to the column of the next word on the nearest
  3008.     previous non-blank line. Entering the "ctab %l" <Shift-Tab> command
  3009.     will do the same in reverse.
  3010.  
  3011.     If set ON, "Smart Tabs" will override Variable Tabs and Interval
  3012.     Tabs.
  3013.                                                     Window Settings   54
  3014.  
  3015.  
  3016.   - wmmat  "Match Character"
  3017.  
  3018.     This setting can be useful for entering expressions in program
  3019.     source code. If this setting is ON and the characters (, [, or " are
  3020.     entered, The Aurora Editor will automatically enter the matching
  3021.     character ), ], or ".
  3022.  
  3023.   - wmbak  "Backup"
  3024.  
  3025.     If this setting ON and the current file is saved with The Aurora
  3026.     Editor, the previous version of the file on disk will be saved in
  3027.     a backup file. The new backup file will replace any existing backup
  3028.     file.
  3029.  
  3030.     If a backup directory is defined with the configuration setting
  3031.     "BakDir" (see "Configuration - Save Options" 17-7), then the backup
  3032.     file will be saved in the specified backup directory, otherwise it
  3033.     will be saved with the extension defined with the "BakExt"
  3034.     configuration setting (the default is ".BAK") in the same directory
  3035.     as the file.
  3036.  
  3037.   - wmdraw  "Line Draw"  <Ctrl-D>
  3038.  
  3039.     This setting can be useful for creating boxes, charts, and other
  3040.     text mode drawings. When Line Draw is ON, the cursor keys can be
  3041.     used to draw lines using the text mode graphics characters.
  3042.  
  3043.   - sdraws [0/1/2/3/4]  "Line Style"
  3044.  
  3045.     This setting is the line style used to draw lines with the cursor
  3046.     keys when Line Draw is ON. You can choose any of the following
  3047.     values:
  3048.  
  3049.       0 - Single
  3050.       1 - Double Horizontal
  3051.       2 - Double Vertical
  3052.       3 - Double
  3053.       4 - Eraser
  3054.                                                     Global Settings   55
  3055.  
  3056.  
  3057.   13-2  Global Settings
  3058.   ─────────────────────
  3059.  
  3060.   There are many settings which are global to all windows. These
  3061.   settings are macro language variables located in the configuration
  3062.   file ACFG.A, and can be modified as configuration settings (see
  3063.   "Configuration" 17-1).
  3064.  
  3065.   However, some of these global settings can also be modified during an
  3066.   edit session from the "Set" pull-down menu. If you wish, you can also
  3067.   define keys which display the current values of these settings and
  3068.   prompt you to enter new values.
  3069.  
  3070.   The following section describes global settings which can be changed
  3071.   during an edit session from the "Set" pull-down menu. Each setting is
  3072.   listed in the following format:
  3073.  
  3074.     promptcommand  "menu item"  <key>
  3075.  
  3076.   The "promptcommand" is the command which displays the current value of
  3077.   the setting and prompts you to enter a new value. The "menu item" is
  3078.   the description of the setting as it appears on the "Set" pull-down
  3079.   menu. <key> is the default key used to display the prompt (if any):
  3080.  
  3081.   - asktabw  "Tab Width.."
  3082.  
  3083.     The Tab Width specifies the distance between tab stops for "Interval
  3084.     Tabs". For example, a value of 8 would place tab stops at columns 1,
  3085.     9, 17, 25, etc. The cursor can be moved to the tab stops by using the
  3086.     "ctab" <Tab> and "ctab %l" <Shift-Tab> commands when the "Variable
  3087.     Tabs" and "Smart Tabs" settings are OFF.
  3088.  
  3089.     The "TabWidth" setting is also used as the tab width for the
  3090.     "exptab" <Ctrl-K-X> command ("Expand Tabs" on the "Edit" pull-down
  3091.     menu).
  3092.  
  3093.     The default value of the Tab Width is determined by the
  3094.     configuration setting "TabWidth". The installation default is 8.
  3095.  
  3096.   - asktabv  "Variable Tab Stops.."
  3097.  
  3098.     This setting is a string of explicitly specified tab stops which you
  3099.     can use to override the Interval Tabs specified by the "TabWith"
  3100.     setting above, when the "Variable Tabs" setting is ON (and the
  3101.     "Smart Tabs" setting is OFF). Unlike the tab stops specified with
  3102.     the "Tab Width" setting, Variable Tab Stops need not occur at
  3103.     regular intervals.
  3104.                                                     Global Settings   56
  3105.  
  3106.  
  3107.     The default value of "Variable Tab Stops" is determined by the
  3108.     configuration setting "Tabs". The installation default is "4 8 16 24
  3109.     50 72".
  3110.  
  3111.   - asklmrg  "Left Margin.."
  3112.  
  3113.     The Left Margin setting is used as the default left margin for the
  3114.     following commands on the "Block" pull-down menus, when used with
  3115.     line marks:
  3116.  
  3117.     - lcen      "Center Line"
  3118.     - mjust     "Left Justify", "Right Justify", "Center"
  3119.     - askmfill  "Fill"
  3120.     - mmov %of  "Move Over"
  3121.     - mrfl      "Reflow", "Reflow RJust"
  3122.  
  3123.     The default value of the Left Margin is determined by the
  3124.     configuration setting "LMargin". The installation default is 3.
  3125.  
  3126.   - askrmrg  "Right Margin.."
  3127.  
  3128.     The Right Margin setting is used as the right margin for the "Word
  3129.     Wrap" Window Setting, and for the same block commands used with line
  3130.     marks described above in the Left Margin setting (see above).
  3131.  
  3132.     The default value of the Right Margin is determined by the
  3133.     configuration setting "RMargin". The installation default is 72.
  3134.  
  3135.   - askind  "Paragraph Indent.."
  3136.  
  3137.     This setting determines the number of columns to indent a paragraph
  3138.     when using the "mrfl %b" commands ("Reflow" and "Reflow RJust" on
  3139.     the "Block" pull-down menu).
  3140.  
  3141.     The default value of Paragraph Indent is determined by the
  3142.     configuration setting "Indent". The installation default is 0.
  3143.  
  3144.   - askdefx  "Default File Extensions.."
  3145.  
  3146.     This setting is a list of default file extensions to try when you
  3147.     attempt to open a file without specifying a file extension.
  3148.  
  3149.     The default value of "Default File Extensions" is determined by the
  3150.     configuration setting "DefExt" (see "Configuration - Default File
  3151.     Extensions 17-5). The installation default is "c h cpp doc txt a asm
  3152.     pas inc bat".
  3153.                                                     Global Settings   57
  3154.  
  3155.  
  3156.   - askbin  "Binary Line Length.."
  3157.  
  3158.     This setting is used to determine the length of each line in the
  3159.     file when the file is loaded in Binary Mode.
  3160.  
  3161.     The default value of the Binary Line Length is determined by the
  3162.     configuration setting "BinaryLength". The installation default is
  3163.     64.
  3164.  
  3165.   - askdlm  "Line Delimiter.."
  3166.  
  3167.     This setting is the end-of-line delimiter to be used when loading
  3168.     and saving files in non-binary mode. The Line Delimiter can be one
  3169.   or two bytes long. If the line delimiter is two bytes long, only the
  3170.     last byte is actually used as the line delimiter during file loading
  3171.     (however, if the first byte is found immediately before the second
  3172.     byte, it will be "blanked-out" along with the second byte during the
  3173.     loading process).
  3174.  
  3175.     The default value of the Line Delimiter is determined by the
  3176.     configuration setting "LineDlm". The installation default is "0D0Ah"
  3177.     (carriage return & linefeed).
  3178.  
  3179.  
  3180.   You can save and restore all the current global settings with the
  3181.   following commands:
  3182.  
  3183.   - setres   "Restore Settings"  <Alt-F2>
  3184.  
  3185.     Use the "setres" <Alt-F2> command whenever you wish to restore the
  3186.     default settings, or when you need to change the files containing
  3187.     the configuration settings (ACFG.A), keyboard and mouse definitions
  3188.     (AKBD.A), or menu and tool bar definitions (AMEN.A).
  3189.  
  3190.     This command actually re-compiles the macro language source file
  3191.     A.A, and re-generates the file A.X. The source file A.A includes the
  3192.     files ACFG.A, AMEN.A, ALIB.X, and AKBD.A. The resulting compiled
  3193.     file A.X is interpreted by A.EXE and A3.EXE and contains all the
  3194.     compiled macro language code for The Aurora Editor.
  3195.  
  3196.     Note that if you have previously used the "setsav" command (see
  3197.     below) to save global settings, those settings will revert back to
  3198.     the defaults defined in ACFG.A after this command is entered.
  3199.                                                     Global Settings   58
  3200.  
  3201.  
  3202.   - setsav   "Save Current Settings"
  3203.  
  3204.     This command saves all the current settings, including the settings
  3205.     described above, printer settings, the current window style, prompt
  3206.     style, and the current video mode.
  3207.  
  3208.     Note: This command works the same as the setres <Alt-F2> command
  3209.     (see above), except that configuration settings are taken from the
  3210.     current edit session. The file ACFG.A is not included.
  3211.                                                          Key Macros   59
  3212.  
  3213.  
  3214.   14-1  Key Macros
  3215.   ────────────────
  3216.  
  3217.   A Key Macro is a "recorded" sequence of keystrokes which can be played
  3218.   back on demand. This feature can be very useful for situations where
  3219.   the same sequence of keystrokes are entered over and over again.
  3220.  
  3221.   The Aurora Editor will allow you to record and play key macros of
  3222.   virtually any length. Once they are recorded, you can assign them to a
  3223.   key of your choice, or just keep them in a temporary "scrap" area. You
  3224.   can save and load key macros that you have previously recorded. Also,
  3225.   The Aurora Editor can be configured to automatically load and save all
  3226.   your key macros when you enter and exit the editor (see the "SaveMac"
  3227.   configuration setting 17-11).
  3228.  
  3229.   The key macro commands are:
  3230.  
  3231.   - krec  "Record Toggle"  <Ctrl-R>
  3232.  
  3233.     This command will toggle the record mode ON and OFF. When the record
  3234.     mode is ON, all keystrokes you enter will be recorded until the
  3235.     record mode is turned OFF. After a key macro has been recorded, it
  3236.     resides in a temporary "scrap" buffer until it is assigned to a key
  3237.     or erased.
  3238.  
  3239.     If the record mode is turned ON and there is already a key macro in
  3240.     the scrap buffer, any new recorded keystrokes will be appended to
  3241.     the end of the macro in the scrap buffer. To record a completely new
  3242.     key macro, you should first delete any key macro in the scrap buffer
  3243.     with the "kdel" <Ctrl-I> command (see below).
  3244.  
  3245.   - kplay  "Play"  <Ctrl-E>
  3246.  
  3247.     This command will "play" the key macro in the scrap buffer.
  3248.  
  3249.   - kdel  "Erase"  <Ctrl-I>
  3250.  
  3251.     This command will erase the key macro in the scrap buffer.
  3252.  
  3253.   - kdel %a  "Erase All"
  3254.  
  3255.     This command will erase ALL current key macros. This includes any
  3256.     key macros that were assigned to keys and the key macro in the
  3257.     scrap buffer.
  3258.                                                          Key Macros   60
  3259.  
  3260.  
  3261.   - askkopen  "Open.."
  3262.  
  3263.     This command will prompt you for a key macro file created by the
  3264.     "askksav" command, and then load the key macro file. If there are
  3265.     any conflicts between key assignments in the macro file and current
  3266.     key macro assignments, the key macros in the file will replace the
  3267.     current key macros.
  3268.  
  3269.     Prompt history is available at this prompt (see "Prompts" 2-6).
  3270.  
  3271.   - kopen [filename]
  3272.  
  3273.     This command opens the key macros in the specified filename, without
  3274.     prompting you for the filename.
  3275.  
  3276.   - askksav  "Save.."
  3277.  
  3278.     This command will prompt you for a filename, and then saves all the
  3279.     current key macros in the filename you entered. All macros will be
  3280.     saved, including any key macros that were assigned to keys and the
  3281.     key macro in the scrap buffer.
  3282.  
  3283.     Prompt history is available at this prompt (see "Prompts" 2-6).
  3284.  
  3285.   - ksav  [filename]
  3286.  
  3287.     This command saves all the current key macros in the specified
  3288.     filename, without prompting.
  3289.  
  3290.   - kcat  "Assign to Key.."
  3291.  
  3292.     This command allows you to assign the key macro in the "scrap"
  3293.     buffer to the function key of your choice. You will be prompted to
  3294.     enter the function key. Note that you cannot assign a key macro to a
  3295.     "compound" function key, such as "<F1> <F2>".
  3296.  
  3297.     When the key macro in the scrap buffer has been assigned to a
  3298.     function key, it is removed from the scrap buffer.
  3299.                                                     Other Commands   61
  3300.  
  3301.  
  3302.   15-1  Other Commands
  3303.   ────────────────────
  3304.  
  3305.   Other macro commands are available from the "Macro" pull-down menu:
  3306.  
  3307.   - opena %acfg  "Configuration.."
  3308.  
  3309.     This command opens the file ACFG.A which contains all the
  3310.     configuration settings for The Aurora Editor.
  3311.  
  3312.   - opena %akbd  "Keys.."
  3313.  
  3314.     This command opens the file AKBD.A which contains the current
  3315.     keyboard and mouse definitions for The Aurora Editor.
  3316.  
  3317.   - opena %amen  "Menus.."
  3318.  
  3319.     This command opens the file AMEN.A which contains the current menu
  3320.     and tool bar definitions for The Aurora Editor.
  3321.  
  3322.  
  3323.   - askmcmd  "Macro Command.."  <Ctrl-V>
  3324.  
  3325.     This command prompts you for a macro language expression, and then
  3326.     evaluates it. For complete documentation on The Aurora Macro
  3327.     Language, see "The Aurora Macro Language Guide" (AML.DOC).
  3328.  
  3329.     Prompt history is available at this prompt (see "Prompts" 2-6).
  3330.  
  3331.   - askmrun  "Run Macro.."
  3332.  
  3333.     This command prompts you for the name of a macro language file, and
  3334.     then executes it. The macro language file may be a source file
  3335.     (extension ".A"), or a compiled file (extension ".X"). If no file
  3336.     extension is specified, then ".X" is tried first, followed by ".A".
  3337.     When the macro file is finished executing, all the macro code loaded
  3338.     from the file is discarded.
  3339.  
  3340.     Prompt history is available at this prompt (see "Prompts" 2-6).
  3341.  
  3342.   - askminc  "Include Macro.."
  3343.  
  3344.     This command is identical to the "askmrun" command above, except
  3345.     that when the macro file is finished executing, all the loaded macro
  3346.     code remains present in the editor.
  3347.  
  3348.     Prompt history is available at this prompt (see "Prompts" 2-6).
  3349.                                                     Other Commands   62
  3350.  
  3351.  
  3352.   - askmcom  "Compile Macro.."
  3353.  
  3354.     This command prompts you for the name of a macro language source
  3355.     file, and then compiles it. If no file extension is specified, then
  3356.     ".A" is assumed. The compiled file is placed in the same directory
  3357.     as the source file, but has the extension ".X".
  3358.  
  3359.     Prompt history is available at this prompt (see "Prompts" 2-6).
  3360.  
  3361.  
  3362.   Other macro commands not available from the "Macro" pull-down are:
  3363.  
  3364.   - mcmd  [macro expression]
  3365.  
  3366.     This command evaluates the specified macro expression, without
  3367.     prompting.
  3368.  
  3369.   - mrun  [macro source or compiled filename]
  3370.  
  3371.     This command evaluates the specified macro source or compiled file,
  3372.     without prompting. When done, the macros are discarded.
  3373.  
  3374.   - minc  [macro source or compiled filename]
  3375.  
  3376.     This command evaluates the specified macro source or compiled file,
  3377.     without prompting. When done, the macro code remains in the editor.
  3378.  
  3379.   - mcom  [macro source filename]
  3380.  
  3381.     This command compiles the specified macro source file, without
  3382.     prompting you for the filename.
  3383.  
  3384.  
  3385.   15-2  Miscellaneous Library Functions
  3386.   ─────────────────────────────────────
  3387.  
  3388.   The following commands are some additional library functions contained
  3389.   in ALIB.X for use with The Aurora Macro Language (see "The Aurora
  3390.   Macro Language Guide").
  3391.  
  3392.   - say  [message]  [options].
  3393.  
  3394.     Displays the string [message] on the window title bar. The following
  3395.     options may be specified:
  3396.  
  3397.       b - a short beep is sounded
  3398.       k - the user is prompted to enter a character. The character
  3399.           entered is returned.
  3400.                                                     Other Commands   63
  3401.  
  3402.  
  3403.   - mbox  [title]  [message]  [options].
  3404.  
  3405.     Displays the message [message] in a dialog box with an "Ok" button.
  3406.     The dialog box will have the window title [title]. If the option
  3407.     "b" is specified, a short beep is sounded.
  3408.  
  3409.   - ask  [prompt]  [title]  [width].
  3410.  
  3411.     Prompts the user for a string using the prompt description [prompt].
  3412.     This function returns the string entered at the prompt, or null if
  3413.     the prompt was cancelled.
  3414.  
  3415.     If user-defined prompts are configured to appear as dialog boxes
  3416.     (see "Configuration - Editing Preferences" 17-8), then [title] and
  3417.     [width] specify the dialog box title and width. If the width is not
  3418.     specified, the default width is 44.
  3419.  
  3420.   - askbox  [title]  [options]  [item 1]  [item 2]  [item 3] ...
  3421.  
  3422.     Displays a menu box with the title [title]. One of the following
  3423.     [options] can be specified:
  3424.  
  3425.       o - displays an "Ok/Cancel" menu box
  3426.       y - displays a "Yes/No/Cancel" menu box
  3427.       i - displays a menu box with the lines [item 1], [item 2], etc.
  3428.           To highlight a character in a menu item, prefix it with an
  3429.           ampersand (&) character.
  3430.  
  3431.     If no options are specified, the default is "i".
  3432.  
  3433.     This function returns the menu item selected (without the first
  3434.     character - the first character is usually blank), or null if the
  3435.     menu box was cancelled by pressing <Esc> or clicking on the menu box
  3436.     "close" (≡) icon.
  3437.  
  3438.   - keyx  [key prefix].
  3439.  
  3440.     Creates a new compound key prefix. Compound key prefixes can greatly
  3441.     increase the number of available function keys (see "Defining
  3442.     Compound Keys" 18-3).
  3443.  
  3444.   - moubegmrk  [x]  [y]  [options].
  3445.  
  3446.     This command allows you to create a marked block from within a mouse
  3447.     event handler function. [x] and [y] are virtual x and y coordinates
  3448.     which specify the starting point of the marked block on the screen
  3449.     ([x] and [y] are passed to the mouse event handler function by the
  3450.     editor).
  3451.                                                     Other Commands   64
  3452.  
  3453.  
  3454.     [options] specifies the type of mark to be created and can be one of
  3455.     the following:
  3456.  
  3457.       l - line mark
  3458.       r - column mark
  3459.       s - stream mark
  3460.  
  3461.   - moumovmrk  [x]  [y].
  3462.  
  3463.     This command extends the marked block created with the "moubegmrk"
  3464.     command above to virtual coordinates [x] and [y]  ([x] and [y] are
  3465.     passed to the mouse event handler by the editor).
  3466.  
  3467.   - mouendmrk  [x]  [y].
  3468.  
  3469.     This command extends the marked block created with the "moubegmrk"
  3470.     command above to virtual coordinates [x] and [y], and completes the
  3471.     mouse marking process ([x] and [y] are passed to the mouse event
  3472.     handler by the editor).
  3473.  
  3474.   - dn.
  3475.  
  3476.     Returns the filename or directory name at the cursor in a File
  3477.     Manager window.
  3478.  
  3479.   - winsizt  [left]  [top]  [right]  [bottom]  [reps]  [options].
  3480.  
  3481.     Resizes the current window to coordinates [left], [top], [right],
  3482.     [bottom]. Unlike the native function "winsiz", this function adjusts
  3483.     the title bar controls (see "The Aurora Macro Language Guide"). The
  3484.     following [options] may be specified:
  3485.  
  3486.       r - coordinates are relative to the current size
  3487.       a - coordinates are absolute (relative the "origin" - see below)
  3488.       s - scrolls the window to keep the cursor visible, if necessary
  3489.  
  3490.     If option "a" is specified, the following options may also be
  3491.     specified:
  3492.  
  3493.       d - origin is at the top left corner of the screen
  3494.       z - origin is at the virtual coordinates 0, 0
  3495.  
  3496.     If option "r" is specified, [reps] specifies the number of sizing
  3497.     repetitions (the default is 1). If no options are specified, option
  3498.     "r" is assumed.
  3499.  
  3500.                                                     Other Commands   65
  3501.  
  3502.   - qwrd  [char set].
  3503.  
  3504.     Returns the word at the cursor. [char set] is the character set used
  3505.     to define a word (see "Configuration - Character Sets" 17-14).
  3506.  
  3507.   - qwinmin.
  3508.  
  3509.     Returns "1" if the current window is minimized, otherwise it returns
  3510.     null.
  3511.  
  3512.   - qwinmax.
  3513.  
  3514.     Returns "1" if the current window is maximized, otherwise it returns
  3515.     null.
  3516.  
  3517.   - qtimdat
  3518.  
  3519.     Returns a string consisting of the current date and time, in the
  3520.     following format: MM/DD/YY HH:MMmm. For example, "08/30/93
  3521.     01:01am".
  3522.                                                    The File Manager   66
  3523.  
  3524.  
  3525.   16-1  The File Manager
  3526.   ──────────────────────
  3527.  
  3528.   The File Manager is a very useful feature of The Aurora Editor. You
  3529.   can use it to display a list of files in a directory and select one
  3530.   for editing. You can also use it to select several files from a
  3531.   directory and perform file management functions with the selected
  3532.   files, such as Copy, Print, Run, and others - all without leaving the
  3533.   editor.
  3534.  
  3535.   Any number of File Manager windows can be open at one time. Each File
  3536.   Manager window is independent of any other windows. For example, you
  3537.   could have one File Manager window showing a directory on drive C and
  3538.   another File Manager window showing a different directory on drive D.
  3539.  
  3540.   File Manager windows look and behave much like Edit windows in many
  3541.   respects. They are similar in appearance to Edit windows except that
  3542.   they display a directory listing instead of file text. They also have
  3543.   a drive menu bar immediately below the main menu bar, where you can
  3544.   select disk drives (network disk drives are highlighted). Note that
  3545.   File Manager window borders, title bars, title bar controls, menus,
  3546.   and scroll bars all work the same as they do for Edit windows.
  3547.  
  3548.   The following is an example of a File Manager window:
  3549.  
  3550.  
  3551.     Close Icon       North Title Bar
  3552.        │                   │
  3553.        │    North Title    │      Menu Bar        Min/Max/Restore Icons
  3554.        │        │          │        │                       │
  3555.     ▒▒▒│▒▒░░░░░░│░░░░░░░░░░│░░░░░░░░│░░░░░░░░░░░░░░░░░░░░░░░│▒▒▒▒▒
  3556.     ▒▒ ≡ C:\DOC\*.*        ┴        │                      └  ▒▒
  3557.     ▒▒ File  Window  Mark  Command  Sort  Print  Macro  Help    ▒▒
  3558.     ░░ <>  <A>  <B>  <C>  <D>  <E>                             ░░
  3559.     ░░ ..\                                                     ░░
  3560.     ░░ SUBDIR2\                   92-11-02  11:54:06pm  A      ▒───┐
  3561.     ░░ DEMO1    .BAK       31092  93-03-01   4:11:14am  A      ■░░ │
  3562.     ░░ DEMO1    .C         31317  93-03-01   4:15:10am  A      ▒░░ │
  3563.     ░░ HELLO    .TXT        2030  93-01-25   7:33:54pm  A      ░░ │
  3564.     ▒▒■▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
  3565.     ▒▒ 2,114,732 bytes in 114 files    ┬    │   ┌─ Aurora v1.12 ▒▒ │
  3566.     ▒▒▒▒▒▒░░░░│░░░░░░░░░░░░░░░░░░░░░░░░│░░░░│░░░│░░░░░░░░░░░▒▒▒▒▒▒ │
  3567.       │       │        │               │    │   │                  │
  3568.     Corner    │        │  South Title Bar   │  South Title         │
  3569.               │        │                    │                      │
  3570.        South Title    Border          Horz Scroll Bar     Vert Scroll Bar
  3571.                                                    The File Manager   67
  3572.  
  3573.  
  3574.   For each file, the File Manager displays:
  3575.  
  3576.     - the filename and extension
  3577.     - the file size (in bytes or k)
  3578.     - the date and time the file was last modified (or created)
  3579.     - the file attributes (A=archive, H=hidden, R=readonly, S=system)
  3580.  
  3581.   The "south title" of the File Manager window also displays the total
  3582.   number of files in the listing, and the total size (in bytes or k) of
  3583.   all the files.
  3584.  
  3585.  
  3586.   16-2  Creating a File Manager Window
  3587.   ────────────────────────────────────
  3588.  
  3589.   There are several ways to create a new File Manager window:
  3590.  
  3591.   - After entering "A" or "A3" on the DOS command line, enter the
  3592.     name of a directory or a filename with "wildcard" characters (*, ?).
  3593.  
  3594.     Examples:
  3595.       a *.*  <Enter>          - displays a listing of the current directory
  3596.       a .  <Enter>            - displays a listing of the current directory
  3597.       a c:\sys  <Enter>       - displays a listing of the "c:\sys" directory
  3598.       a c:\sys\a*.*  <Enter>  - displays a listing of the "c:\sys" directory
  3599.                                  of all filenames beginning with 'a'
  3600.       a hello.txt .  <Enter>  - creates an Edit window for "hello.txt"
  3601.                                  and a File Manager window listing the
  3602.                                  current directory
  3603.  
  3604.   - Enter the "askopen" <Alt-E> command ("Open.." from the "File" menu)
  3605.     to bring up the Open prompt, and then enter the name of a directory,
  3606.     or a filename with "wildcard" characters (see previous examples). If
  3607.     you press <Enter> from the Open prompt without entering a name, The
  3608.     Aurora Editor will create a File Manager window for the current
  3609.     directory.
  3610.  
  3611.   - Enter the "fmgr" <F4> command ("File Manager.." from the "File"
  3612.     menu) in the current Edit window to create a File Manager window for
  3613.     the current directory.
  3614.  
  3615.   - From an Edit window, position the mouse on the title bar and press
  3616.     the right mouse button to create a File Manager window for the
  3617.     current directory.
  3618.                                                    The File Manager   68
  3619.  
  3620.  
  3621.   16-3  Changing the Directory Listing in a File Manager Window
  3622.   ─────────────────────────────────────────────────────────────
  3623.  
  3624.   It is not always necessary to create a new File Manager window for
  3625.   each directory you wish to display. You can use a single File Manager
  3626.   window to display any drive or directory on your computer.
  3627.  
  3628.   To change the drive displayed in a File Manager window using the
  3629.   mouse, click the left mouse button on the desired drive letter on the
  3630.   drive menu. Using the keyboard, press the <Tab> key repeatedly until
  3631.   the desired drive letter is highlighted and then press <Enter>, or
  3632.   press the <Tab> key and then enter the drive letter.
  3633.  
  3634.   To change the directory displayed in the File Manager window, position
  3635.   the cursor to the desired directory and press <Enter>. To display the
  3636.   directory using the mouse, position the mouse cursor to the directory
  3637.   and double-click the left mouse button.
  3638.  
  3639.   To display the parent directory using the keyboard:
  3640.  
  3641.   - enter the "fpar" <Ctrl-Backspace> command, or:
  3642.   - position the cursor to the "..\" directory and press <Enter>, or:
  3643.   - use the <Tab> key to select the "" icon on the drive menu and
  3644.     then press <Enter>
  3645.  
  3646.   To display the parent directory using the mouse:
  3647.  
  3648.   - click the left mouse button on the "" icon on the drive menu, or
  3649.   - double-click the left mouse button on the "..\" directory
  3650.  
  3651.  
  3652.   16-4  File Manager Commands
  3653.   ───────────────────────────
  3654.  
  3655.   The Aurora Editor allows many commands such as Open, Move, Copy, etc,
  3656.   to performed on files displayed in a File Manager window. You can
  3657.   execute these commands by selecting them from the File Manager
  3658.   "Command" pulldown menu, or by positioning the cursor next to the file
  3659.   or directory and typing in the one-character "command code" for the
  3660.   command you wish to enter. The "command code" is just the highlighted
  3661.   character for the command on the "Command" pulldown menu. If you have
  3662.   previously "marked" any files (see "Marking Files in the File Manager
  3663.   16-5" below), then the command you selected will be performed on all
  3664.   the marked files in the File Manager window.
  3665.  
  3666.   The following section lists the File Manager commands. The one
  3667.   character "command codes" are shown in angled brackets:
  3668.                                                    The File Manager   69
  3669.  
  3670.  
  3671.   - fopen  "Open"  <e>, <o>, <z>, <Enter>, <Ctrl-Enter>
  3672.  
  3673.     This command opens the file and displays it in an Edit window. You
  3674.     can also open the file by double clicking the left mouse button over
  3675.     the file. If you open the file by entering the "z" command code, the
  3676.     new Edit window will be maximized.
  3677.  
  3678.     Note that the <Enter> key will only open the file at the cursor,
  3679.     even if multiple files are marked (see "Marking Files in the File
  3680.     Manager" 16-5). This can be useful for viewing files while marking
  3681.     them.
  3682.  
  3683.     Pressing <Ctrl-Enter> will open the file AND close the File Manager
  3684.     window. The Aurora Editor can be configured so that the File Manager
  3685.     window is always closed whenever a file is opened from it (see the
  3686.     "FmgrQuit" setting in "Configuration - Open Options" 17-6).
  3687.  
  3688.     If the left or right <Shift> key is pressed down when a file is
  3689.     opened from the File Manager, the new Edit window will be tiled
  3690.     (vertically) with all existing windows.
  3691.  
  3692.     If multiple files are marked for opening, the "e" and "z" command
  3693.     codes will load them all into one window. The "o" command code will
  3694.     load each file into a separate window.
  3695.  
  3696.   - fopen %b  "Open Binary"  <b>, <y>
  3697.  
  3698.     This command opens the file in binary mode. The "Binary Line Length"
  3699.     setting is used as the line length (see "Global Settings" 13-2). The
  3700.     <y> command code will load all marked files into only one window,
  3701.     whereas <b> will create a separate window for each file.
  3702.  
  3703.   - fopenk  "Open Key Macro"  <k>
  3704.  
  3705.     This command opens a key macro file. The file must be a valid key
  3706.     macro file. If any conflict exists between old and new key macro
  3707.     assignments, the new key assignments will replace the old key
  3708.     assignments.
  3709.  
  3710.   - fmov  "Move.."  <m>
  3711.  
  3712.     This command moves the file to another filename, directory, or
  3713.     drive. You will be prompted for the new name. You can specify a
  3714.     fully qualified filename, or just a drive or directory.
  3715.     Directories cannot be moved in version 1.12.
  3716.  
  3717.   - fcpy  "Copy.."  <c>
  3718.  
  3719.     This command copies the file to another filename, directory, or
  3720.     drive. You will be prompted for the new name. You can specify a
  3721.     fully qualified filename, or just a drive or directory.
  3722.     Directories cannot be copied in version 1.12.
  3723.                                                    The File Manager   70
  3724.  
  3725.  
  3726.   - fdel  "Delete"  <d>, <Del>
  3727.  
  3728.     This command deletes the file. The Aurora Editor can be configured
  3729.     to delete files with or without user confirmation (see the "ConDel"
  3730.     setting in "Configuration - Confirmations" 17-15). Empty Directories
  3731.     can also be deleted. Directories containing files or other
  3732.     directories cannot be deleted in version 1.12.
  3733.  
  3734.   - fren  "Rename.."  <n>
  3735.  
  3736.     This command changes the name of the file. You will be prompted for
  3737.     the new name. This command can also be used to change directory
  3738.     names.
  3739.  
  3740.     Note: the "Rename" command will ignore any marked files and only
  3741.     works on the file or directory at the cursor (see "Marking Files in
  3742.     the File Manager" 16-5).
  3743.  
  3744.   - frun %c  "Run"  <r>
  3745.  
  3746.     This command executes the file. The file must have a .COM, .EXE,
  3747.     or .BAT extension.
  3748.  
  3749.   - fprt  "Print"  <p>
  3750.  
  3751.     This command prints the file using the current printer settings (see
  3752.     "Configuration - Print Settings" 17-10). The contents of a directory
  3753.     can also be printed with this command.
  3754.  
  3755.   - fatt  "Attributes.."  <a>
  3756.  
  3757.     This command prompts you to change the attributes of a file.
  3758.     Directory attributes can also be changed.
  3759.  
  3760.   - ftch  "Touch"  <t>
  3761.  
  3762.     This command changes the file's date and time to the current date
  3763.     and time. Directories cannot be "touched".
  3764.  
  3765.  
  3766.   Other functions available on the File Manager "Command" menu are:
  3767.  
  3768.   - fcred  "Create Directory.."
  3769.  
  3770.     This command prompts you for a directory name and creates a new
  3771.     directory.
  3772.                                                    The File Manager   71
  3773.  
  3774.  
  3775.   - askscan  "Scan.."  <Ctrl-S>
  3776.  
  3777.     This command allows you to scan a directory or a "wildcard" file
  3778.     specification for a character string (see "Search and Replace"
  3779.     11-1).
  3780.  
  3781.  
  3782.   16-5  Marking Files in the File Manager
  3783.   ───────────────────────────────────────
  3784.  
  3785.   Marking files is a convenient way to execute a single File Manager
  3786.   command on many files in a File Manager window. For example, you can
  3787.   mark a number of files and then copy them all to another directory
  3788.   with only one copy command, instead of copying each file individually.
  3789.  
  3790.   To execute a File Manager command on marked files, simply mark the
  3791.   files with any of the commands listed below and then enter the desired
  3792.   command. The File Manager will automatically detect the presence of
  3793.   marked files and execute the command on the marked files instead of
  3794.   the file at the cursor. Marked files are indicated by a "" character
  3795.   to the left of the filename.
  3796.  
  3797.   You can use the following commands to mark and unmark files:
  3798.  
  3799.   - fmtog  "Mark Toggle"  <Space Bar>
  3800.  
  3801.     This command will toggle the current "marked state" of the file or
  3802.     directory at the cursor. If the file is already marked, it will be
  3803.     unmarked, otherwise it will be marked.
  3804.  
  3805.     Holding the <Shift> key down while using the <cursorup> and
  3806.     <cursordown> keys will also toggle the marked state of the file or
  3807.     directory at the cursor. This can be useful for marking or unmarking
  3808.     a series of contiguous files or directories.
  3809.  
  3810.   - using the mouse
  3811.  
  3812.     Hold the <Shift> key down while clicking the left mouse button over
  3813.     the file or directory at the cursor. This will toggle the marked
  3814.     state of the file or directory. With the left mouse button and
  3815.     <Shift> keys still pressed down, drag the mouse to toggle the marked
  3816.     state of series of contiguous files or directories.
  3817.  
  3818.   - fmrk  "Mark All"  <Alt-M>
  3819.  
  3820.     This command will mark all the files in the current File Manager
  3821.     window. Directories will not be marked.
  3822.                                                    The File Manager   72
  3823.  
  3824.  
  3825.   - fumrk  "Unmark All"  <Alt-U>
  3826.  
  3827.     This command will unmark any marked files and directories in the
  3828.     current File Manager window.
  3829.  
  3830.  
  3831.   16-6  File Manager Sorting
  3832.   ──────────────────────────
  3833.  
  3834.   The order of the files listed in the File Manager can be changed by
  3835.   selecting the desired sort order from the File Manager "Sort"
  3836.   pull-down menu. The configuration setting "FmgrSrt" determines the
  3837.   default sort order when a File Manager window is created (see
  3838.   "Configuration - Open Options" 17-6).
  3839.  
  3840.   You can sort File Manager windows by entering the "fsrt" command with
  3841.   the appropriate parameter:
  3842.  
  3843.   - fsrt %n  "Name"  <Alt-N>
  3844.  
  3845.     This command sorts the File Manager window by filename.
  3846.  
  3847.   - fsrt %s  "Size"  <Alt-S>
  3848.  
  3849.     This command sorts the File Manager window by file size in
  3850.     descending order.
  3851.  
  3852.   - fsrt %d  "Date-Time"  <Alt-D>
  3853.  
  3854.     This command sorts the File Manager window by file date and time in
  3855.     descending order.
  3856.  
  3857.   - fsrt %o  "OS Default"  <Alt-O>
  3858.  
  3859.     This command lists the File Manager window contents in the DOS
  3860.     default order.
  3861.                                                       Configuration   73
  3862.  
  3863.  
  3864.   17-1  Configuration
  3865.   ───────────────────
  3866.  
  3867.   The Aurora Editor is a highly configurable editor. There are
  3868.   configuration settings for video, mouse, window appearances, editing
  3869.   preferences, printing, desktop, and much more.
  3870.  
  3871.   Configuration settings are stored in the file ACFG.A as macro language
  3872.   variables. You can quickly edit this file by entering the "opena
  3873.   %acfg" command or by selecting the "Configuration.." menu item from
  3874.   the "Macro" pulldown menu.
  3875.  
  3876.   To change the value of a specific configuration setting, just locate
  3877.   the configuration setting in the file ACFG.A and use The Aurora Editor
  3878.   to type in the new value. Then save it <F3>, and enter the "setres"
  3879.   <Alt-F2> command ("Restore Settings" on the "Set" pull-down menu). You
  3880.   must exit and re-enter the editor for the new configuration setting to
  3881.   take effect.
  3882.  
  3883.   The following sections describe each of the configuration settings.
  3884.   Acceptable values for each configuration setting are shown in
  3885.   parentheses after the variable. Multiple values are separated by a
  3886.   slash ('/'), and value ranges are indicated with a hyphen ('-'). For
  3887.   configuration settings where "y/n" (Yes or No) can be specified,
  3888.   specifying "null" (blank) is equivalent to specifying "n".
  3889.  
  3890.  
  3891.   17-2  Configuration - Video
  3892.   ───────────────────────────
  3893.  
  3894.   - VidCols (0/40/80)
  3895.  
  3896.     The number of video columns. If zero is specified, The Aurora Editor
  3897.     uses the current DOS default value. The installation default is 0.
  3898.  
  3899.   - VidRows (0/12/14/21/25/28/43/50)
  3900.  
  3901.     The number of video rows. If zero is specified, The Aurora Editor
  3902.     uses the current DOS default value. The installation default is 0.
  3903.  
  3904.   - VidStr
  3905.  
  3906.     Specifies the string used to fill the video background. The string
  3907.     may be 0-50 chars long. You can use this setting to create
  3908.     interesting background patterns. The installation default is "░".
  3909.  
  3910.     If "VidStr" is null or not specified, The Aurora Editor will not
  3911.     change the screen background. The background will be whatever is on
  3912.     the screen when the editor is started.
  3913.  
  3914.   - VidSav (y/n)
  3915.  
  3916.     Specifies whether or not the DOS screen should be captured and
  3917.     restored when entering and exiting the editor (registered version
  3918.     only). The installation default is "y"
  3919.                                                       Configuration   74
  3920.  
  3921.  
  3922.   17-3  Configuration - Mouse
  3923.   ───────────────────────────
  3924.  
  3925.   - Mouse (y/n)
  3926.  
  3927.     Enables or disables mouse support. A text mode mouse driver
  3928.     (MOUSE.COM, MOUSE.SYS, etc) must have been previously installed. A
  3929.     special mouse driver may be required to operate the editor in a
  3930.     video modes with 132 or more columns. The installation default is
  3931.     "y".
  3932.  
  3933.   - MouReverse (y/n)
  3934.  
  3935.     Reverses the left and right mouse buttons. This can be useful for
  3936.     left-handed mouse users. The installation default is "n".
  3937.  
  3938.   - MouSenX (0-64)
  3939.  
  3940.     Mouse sensitivity on the x-axis. The installation default is 5 (the
  3941.     mouse driver default is 8).
  3942.  
  3943.   - MouSenY (0-64)
  3944.  
  3945.     Mouse sensitivity on the y-axis. The installation default is 12 (the
  3946.     mouse driver default is 16).
  3947.  
  3948.   - MouDst (0-128)
  3949.  
  3950.     Mouse speed doubling threshold. The installation default is 50 (the
  3951.     mouse driver default is 64).
  3952.  
  3953.   - MouseDouble (0-1000)
  3954.  
  3955.     The double click sensitivity. This setting specifies a time interval
  3956.     in milliseconds below which two consecutive mouse button clicks are
  3957.     considered to be a "double-click". The installation default value is
  3958.     300.
  3959.  
  3960.   - MouHold (0-1000)
  3961.  
  3962.     Specifies the amount of time in milliseconds that a mouse button can
  3963.     be held down on a scroll bar before repeating the scrolling
  3964.     operation. The installation default is 300.
  3965.  
  3966.   - MouDelay (0-1000)
  3967.  
  3968.     Adjusts the scrolling speed when using the mouse. A value of zero is
  3969.     no delay, 1000 is a one second delay. Using a value of zero on
  3970.     faster computers may cause the mouse to scroll too fast (8, 16, 24,
  3971.     or 32 are recommended if zero is too fast). The installation default
  3972.     is zero.
  3973.                                                         Configuration 75
  3974.  
  3975.  
  3976.   - MouMrkS (l/r/s)
  3977.  
  3978.     Determines the default type of block mark created by single-clicking
  3979.     the left mouse button, dragging the mouse, and releasing the left
  3980.     mouse button. You can specify one of the following options:
  3981.  
  3982.       l - line marks
  3983.       r - column or rectangular marks
  3984.       s - character or "stream" marks
  3985.  
  3986.     Note: you can override the default mouse marking type by pressing
  3987.     the <Alt>, <Ctrl>, or <Shift> keys when marking with the mouse (see
  3988.     "Using Marked Blocks" 8-1).
  3989.  
  3990.   - MouMrkD (l/r/s)
  3991.  
  3992.     Determines the type of block mark created by double-clicking the
  3993.     left mouse button, dragging the mouse, and releasing the left mouse
  3994.     button. See "MouMrkS" above for a description of valid options.
  3995.  
  3996.  
  3997.   17-4  Configuration - Word Processing
  3998.   ─────────────────────────────────────
  3999.  
  4000.   - TabWidth (0-15999)
  4001.  
  4002.     Specifies the number of columns between tab stops for Interval Tabs.
  4003.     The installation default is "8" (for a description of the TabWidth
  4004.     setting see "Global Settings" 13-2).
  4005.  
  4006.   - Tabs
  4007.  
  4008.     Specifies the column positions to use for tabbing with the "ctab"
  4009.     <Tab>, <Shift-Tab> command when "Variable Tabs" is set ON (for a
  4010.     description of the Variable Tabs setting see "Window Settings"
  4011.     13-1).
  4012.  
  4013.     The installation default is "4 8 16 24 50 72".
  4014.  
  4015.   - VarTabs (y/n)
  4016.  
  4017.     Specifies whether or not the Variable Tabs setting should default to
  4018.     "ON" for new Edit windows. The installation default is "n" (for a
  4019.     description of the Variable Tabs setting, see "Window Settings"
  4020.     13-1).
  4021.  
  4022.     If "SaveWin" is ON, Edit windows will remember the Variable Tabs
  4023.     setting when they are closed and restore it when they are re-opened.
  4024.                                                       Configuration   76
  4025.  
  4026.  
  4027.   - SmartTabs (y/n)
  4028.  
  4029.     Specifies whether or not the Smart Tabs setting should default to
  4030.     "ON" for new Edit windows. The installation default is "n" (for a
  4031.     description of the Smart Tabs setting, see "Window Settings" 13-1).
  4032.  
  4033.     If "SaveWin" is ON, Edit windows will remember the Smart Tabs
  4034.     setting when they are closed and restore it when they are re-opened.
  4035.  
  4036.   - WordWrap (y/n)
  4037.  
  4038.     Specifies whether or not the Word Wrap setting should default to
  4039.     "ON" for new Edit windows. The installation default is "n" (for a
  4040.     description of the Word Wrap setting, see "Window Settings" 13-1).
  4041.  
  4042.     If "SaveWin" is ON, Edit windows will remember the Word Wrap setting
  4043.     when they are closed and restore it when they are re-opened.
  4044.  
  4045.   - LMargin (1-16000)
  4046.  
  4047.     Specifies the default left margin for Edit windows. The installation
  4048.     default is 3 (for a description of the Left Margin setting, see
  4049.     "Global Settings" 13-2).
  4050.  
  4051.   - RMargin (1-16000)
  4052.  
  4053.     Specifies the default right margin for Edit windows. The
  4054.     installation default is 72 (for a description of the Right Margin
  4055.     setting, see "Global Settings" 13-2).
  4056.  
  4057.   - Indent (0-15999)
  4058.  
  4059.     Specifies the amount of columns to indent a paragraph when reflowing
  4060.     a marked block. The installation default is zero (for a description
  4061.     of the Paragraph Indent setting, see "Global Settings" 13-2).
  4062.  
  4063.  
  4064.   17-5  Configuration - Default File Extensions
  4065.   ─────────────────────────────────────────────
  4066.  
  4067.   Default file extensions allow you to open a file at an Open prompt
  4068.   without specifying a file extension. For example, if you frequently
  4069.   edit the file "MYFILE.C" from a directory of all ".C" files, and ".C"
  4070.   is one of your default file extensions, you need only enter the string
  4071.   "MYFILE" at the Open prompt to open "MYFILE.C".
  4072.                                                       Configuration   77
  4073.  
  4074.  
  4075.   You can specify any number of default file extensions. Just set the
  4076.   configuration setting "DefExt" to a list of the default extensions you
  4077.   wish to use, separated by one or more spaces. The default extensions
  4078.   are "tried" in the order they are listed. For example:
  4079.  
  4080.     DefExt    @"c h txt"
  4081.  
  4082.   Using the above example: if you specify a name with no extension at an
  4083.   Open prompt, the editor will first try to open the file with the
  4084.   extension ".c", then the extension ".h", and finally the extension
  4085.   ".txt".
  4086.  
  4087.   The following are the default file extensions at installation: "c h
  4088.   cpp doc txt a asm pas inc bat".
  4089.  
  4090.  
  4091.   17-6  Configuration - Open Options
  4092.   ──────────────────────────────────
  4093.  
  4094.   - OpenOpt (z/f/c/n/e)
  4095.  
  4096.     Sets the default size and placement of Edit and File Manager windows
  4097.     on the screen (and whether or not new windows are created). You can
  4098.     use one of the following values:
  4099.  
  4100.       z - new windows are always maximized
  4101.       f - new windows are always "full screen" (like maximized, but the
  4102.           window borders are visible)
  4103.       c - new windows are the same size as the topmost window and are
  4104.           cascaded to bottom and left of the topmost window
  4105.       n - new windows are minimized
  4106.       e - a new window is not created when opening files. The file is
  4107.           loaded into the current Edit window. This option is added
  4108.           automatically if the "OneWindow" configuration setting is ON
  4109.           (see "Configuration - Editing Preferences" 17-8).
  4110.  
  4111.     The installation default is 'f'.
  4112.  
  4113.     Note: If The Aurora Editor is configured to remember previous window
  4114.     sizes and positions, "OpenOpt" applies only to new Edit and File
  4115.     Manager windows which are not "remembered" from previous sessions
  4116.     (see the "SaveWin" configuration setting 17-11).
  4117.  
  4118.   - LineDlm
  4119.  
  4120.     Specifies a line delimiter string of one or two bytes for opening
  4121.     files in non-binary mode. The line delimiter string can be set
  4122.     dynamically during an edit session (see the "Line Delimiter" setting
  4123.     13-2). The installation default is "0D0Ah" (carriage return and
  4124.     linefeed).
  4125.                                                       Configuration   78
  4126.  
  4127.  
  4128.   - BinaryLength (1-16000)
  4129.  
  4130.     Specifies the line length to use when opening files in binary mode.
  4131.     The binary line length can also be set dynamically during an edit
  4132.     session (see the "Binary Line Length" setting 13-2). The
  4133.     installation default is 64.
  4134.  
  4135.   - TruncLength (0-16000)
  4136.  
  4137.     The length at which lines are truncated when opening files. A value
  4138.     of zero indicates that the maximum line length (16000) should be
  4139.     used. The installation default is zero.
  4140.  
  4141.   - FmgrOpt (d/f/h/k)
  4142.  
  4143.     Specifies options for displaying File Manager windows. You can use
  4144.     any combination of the following values:
  4145.  
  4146.       d - display subdirectories
  4147.       f - display directories first when sorting by name
  4148.       h - show hidden and system files
  4149.       k - show file sizes and totals in 1K increments
  4150.  
  4151.     The installation default is "dhf".
  4152.  
  4153.   - FmgrSrt (n/s/d)
  4154.  
  4155.     Specifies the default sort order for File Manager windows. You can
  4156.     use one of the following values:
  4157.  
  4158.       n - sort by name in ascending order
  4159.       s - sort by size in descending order
  4160.       d - sort by date and time in descending order
  4161.       (null) - no sort (OS default order)
  4162.  
  4163.     The installation default is "n".
  4164.  
  4165.   - FmgrQuit (y/n)
  4166.  
  4167.     Specifies whether or not the File Manager window is to be
  4168.     automatically closed whenever a file is opened from it. The
  4169.     installation default is "n".
  4170.  
  4171.     Note: entering the "fopen %q" <Ctrl-Enter> command from a File
  4172.     Manager window will also open the file at cursor AND close the File
  4173.     Manger window.
  4174.                                                       Configuration   79
  4175.  
  4176.  
  4177.   17-7  Configuration - Save Options
  4178.   ──────────────────────────────────
  4179.  
  4180.   - Backup (y/n)
  4181.  
  4182.     Specifies whether or not a file should be backed-up when it is
  4183.     saved. The backup location is determined by the "BakDir" setting
  4184.     (see below). The installation default is "y".
  4185.  
  4186.   - BakDir
  4187.  
  4188.     Specifies the path where backup copies of a file are to be placed
  4189.     when saving the file (the "Backup" setting must be set to "y"). If
  4190.     "BakDir" is null, then the backup copy is placed in the same
  4191.     directory as the original file, but with the extension defined by
  4192.     the "BakExt" configuration setting (see below). The installation
  4193.     default for BakDir is null.
  4194.  
  4195.   - BakExt
  4196.  
  4197.     Specifies the backup file extension to use when the "BakDir"
  4198.     configuration setting is null (see above). The installation default
  4199.     is "BAK".
  4200.  
  4201.   - SaveEOF (y/n)
  4202.  
  4203.     Specifies whether or not a Ctrl-Z (end-of-file) character is to be
  4204.     appending to the end of the file when saving. The installation
  4205.     default is "n".
  4206.  
  4207.   - AutoSave (0-2147483)
  4208.  
  4209.     Specifies the number of seconds between automatic saves for the
  4210.     current Edit window. A value of zero disables Autosave. The
  4211.     installation default is zero.
  4212.  
  4213.     Note: Automatic saves will occur only if the file has been modified
  4214.     since the last save.
  4215.  
  4216.  
  4217.   17-8  Configuration - Editing Preferences
  4218.   ─────────────────────────────────────────
  4219.  
  4220.   - UndoSize (0-2147483647)
  4221.  
  4222.     Sets the limit on the number of editing changes that can be undone
  4223.     with the Undo and Redo commands. The installation default is 300.
  4224.                                                       Configuration   80
  4225.  
  4226.  
  4227.   - HistSize (0-1000)
  4228.  
  4229.     Sets the limit on the number of previously entered prompt strings or
  4230.     "history" which can be retrieved for each prompt (see "Prompts"
  4231.     2-6). The installation default is 50.
  4232.  
  4233.     If the configuration setting "SaveWin" is ON, the HistSize setting
  4234.     also determines the maximum number of Edit and File Manager windows
  4235.     that will remember their positions and sizes.
  4236.  
  4237.     Note: if the "SaveHis" configuration setting is ON, and HistSize is
  4238.     set to very large values, it can lengthen the initial time to load
  4239.     the editor and the time to exit the editor. Don't set HistSize much
  4240.     higher than you really need.
  4241.  
  4242.   - ClipName
  4243.  
  4244.     Specifies the default clipboard name. The installation default is
  4245.     "clipboard".
  4246.  
  4247.   - Insert (y/n)
  4248.  
  4249.     Specifies whether or not the cursor will default to insert or
  4250.     overlay mode for new Edit windows and prompts. The installation
  4251.     default is "n".
  4252.  
  4253.     If "SaveWin" is ON, Edit windows will remember the insert mode when
  4254.     they are closed and restore it when they are re-opened.
  4255.  
  4256.   - EnterIns (i/s/null)
  4257.  
  4258.     Specifies what action to take in an Edit window when insert mode is
  4259.     ON and the "enteredit" <Enter> command is entered. You can choose
  4260.     one of the following values:
  4261.  
  4262.       s - splits the current line at the cursor and moves the cursor to
  4263.           the beginning of the next line
  4264.       i - inserts a new line and moves the cursor to the beginning of
  4265.           the new line.
  4266.       null - moves the cursor the beginning of the next line
  4267.  
  4268.     The installation default is OFF.
  4269.  
  4270.   - EnterOvl (i/s/null)
  4271.  
  4272.     Specifies what action to take in an Edit window when insert mode is
  4273.     OFF and the <Enter> key is pressed (See "EnterIns" above for a
  4274.     description of the valid values for this setting). The installation
  4275.     default is OFF.
  4276.                                                       Configuration   81
  4277.  
  4278.  
  4279.   - TabShift (y/n)
  4280.  
  4281.     Specifies whether or not text is to be shifted left or right with
  4282.     the cursor when insert mode is ON and the "ctab" commands <Tab>,
  4283.     <Shift-Tab> are is entered. The installation default is "y".
  4284.  
  4285.   - AutoIndent (y/n)
  4286.  
  4287.     Specifies whether or not the AutoIndent setting should default to ON
  4288.     for new Edit windows (see the "AutoIndent Setting" 13-1). The
  4289.     installation default is "y".
  4290.  
  4291.     If "SaveWin" is ON, Edit windows will remember the autoindent
  4292.     setting when they are closed and restore it when they are re-opened.
  4293.  
  4294.   - CopyLine (y/n)
  4295.  
  4296.     Specifies whether or not the "mcpy" command <Alt-C> ("Copy" on the
  4297.     "Block" pull-down menu) should repeat the current line if no marked
  4298.     block exists. The installation default is "y".
  4299.  
  4300.   - DelLine (y/n)
  4301.  
  4302.     Specifies whether or not the "mdel" command <Alt-D> ("Delete" on the
  4303.     "Block" pull-down menu) should delete the current line if no marked
  4304.     block exists. The installation default is "n".
  4305.  
  4306.   - AutoMark (p/l)
  4307.  
  4308.     Specifies the default mark that some block commands should use when
  4309.     no marked block exists. This can be especially useful for block
  4310.     commands like "mrfl %b" <Alt-R> ("Reflow" on the "Block" pull-down
  4311.     menu). For example, if AutoMark is set to "ptb", you can reflow a
  4312.     paragraph simply by placing the cursor in the paragraph and pressing
  4313.     <Alt-R>, without marking and unmarking a block.
  4314.  
  4315.     You can choose any one of the following values for AutoMark:
  4316.  
  4317.       p - mark the paragraph at the cursor
  4318.       l - mark the line at the cursor
  4319.       null - disable AutoMark
  4320.  
  4321.     If "p" is specified, one or both of the following values must also
  4322.     be specified:
  4323.  
  4324.       t - extend the mark from the cursor to the top of the paragraph
  4325.       b - extend the mark from the cursor to the bottom of the paragraph
  4326.                                                       Configuration   82
  4327.  
  4328.  
  4329.     Commands that use the AutoMark setting are:
  4330.  
  4331.       - mshf       "Shift Left", "Shift Right"
  4332.       - askmfill   "Fill"
  4333.       - mrfl       "Reflow", "Reflow Rjust"
  4334.       - mcase      "Uppercase", "Lowercase", "Flipcase"
  4335.       - msrt       "Sort"
  4336.       - mjust      "Left Justify", "Right Justify", "Center"
  4337.       - mfld       "Fold Block", "Fold Block Flat"
  4338.       - clpcpy     clipboard "Cut", "Cut Append", "Copy", "Copy Append"
  4339.  
  4340.     The installation default for AutoMark is "ptb".
  4341.  
  4342.   - MoveMark (y/n)
  4343.  
  4344.     Specifies whether or not the marked block is to be relocated along
  4345.     with the text during a block copy or overlay. The installation
  4346.     default is "y".
  4347.  
  4348.   - DrawMark (y/n)
  4349.  
  4350.     Specifies whether or not a marked block can be resized with the
  4351.     cursor keys after the mark is created. DrawMark applies only to the
  4352.     "mset" command (Mark Character, Mark Column, and Mark Line), not to
  4353.     "wrdmrk" (Mark Word), "meol" (Mark to EOL), or "mpgh" (Mark
  4354.     Paragraph). The installation default is "y".
  4355.  
  4356.   - CurHigh (y/n)
  4357.  
  4358.     Specifies whether or not the Edit window cursor line should be
  4359.     highlighted. The installation default is "y".
  4360.  
  4361.   - RepEnd (y/n)
  4362.  
  4363.     Specifies whether or not consecutively entered "ceol" <End> and
  4364.     "chome" <Home> commands should be repeated on the next or previous
  4365.     line. The installation default is "n".
  4366.  
  4367.   - DelJoin (y/n)
  4368.  
  4369.     Specifies whether or not the "delch" <Del> and "wrddel" <Ctrl-T>
  4370.     commands should join lines when the cursor is at the end of a line.
  4371.     The installation default is "y".
  4372.  
  4373.   - BakJoin (y/n)
  4374.  
  4375.     Specifies whether or not the "baksp" <BackSpace> command should join
  4376.     the current line with the previous line when the cursor is at column
  4377.     one. The installation default is "y".
  4378.                                                       Configuration   83
  4379.  
  4380.  
  4381.   - BakOvl (y/n)
  4382.  
  4383.     Specifies whether or not the "baksp" <BackSpace> command should
  4384.     overlay columns with blank spaces when insert mode is ON, instead of
  4385.     shifting text to the left. The installation default is "n".
  4386.  
  4387.   - LineStyle (0/1/2/3/4)
  4388.  
  4389.     Specifies the default Line Style to be used when Line Draw is ON.
  4390.     You can choose one of the following values:
  4391.  
  4392.       0 - single line
  4393.       1 - double horizontal line
  4394.       2 - double vertical line
  4395.       3 - double line
  4396.       4 - erase
  4397.  
  4398.     The installation default is 0.
  4399.  
  4400.   - FastCursor (0-5)
  4401.  
  4402.     Specifies the amount of extra lines or columns to scroll when
  4403.     attempting to move the cursor beyond the edge of the screen. The
  4404.     installation default is 0.
  4405.  
  4406.   - MatchChar (y/n)
  4407.  
  4408.     Specifies whether or not the Match Character setting should default
  4409.     to ON for new Edit windows (see the "Match Character Setting" 12.1).
  4410.     The installation default is "n".
  4411.  
  4412.     If "SaveWin" is ON, Edit windows will remember the Match Character
  4413.     setting when they are closed and restore it when they are re-opened.
  4414.  
  4415.   - MultCopy (y/n)
  4416.  
  4417.     Specifies whether or not The Aurora Editor will allow you to edit
  4418.     more than one copy of the same file (or display more than one File
  4419.     Manager window with the same directory listing) at the same time.
  4420.     The installation default is "n".
  4421.  
  4422.   - OneWindow (y/n)
  4423.  
  4424.     Specifies whether or not some editor commands will favor a
  4425.     many-to-one "file to window" ratio over a one-to-one "file to
  4426.     window" ratio. If this option is "y", the editor will behave in the
  4427.     following ways:
  4428.  
  4429.       1. new files will be loaded into the current Edit window
  4430.       2. the "fquit" <Alt-Q> command closes the file, not the window
  4431.       3. the "wquit" <Ctrl-K-Q> command closes the window, not the file
  4432.  
  4433.     The installation default is "n" (see also "Saving and Discarding
  4434.     Files" 5-2).
  4435.                                                       Configuration   84
  4436.  
  4437.  
  4438.   - CurOT (0-99)
  4439.  
  4440.     Specifies the top of the visible cursor in overlay mode (on a scale
  4441.     of 0-99 with 0 at the top). The installation default is 80.
  4442.  
  4443.   - CurOB (0-99)
  4444.  
  4445.     Specifies the bottom of the visible cursor in overlay mode. The
  4446.     installation default is 90.
  4447.  
  4448.   - CurIT (0-99)
  4449.  
  4450.     Specifies the top of the visible cursor in insert mode. The
  4451.     installation default is 50.
  4452.  
  4453.   - CurIB (0-99)
  4454.  
  4455.     Specifies the bottom of the visible cursor in insert mode. The
  4456.     installation default is 90.
  4457.  
  4458.   - SearchOpt (i/r/b/g/w)
  4459.  
  4460.     Specifies the default search options for the find, replace, and scan
  4461.     dialog boxes and prompts. The following options may be specified:
  4462.  
  4463.       i - ignore case
  4464.       r - search in reverse
  4465.       b - marked block only
  4466.       g - global search
  4467.       w - whole words only
  4468.  
  4469.     The installation default is "i" (ignore case). See the section
  4470.     "Search and Replace" (11-1) for a detailed description of search
  4471.     options.
  4472.  
  4473.   - ReplaceOpt (a)
  4474.  
  4475.     Specifies the default replace options for the replace dialog box or
  4476.     prompt. The following option may be specified:
  4477.  
  4478.       a - replace all occurrences without prompting
  4479.  
  4480.     See the section "Search and Replace" (11-1) for a detailed
  4481.     description of replace options. The installation default is null
  4482.     (verify replacement).
  4483.  
  4484.   - SearchWrap (y/n)
  4485.  
  4486.     Specifies whether or not the "finl" <Ctrl-L> (repeat last
  4487.     find/replace) command should wrap to the top or bottom of the file
  4488.     when the search string is not found. The installation default is
  4489.     "n".
  4490.                                                       Configuration   85
  4491.  
  4492.  
  4493.   - EOTLine
  4494.  
  4495.     This setting specifies the string to be used as the "End-of-Text"
  4496.     line on Edit windows. If NULL is specified, the default End-of-Text
  4497.     Line is:
  4498.  
  4499.       "≡≡≡≡≡≡ End of Text ≡≡≡≡≡≡".
  4500.  
  4501.     The installation default is null.
  4502.  
  4503.   - ExitOpen (y/n)
  4504.  
  4505.     Specifies whether or not the Open promt is to be displayed when
  4506.     closing the last window in an edit session. If "n" is specified,
  4507.     closing the last window will return you to DOS. The installation
  4508.     default is "n".
  4509.  
  4510.     Note: the open prompt is not displayed when exiting the editor via
  4511.     the "gquit %p" <Alt-X> or "gquit %f" commands.
  4512.  
  4513.   - Prompts
  4514.  
  4515.     This setting is a 20 character string with "switches" at each
  4516.     character position that allow you to individually tailor most editor
  4517.     prompts. Each character position or "switch" in the string
  4518.     corresponds to a specific editor prompt and may be one of the
  4519.     following values:
  4520.  
  4521.       0 - (command line prompt) The prompt occupies only one line and
  4522.           is displayed at the top or bottom of the window.
  4523.  
  4524.       1 - (one-line box) The prompt occupies 3 lines (2 borders and 1
  4525.           command line) and is displayed immediately above or below the
  4526.           current cursor position.
  4527.  
  4528.       2 - (dialog box) The prompt is a dialog box.
  4529.  
  4530.     The following table shows the Prompt string positions and the
  4531.     associated prompts:
  4532.  
  4533.        1 - open                       11 - macro command
  4534.        2 - open and insert            12 - key macro open
  4535.        3 - rename                     13 - key macro save
  4536.        4 - save as                    14 - place & go to bookmark
  4537.        5 - os command                 15 - block fill
  4538.        6 - save block                 16 - open binary
  4539.        7 - find
  4540.        8 - replace                    18 - global settings
  4541.        9 - go to line & column        19 - user defined prompts
  4542.       10 - scan files                 20 - file mgr command prompts
  4543.                                                       Configuration   86
  4544.  
  4545.  
  4546.     For example, the prompt string "01111102111111111111" will set the
  4547.     "Open" and "Find" prompts to be command line prompts, the "Replace"
  4548.     prompt to be a full dialog box, and all other prompts to be one-line
  4549.     boxes.
  4550.  
  4551.     The installation default is "11111111111111111111" (all one-line
  4552.     boxes).
  4553.  
  4554.  
  4555.   17-9  Configuration - Window Preferences
  4556.   ────────────────────────────────────────
  4557.  
  4558.   - EditStyle (n/s/m/h/v/1)
  4559.  
  4560.     Specifies the window features to be displayed for Edit windows. You
  4561.     can specify any of the following options:
  4562.  
  4563.       n - north title bar
  4564.       s - south title bar
  4565.       m - menu bar
  4566.       h - horizontal scroll bar
  4567.       v - vertical scroll bar
  4568.       1 - tool bar
  4569.  
  4570.     The installation default is "nsmhv".
  4571.  
  4572.   - EditTitle (n/s/l/c/r)
  4573.  
  4574.     Specifies the location of the Edit window title. You can specify one
  4575.     of the following:
  4576.  
  4577.       n - north title bar
  4578.       s - south title bar
  4579.  
  4580.     You can also specify one of the following:
  4581.  
  4582.       l - left justified
  4583.       c - centered
  4584.       r - right justified
  4585.  
  4586.     The installation default is "nl".
  4587.  
  4588.   - EditStatus (n/s/l/c/r)
  4589.  
  4590.     Specifies the location of the Edit window status line. (See
  4591.     "EditTitle" above for valid options). The installation default is
  4592.     "nr".
  4593.                                                        Configuration   87
  4594.  
  4595.  
  4596.   - EditCtls (n/s)
  4597.  
  4598.     Specifies which Edit window title bar is to contain the title bar
  4599.     controls. You can specify one of the following:
  4600.  
  4601.       n - north title bar
  4602.       s - south title bar
  4603.  
  4604.     The installation default is "n".
  4605.  
  4606.   - FmgrStyle (n/s/m/h/v)
  4607.  
  4608.     Specifies the window features to be displayed for File Manager
  4609.     windows (see "EditStyle" above for valid options). The installation
  4610.     default is "nsmhv".
  4611.  
  4612.   - FmgrTitle (n/s/l/c/r)
  4613.  
  4614.     Specifies the location of the File Manager window title. (See
  4615.     "EditTitle" above for valid options). The installation default is
  4616.     "nl".
  4617.  
  4618.   - FmgrStatus (n/s/l/c/r)
  4619.  
  4620.     Specifies the location of the File Manager window status line. (See
  4621.     "EditTitle" above for valid options). The installation default is
  4622.     "sl".
  4623.  
  4624.   - FmgrCtls (n/s)
  4625.  
  4626.     Specifies which File Manager window title bar is to contain the
  4627.     title bar controls (See "EditCtls" above for valid options). The
  4628.     installation default is "n".
  4629.  
  4630.   - BoxStyle (f/i/n)
  4631.  
  4632.     Specifies the style of One-line box prompt windows. You can specify
  4633.     one of the following:
  4634.  
  4635.       f - flat
  4636.       i - inward 3D effect
  4637.       o - outward 3D effect
  4638.  
  4639.     The installation default is "i".
  4640.  
  4641.   - TileNum (1-5)
  4642.  
  4643.     This option is used to configure the window "Tiling" commands. It
  4644.     specifies the maximum number of tiles which can exist on the screen
  4645.     before they are split in both horizontal and vertical directions.
  4646.     The installation default is 3.
  4647.                                                       Configuration   88
  4648.  
  4649.  
  4650.   17-10  Configuration - Print Settings
  4651.   ─────────────────────────────────────
  4652.  
  4653.   Print settings are available for controlling the format of printed
  4654.   output. These settings can be changed during an edit session using the
  4655.   "askprtset" command (see "Printing" 12-1). The Print Settings are:
  4656.  
  4657.   - PrtDev (PRN/LPT1/LPT2/LPT3/LPT4/COM1/COM2 or filename)
  4658.  
  4659.     Specifies the printer device to be used for printing. If a filename
  4660.     is specified, all printer output will be routed to the file. The
  4661.     installation default is "PRN".
  4662.  
  4663.   - PrtPag (0-65535)
  4664.  
  4665.     Specifies the "Lines per Page" of printed output. This includes the
  4666.     Top and Bottom Margins (if any). After the specified lines per page
  4667.     have been printed, a formfeed character (ascii 12) will be sent to
  4668.     the printer and a new page will be started.
  4669.  
  4670.     If PrtPag is zero, printing will be continuous (no formfeed
  4671.     characters will be sent to the printer). The current printer
  4672.     settings for Top Margin, Bottom Margin, Header, Footer, and Page
  4673.     number will be ignored. If you already have special printer control
  4674.     characters embedded in your text, it is probably best to set PrtPag
  4675.     to zero.
  4676.  
  4677.     The installation default for PrtPag is 0.
  4678.  
  4679.   - PrtSpace (0-65535)
  4680.  
  4681.     This setting determines the number of lines to advance after
  4682.     printing each line of output. A value of 1 generates single-spaced
  4683.     output, 2 generates double-spaced output, and so on. The
  4684.     installation default for PrtSpace is 1.
  4685.  
  4686.   - PrtCop (0-65535)
  4687.  
  4688.     This setting determines the number of copies to print. The
  4689.     installation default is 1.
  4690.  
  4691.   - PrtIni
  4692.  
  4693.     Specifies a printer-specific control string to be sent to the
  4694.     printer before each print command. The installation default is null.
  4695.  
  4696.   - PrtTop (0-65535)
  4697.  
  4698.     Specifies the number of blank lines to precede the printed output at
  4699.     the top of each page. This value is included in the PrtPag ("Lines
  4700.     per Page") setting. The installation default is zero.
  4701.  
  4702.     This setting is ignored if PrtPag ("Lines per Page") is set to zero.
  4703.                                                       Configuration   89
  4704.  
  4705.  
  4706.   - PrtBot (0-65535)
  4707.  
  4708.     Specifies the number of blank lines to follow the printed output at
  4709.     the end of each page. This value is included in the PrtPag ("Lines
  4710.     per Page") setting. The installation default is zero.
  4711.  
  4712.     This setting is ignored if PrtPag ("Lines per Page") is set to zero.
  4713.  
  4714.   - PrtLeft (0-255)
  4715.  
  4716.     Specifies the number of blank columns to precede the printed output
  4717.     on each line. The installation default is zero.
  4718.  
  4719.   - PrtRight (0-65535)
  4720.  
  4721.     Specifies the column position at which to truncate each printed
  4722.     line. This column position is relative to column zero of the printed
  4723.     output, NOT the file being printed. If zero is specified, lines are
  4724.     not truncated. The installation default is zero.
  4725.  
  4726.   - PrtOpt (h/f/p/l/e/s)
  4727.  
  4728.     This setting allows you specify additional default print options.
  4729.     You can specify any of the following options:
  4730.  
  4731.       h - prints a "header" at the top of each page. The header is a
  4732.           left justified string consisting of the filename being printed
  4733.           and the current date and time. The header uses 2 or 3 lines of
  4734.           the printed output (the header line, an optional separator
  4735.           line, and a blank line). This option is ignored if PrtPag
  4736.           ("Lines per Page") is set to zero.
  4737.  
  4738.       f - prints a "footer" at the bottom of each page. The footer is a
  4739.           left justified string consisting of the filename being printed
  4740.           and the current date and time. The footer uses 2 or 3 lines of
  4741.           the printed output (a blank line, an optional separator line,
  4742.           and the footer line). This option is ignored if PrtPag ("Lines
  4743.           per Page") is set to zero.
  4744.  
  4745.       p - prints a right-justified page number on the header and footer
  4746.           lines. If neither a header or footer was specified, a blank
  4747.           header line is assumed. This option is ignored if PrtPag
  4748.           ("Lines per Page") is set to zero.
  4749.  
  4750.       l - prints the line number (in the file) at the beginning of each
  4751.           line.
  4752.  
  4753.       e - sends a formfeed character to the printer when printing is
  4754.           completed.
  4755.                                                       Configuration   90
  4756.  
  4757.  
  4758.       s - prints a separator line after the header line and before the
  4759.           footer line.
  4760.  
  4761.     The installation default is "hpes".
  4762.  
  4763.  
  4764.   17-11  Configuration - Desktop Options
  4765.   ──────────────────────────────────────
  4766.  
  4767.   - SaveWin (y/n)
  4768.  
  4769.     For Edit windows and File Manager windows, this setting specifies
  4770.     whether or not window sizes, positions, settings, and cursor
  4771.     positions should be remembered when the window is closed and
  4772.     restored when the window is re-opened. The installation default is
  4773.     "y".
  4774.  
  4775.     The "HistSize" setting determines the maximum number of windows that
  4776.     will remember their sizes, positions, etc. When a new Edit window or
  4777.     File Manager window is opened which is not a "remembered" window,
  4778.     the least-recently remembered window is "forgotten" and the new
  4779.     window becomes one of the "remembered" windows. The number of
  4780.     "remembered" windows does not exceed HistSize.
  4781.  
  4782.   - SaveHis (y/n)
  4783.  
  4784.     Specifies whether or not prompt history and window sizes, positions,
  4785.     etc should be saved in the file A.HIS when exiting the editor and
  4786.     reloaded when re-entering the editor. The installation default is
  4787.     "y".
  4788.  
  4789.   - SaveMac (y/n)
  4790.  
  4791.     Specifies whether or not all resident key macros should be saved in
  4792.     the file "A.MAC" when exiting the editor and reloaded when
  4793.     re-entering. The installation default is "n".
  4794.  
  4795.   - BootOpt (d/f/o)
  4796.  
  4797.     Determines what action to take when the editor is loaded without
  4798.     specifying a filename or directory after the "A" or "A3" command.
  4799.     One of the following options may be specified:
  4800.  
  4801.       d - restores the previous desktop layout. The "SaveHis"
  4802.           configuration setting must also be set to "y" (see above).
  4803.       f - opens a File Manager window for the current directory
  4804.       o - displays an Open prompt
  4805.  
  4806.     The installation default is "d".
  4807.                                                       Configuration   91
  4808.  
  4809.  
  4810.   17-12  Configuration - Memory Options
  4811.   ─────────────────────────────────────
  4812.  
  4813.   - MaxXMS (-1 - 67108)
  4814.   - MaxEMS (-1 - 32767)
  4815.  
  4816.     These configuration settings specify the maximum amount of Extended
  4817.     Memory "XMS" and Expanded Memory "EMS" (in kilobytes) which The
  4818.     Aurora Editor may use when conventional memory (below 640k) is
  4819.     exhausted. If the amount specified is "-1", or is more than what is
  4820.     available, then the maximum available amount will be used. If zero
  4821.     is specified, then the usage of XMS and/or EMS memory will be
  4822.     disabled. The installation default is -1 (available maximum) for
  4823.     both "MaxXMS" and "MaxEMS".
  4824.  
  4825.     XMS and EMS memory are not required by The Aurora Editor, but they
  4826.     can speed up some editing operations when you are working with
  4827.     single or multiple files which are larger than the amount of
  4828.     available conventional memory. In memory intensive situations, The
  4829.     Aurora Editor will first try to use XMS memory, then EMS memory, and
  4830.     then swap to disk if XMS or EMS are not available.
  4831.  
  4832.     Note that it can be useful to restrict the amount of XMS or EMS
  4833.     memory used by The Aurora Editor to less than the available maximum.
  4834.     The editor will use only as much XMS and EMS as it needs. However if
  4835.     you are editing large files and executing programs from within the
  4836.     editor that use XMS or EMS (or that use DOS extenders which use XMS
  4837.     or EMS), these programs may not run correctly if The Aurora Editor
  4838.     has already allocated all available XMS or EMS.
  4839.  
  4840.     To allow The Aurora Editor to use XMS or EMS memory, you must also
  4841.     have previously installed an XMS-compatible or EMS-compatible
  4842.     driver, such as QEMM-386 from Quarterdeck Office Systems or 386MAX
  4843.     from Qualitas, Inc. If you have DOS 5.0 or higher, you can use the
  4844.     XMS driver HIMEM.SYS and the EMS driver EMM386.EXE. Note that in
  4845.     order to use EMS memory, you must have at least a full contiguous
  4846.     64k page frame available. Check your EMS driver documentation for
  4847.     details on how to configure the page frame.
  4848.  
  4849.     When the XMS and EMS drivers are installed, you can display the
  4850.     amount of available XMS and EMS memory from DOS by using the DOS
  4851.     "MEM" command (DOS 5.0 or greater).
  4852.  
  4853.  
  4854.   - SwapFile1
  4855.  
  4856.     Specifies the swapfile name to be used for the primary swapfile. The
  4857.     installation default is "c:\aurora@1.swp".
  4858.                                                       Configuration   92
  4859.  
  4860.  
  4861.   - SwapFile2
  4862.  
  4863.     Specifies the swapfile name to be used for the secondary swapfile.
  4864.     The secondary swapfile should always be on a different drive than
  4865.     the primary swapfile. The secondary swapfile will only be used if
  4866.     there is not enough space on the drive containing the primary
  4867.     swapfile. The installation default is "d:\aurora@2.swp".
  4868.  
  4869.  
  4870.   17-13  Configuration - Other Options
  4871.   ────────────────────────────────────
  4872.  
  4873.   - KeyEnh (y/n)
  4874.  
  4875.     Enables or disables checking for the enhanced keyboard. This option
  4876.     must be set to "y" to use the enhanced keyboard keys (F11, F12, grey
  4877.     cursor keys, etc). The installation default is "y".
  4878.  
  4879.   - KeyPad (y/n)
  4880.  
  4881.     Enables or disables use of the grey keypad keys (*,-,+,Enter) as
  4882.     function keys (this option should be disabled if you are using the
  4883.     editor for keypad data entry). The installation default is "y".
  4884.  
  4885.   - KeyTrim (y/n)
  4886.  
  4887.     Specifies whether or not the keyboard buffer should be "trimmed" to
  4888.     prevent it from filling up on very slow machines. Turning this
  4889.     setting ON may cause some TSR's that fill the keyboard buffer to
  4890.     work incorrectly. The installation default is "n".
  4891.  
  4892.   - Sound (y/n)
  4893.  
  4894.     Enables or disables sound. The installation default is "y".
  4895.  
  4896.   - SoundF
  4897.  
  4898.     Specifies the sound frequency in hertz for beep messages. The
  4899.     installation default is 200.
  4900.  
  4901.  
  4902.   17-14  Configuration - Character Sets
  4903.   ─────────────────────────────────────
  4904.  
  4905.   Character sets are used to define a "word" for some editor commands.
  4906.   Characters sets are defined by creating a string containing all the
  4907.   characters in the character set. Character "ranges" can be abbreviated
  4908.   by using hyphens (-) (A-Z, 0-9, etc).
  4909.  
  4910.   The default character sets are:
  4911.  
  4912.   - CSetA
  4913.  
  4914.     The definition of a "word" for commands operating on normal text.
  4915.     The installation default is "a-zA-Z0-9_".
  4916.                                                       Configuration   93
  4917.  
  4918.  
  4919.   - CSetB
  4920.  
  4921.     The definition of a "word" for commands operating on file names. The
  4922.     installation default is "a-zA-Z0-9_()\-./\\@{}~:^!#$%&`'".
  4923.  
  4924.  
  4925.   - CSet
  4926.  
  4927.     The "default" character set. The installation default is "CSetA"
  4928.  
  4929.  
  4930.   The following commands use character sets:
  4931.  
  4932.     - wrddel  CSet     "Delete Word"       <Ctrl-T>
  4933.     - wrdmrk  CSet     "Mark Word"         <Alt-1>
  4934.     - cwrd @  CSet     (find left word)    <Ctrl-Left>
  4935.     - cwrd %r CSet     (find right word)   <Ctrl-Right>
  4936.     - wrdlod  CSetB    (load file at the cursor)   <Ctrl-]>
  4937.     - all search & replace commands using the "Whole Words"
  4938.       search option (uses "CSet")
  4939.  
  4940.  
  4941.   17-15  Configuration - Confirmations
  4942.   ────────────────────────────────────
  4943.  
  4944.   - ConDel (y/n)
  4945.  
  4946.     Specifies whether or not you wish to be prompted when files are
  4947.     deleted. The installation default is "y".
  4948.  
  4949.   - ConRpl (y/n)
  4950.  
  4951.     Specifies whether or not you wish to be prompted when files are
  4952.     replaced. The installation default is "y".
  4953.  
  4954.   - ConTch (y/n)
  4955.  
  4956.     Specifies whether or not you wish to be prompted when files are
  4957.     touched. The installation default is "y".
  4958.  
  4959.  
  4960.   17-16  Configuration - Colors
  4961.   ─────────────────────────────
  4962.  
  4963.   Colors attributes can be changed by setting the "coXXXX" configuration
  4964.   settings to the desired color attributes. You can change the color
  4965.   attributes for the screen background, Edit windows, File Manager
  4966.   windows, prompts, dialog boxes, and the screen border.
  4967.  
  4968.   See the comments in the configuration file ACFG.A for a description of
  4969.   each of color setting.
  4970.                                                       Configuration   94
  4971.  
  4972.  
  4973.   Color attributes for any desired color can be obtained by selecting a
  4974.   foreground number and a background number from the following tables,
  4975.   and adding them together:
  4976.  
  4977.     Foreground:                    Background:
  4978.  
  4979.     0 black     8 dark gray          0 black     128 dark gray
  4980.     1 blue      9 light blue        16 blue      144 light blue
  4981.     2 green    10 light green       32 green     160 light green
  4982.     3 cyan     11 light cyan        48 cyan      176 light cyan
  4983.     4 red      12 light red         64 red       192 light red
  4984.     5 magenta  13 light magenta     80 magenta   208 light magenta
  4985.     6 brown    14 yellow            96 brown     224 yellow
  4986.     7 gray     15 white            112 gray      240 white
  4987.  
  4988.   For example, the color attribute for a white foreground on a blue
  4989.   background is 31 (15 + 16).
  4990.  
  4991.  
  4992.   17-17  Configuration - Borders
  4993.   ──────────────────────────────
  4994.  
  4995.   - Shadow (0-5)
  4996.  
  4997.     Specifies the thickness of the "shadow" on the right and bottom
  4998.     window borders. Specifying a thickness greater than one may provide
  4999.     better 3-D contrast in "denser" video modes. The installation
  5000.     default is 1.
  5001.  
  5002.   - BorT
  5003.  
  5004.     Specifies the border type to use for Edit windows and File Manager
  5005.     windows. You can choose one of the following border types:
  5006.  
  5007.       0 - expanded borders
  5008.       1 - single line
  5009.       2 - double horizontal
  5010.       3 - double vertical
  5011.       4 - double line
  5012.       5 - blank
  5013.  
  5014.     If "expanded" is specified, you can further configure the border
  5015.     appearance with the BorX, BorY, and BorO configuration settings
  5016.     (see below). The installation default is 0 ("expanded").
  5017.  
  5018.   - BorX (0-10)
  5019.  
  5020.     Specifies the left and right border thickness for "expanded"
  5021.     borders. The installation default is 1.
  5022.                                                       Configuration   95
  5023.  
  5024.  
  5025.   - BorY (0-10)
  5026.  
  5027.     Specifies the top and bottom border thickness for "expanded"
  5028.     borders. The installation default is 1.
  5029.  
  5030.   - BorO (0-10)
  5031.  
  5032.     Specifies the amount of overlap on the "expanded" border corners.
  5033.     The installation default is 2.
  5034.                                              Redefining the Keyboard  96
  5035.  
  5036.  
  5037.   18-1  Redefining the Keyboard
  5038.   ─────────────────────────────
  5039.  
  5040.   Note: In reading through the following sections on redefining the
  5041.   keyboard, mouse, and menus, it may be helpful to refer to the "Aurora
  5042.   Editor Macro Language Guide" (AML.DOC).
  5043.  
  5044.   Key definitions and user macro code are stored in the file AKBD.A. You
  5045.   can quickly edit this file by entering the "opena %amen" command or by
  5046.   selecting the "Keys.." item from the "Macro" pulldown menu.
  5047.  
  5048.   The key definitions in AKBD.A are actually source code written in The
  5049.   Aurora Macro Language. They are compiled and included into A.X when
  5050.   the "setres" <Alt-F2> command ("Restore Settings" on the "Set"
  5051.   pull-down menu) is entered.
  5052.  
  5053.   A key definition is really just a function defined within an Aurora
  5054.   Macro Language "event object" in the file AKBD.A. There are event
  5055.   objects for Edit windows, File Manager windows, Prompt windows, etc.
  5056.   For example:
  5057.  
  5058.     obj  edit (
  5059.       fun  k_f9   (osshell).
  5060.       fun  k_a_q  (quit %p).
  5061.     ).
  5062.  
  5063.   The above code defines two keys in the event object "edit" (which is
  5064.   active only for Edit windows). The <F9> key is defined to shell out
  5065.   to DOS, and the <Alt-Q> key is defined to close the current window.
  5066.  
  5067.   To change an existing key definition, simply locate the key definition
  5068.   in the file AKBD.A and use The Aurora Editor to change the function
  5069.   name (the "key name") or the function body (the "key definition")
  5070.   according to your preferences. The function name must be a key
  5071.   function name recognized by The Aurora Editor (see below). Then save
  5072.   AKBD.A <F3>, and enter the "setres" <Alt-F2> command ("Restore
  5073.   Settings" on the "Set" pull-down menu). You must exit and re-enter the
  5074.   editor for the new key definition to take effect.
  5075.  
  5076.   To add a new key definition, first decide in what types of windows you
  5077.   would like the key you are defining to be active, and then determine
  5078.   the right "event object" for those window types. You can choose from
  5079.   the following event objects:
  5080.  
  5081.     edit      - Edit windows only
  5082.     fmgr      - File Manager windows only
  5083.     edit-fmgr - Edit windows and File Manager windows
  5084.     prompt    - prompts and edit fields, Edit windows
  5085.     win       - movable or sizable windows
  5086.     mon       - all windows
  5087.                                              Redefining the Keyboard  97
  5088.  
  5089.  
  5090.   After you have determined the appropriate event object, locate the
  5091.   definition for the event object in AKBD.A and enter the new key
  5092.   definition function in the event object body. You must use a key
  5093.   function name which The Aurora Editor recognizes. For example:
  5094.  
  5095.  
  5096.     obj  edit (                            // the "edit" event object
  5097.       .                                    // event object body
  5098.       .
  5099.       fun  k_f4     (file).                // new key definition
  5100.       .                                    // key func name <F4>
  5101.       .
  5102.     ).
  5103.  
  5104.   After you have entered the new key definition, save AKBD.A <F3>, and
  5105.   enter the "setres" <Alt-F2> command ("Restore Settings" on the "Set"
  5106.   pulldown menu). You must exit and re-enter the editor for the new key
  5107.   definition to take effect.
  5108.  
  5109.   Mouse event handlers can also be redefined in the same way as keyboard
  5110.   definitions. As with key definitions, mouse function names must be
  5111.   recognized by The Aurora Editor (see "Mouse Function Names" 18-4).
  5112.  
  5113.   If you change keyboard definitions, you will probably also want to
  5114.   change any menu definitions which show the old key definitions. You
  5115.   may also want to update The Aurora Editor Quick Reference (AREF.DOC).
  5116.  
  5117.  
  5118.   18-2  Key Function Names
  5119.   ────────────────────────
  5120.  
  5121.   When defining a key function, you must use a key name recognized by
  5122.   The Aurora Editor. By convention, key names are always in lower case
  5123.   and begin with "k_". <Ctrl> key names begin with "k_c_", <Alt> key
  5124.   names begin with "k_a_", and <Shift> key names begin with "k_s_".
  5125.  
  5126.   To use the enhanced keyboard function keys (f11, f12, etc), the
  5127.   "KeyEnh" configuration setting must be set to "y" (see "Configuration
  5128.   - Other Options" 17-13).
  5129.  
  5130.   The following key names are recognized by The Aurora Editor (enhanced
  5131.   keyboard keys are prefixed with an asterisk "*"):
  5132.                                                  Key Function Names   98
  5133.  
  5134.  
  5135.     Standard/Shift Keys      Control Keys           Alt Keys
  5136.     ───────────────────      ────────────           ────────
  5137.  
  5138.     k_f1    - k_f10          k_c_f1  - k_c_f10      k_a_f1  - k_a_f10
  5139.    *k_f11   - k_f12         *k_c_f11 - k_c_f12     *k_a_f11 - k_a_f12
  5140.     k_s_f1  - k_s_f10
  5141.    *k_s_f11 - k_s_f12
  5142.                              k_c_a - k_c_z          k_a_a - k_a_z
  5143.                                                     k_a_0 - k_a_9
  5144.     k_backspace              k_c_backspace         *k_a_backspace
  5145.     k_tab                   *k_c_tab               *k_a_tab
  5146.     k_s_tab
  5147.     k_enter                  k_c_enter             *k_a_enter
  5148.     k_esc                                          *k_a_esc
  5149.     k_left                   k_c_left              *k_a_left
  5150.     k_right                  k_c_right             *k_a_right
  5151.     k_up                    *k_c_up                *k_a_up
  5152.     k_down                  *k_c_down              *k_a_down
  5153.     k_home                   k_c_home              *k_a_home
  5154.     k_end                    k_c_end               *k_a_end
  5155.     k_pgdn                   k_c_pgup              *k_a_pgup
  5156.     k_pgup                   k_c_pgdn              *k_a_pgdn
  5157.     k_ins                   *k_c_ins               *k_a_ins
  5158.     k_del                   *k_c_del               *k_a_del
  5159.    *k_pad5                  *k_c_pad5
  5160.     k_s_pad5
  5161.                              k_c_\                 *k_a_\
  5162.                              k_c_[
  5163.                              k_c_]                 *k_a_]
  5164.                              k_c_2
  5165.                              k_c_6
  5166.                              k_c_-                  k_a_-
  5167.                              k_c_prtsc
  5168.                                                     k_a_=
  5169.                                                    *k_a_[
  5170.                                                    *k_a_`
  5171.                                                    *k_a_'
  5172.                                                    *k_a_;
  5173.                                                    *k_a_/
  5174.                                                    *k_a_.
  5175.                                                    *k_a_,
  5176.                             *k_c_grey/             *k_a_grey/
  5177.     k_grey*                 *k_c_grey*             *k_a_grey*
  5178.     k_grey-                 *k_c_grey-             *k_a_grey-
  5179.     k_grey+                 *k_c_grey+             *k_a_grey+
  5180.     *k_greyenter            *k_c_greyenter         *k_a_greyenter
  5181.  
  5182.     k_chr  (non-function keys)
  5183.                                              Defining Compound Keys   99
  5184.  
  5185.  
  5186.   18-3  Defining Compound Keys
  5187.   ────────────────────────────
  5188.  
  5189.   The Aurora Editor also allows you to define "compound keys". A
  5190.   Compound key is a combination of keys that act like one function key.
  5191.   Using compound keys can greatly expand the number of available
  5192.   function keys, or help to make The Aurora Editor behave like another
  5193.   editor or word processor.
  5194.  
  5195.   To form a compound key name, just concatenate all the composite key
  5196.   names (discarding the "k_" prefix), and separate them with the "+"
  5197.   character. Then attach the "k_" prefix to the beginning of the
  5198.   compound key.
  5199.  
  5200.   For example, "k_f1+f2" is the compound key name for <F1> and <F2>.
  5201.   "k_c_d+a_s+f3" is a compound key name composed of the 3 function keys:
  5202.   <Ctrl-D>, <Alt-S>, and <F3>. Compound keys names may also have a
  5203.   non-function key as the last key. For example, "k_c_d+k" is a valid
  5204.   compound key.
  5205.  
  5206.   To define compound keys, first define all keys in the compound key
  5207.   series (except for the last) as compound key "prefixes". This is done
  5208.   using the "keyx" function. For example:
  5209.  
  5210.     obj  edit (
  5211.        .
  5212.        .
  5213.       fun  k_c_d     (keyx "k_c_d").  //  define prefix "<Ctrl-D>"
  5214.       fun  k_c_d+f1  (save).          // "<Ctrl-D>,<F1>" saves the file
  5215.        .
  5216.        .
  5217.       fun  k_c_d+f2 (keyx "k_c_d+f2"). //  define prefix "<Ctrl-D>,<F2>"
  5218.       fun  k_c_d+f2+a  (quit %p).      // "<Ctrl-D>,<F2>,<A>" quits the file
  5219.        .
  5220.        .
  5221.     ).
  5222.  
  5223.   Note that when a function key is defined as a compound key prefix, it
  5224.   can no longer be used as a "normal" function key for another function.
  5225.  
  5226.   Compound keys have one restriction: you cannot assign a key macro to a
  5227.   compound key.
  5228.  
  5229.   The following compound key prefixes are defined in AKBD.A at
  5230.   installation time:
  5231.  
  5232.     - k_c_k  <Ctrl K>
  5233.     - k_c_o  <Ctrl O>
  5234.     - k_c_q  <Ctrl Q>
  5235.                                               Mouse Function Names   100
  5236.  
  5237.  
  5238.   18-4  Mouse Function Names
  5239.   ──────────────────────────
  5240.  
  5241.   You can configure the way Aurora Editor handles the mouse by creating
  5242.   your own "mouse event handler" functions. You can change existing
  5243.   mouse definitions and add new definitions just as you would for the
  5244.   keyboard (see "Redefining the Keyboard" 18-1).
  5245.  
  5246.   When defining a mouse handler function, you must use a mouse function
  5247.   name recognized by The Aurora Editor. By convention, mouse function
  5248.   names are always in lower case and begin with "m_". Mouse left button
  5249.   function names begin with "m_l_", mouse right button function names
  5250.   begin with "m_r_", and mouse center button function names begin with
  5251.   "m_c_".
  5252.  
  5253.   A mouse function name will have the suffix "_client" if the mouse
  5254.   event originated in a window client area, "_border" if it originated
  5255.   on a window border, or "_bkgnd" if it originated on the video
  5256.   background.
  5257.  
  5258.   The following mouse function names are recognized by The Aurora
  5259.   Editor:
  5260.  
  5261.     m_move_client         m_move_border         m_move_bkgnd
  5262.  
  5263.     m_l_down_client       m_l_down_border       m_l_down_bkgnd
  5264.     m_l_up_client         m_l_up_border         m_l_up_bkgnd
  5265.     m_l_dbclick_client    m_l_dbclick_border    m_l_dbclick_bkgnd
  5266.  
  5267.     m_c_down_client       m_c_down_border       m_c_down_bkgnd
  5268.     m_c_up_client         m_c_up_border         m_c_up_bkgnd
  5269.     m_c_dbclick_client    m_c_dbclick_border    m_c_dbclick_bkgnd
  5270.  
  5271.     m_r_down_client       m_r_down_border       m_r_down_bkgnd
  5272.     m_r_up_client         m_r_up_border         m_r_up_bkgnd
  5273.     m_r_dbclick_client    m_r_dbclick_border    m_r_dbclick_bkgnd
  5274.  
  5275.  
  5276.   18-5  Defining Menus
  5277.   ────────────────────
  5278.  
  5279.   The Aurora Editor has a fully configurable menu system. It's easy to
  5280.   redefine the menu bars and pull-down menus according to your own
  5281.   preferences for both Edit windows and File Manager windows. You can
  5282.   also redefine the Edit window tool bar to your own preferences.
  5283.  
  5284.   Menu definition macros are stored in the file AMEN.A. You can edit
  5285.   this file by entering the "opena %amen" command or selecting the
  5286.   "Menus.." item from the "Macro" pulldown menu.
  5287.                                                     Defining Menus   101
  5288.  
  5289.  
  5290.   The Menu definitions in AMEN.A are actually source code written in The
  5291.   Aurora Macro Language. They are compiled and included into A.X when
  5292.   the "setres" <Alt-F2> command ("Restore Settings" on the "Set"
  5293.   pull-down menu) is entered.
  5294.  
  5295.   The following function definition in AMEN.A sets the menu bar for all
  5296.   Edit windows:
  5297.  
  5298.     fun EditMen  (
  5299.       winmen @ @ %&File %&Window %&Block %&Search %F&old %&Edit
  5300.                  %&Clip %&Print %Se&t %M&acro %&Help.
  5301.       .
  5302.       .
  5303.     ).
  5304.  
  5305.   In the above function definition, the menu bar items are the "winmen"
  5306.   arguments "%&File" "%&Window", "%&Block", etc. Spaces must separate
  5307.   the menu bar items, and each menu bar item must be preceded by a "%"
  5308.   character, or enclosed in double quotes. Each menu bar item may also
  5309.   contain one ampersand (&) character which indicates that the character
  5310.   which follows is to be highlighted when displayed. To add or remove a
  5311.   menu bar item, just modify the "winmen" statement according to your
  5312.   preferences.
  5313.  
  5314.   To define a pull-down menu, use the "texmen" function. For example,
  5315.   consider the following menu-pulldown definition which creates the
  5316.   "Print" pulldown menu for all Edit windows:
  5317.  
  5318.     texmen  %editPrint
  5319.       " &Print            Alt-P|print"
  5320.       " Print &Block     Ctrl-P|print %m"
  5321.       " Print &Formfeed|prtstr (byte 12)"
  5322.       " Print &Settings..|askprtset".
  5323.  
  5324.   The first argument to the function texmen ("editPrint" in the example
  5325.   above) must be the name of the associated menu bar item prefixed by
  5326.   either "edit" for Edit windows or "fmgr" for File Manager windows.
  5327.   After the first argument, all arguments to "texmen" define a line on
  5328.   the pull-down menu. These arguments have the following format:
  5329.  
  5330.     "display string | macro"
  5331.  
  5332.   The display string may contain one ampersand (&) character to indicate
  5333.   which character is to be highlighted. For example, in the Print
  5334.   pull-down menu example above, the last pull down menu item definition
  5335.   is:
  5336.  
  5337.     " Print &Settings..|askprtset"
  5338.                                                     Defining Menus   102
  5339.  
  5340.  
  5341.   For this menu item, the display string is " Print Settings.." with the
  5342.   "S" highlighted. The macro is "askprtset", which is executed whenever
  5343.   the menu item is selected.
  5344.  
  5345.   To create a "separator line" on a menu, specify "─" as an argument to
  5346.   the "texmen" function.
  5347.  
  5348.   You can use the "mens" command to create "sub-menus". For example,
  5349.   consider the following argument to the texmen function:
  5350.  
  5351.     " Mar&k..              |mens %editMark"
  5352.  
  5353.   This argument will create the menu item " Mar&k..              " and
  5354.   associate it with the command "mens %editMark". When this menu item is
  5355.   selected, the menu "editMark" is displayed. "editMark" must be the
  5356.   name of another pull-down menu created with the "texmen" function.
  5357.  
  5358.   You can modify any menu bar or pull-down definition you wish, except
  5359.   for the first seven lines of the Edit window "Set" pulldown. The
  5360.   Aurora Editor expects these seven menu items to remain the same.
  5361.  
  5362.   When you have completed your changes to the file AMEN.A, save it <F3>,
  5363.   and enter the "setres" <Alt-F2> command ("Restore Settings" on the
  5364.   "Set" pulldown menu). You must exit and re-enter the editor for the
  5365.   new menu definitions to take effect.
  5366.  
  5367.  
  5368.   18-6  The Tool Bar
  5369.   ──────────────────
  5370.  
  5371.   Each Edit window in The Aurora Editor has an optional "Tool Bar" which
  5372.   can be displayed or hidden on demand using the following command from
  5373.   the "Window" pull-down menu:
  5374.  
  5375.   - wtool  "Tool Bar"  <Ctrl-F8>
  5376.  
  5377.     This command displays (or hides) the tool bar on the current Edit
  5378.     window. The tool bar is located underneath the Edit window menu and
  5379.     contains user-definable "controls" which allow easy access to
  5380.     commonly-used commands.
  5381.                                                        The ToolBar   103
  5382.  
  5383.  
  5384.     The default tool bar controls are:
  5385.  
  5386.     <≡> - close the tool bar
  5387.     <?> - tool bar help
  5388.     <*> - display a File Manager window
  5389.     </> - copy the current window
  5390.     <─> - split the current window horizontally
  5391.     <|> - split the current window vertically
  5392.     <o> - display the "Open" prompt
  5393.     <s> - save the file in the current Edit window
  5394.     <F> - display the "Find" prompt
  5395.     <f> - execute the last "Find" or "Replace" command
  5396.     <r> - reflow a block
  5397.     <«> - undo the last change
  5398.     <»> - redo the last change
  5399.     <>> - fold a block
  5400.     <<> - unfold a block
  5401.  
  5402.  
  5403.   The tool bar layout is defined in the file AMEN.A. You can edit this
  5404.   file by entering the "opena %amen" command or selecting the "Menus.."
  5405.   item from the "Macro" pulldown menu.
  5406.  
  5407.   The following function definition in AMEN.A sets the tool bar for all
  5408.   Edit windows:
  5409.  
  5410.     fun EditMen (
  5411.       .
  5412.       .
  5413.       winmen @ 1 %<&&≡> %<&&?> %<&&*> %<&&/> %<&&─> %<&&|> %<&&o> %<&&s>
  5414.                  %<&&F> %<&&f> %<&&r> %<&&«> %<&&»> %<&&>> %<&&<>.
  5415.     ).
  5416.  
  5417.   In the function definition above, the tool bar controls are the
  5418.   "winmen" arguments "%<&&≡>", "%<&&?>", etc. Spaces must separate the
  5419.   tool bar controls and each tool bar control must be preceded by the
  5420.   "%" character, or enclosed in double quotes. Each menu bar item may
  5421.   also contain two back-to-back ampersand (&&) characters which
  5422.   indicates that the character which follows is to be highlighted (with
  5423.   the title bar control color) when displayed . To add, change, or
  5424.   remove a tool bar control, just modify the "winmen" statement
  5425.   according to your preferences.
  5426.  
  5427.   When you define a new tool bar control, you must also define what
  5428.   macro command the tool bar control executes. This is done by adding a
  5429.   tool bar control function to the "edit" object in the file AKBD.A, in
  5430.   the same way that a key definition would be added (see "Defining the
  5431.   Keyboard 18-1). For example:
  5432.                                                        The ToolBar   104
  5433.  
  5434.  
  5435.     obj  edit (
  5436.  
  5437.       // tool bar
  5438.       fun  <*>  (fmgr).               // displays the File Manager
  5439.       fun  <o>  (askopen).            // displays the Open prompt
  5440.       .
  5441.       .
  5442.     ).
  5443.  
  5444.   When you have completed your changes to the file AMEN.A, save it <F3>,
  5445.   and enter the "setres" <Alt-F2> command ("Restore Settings" on the
  5446.   "Set" pulldown menu). You must exit and re-enter the editor for the
  5447.   new menu definitions to take effect.
  5448.                                               Command Line Options   105
  5449.  
  5450.  
  5451.   A-1  Command Line Options
  5452.   ─────────────────────────
  5453.  
  5454.   Command Line Options can be specified when loading The Aurora Editor
  5455.   at the DOS prompt. After the "A" or "A3" command, enter a hyphen (-)
  5456.   followed by the option and any option parameters. The following
  5457.   options are available:
  5458.  
  5459.     c - forces the editor to use color attributes
  5460.     m - forces the editor to use monochrome attributes
  5461.     x - forces the editor to the execute the macro filename following
  5462.         the "x" option (there is no space between the "x" and the
  5463.         filename). If you specify multiple "x" options on the same
  5464.         command line, they are executed in the order they are entered.
  5465.         Note that if the "x" option is specified, the default macro file
  5466.         A.X is not automatically executed.
  5467.  
  5468.   For example:
  5469.  
  5470.     C>A -m -xD:\A.X -xD:\TEST.X DOC1.TXT *.TXT
  5471.  
  5472.   In the above example, The Aurora Editor is invoked with monochrome
  5473.   attributes and the macro files D:\A.X and D:\TEST.X are executed. An
  5474.   Edit window is created for DOC1.TXT and a File Manager Window is
  5475.   created for *.TXT.
  5476.                                                   Performance Tips   106
  5477.  
  5478.  
  5479.   B-1  Performance Tips
  5480.   ─────────────────────
  5481.  
  5482.   The Aurora Editor is high performance software. However, the following
  5483.   tips may help you get the utmost in performance:
  5484.  
  5485.   - Use the maximum available conventional memory
  5486.  
  5487.     Configure DOS so that the maximum amount of "conventional" memory
  5488.     (below 1 megabyte) is available. This will decrease the likelihood
  5489.     that the editor will use slower XMS/EMS, or swap to disk.
  5490.  
  5491.   - Use a Disk Cache Program
  5492.  
  5493.     Using a disk caching program such as SMARTDRV can greatly increase
  5494.     overall editor performance. This includes initial loading of the
  5495.     editor, saving and loading of files, executing DOS programs from
  5496.     within the editor, and general virtual memory performance when XMS
  5497.     and EMS are not available.
  5498.  
  5499.   - Use XMS or EMS memory if available
  5500.  
  5501.     Using XMS and/or EMS memory can greatly increase performance when
  5502.     editing large files, and when executing DOS programs from within the
  5503.     editor (see "Configuration - Memory Options" 17-12). Many users may
  5504.     find XMS memory easier to use, since an XMS driver is already
  5505.     installed on many computers (in the form of HIMEM.SYS).
  5506.  
  5507.     When comparing XMS and EMS performance within The Aurora Editor
  5508.     (using the QEMM-386 memory manager), XMS is almost twice as fast as
  5509.     EMS when loading large files. EMS memory is nearly 30% faster than
  5510.     XMS when searching though large files.
  5511.  
  5512.   - Turn off "SaveMac" and "SaveHis"
  5513.  
  5514.     Turning off these two configuration settings can reduce the amount
  5515.     of time it takes to enter and exit the editor. Note that turning off
  5516.     "SaveHis" will prevent the editor from remembering window positions
  5517.     and sizes, cursor positions, etc. across edit sessions.
  5518.  
  5519.