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