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