home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / 7EDIT16X.ZIP / NED.DOC < prev    next >
Text File  |  1993-05-23  |  284KB  |  6,569 lines

  1.  
  2.            NED v1.6x User's Guide                           Page   1
  3.  
  4.  
  5.  
  6.                            NED(tm) v1.6x User's Guide
  7.  
  8.                            ,
  9.                       _   /_  __.  __  _  , , , __.  __  _
  10.                     _/_)_/ /_(_/|_/ (_</_(_(_/_(_/|_/ (_</_
  11.  
  12.  
  13.                             DEFINITION OF SHAREWARE
  14.  
  15.            Shareware  distribution  gives  users  a  chance  to  try
  16.            software before buying it. If you try a Shareware program
  17.            and continue  using it,  you are  expected  to  register.
  18.            Individual programs  differ on  details --  some  request
  19.            registration while  others require  it,  some  specify  a
  20.            maximum trial period. With registration, you get anything
  21.            from the  simple right  to continue using the software to
  22.            an updated program with printed manual.
  23.  
  24.            Copyright laws  apply to  both Shareware  and  commercial
  25.            software, and  the copyright  holder retains  all rights,
  26.            with a few specific exceptions as stated below. Shareware
  27.            authors   are   accomplished   programmers,   just   like
  28.            commercial authors,  and the  programs are  of comparable
  29.            quality. (In  both cases, there are good programs and bad
  30.            ones!)  The   main  difference   is  in   the  method  of
  31.            distribution. The author specifically grants the right to
  32.            copy and  distribute the  software,  either  to  all  and
  33.            sundry or  to a specific group. For example, some authors
  34.            require  written  permission  before  a  commercial  disk
  35.            vendor may copy their Shareware.
  36.  
  37.            Shareware  is  a  distribution  method,  not  a  type  of
  38.            software. You  should find software that suits your needs
  39.            and pocketbook, whether it's commercial or Shareware. The
  40.            Shareware system makes fitting your needs easier, because
  41.            you can  try before  you buy. And because the overhead is
  42.            low, prices  are low  also. Shareware  has  the  ultimate
  43.            money-back guarantee -- if you don't use the product, you
  44.            don't pay for it.
  45.  
  46.                             DISCLAIMER - AGREEMENT
  47.  
  48.            Users of NED(tm) v1.6x must  accept  this  disclaimer  of
  49.            warranty:
  50.  
  51.            "NED v1.6x  IS SUPPLIED  AS IS.  THE AUTHOR DISCLAIMS ALL
  52.            WARRANTIES,  EXPRESSED  OR  IMPLIED,  INCLUDING,  WITHOUT
  53.            LIMITATION, THE  WARRANTIES  OF  MERCHANTABILITY  AND  OF
  54.            FITNESS FOR  ANY PURPOSE. THE AUTHOR ASSUMES NO LIABILITY
  55.            FOR DAMAGES,  DIRECT OR  CONSEQUENTIAL, WHICH  MAY RESULT
  56.            FROM THE USE OF NED v1.6x.
  57.  
  58.            GOOD DATA  PROCESSING PROCEDURE DICTATES THAT ANY PROGRAM
  59.            BE  THOROUGHLY   TESTED  WITH  NON-CRITICAL  DATA  BEFORE
  60.            RELYING ON  IT. THE  USER MUST  ASSUME THE ENTIRE RISK OF
  61.            USING THE  PROGRAM. ANY  LIABILITY OF  THE AUTHOR WILL BE
  62.            
  63.            NED v1.6x User's Guide                           Page   2
  64.  
  65.            LIMITED EXCLUSIVELY  TO PRODUCT  REPLACEMENT OR REFUND OF
  66.            THE REGISTRATION FEE TO REGISTERED USERS."
  67.  
  68.            NED v1.6x  is a "shareware program" and is provided at no
  69.            charge to  the user for evaluation. Feel free to share it
  70.            with your friends, but please do not give it away altered
  71.            or as   part  of another  system. The   essence of "user-
  72.            supported" software is to provide personal computer users
  73.            with quality  software without  high prices,  and yet  to
  74.            provide incentive  for programmers to continue to develop
  75.            new products.  If you  find this  program useful and find
  76.            that you  are using  NED v1.6x  and continue  to use  NED
  77.            v1.6x after  a reasonable trial period, you should make a
  78.            registration payment  of $50  to DAVID  L. DIGHT. The $50
  79.            registration fee will licence one copy for use on any one
  80.            computer at  any one  time. You  must treat this software
  81.            just like a book. An example is that this software may be
  82.            used by any number of people and may be freely moved from
  83.            one computer  location to another, so long as there is no
  84.            possibility of  it being  used at one location while it's
  85.            being used  at another.  Just as a book cannot be read by
  86.            two different persons at the same time.
  87.  
  88.            Commercial users  of NED  v1.6x must register and pay for
  89.            their copies  of NED v1.6x within 30 days of first use or
  90.            their licence  is withdrawn.   Site-Licence  arrangements
  91.            may be made by contacting DAVID L. DIGHT.
  92.  
  93.            Anyone  distributing   NED  v1.6x   for   any   kind   of
  94.            remuneration must  first contact  DAVID L.  DIGHT at  the
  95.            address below for authorisation.
  96.  
  97.            This  authorisation  will  be  automatically  granted  to
  98.            distributors recognized  by the  Association of Shareware
  99.            Professionals (ASP)  as adhering  to its  guidelines  for
  100.            shareware distributors,  and  such distributors may begin
  101.            offering NED  v1.6x immediately  (However DAVID  L. DIGHT
  102.            must still be advised so that the distributor can be kept
  103.            up-to-date with the latest version of NED v1.6x).
  104.  
  105.            You are  encouraged to  pass a copy of NED v1.6x along to
  106.            your friends  for evaluation.   Please  encourage them to
  107.            register their  copy if  they find  that they can use it.
  108.            All registered  users will  receive a  copy of the latest
  109.            version of the NED v1.6x system. If you do pass on a copy
  110.            please make  sure you  include all  the system files with
  111.            documents. The file NEDIT.EXE is a self-extracting execu-
  112.            table archive  and contains all files  with this release.
  113.            
  114.            NED v1.6x User's Guide                           Page   3
  115.  
  116.            *********************************************************
  117.  
  118.               NED(tm) v1.6x (C) Copyright 1987-93 David L. Dight
  119.                              All Rights Reserved.
  120.  
  121.                   P.O.  Box 280,  Kings Cross,  N.S.W.  2011
  122.                   AUSTRALIA. +61 2 3314521,  CIS:100033,2563
  123.  
  124.                               _______
  125.                          ____|__     |                (R)
  126.                       --|       |    |-------------------
  127.                         |   ____|__  |  Association of
  128.                         |  |       |_|  Shareware
  129.                         |__|   o   |    Professionals
  130.                       -----|   |   |---------------------
  131.                            |___|___|    MEMBER
  132.  
  133.            When you  register you  receive a 250 page manual and the
  134.            latest version of NED and utilities as well as info about
  135.            new  versions  when  they  occur  and  support.  See  the
  136.            Software Registration Form at the end  of the  manual  or
  137.            REGISTER.FRM with the release.
  138.  
  139.  
  140.            IBM, PC-XT,  PC-AT, PS/2,  PC-DOS, MDA,  CGA, EGA and VGA
  141.            are  registered   trademarks  of  International  Business
  142.            Machines Corporation. MS-DOS is a registered trademark of
  143.            Microsoft  Corporation.   Compaq  386   is  a  registered
  144.            trademark of Compaq Corporation. Epson FX is a registered
  145.            trademark of Epson  America  Incorporated.  Hercules is a
  146.            registered trademark of Hercules Computer Technology.  HP
  147.            LaserJet is a registered trademark of the Hewlett-Packard
  148.            Company.
  149.  
  150.            Revision 1.6.e.4 23/05/1993.
  151.            
  152.            NED v1.6x User's Guide                           Page   4
  153.  
  154.            *********************************************************
  155.            NED v1.6x User's Guide
  156.            Table of contents
  157.  
  158.            Introduction                                            6
  159.                 i    Introduction                                  6
  160.                 ii   How to Use this Manual                        7
  161.                 iii  Notational Conventions                        7
  162.  
  163.            Chapter 1. Installing NED                               9
  164.                 1.1  Package Contents                              9
  165.                 1.2  System Requirements                           9
  166.                 1.3  Installation                                  9
  167.  
  168.            Chapter 2. Getting Started                             11
  169.                 2.1  Creating or Editing a File                   11
  170.                 2.2  The Editing Screen                           11
  171.                 2.3  Entering Text                                12
  172.                 2.4  Getting Help                                 13
  173.                 2.5  Basic Movement Keys                          13
  174.  
  175.  
  176.            Chapter 3. Learning More                               15
  177.                 3.1  Using the Command Area                       15
  178.                 3.2  Managing Multiple Files                      16
  179.                 3.3  Text Editing Functions                       17
  180.                 3.4  Using Block Mode                             18
  181.                 3.5  Using Word Wrap                              19
  182.                 3.6  The Status Screen                            20
  183.                 3.7  Searching, Replacing and Matching            21
  184.                 3.8  Quitting NED                                 23
  185.                 3.9  The Backup System                            24
  186.  
  187.            Chapter 4. Advanced Features                           26
  188.                 4.1  Configuring NED                              26
  189.                 4.2  Using File Lists                             30
  190.                 4.3  File Display Mode                            31
  191.                 4.4  Creating and Using Macros                    33
  192.                 4.5  Printing a File                              34
  193.                 4.6  Using the Print Spooler                      35
  194.                 4.7  Using the Calculator                         36
  195.                 4.8  Using the ASCII Tables                       37
  196.                 4.9  Using Colours 43/50 line modes.              37
  197.  
  198.            Chapter 5. System Reference                            40
  199.                 5.1  Command Reference                            40
  200.                 5.2  Function Reference                           55
  201.                 5.3  Configuration Reference                      73
  202.                 5.4  Block Mode Reference                         80
  203.                 5.5  File Display Reference                       83
  204.                 5.6  Regular Expression Reference                 85
  205.                 5.7  Printer Command Reference                    89
  206.  
  207.            Chapter 6. Tutorials                                   92
  208.                 6.1  Introduction                                 92
  209.                 6.2  Tutorial One - A DOS menu system             92
  210.                 6.3  Tutorial Two - Programming with NED          99
  211.  
  212.            
  213.            NED v1.6x User's Guide                           Page   5
  214.  
  215.            Appendix A. Messages                                  106
  216.            Index                                                 113
  217.            
  218.            NED v1.6x User's Guide                           Page   6
  219.  
  220.            *********************************************************
  221.            NED v1.6x User's Guide
  222.  
  223.            i Introduction
  224.  
  225.            NED  is  a  high  performance  text  editor  specifically
  226.            designed for  programmers and  people who  need to use an
  227.            editor regularly.  It is  simple to  use and  robust  yet
  228.            fully featured for the serious user. NED has an intuitive
  229.            'feel' encouraging experimentation and confidence whether
  230.            you are  just learning about editors or you are a 'power'
  231.            user. Here  are just  some of the reasons you'll find NED
  232.            one of the best editors you've ever used:
  233.  
  234.            1. Edit   multiple  files.  Up to   ten (10) files may be
  235.            edited at  once. You  can move  between open files with a
  236.            single keystroke.
  237.  
  238.            2. Expansion   of   wildcard   file  specifications  from
  239.            command line and the use of File Lists. NED allows you to
  240.            predefine a  list of files to edit. If you are working on
  241.            a multi-moduled  system this  feature will  save you time
  242.            specifying file names. You can also browse through drives
  243.            and directories for files to open.
  244.  
  245.            3. On line Calculator, ASCII tables and help screens.
  246.  
  247.            4. Fast.  NED has  been designed  to make  maximum use of
  248.            your video hardware and to be as fast as possible.
  249.  
  250.            5. Full  support for   Hercules,  EGA   and VGA  adaptors
  251.            including 43 and 50 line modes.
  252.  
  253.            6. Special   functions  such   as brace/bracket matching,
  254.            field  copying,   character  case   flip,  date/time  and
  255.            filename insertion  into your  file. These  make  editing
  256.            easier, quicker and more productive.
  257.  
  258.            7. Embedded   print  commands   and print  while you work
  259.            spooler.
  260.  
  261.            8. Powerful  Regular Expression  Language makes searching
  262.            and replacing easier and more effective.
  263.  
  264.            9. Shell  to DOS.  NED is  compact enough to allow you to
  265.            run most  applications when  in the  shell.  Execute  DOS
  266.            commands from within NED.
  267.  
  268.            10. The  editing   environment is fully configurable with
  269.            CONFIG.NED.
  270.  
  271.            11. Block  copy,   cut and  paste from within lines to an
  272.            entire file.  Block functions  allow  formatting  of  the
  273.            block, or copying blocks to the search expression.
  274.  
  275.            12. NED  allows you to prepare text for use with desk top
  276.            publishing systems  with features  like word  wrap  left,
  277.            right  and   centre  justify,  escape,  tab  and  control
  278.            
  279.            NED v1.6x User's Guide                           Page   7
  280.  
  281.            character insertion.
  282.  
  283.            13. Functionality.  NED has  the most exhaustive function
  284.            capability of any editor on the market.
  285.  
  286.            14. Clear,  concise,   easy  to  read  and  fully  cross-
  287.            referenced User's Guide.
  288.  
  289.            15. Keyboard  macros. You  may record, save and use up to
  290.            20 macros  at any  one time. Macros save time by reducing
  291.            repetitive keystrokes.
  292.  
  293.            The User's Guide will help you get the most out of NED.
  294.  
  295.            ii How to Use this Manual
  296.            NED is  designed   for   both  the  first  time  and  the
  297.            experienced user.  Different parts  of  this  manual  are
  298.            intended for users with different needs.
  299.  
  300.            Chapter 1  Installing NED  explains how to install NED on
  301.            your machine.  It  also  explains  NED's  minimum  system
  302.            requirements and the package contents.
  303.  
  304.            Chapter 2  Getting Started  describes the basics of using
  305.            NED such  as how  to create  a  file,  understanding  the
  306.            editing screen,  entering text  and getting  help. It  is
  307.            designed as  an introduction  to both  NED and editing in
  308.            general.
  309.  
  310.            Chapter 3  Learning More describes how to use the command
  311.            area,  manage   multiple  files,  advanced  text  editing
  312.            functions, block mode commands, word wrap, search for and
  313.            replace text.
  314.  
  315.            Chapter 4  Advanced Features  describes  the  NED's  more
  316.            advanced features  such as  configuring NED,  File Lists,
  317.            keyboard Macros and printing.
  318.  
  319.            Chapter 5  System Reference  provides  a  full  reference
  320.            manual  for   all  of   NED's  commands,  function  keys,
  321.            configuration statements,  printer commands, File Display
  322.            keys,  Block   Mode  keys   and  the  Regular  Expression
  323.            Language.
  324.  
  325.            Chapter 6  Tutorials provides two 'hands on' tutorials on
  326.            using NED.
  327.  
  328.            Appendix A  Messages lists  all the messages that you may
  329.            encounter using NED with a brief comment on each. READ.ME
  330.            File  on   the  system  disk  documents  corrections  and
  331.            enhancements made  to both  the program  and  the  user's
  332.            guide after the user's guide was printed.
  333.  
  334.            iii  Notational Conventions
  335.            This section  describes the  notational conventions  used
  336.            throughout this manual.
  337.  
  338.            placeholders        Items in italics are placeholders for
  339.            
  340.            NED v1.6x User's Guide                           Page   8
  341.  
  342.                 types of  information you  must supply,  for example
  343.                 pathname, macrofile,  number,  to  and  from.  Other
  344.                 words appear in italics for emphasis.
  345.  
  346.            [optional items]    Items   enclosed   by   bold   square
  347.                 brackets are optional.
  348.  
  349.            repeating items...  Three bold  dots  following  an  item
  350.                 indicate that items of the same form may be repeated
  351.                 a number of times.
  352.  
  353.            {item1|item2}       This indicates  that you    have    a
  354.                 choice between  two   or more  items. Bold  brackets
  355.                 enclose all  the choices  and the bold vertical bars
  356.                 separate the  choices. One  of  the  items  must  be
  357.                 chosen, unless all the choices Are optional.
  358.  
  359.            examples            These  will   be  indented  and  will
  360.                 appear in a non-proportional typeface.
  361.  
  362.            screen examples     These appear  in the lineprinter font
  363.                 and are enclosed in a box.
  364.  
  365.            <keyname>           The  angle   brackets  indicates  the
  366.                 function key  <keyname> that  is to  be entered. For
  367.                 example: <Enter>.
  368.  
  369.            KEYNAME             This  refers   to  a   function   key
  370.                 (KEYNAME) when  it is  mentioned within a paragraph.
  371.                 For example: "if you press ENTER...".
  372.  
  373.            ALT                 This represents the alternate key(s).
  374.                 ALT N  means the  ALT   key must be pressed with the
  375.                 'n' key to generate ALT N.
  376.  
  377.            SHIFT               This represents  either the  left  or
  378.                 right shift  key. In  some cases it will be preceded
  379.                 by a LEFT or RIGHT specification.
  380.  
  381.            CTRL or ^           These symbols  represent the  control
  382.                 key(s). SECTION  1.0  These  will  appear  in  small
  383.                 capitals and  refer to  chapter sections  where more
  384.                 information about a topic may be found.
  385.  
  386.  
  387.            
  388.            NED v1.6x User's Guide                           Page   9
  389.  
  390.            *********************************************************
  391.            NED v1.6x User's Guide
  392.            Chapter 1 Installing
  393.  
  394.            1.1  Release Contents
  395.            Files in this release:
  396.  
  397.            NEDIT.EXE(*)   Self-extracting archive
  398.  
  399.            READ.ME        Read this file first. It contains the latest
  400.                           information on this release.
  401.            NED.EXE        Main program
  402.            NHELP.EXE      Help system
  403.            NCAL.EXE       On-line Calculator/ASCII tables
  404.            FASTPRN.EXE    Document printing utility
  405.            VIRCHK.EXE     Executable virus scanner
  406.            SF.EXE         SuperFind utility
  407.            CONFIG.NED     Example configuration file
  408.            SAMPLE.MCR     Sample Macro file
  409.            NED.DOC        User's guide
  410.            FILES.NED      Sample File List
  411.            VENDOR.DOC     Distributors, vendors and ASP vendor information
  412.            DISTRIB.DOC    Application for distribution licence
  413.            LICENSE.DOC    Licensing agreement for individual use
  414.            SYSOP.DOC      Info about posting NED on BBS's
  415.            DESCRIBE.DOC   Sample descriptions for BBS/vendors.
  416.            REGISTER.FRM   Software registration form
  417.            OMBUDSMN.ASP   ASP ombudsman statement
  418.            PACKING.LST    This list in a separate file
  419.  
  420.            (*) LHA's SFX 2.13S (c) Yoshi, 1991. All rights reserved.
  421.  
  422.            1.2 System Requirements
  423.            IBM XT AT PS/2 386 486 or compatible.
  424.            PC-DOS/MS-DOS 2.0 or later.
  425.            Minimum 256Kb installed RAM.
  426.            MDA, CGA, EGA, VGA,  Hercules or  compatible  adapter and
  427.            monitor.
  428.            At least one floppy-disk drive  (two are recommended or a
  429.            hard-disk and a floppy-disk drive).
  430.            Printer (optional).
  431.  
  432.  
  433.            1.3 Installation
  434.            It is  best to  have the drive:\directory that NED exists
  435.            on your  PATH   so that   you  may  use NED  in what ever
  436.            directory you  are in.  This is  also necessary for using
  437.            the Help screens and for the Calculator and ASCII tables.
  438.            The PATH  tells DOS  where to  look for  executable files
  439.            which in  this case  are NED,  NHELP, NCAL  In the  above
  440.            example,
  441.            
  442.            NED v1.6x User's Guide                           Page  10
  443.  
  444.  
  445.                 PATH=C:\;C:\DOS;C:\UTILS
  446.  
  447.            If you  normally have  your  programs  in  the  directory
  448.            'C:\UTILS' and  you wish  to work  in a  number of  other
  449.            directories then  having NED  in a  directory which is on
  450.            the PATH  means you  don't have  to worry about where NED
  451.            resides.
  452.  
  453.  
  454.            
  455.            NED v1.6x User's Guide                           Page  11
  456.  
  457.            *********************************************************
  458.            NED v1.6x User's Guide
  459.            Chapter 2 Getting started
  460.  
  461.            2.1  Creating or Editing a File
  462.            The DOS command line syntax for NED is:
  463.  
  464.                 ned [file1 file2 ... filen]
  465.  
  466.            Where  file   may  be   either   a   pathname,   wildcard
  467.            specification or  an 'At'  file  (e.g.  @files.ned).  The
  468.            following DOS command lines provide examples:
  469.  
  470.                 ned sample.c
  471.                 ned sample.c c:\mydir\test.prg *.bat
  472.  
  473.            In the first example, 'sample.c' is loaded. In the second
  474.            example NED  will load  up 'sample.c'  to start  with. If
  475.            sample.c doesn't exist, you will be prompted:
  476.  
  477.                 Ok to Create (Y/N) ?
  478.  
  479.            If you  answer yes  you may  begin entering  text, if you
  480.            answer no,  NED will exit you to DOS. The remaining files
  481.            ('c:\mydir\test.prg' and  all  matching  *.bat)  will  be
  482.            added to your File List and may be opened later using the
  483.            OPEN command.  Of course  you only  have to  specify  one
  484.            filename on the command line.
  485.  
  486.            NED accepts  any valid DOS wildcard specification. As NED
  487.            loads, it  attempts to  place every  matching filename in
  488.            the  File   List.  If   no  matches  can  be  found,  the
  489.            specification is  left as  a filename. You may have up to
  490.            512  filenames   in  the  File  List  from  one  or  more
  491.            wildcards. You  can increase this  number with the DIRMAX
  492.            statement in CONFIG.NED.
  493.  
  494.            You can  only edit  text files  with NED.  If you attempt
  495.            editing  other   types   of   files   the   results   are
  496.            unpredictable. NED  will try  to load  256 characters  to
  497.            each line  if no carriage return/line feeds are found. If
  498.            a line  is longer than 256 characters, NED will split the
  499.            line at  256 characters.  NED will  continue to split the
  500.            line until the remainder is less than 256.
  501.  
  502.            If you  try to save a file that was loaded in this manner
  503.            it will  be completely  corrupted. If  you need to load a
  504.            formatted word-processor  document, save  or convert  the
  505.            file to ASCII format before loading it with NED.
  506.  
  507.            2.2  The Editing Screen
  508.            The screen  is divided into two main 'windows'. The first
  509.            is known as the System window, and the second as the Edit
  510.            window. The System window is designed to display the most
  511.            relevant information  you need  when editing a file. From
  512.            left to right, the top line displays:
  513.  
  514.            Busy/Idle symbol - is an hour glass when NED is busy,
  515.            
  516.            NED v1.6x User's Guide                           Page  12
  517.  
  518.            e.g. when reading a file and is shutters when NED is
  519.            awaiting a command.
  520.            Filename - the filename/pathname of the current area. If
  521.            changes have been made, is in bold. If area is not open,
  522.            '(area unopened)' is displayed.
  523.            Area map - the current area if open is in bright bold
  524.            attribute and other open areas are in bold attribute.
  525.            Areas not open are in normal attribute.
  526.            Available memory - as a percentage free.
  527.            IWCNS - Auto-indent (I), Word-wrap (W), Caps-lock (C),
  528.            Num-lock (N) and Scroll-lock (S) toggles. Bold if on.
  529.            Line and Column - of cursor.
  530.  
  531.            The second  line is  the command area. When you press the
  532.            ESC key  the cursor  moves to this line. All commands and
  533.            parameters are  entered and shown here. The ruler display
  534.            appears on  this line  when the  cursor is  in  the  Edit
  535.            window. This displays each tab as a 'T' starting from the
  536.            current left  hand column  of the  Edit window. The right
  537.            hand margin is displayed as a 'R' and when the right hand
  538.            margin is   over  a tabstop,  it is  displayed as the 'P'
  539.            over 't'  character. The  following is  an example of the
  540.            default settings:
  541.  
  542.            ....T...T...T...T...T...T...T...T...T...T...T...T...T...T
  543.            ...T...R...T...T...T...
  544.  
  545.            The third  line shows  any confirmation, warning or error
  546.            messages to  the left  and an  abbreviated version of the
  547.            contents of the scrap buffer to the right. See Appendix A
  548.            for a description of NED's messages.
  549.  
  550.            The rest of the screen is known as the Edit window and is
  551.            devoted to  the file  you are  editing. If  the  file  is
  552.            longer than  twenty two  lines, the  first twenty two are
  553.            shown. If  it is  less than twenty two or the Edit window
  554.            is positioned  at the end of the file, a small bold tilde
  555.            (~) appears  on every  unused line  to  the  end  of  the
  556.            window.
  557.  
  558.            2.3  Entering Text
  559.            Entering text  is just  like using  a typewriter. Most of
  560.            the keys  on a  typewriter correspond  to  keys  on  your
  561.            keyboard. Unlike  many editors,  NED allows  you to enter
  562.            text where  ever the  cursor is  located, even if this is
  563.            off the  end of  a line.  This feature  is convenient for
  564.            programming when  formatting  and  commenting  code.  NED
  565.            automatically fills the gap created with spaces. The Edit
  566.            window is  a maximum  256 characters wide and will scroll
  567.            when necessary since NED only allows you to edit in an 80
  568.            character window at one time. The maximum number of lines
  569.            you can edit is 10240 if the MAXLINES statement is set to
  570.            this value  in CONFIG.NED,  see section  4.1 and  5.3 for
  571.            details. The default setting is 5120 lines. To open a new
  572.            line press  ENTER. To  open a  new line above the current
  573.            line press  CTRL  ENTER.  NED  has  an  auto  indentation
  574.            feature. When  on, and  you press  ENTER, NED  places the
  575.            cursor under  the first  non-whitespace character  of the
  576.            
  577.            NED v1.6x User's Guide                           Page  13
  578.  
  579.            previous line.  See the  ENTER and  ALT  I  functions  in
  580.            SECTION 5.2 for further details on Auto indent.
  581.  
  582.            Insert mode  is toggled using the INS key. When in insert
  583.            mode, entered  text pushes all characters in front of the
  584.            cursor including the entered character forward. In insert
  585.            mode the  cursor appears  as a half block. The default is
  586.            overtype mode  where entered  text replaces  the original
  587.            characters on  the line.  The cursor appears as a quarter
  588.            block. Various  functions make  use of  the  insert  mode
  589.            including TAB, ALT F and BS.
  590.  
  591.            To erase  a mistake, backspace (BS) over the character or
  592.            move the  cursor left and press DEL. If you are in insert
  593.            mode, BS has the reverse effect of inserting so that text
  594.            is  dragged   left  towards   the  cursor  (deleting  the
  595.            character to the left of the cursor).
  596.  
  597.            NED allows  high-bit characters (e.g. ruling graphics) to
  598.            be entered  in a  file. You  can use  the ALT  generation
  599.            method (ALT  <ASCII number  of key on numeric pad>) and a
  600.            few Ctrl  generated characters  (e.g. CTRL  G,  CTRL  D).
  601.            However  some  Ctrl  keys  have  special  functions.  For
  602.            example to enter an escape character into your file press
  603.            CTRL ESC  since the  ESC key  is used  to enter  or  exit
  604.            Command mode.
  605.  
  606.            The TAB  key  is  worth  special  mention.  Under  normal
  607.            operation this  moves the cursor one tabstop to the right
  608.            (default four  spaces) and SHIFT TAB moves the cursor one
  609.            tabstop to the left. If insert is on and hard-tab is off,
  610.            a tabstop  is inserted  at the  cursor (the corresponding
  611.            number of  spaces pushing  text right)  and the SHIFT TAB
  612.            deletes a  tabstop (dragging  text left). However, if the
  613.            hard-tab toggle is set (ALT T) tab characters (chr 9) are
  614.            entered instead.
  615.  
  616.            2.4 Getting Help
  617.            To get  help press  the F1  key. NHELP.EXE must be in the
  618.            current directory  or on  the PATH. A brief page index is
  619.            given and  you can  type the  page-number you need or you
  620.            can browse  using the  PGDN or  PGUP keys. Alternatively,
  621.            you can  issue the  HELP command  which takes an optional
  622.            starting page number, for example:
  623.  
  624.                 <Esc>H5<Enter>
  625.  
  626.            will take  you to the fifth help screen. Further help can
  627.            be found  in the  function/command reference  sections of
  628.            this manual.
  629.  
  630.            2.5 Basic Movement Keys
  631.            NED gives  you a 'window' on the file you are working on.
  632.            Within the  window the  cursor may be positioned to enter
  633.            or edit text. In addition to the LEFT, RIGHT, UP and DOWN
  634.            keys the following positioning keys may be used:
  635.  
  636.                HOME           start of line
  637.            
  638.            NED v1.6x User's Guide                           Page  14
  639.  
  640.                END            end of line
  641.                CTRL RIGHT     next word
  642.                CTRL LEFT      previous word
  643.                ALT A          goto column 1
  644.                ALT Z          goto column 256
  645.                ALT S          goto start window
  646.                ALT E          goto end window
  647.                ALT N          next line
  648.                ALT P          previous line
  649.                CTRL PGDN      bottom of window
  650.                CTRL PGUP      top of window
  651.  
  652.            When the  end of the window is reached the screen will be
  653.            scrolled either  up or down. You can also re-position the
  654.            window leaving  the cursor  in the same relative position
  655.            with the following keys:
  656.  
  657.                PGDN      next page (+22 lines)
  658.                PGUP      previous page (-22 lines)
  659.                CTRL HOME start of file
  660.                CTRL END  end of file
  661.  
  662.            See section  5.2 for  more information on these and other
  663.            movement keys.
  664.  
  665.  
  666.            
  667.            NED v1.6x User's Guide                           Page  15
  668.  
  669.            *********************************************************
  670.            NED v1.6x User's Guide
  671.            Chapter 3 Learning More
  672.  
  673.            3.1  Using the Command Area
  674.            NED accepts  commands in  two ways. Firstly, certain keys
  675.            are  assigned   functions  and  are  consequently  called
  676.            function keys.  These include  all the 'F' keys (e.g. F1,
  677.            CTRL F3),  and the ALT keys (e.g ALT F, ALT A). The other
  678.            way is  through the  command area. These commands require
  679.            either a parameter or confirmation.
  680.  
  681.            Pressing ESC  takes the cursor from where ever you are in
  682.            the Edit  window to  the 2nd  line (known  as the command
  683.            area). NED  accepts a set of single letter commands which
  684.            represent the  full word of the command. This is known as
  685.            command selection  mode. You  may browse through these by
  686.            pressing the  up/down arrows  or you may simply press the
  687.            letter of the command. For example if you press:
  688.  
  689.                 <Esc>O
  690.  
  691.            NED responds:
  692.  
  693.                 Open:
  694.  
  695.            by printing  the full  name of  the command followed by a
  696.            colon and  placing the  cursor after  the colon. NED then
  697.            waits for  an  optional  parameter.  Some  commands  need
  698.            parameters. Entering  parameters is  just like  using the
  699.            editor. You  may use INS, DEL or BS and some of the other
  700.            editing keys  to  type  your  parameter.  Once  you  have
  701.            entered the  parameter you  must press  ENTER again.  The
  702.            command is then executed.
  703.  
  704.            For commands  that don't  need parameters  you must still
  705.            press ENTER  again to  confirm the command. You may abort
  706.            the command  during parameter entry by pressing ESC. This
  707.            will return  you to  command selection mode. If you press
  708.            ESC again  you will  be returned  to the Edit window. You
  709.            can return  directly to  the Edit window by pressing CTRL
  710.            ENTER instead  of ENTER  when executing  a  command.  NED
  711.            remembers the last command you entered so on re- entering
  712.            Command mode  you may  press ENTER  to execute  the  same
  713.            command again.  NED also remembers the last parameter you
  714.            entered. You  may  retrieve  this  with  the  F3  key  in
  715.            parameter entry mode.
  716.  
  717.            Some commands  have special  keys. The  OPEN command lets
  718.            you browse  through files in the File List with the up or
  719.            down arrows.  The SPECIFY  command allows  you to  use or
  720.            edit the  last search  specification by  pressing the  up
  721.            arrow. A  similar function  is provided  with the REPLACE
  722.            command. The OPEN, MACRO and BACKUP commands allow you to
  723.            enter the  File Display  mode through  the  F1  key,  see
  724.            section 4.3 and 5.5 for more information on this mode. If
  725.            you change  to  an  unopened  area  the  cursor  will  be
  726.            confined to  the command  area. You  can only  edit in an
  727.            
  728.            NED v1.6x User's Guide                           Page  16
  729.  
  730.            opened area.
  731.  
  732.            Finally NED allows some of the normal editing commands to
  733.            be executed  from Command  mode. For  example you can use
  734.            most of the window positioning keys (like PGUP or PGDN).
  735.  
  736.            3.2 Managing Multiple Files
  737.            NED allows  you to  edit up  to  ten  files  at  once  by
  738.            assigning each  new file a new area number. To open a new
  739.            file,  use  the  OPEN  command.  Enter  the  filename  or
  740.            pathname of the file you wish to open. Alternatively, you
  741.            can use the up or down arrows to browse the File List or,
  742.            you can  enter File  Display mode by pressing F1 in order
  743.            to browse directories for a file to open.
  744.  
  745.            If you  have entered  your own filename and the file does
  746.            not exist, you will prompted to create it as described in
  747.            section 2.1 above. If you have files in the File List you
  748.            don't have to enter any parameter. NED will take the next
  749.            file from  the File  List and open it (CTRL F1 is a short
  750.            cut for this operation).
  751.  
  752.            Each open  file is  treated individually. NED only allows
  753.            you to  physically edit  one at  a time. Other open files
  754.            are suspended.  You can  of course transfer text from one
  755.            area  to  another  and  similarly  use  the  same  search
  756.            expressions across  all open files. There are a number of
  757.            ways to  change to  another area.  You can  use the  AREA
  758.            command  which  accepts  a  number  from  1  to 10  as  a
  759.            parameter. With  no parameter  AREA simply changes to the
  760.            next area.  You can  use ALT 0 to ALT 9 which corresponds
  761.            to those  area numbers.  Finally, you  can use the Status
  762.            screen described  in section  3.6 below. If you change to
  763.            an unopened  area NED  will automatically take the cursor
  764.            to the command area.
  765.  
  766.            The WRITE  command will  force a  write to  disk even  if
  767.            there have  been no changes made to the file and keep the
  768.            area open  (SHIFT F10 is a short cut for this operation).
  769.            The END command will write the file to disk if there have
  770.            been changes  and then  close the area. The END and WRITE
  771.            commands take an optional pathname parameter which allows
  772.            you to write the file to a different name.
  773.  
  774.            When you have finished with an area you can close it with
  775.            the CLOSE  command. The area is free to be re-opened with
  776.            another file.  You can only edit as many files as can fit
  777.            into memory.  When memory  is getting low, the percentage
  778.            of available memory, displayed in the System window, will
  779.            flash. You  should save your files and close some down to
  780.            free up more memory.
  781.  
  782.            The LAUNDRY  command is very useful when editing multiple
  783.            files. This  command saves  any files  you have open that
  784.            have changed.  Once all  files have been written, you are
  785.            returned  to   your  initial   area.  If   you  wish   to
  786.            periodically save  your work  files  (regular  saving  is
  787.            recommended) then  this command  saves you the trouble of
  788.            
  789.            NED v1.6x User's Guide                           Page  17
  790.  
  791.            having to  work out  which files need to be saved. If you
  792.            want to  selectively  save  changed  files,  the  LAUNDRY
  793.            command takes  an optional  'p' parameter that forces the
  794.            prompt:
  795.  
  796.                 Save this file (Y/N) ?
  797.  
  798.            to appear at every changed file. You may answer
  799.            accordingly.
  800.  
  801.            3.3 Text Editing Functions
  802.            Apart from the general inserting/deleting characters from
  803.            a file, NED provides many other useful editing functions.
  804.            You can  split a  line into  two lines at the cursor with
  805.            SHIFT F3.  Two lines may be joined together at the cursor
  806.            or the end of the line with F3.
  807.  
  808.            You can  copy one  character from  the line  above at the
  809.            current cursor  position using ALT F (called field copy).
  810.            Using SHIFT ALT F does the same except it copies from the
  811.            line  below.  If  the  insert  mode  is  on,  the  copied
  812.            character is inserted into the current line.
  813.            ALT M flips the case of a character (Eg 'm' to 'M' or 'M'
  814.            to 'm'). Left SHIFT ALT M flips to upper case only, Right
  815.            SHIFT ALT  M to  lower case only. ALT G flips the case of
  816.            the whole line.
  817.  
  818.            Text  can   be  justified  within  a  line.  ALT  L  left
  819.            justifies,  ALT   C  centres  a  line  and  ALT  R  right
  820.            justifies. If  the line  is greater  than  80  characters
  821.            long, centre  and right  justify work over the entire 256
  822.            character width.
  823.  
  824.            ALT D  will erase  to the  end of the line and ALT B will
  825.            erase to  the beginning.  ALT K will completely erase the
  826.            line (leaving it blank).
  827.  
  828.            ALT W will delete the next word and ALT Q will delete the
  829.            previous word.  A word is defined as a character or group
  830.            of characters  separated by one or more characters of the
  831.            Interword Delimiter  set.  The  default  delimiter  is  a
  832.            space.  The  set  can  be  modified  with  the  INTERWORD
  833.            command.
  834.  
  835.            SHIFT F2  deletes or  cuts the  current line to the scrap
  836.            buffer. If  the cursor  is not  moved between  successive
  837.            strokes of  SHIFT F2,  deleted lines  will be appended to
  838.            scrap. You  can therefore  delete an entire block of text
  839.            to scrap  by repeating  this keystroke.  However  if  the
  840.            cursor is moved, the next stroke of SHIFT F2 will firstly
  841.            destroy  the  existing  contents  of  the  buffer  before
  842.            cutting the  new line to scrap. An abbreviated version of
  843.            the contents  of the  scrap buffer  is displayed  at  the
  844.            bottom of the System window.
  845.  
  846.            You can  copy a  line to  scrap without  deleting it with
  847.            CTRL F3.  To restore  from the  scrap buffer  use F2. The
  848.            entire contents  of the  scrap will be inserted under the
  849.            
  850.            NED v1.6x User's Guide                           Page  18
  851.  
  852.            current line.  CTRL F2  will insert  the scrap  above the
  853.            current line.
  854.  
  855.            Edits made  within a  line can  be undone  with the ALT U
  856.            key. This means that the line is restored to its original
  857.            state before  you changed it. You may restore the changes
  858.            you have  made to the line before you first pressed ALT U
  859.            by pressing  ALT U  again. There are several restrictions
  860.            with ALT  U. Firstly,  no changes  can be undone once you
  861.            move to  another line.  Secondly, certain functions reset
  862.            the line  so that only further edits may be undone. These
  863.            functions are split and join line entry of the Block Mode
  864.            entry of Command mode entry of Status screen shell to DOS
  865.            insert filename and insert date/time.
  866.  
  867.            3.4 Using Block Mode
  868.            Block Mode  allows you  to manipulate blocks of text more
  869.            efficiently than  on a  line  by  line  or  character  by
  870.            character basis.  NED views  blocks of  text in two ways.
  871.            The multi  line (inter-line)  block handles  each line as
  872.            one unit. A block may contain one or more lines which can
  873.            be copied,  deleted or inserted. The in-line (intra-line)
  874.            block handles  each character  separately.  A  block  may
  875.            contain one  or more  characters  which  may  be  copied,
  876.            deleted or inserted within any one line.
  877.  
  878.            If you  cut an  intra-line block and then restore it, NED
  879.            will insert the block within the current line. If you cut
  880.            an inter-line  block (containing  one or  more lines) and
  881.            restore it,  NED will  insert the block under the current
  882.            line.
  883.  
  884.            To enter  Block mode  press F4. The cursor will change to
  885.            an underscore. You may then outline a block of text using
  886.            most of the cursor movement functions. The outlined block
  887.            will  be  displayed  in  Reverse  Video.  When  you  have
  888.            outlined  the   block,  the   following   functions   are
  889.            available:
  890.  
  891.                Key       Block action
  892.  
  893.                DEL or -  cut to scrap
  894.                INS or +  copy to scrap
  895.                TAB       move right a tabstop
  896.                SHIFT TAB move left a tabstop
  897.                SPACE     move right a space
  898.                BS        move left a space
  899.                L         left justify
  900.                C         centre justify
  901.                R         right justify
  902.                S         copy to the SPECIFY string, intra-line only
  903.                *         copy to last command parameter  F3,  intra-
  904.                          line only
  905.                F4        exit block leaving cursor at start of block
  906.                ESC       exit block mode leaving cursor end of block
  907.  
  908.            The TAB and SHIFT TAB keys move the block to the previous
  909.            or next  tabstop. The  SPACE and  BS keys  move the block
  910.            
  911.            NED v1.6x User's Guide                           Page  19
  912.  
  913.            right or  left a  space. The L, C and R keys left, centre
  914.            or  right   justify  the   block   treating   each   line
  915.            individually.
  916.  
  917.            The 's'  function allows  you to search for a string from
  918.            the file  elsewhere in the file without having to re-type
  919.            it. The  string is also copied to last parameter function
  920.            F3 in the parameter entry mode.
  921.  
  922.            The '*'  function is  also useful  when a string from the
  923.            Edit window is needed as a parameter in Command mode. See
  924.            the Block  Mode reference  section  5.4  below  for  more
  925.            details on these keys.
  926.  
  927.            When text  has been  cut or  copied to  scrap,  NED  will
  928.            display an abbreviation of the scrap to the right of line
  929.            3 of  the screen.  If the  scrap is  inter-line, NED will
  930.            display a 'paragraph' (ASCII 20) character in bold at the
  931.            end of  the block.  If  the  block  is  intra-line,  this
  932.            character will not appear.
  933.  
  934.            With both  types of scrap, NED will attempt to display as
  935.            much of the block as it can. If the width of the block is
  936.            greater than  the display  area or  there are a number of
  937.            lines in  the  block,  NED  will  display  the  first  20
  938.            characters of  the block,  a '/'  character in bold, then
  939.            the last 20 characters of the block.
  940.  
  941.            3.5 Using Word Wrap
  942.            You can  enter text continually without the need to press
  943.            ENTER by  using word  wrap. To  turn word  wrap on or off
  944.            press ALT  V. When  on, 'W'  appears in bold attribute on
  945.            the top  line between  the free  memory %  and  the  line
  946.            counter.
  947.  
  948.            If you type text past the right hand margin, NED wraps it
  949.            from the  beginning of the previous word to the beginning
  950.            of a new line below. The default right hand margin is 65.
  951.            You can  specify a new right hand margin with the 1MARGIN
  952.            command. See section 5.1 for details.
  953.  
  954.            Some keys behave differently when word wrap is on. If you
  955.            are within  a line,  ENTER will  split the  line  at  the
  956.            cursor position,  taking the  cursor to  the new line. If
  957.            you are at the end of a line it behaves as normal. If you
  958.            want to  open a  new line  without splitting  the current
  959.            line, use  CTRL M. When word wrap is off, this key splits
  960.            the current line as above.
  961.  
  962.            The DEL  key joins the next line to the current line when
  963.            the cursor  is at  the end  of the line. If the cursor is
  964.            past the  end of the line, the next line is joined at the
  965.            cursor position.
  966.  
  967.            If you  are at  the beginning  of a  line, and you are in
  968.            insert mode, and you press BS, the current line will join
  969.            itself to  the end  of the  previous line. The Block Mode
  970.            'c' function  and 'r'  function use the right hand margin
  971.            
  972.            NED v1.6x User's Guide                           Page  20
  973.  
  974.            setting when word wrap is on.
  975.  
  976.            You may  can specify whether NED starts up with word wrap
  977.            on or off with the WORDWRAP statement in CONFIG.NED. This
  978.            statement optionally  takes a  right hand margin setting.
  979.            The default setting is:
  980.  
  981.                 WORDWRAP=0,65
  982.  
  983.            See section 5.3 for more details on this statement.
  984.  
  985.            3.6 The Status Screen
  986.            The Status  screen is  designed to  provide  up  to  date
  987.            information on  the file(s) you are working on as well as
  988.            other system  information. It  can be  viewed by pressing
  989.            the F10 key. From left to right the information displayed
  990.            is as follows:
  991.  
  992.            Area        if open in bold attribute if current has an
  993.                        arrow next to it.
  994.            File Name   current name for file
  995.            Size        in bytes at last write
  996.            Lines       number of lines in file
  997.            Last Write  date/time of last write
  998.            Changes     Y/N if file has been changed since last write
  999.  
  1000.            All ten  areas  are  scanned.  Empty  areas  display  the
  1001.            message "(area  unopened)". If you have made changes to a
  1002.            file, 'Y'  will appear  under  the  'Changes'  column  in
  1003.            blinking bold attribute.
  1004.  
  1005.            If a file was opened that could not fit entirely into the
  1006.            edit buffer,  the  'Lines'  value  will  also  appear  in
  1007.            blinking bold  attribute. You  may also  use  the  Status
  1008.            screen to select another area to work in. You can use the
  1009.            up or down arrows or type the number of the area you wish
  1010.            to use.  Only open  areas may  be selected  this way. The
  1011.            following is  an example  of the  remainder of the Status
  1012.            screen:
  1013.  
  1014.            Auto-detab  OFF                 Hard-tab        OFF
  1015.            Auto-entab  OFF                 Interword chars ,;:.
  1016.            Backup dir  C:\BAK              Maximum lines   1200
  1017.            Current dir C:\NEDTUT           Page layout     66,3,3,0
  1018.            Spooler     OFF                 File List       FILES.NED
  1019.            Strip       ON                  Timeslice       128
  1020.            Free memory 446006, 389904 largest block
  1021.            Date/Time   Tuesday 01/01/88  12:00 am
  1022.            Serial #    ?????????
  1023.  
  1024.            This displays  the current  settings of  NED. The current
  1025.            directory is  the directory  you were in when you started
  1026.            NED.  The   backup  directory   will   display   "current
  1027.            directory" if no backup directory is specified. The first
  1028.            number of  free  memory  is  the  total  remaining  bytes
  1029.            available for  editing. The  largest block is the largest
  1030.            contiguous block  of memory that can be allocated by DOS.
  1031.            A minimum  64Kb contiguous  block is required to shell to
  1032.            
  1033.            NED v1.6x User's Guide                           Page  21
  1034.  
  1035.            DOS.
  1036.  
  1037.            Unless the  space  character  is  embedded  within  other
  1038.            interword characters,  it may  be difficult to recognize,
  1039.            particularly if it is at the beginning or end of the set.
  1040.            Maximum lines is the maximum number of lines you may have
  1041.            in any  one file. You can only change it by modifying the
  1042.            MAXLINES statement  in CONFIG.NED  and reloading NED. The
  1043.            timeslice value  is the  amount of time allocated between
  1044.            the keyboard  and the  printer when  spooling. The larger
  1045.            the timeslice,  the more  time the keyboard will receive.
  1046.            The following table summarizes the functions available
  1047.            with the Status screen.
  1048.  
  1049.                Key       Action
  1050.  
  1051.                UP        previous area
  1052.                DOWN      next area
  1053.                HOME      first area
  1054.                END       last area
  1055.                0 - 9     goto area 1 to 10
  1056.                ESC       return to your file
  1057.  
  1058.            3.7 Searching, Replacing and Matching
  1059.            NED allows you to search for and optionally replace text.
  1060.            To search  for  text  you  must  first  use  the  SPECIFY
  1061.            command, followed by one of the search keys (F8, SHIFT F8
  1062.            or CTRL  F8). To  replace text you must first SPECIFY the
  1063.            text to look for and then use the REPLACE command to tell
  1064.            NED what you wish to change the text to.
  1065.  
  1066.            The SPECIFY  command accepts  a string  of characters  to
  1067.            search for, for example:
  1068.  
  1069.                 <Esc>Sfor<Enter>
  1070.  
  1071.            tells NED  you wish  to look for the word 'for'. To begin
  1072.            searching, press one of the following keys:
  1073.  
  1074.                Key       Search
  1075.  
  1076.                F8        down from cursor
  1077.                SHIFT F8  up from cursor
  1078.                CTRL F8   down from top of file
  1079.  
  1080.            NED then  displays the  Current Search  Expression  while
  1081.            searching. If  the  pattern  cannot  be  found  NED  will
  1082.            display the following:
  1083.  
  1084.                 (pattern) not found
  1085.  
  1086.            SPECIFY also  accepts  a  string  that  conforms  to  the
  1087.            Regular Expression  Language. Regular  expressions are  a
  1088.            way  of   representing  text   patterns  in   a  symbolic
  1089.            shorthand. The  symbols used  to define these expressions
  1090.            fall into five categories:
  1091.  
  1092.            Symbols that match a specific character
  1093.            
  1094.            NED v1.6x User's Guide                           Page  22
  1095.  
  1096.            Symbols that match any character
  1097.            Symbols that match a character's position on the line
  1098.            Symbols that match any of a set of characters or anything
  1099.            except a set of characters
  1100.            Symbols that let you match the previous symbol any number
  1101.            of times
  1102.  
  1103.            An expression  may contain  one or  more of  any  of  the
  1104.            language symbols.  These  symbols  and  their  usage  are
  1105.            described in  the Regular  Expression Language  Reference
  1106.            section 5.6 below. For example, the command:
  1107.  
  1108.                 <Esc>S^[\s\t]*for<Enter>
  1109.  
  1110.            will search  for the word 'for' preceded by any number of
  1111.            blank characters  (spaces or  tabs) from the start of the
  1112.            line. The  carat (^) symbol refers to the start of a line
  1113.            the square brackets ([]) enclose a character set or class
  1114.            containing in  the above example spaces (\s) or tabs (\t)
  1115.            the asterisk  (*) in this example tells NED to search for
  1116.            the preceding  character class  any number  of times. NED
  1117.            has a  convenient alternative  method  for  specifying  a
  1118.            search string  by using  the 's'  function in Block Mode.
  1119.            This function  only works  with  intra-line  blocks.  See
  1120.            sections 3.4 and 5.4 for details on Block Mode.
  1121.  
  1122.            The REPLACE  command allows you to specify a string which
  1123.            will replace  one or  more  occurrences  of  the  SPECIFY
  1124.            expression (target  pattern). By default NED will replace
  1125.            the next  occurrence of  the target pattern. For example,
  1126.            the command:
  1127.  
  1128.                 <Esc>Sfor<Enter>RFOR<Enter>
  1129.  
  1130.            will replace  the next occurrence of 'for' with 'FOR'. It
  1131.            is likely  that you  will wish to replace all occurrences
  1132.            of the  target pattern in your file. In this case, append
  1133.            a  ',g'   (global)  to  the  replacement  parameter.  For
  1134.            example:
  1135.  
  1136.                 <Esc>Sfor<Enter>RFOR,g<Enter>
  1137.  
  1138.            will replace  all occurrences  of 'for' with 'FOR' in the
  1139.            current file.  You may  only wish  to replace a number of
  1140.            occurrences of  the target  pattern. In  this case append
  1141.            the ',number' you wish to replace. For example:
  1142.  
  1143.                 <Esc>Sfor<Enter>RFOR,3<Enter>
  1144.  
  1145.            will replace  the next  three occurrences  of 'for'  with
  1146.            'FOR' in  the current file. Each time a target pattern is
  1147.            found, NED will prompt:
  1148.  
  1149.                 Replace (Y/N) ?
  1150.  
  1151.            If you answer 'y' NED will replace the string if 'n', NED
  1152.            will continue  searching  if  you  press  ESC,  NED  will
  1153.            terminate the  command. You may suppress the above prompt
  1154.            
  1155.            NED v1.6x User's Guide                           Page  23
  1156.  
  1157.            by appending  a ',n'  to the  replacement parameter.  For
  1158.            example:
  1159.  
  1160.                 <Esc>Sfor<Enter>RFOR,g,n<Enter>
  1161.  
  1162.            will replace  all occurrences of 'for' with 'FOR' without
  1163.            prompting.
  1164.  
  1165.            Finally, the  REPLACE command  can be used to remove text
  1166.            from your  file by  omitting the  replacement string.
  1167.            For
  1168.            example:
  1169.  
  1170.                 <Esc>Sfor<Enter>R,g<Enter>
  1171.  
  1172.            will remove all occurrences of 'for' in the current file.
  1173.  
  1174.            Brace  matching   NED  provides   a  function   that   is
  1175.            particularly  useful   for  checking   complex  bracketed
  1176.            expressions in  programs. The  brace matching function F5
  1177.            attempts to  match opening  and closing  brace {}, square
  1178.            bracket  [],   angle  bracket   <>  or   parentheses   ()
  1179.            characters.
  1180.  
  1181.            First you  must move the cursor to the character you wish
  1182.            to match  and then  press F5.  If  the  character  is  an
  1183.            'opener' NED  will search  down the  file for  a  closing
  1184.            character, otherwise  NED  will  search  upwards  for  an
  1185.            opening character.  If no match is found NED will display
  1186.            the message:
  1187.  
  1188.                 Match Not Found !
  1189.  
  1190.            This means  that your expression is not correctly closed.
  1191.            If this is a program expression you will more than likely
  1192.            generate a  compile/run-time error.  If a match is found,
  1193.            NED will move the cursor to the matching character.
  1194.  
  1195.            3.8 Quitting NED
  1196.            There are two ways to quit NED. If you have only one open
  1197.            file and  wish to  save changes  made in  it, use the END
  1198.            command, otherwise  you should  use the QUIT command. The
  1199.            END command will save the file and close the area. If the
  1200.            current area  is the only area open, you will be returned
  1201.            to DOS,  or else  NED will  move you move to the previous
  1202.            open area.
  1203.  
  1204.            The QUIT command goes through all the open areas checking
  1205.            to see  if any  changes have been recorded in them. If no
  1206.            changes have  been made to an area, NED will simply close
  1207.            it and  proceed to  the next  area. If  a change has been
  1208.            recorded, the message:
  1209.  
  1210.                 (S)ave (A)bort or (C)ancel ?
  1211.  
  1212.            is displayed. You can press 's' to save, 'a' to abort the
  1213.            file, or  'c' to  cancel the command. If you want to save
  1214.            all changed  areas without  being prompted, issue the 's'
  1215.            
  1216.            NED v1.6x User's Guide                           Page  24
  1217.  
  1218.            parameter. For example:
  1219.  
  1220.                 <Esc>Qs<Enter>
  1221.  
  1222.            Alternatively if  you do  not want  to save  any  changed
  1223.            areas and  you don't  wish to  be prompted, issue the 'a'
  1224.            parameter. For example:
  1225.  
  1226.                 <Esc>Qa<Enter>
  1227.  
  1228.            3.9 The Backup System
  1229.            When you  save a  file other  than a  new file, NED first
  1230.            renames the  existing file  on the  disk by  inserting an
  1231.            underscore (_)  in front  of the extension and moving the
  1232.            other characters to the right. For example:
  1233.  
  1234.                 MYPROG.PRG
  1235.  
  1236.            becomes:
  1237.  
  1238.                 MYPROG._PR
  1239.  
  1240.            and the  third character  (if any)  of the  extension  is
  1241.            lost. The  new file is then  written to the old filename.
  1242.            If the file has no extension NED uses .BAK for the backup
  1243.            name.
  1244.  
  1245.            A useful  feature of  this system is if you edit a backup
  1246.            file, a  second backup  will be  created with two leading
  1247.            underscore characters,  and  so  on.  The  backup  system
  1248.            allows you  to distinguish backups with the same filename
  1249.            but different  extensions, thus  keeping separate backups
  1250.            for these  files. For  example, if you edit the following
  1251.            files:
  1252.  
  1253.                 NED.C
  1254.                 NED.H
  1255.  
  1256.            the backups become:
  1257.  
  1258.                 NED._C
  1259.                 NED._H
  1260.  
  1261.            Because backup files may clutter your work directory, NED
  1262.            allows you  to specify  an alternative drive/directory in
  1263.            which to  place backup files with the BACKUP command. For
  1264.            example:
  1265.  
  1266.                 <Esc>Bc:\bak<Enter>
  1267.  
  1268.            will set the backup directory to c:\bak. If this does not
  1269.            exist you  will be  prompted to create it. You may select
  1270.            an existing  backup drive/directory for your backup files
  1271.            with the  File Display  mode by  pressing F1  instead  of
  1272.            entering a drive/directory, for example:
  1273.  
  1274.                 <Esc>B<F1>
  1275.  
  1276.            
  1277.            NED v1.6x User's Guide                           Page  25
  1278.  
  1279.            Use your  movement keys  to high-light  a drive/directory
  1280.            and then  press CTRL ENTER to select it. See sections 4.3
  1281.            and 5.5  for details  on File Display and section 5.1 for
  1282.            details on  the BACKUP  command. You may can specify your
  1283.            backup  directory  in  the  start-up  configuration  file
  1284.            CONFIG.NED. When ever you start NED, the backup directory
  1285.            will be  set. See the BACKUP statement in section 5.3 for
  1286.            details.
  1287.  
  1288.  
  1289.  
  1290.            
  1291.            NED v1.6x User's Guide                           Page  26
  1292.  
  1293.            *********************************************************
  1294.            NED v1.6x User's Guide
  1295.            Chapter 4   Advanced Features
  1296.  
  1297.            4.1  Configuring NED
  1298.            NED can be configured to suit your particular machine and
  1299.            editing needs. This is done with a short text file called
  1300.            CONFIG.NED which  is scanned  each time NED is loaded. If
  1301.            this file  is not found in the current directory NED will
  1302.            look along the PATH. If it still cannot be found NED will
  1303.            load with  its default  settings. CONFIG.NED  consists of
  1304.            single line statements in the form:
  1305.  
  1306.                 OPTION=setting
  1307.  
  1308.            where setting  is either  a switch  (e.g. ON or OFF) or a
  1309.            string such  as pathname.  See section  5.3 Configuration
  1310.            Reference for  a list  and syntax  of the valid commands.
  1311.  
  1312.            You may  save the  current settings of NED whilst editing
  1313.            with CTRL  F4 which  writes a  new CONFIG.NED file in the
  1314.            current directory.
  1315.  
  1316.            The following  description outlines  the way  to  set  up
  1317.            NED's environment. Firstly at the DOS prompt type:
  1318.  
  1319.                 ned config.ned<Enter>
  1320.  
  1321.            if the message:
  1322.  
  1323.                 Ok to Create ? (Y/N)
  1324.  
  1325.            appears type 'Y' to create it. Now press CTRL F4 to write
  1326.            the default  settings to CONFIG.NED. NED will display the
  1327.            message:
  1328.  
  1329.                 CONFIG.NED written to disk
  1330.  
  1331.            Now issue the QUIT command by typing:
  1332.  
  1333.                 <Esc>Q<Enter>
  1334.  
  1335.            This will  return you  to DOS.  The file  you  have  just
  1336.            created contains  the default CONFIG.NED settings. Now at
  1337.            the DOS prompt type:
  1338.  
  1339.                 ned<Enter>
  1340.  
  1341.            You don't  need to  specify a  filename. This  is because
  1342.            when you  use CTRL  F4  to  write  CONFIG.NED,  the  FILE
  1343.            statement is  set to  the current  filename which in this
  1344.            case was CONFIG.NED. See the description below. The first
  1345.            line is  a comment  line.  You  may  add  comments  on  a
  1346.            separate line using the following characters as the first
  1347.            character of the line:
  1348.  
  1349.                 \ ' " *
  1350.            
  1351.            NED v1.6x User's Guide                           Page  27
  1352.  
  1353.  
  1354.            The next line is the AUTOINDENT statement. This tells NED
  1355.            whether to  indent the  cursor under the text of the line
  1356.            before when  you press  ENTER. This saves you from having
  1357.            to move  the cursor  over if the text you are entering is
  1358.            indented from  the left  margin. If you wish this feature
  1359.            to be  set off leave it as it is. Otherwise, change it to
  1360.            'ON'. The line should then read:
  1361.  
  1362.                 AUTOINDENT=ON
  1363.  
  1364.            The next  statement that usually appears in CONFIG.NED is
  1365.            the BACKUP  statement, but  since we are working from the
  1366.            default settings, NED has not included it. This statement
  1367.            tells NED  to place backups in a directory other than the
  1368.            current one.  If you  wish to use this feature then enter
  1369.            the following:
  1370.  
  1371.                 <Enter>BACKUP=\BAK
  1372.  
  1373.            This directs  NED to open a new blank line and insert the
  1374.            text 'BACKUP=\BAK'. If the directory \BAK does not exist,
  1375.            NED will prompt you to create it next time NED is loaded.
  1376.  
  1377.            The next  line contains the COLOUR statement. If you have
  1378.            a monochrome  adapter (e.g.  MDA,  HERCULES)  you  should
  1379.            delete  the  COLOUR  statement.  To  do  this  press  the
  1380.            following keys:
  1381.  
  1382.                 <Down><Shift F2>
  1383.  
  1384.            This will  delete the line, and the lines below will move
  1385.            up to  close the  gap. If you have a colour monitor (e.g.
  1386.            CGA, EGA or VGA) change the COLOUR statement to:
  1387.  
  1388.                 COLOUR=7,1,1,3
  1389.  
  1390.            this tells  NED to  use white  on blue  characters in the
  1391.            Edit window  and blue  on cyan  characters in  the System
  1392.            window.
  1393.  
  1394.            The next  line is  the DATEFMT statement. This configures
  1395.            the date format used in NED. The default format is:
  1396.  
  1397.                 DATEFMT=DMY/
  1398.  
  1399.            Which displays the date as dd/mm/yyyy. If you wish to use
  1400.            the American date format, change the statement to read as
  1401.            follows:
  1402.  
  1403.                 DATEFMT=MDY-
  1404.  
  1405.            Which displays the date as mm-dd-yyyy.
  1406.  
  1407.            The next  two statements  instruct NED  to  automatically
  1408.            detab a file when it is loaded or entab a file when it is
  1409.            written.  For  the  purposes  of  our  setup  skip  these
  1410.            statements by  pressing the  down arrow  twice. The  next
  1411.            
  1412.            NED v1.6x User's Guide                           Page  28
  1413.  
  1414.            statement will read:
  1415.  
  1416.                 FILE=CONFIG.NED
  1417.  
  1418.            The FILE  statement tells  NED to  load up  the specified
  1419.            filename if  NED is  not given  a filename to open on the
  1420.            DOS command line.
  1421.  
  1422.            This statement  told NED  to load  CONFIG.NED the  second
  1423.            time you  started up.  We can leave this statement as is.
  1424.  
  1425.            The FIRSTCOL  statement allows you to specify whether you
  1426.            wish the  first column  of the Edit window to be referred
  1427.            to as  '0' or '1'. If you are creating screen layouts you
  1428.            may prefer to change it to:
  1429.  
  1430.                 FIRSTCOL=0
  1431.  
  1432.            The GOTO  statement allows  you to  specify the  starting
  1433.            line and  column of  the cursor  in the  first  that  NED
  1434.            loads. This defaults to:
  1435.  
  1436.                 GOTO=1,1
  1437.  
  1438.            When you  save CONFIG.NED  with CTRL  F4, NED will record
  1439.            your  current  position  in  the  current  file  to  this
  1440.            statement.
  1441.  
  1442.            The HARDTAB  statement instructs  NED to  insert the  tab
  1443.            character instead of moving the cursor a tabstop when you
  1444.            press the TAB key. The statement will be:
  1445.  
  1446.                 HARDTAB=OFF
  1447.  
  1448.            If you want to know more about this feature, see SECTIONS
  1449.            5.3, and 5.2 for a description of the TAB key.
  1450.  
  1451.            The INTENSITY statement sets the bold colours in the edit
  1452.            and System  windows. If  you have  a  monochrome  adapter
  1453.            (e.g.  MDA,  HERCULES)  you  will  have  to  delete  this
  1454.            statement by  placing the  cursor on  the  statement  and
  1455.            pressing SHIFT  F2. If  you have  a colour monitor change
  1456.            the INTENSITY statement to the following:
  1457.  
  1458.                 INTENSITY=12,15
  1459.  
  1460.            this tells  NED to  use Bright  red intensity in the Edit
  1461.            window and  Bright white  intensity in the System window.
  1462.            Finding the  right colour  and bold  attributes for  your
  1463.            needs may  be a  case of  trial and  error, so  try a few
  1464.            combinations and  select  the  one  that  you  like.  See
  1465.            section 4.9  for more details on configuring colours. The
  1466.            next statement instructs NED to start up in either insert
  1467.            or overtype  mode. If  you prefer  to work in insert mode
  1468.            (we recommend  this), change the INSERT statement to read
  1469.            as follows:
  1470.  
  1471.                 INSERT=ON
  1472.            
  1473.            NED v1.6x User's Guide                           Page  29
  1474.  
  1475.  
  1476.            The INTERWORD  statement  allows  you  to  specify  which
  1477.            characters are used to separate words. This defaults to a
  1478.            space. Change the statement to read as follows:
  1479.  
  1480.                 INTERWORD=; ,
  1481.  
  1482.            The LAYOUT statement  will read as follows:
  1483.  
  1484.                 LAYOUT=66,3,3,0
  1485.  
  1486.            This sets  the default print page layout to a page length
  1487.            of 66  lines, top  and bottom  margins of  3 lines and no
  1488.            left  margin.   If  you   have  different   page   layout
  1489.            requirements, see  sections 4.5 and 5.1 for more details.
  1490.  
  1491.            The MAXLINES  statement sets  the number of lines you can
  1492.            edit in  a file.  This defaults  to 5120 lines. Most text
  1493.            files are  less than  1200 lines so change this statement
  1494.            to read:
  1495.  
  1496.                 MAXLINES=1200
  1497.  
  1498.            The MODE  statement allows you to specify the screen type
  1499.            you wish  to use  with NED. If you are using a Monochrome
  1500.            Display Adaptor (MDA) or a Hercules adaptor then the mode
  1501.            statement should be changed to:
  1502.  
  1503.                 MODE=MDA
  1504.  
  1505.            or:
  1506.  
  1507.                 MODE=HERCULES
  1508.  
  1509.            If you have an EGA or VGA adaptor then the MODE statement
  1510.            will be  set to  'EGA'. If you wish to use NED in 43 line
  1511.            mode then change the statement to:
  1512.  
  1513.                 MODE=EGA43
  1514.  
  1515.            If you  have a  VGA and  you wish to use the 50 line mode
  1516.            then change the statement to:
  1517.  
  1518.                 MODE=VGA50
  1519.  
  1520.            The RULER  statement tells  NED whether the ruler display
  1521.            defaults to  on or  off. If you wish the ruler to be off,
  1522.            change the statement to read as follows:
  1523.  
  1524.                 RULER=OFF
  1525.  
  1526.            The SNOW  statement is for Colour Graphics Adapters only.
  1527.            If you have a CGA change this statement to read:
  1528.  
  1529.                 SNOW=OFF
  1530.  
  1531.            The SORT  statement allows  you to  specify how directory
  1532.            entries  in  the  File  Display  mode  are  sorted.  This
  1533.            
  1534.            NED v1.6x User's Guide                           Page  30
  1535.  
  1536.            defaults to  DIRECTORY order.  You can  also choose  from
  1537.            EXTENSION, SIZE,  DATE or FILE (alphabetically). You will
  1538.            probably find the EXTENSION sort the most useful since it
  1539.            will group  similar file  types. Change  the statement to
  1540.            read:
  1541.  
  1542.                 SORT=EXTENSION
  1543.  
  1544.            The SPOOL statement allows you to set background printing
  1545.            on or  off and  optionally adjust  the amount of CPU time
  1546.            (timeslice)  given   to  the   printer.  The  larger  the
  1547.            timeslice, the  less time the printer gets. It is best to
  1548.            test the  default timeslice  before adjusting  it. If you
  1549.            wish to  use the  spooler by default change the statement
  1550.            to read:
  1551.  
  1552.                 SPOOL=1,128
  1553.  
  1554.            See section 4.6 for more details on tuning the print
  1555.            spooler.
  1556.  
  1557.            The  STRIP   statement  tells   NED  to   strip  trailing
  1558.            whitespace characters  from each line when writing a file
  1559.            to disk. This statement should read:
  1560.  
  1561.                 STRIP=ON
  1562.  
  1563.            The TABSET  statement sets  the tabstops for the TAB key.
  1564.            This defaults  to a tabstop every four spaces. Unless you
  1565.            wish to  use different  tab settings leave this as it is.
  1566.            The WORDWRAP  statement instructs  NED to  start up  with
  1567.            word wrap on or off. You may optionally specify the right
  1568.            hand margin for word wrap. This statement should read:
  1569.  
  1570.                 WORDWRAP=0,65
  1571.  
  1572.            If you  wish word  wrap to  be on  by default, change the
  1573.            statement to read:
  1574.  
  1575.                 WORDWRAP=1,65
  1576.  
  1577.            You may  optionally specify a different right hand margin
  1578.            if don't wish to use the default margin. Now to save your
  1579.            new configuration, press:
  1580.  
  1581.                 <Esc>E<Enter>
  1582.  
  1583.            The END  command writes  the file and returns you to DOS.
  1584.  
  1585.            The next  time  you  load,  NED  will  reflect  your  new
  1586.            configuration.
  1587.  
  1588.            4.2 Using File Lists
  1589.            A File  List is a list of filenames or pathnames that can
  1590.            be used  by the OPEN command. File Lists are a useful way
  1591.            of specifying  large numbers  of files  for editing.  NED
  1592.            creates this list from the file specifications on the DOS
  1593.            command line. There are three types of specifications and
  1594.            
  1595.            NED v1.6x User's Guide                           Page  31
  1596.  
  1597.            any or all of them may be given on the DOS command line.
  1598.  
  1599.            These are:
  1600.  
  1601.                Single filename (e.g. MYFILE.PRG)
  1602.                Wildcard specification (e.g. *.PRG or ??FILE.C)
  1603.                'At' filename (e.g. @FILES)
  1604.  
  1605.            For example:
  1606.  
  1607.                 ned myfile.prg *.prg @files<Enter>
  1608.  
  1609.            will add  MYFILE.PRG, all  matching *.PRG  files and  all
  1610.            filenames that  are contained in the file FILES.NED (.NED
  1611.            is the  default extension  for 'At' files) to the current
  1612.            File List.  NED will  then attempt to open the first file
  1613.            in the  list, which  in this  example is  MYFILE.PRG.  To
  1614.            browse the  list, type  ESC O and then use the up or down
  1615.            arrows. You  may then  ENTER on the file you wish to open
  1616.            or just  escape again  with no  effect. Alternatively you
  1617.            may open  the next file in the list with CTRL F1. You can
  1618.            change the File List in File Display mode as described in
  1619.            the next section
  1620.            If the  File List  has been changed, when you exit NED it
  1621.            will be written to a file called FILES.NED. Next time you
  1622.            wish to  use those files you can specify the File List on
  1623.            the command line with the '@' character:
  1624.  
  1625.                 ned @files<Enter>
  1626.  
  1627.            You can save the File List to another name with the XSAVE
  1628.            command, see section 5.1 for details. For example:
  1629.  
  1630.                 <Esc>Xmyfiles<Enter>
  1631.  
  1632.            will save  the current File List to the file MYFILES.NED.
  1633.            Now, next  time you  wish to  use that  File List  simply
  1634.            type:
  1635.  
  1636.                 ned @myfiles<Enter>
  1637.  
  1638.            If you  change the File List using the File Display mode,
  1639.            NED will  update MYFILES.NED  because you  specified  the
  1640.            'At' file on the command line.
  1641.  
  1642.            4.3 File Display Mode
  1643.            The File  Display mode  is a  useful  directory  browsing
  1644.            system that  allows you  to locate files to open. You can
  1645.            also use  it to  browse, edit  or add   files to the File
  1646.            List.
  1647.  
  1648.            The File  Display mode is primarily designed for use with
  1649.            the OPEN  command but  may also  be used with END, WRITE,
  1650.            USE and  BACKUP commands. To enter File Display mode type
  1651.            the following:
  1652.  
  1653.                 <Esc>O<F1>
  1654.  
  1655.            
  1656.            NED v1.6x User's Guide                           Page  32
  1657.  
  1658.            Using this  method will  take you  to the directory area.
  1659.            You can  specify a  wildcard file  specification  on  the
  1660.            command line  before you  press F1. NED will only display
  1661.            files that match the wildcard, for example:
  1662.  
  1663.                 <Esc>O*.bat<F1>
  1664.  
  1665.            This command  instructs the  File Display mode to display
  1666.            only matching  '*.bat' files. You may then select one you
  1667.            wish to  open or  press ESC  to return to your file. When
  1668.            you enter  File Display mode, you will notice to the left
  1669.            of the  screen a 'pad' which will display the contents of
  1670.            the File  List (if  any). To  the right  will be  all the
  1671.            files and  subdirectories of  the current  directory (the
  1672.            directory area).  Files are in lower case, subdirectories
  1673.            and drives  are bold and in upper case. The top line will
  1674.            display the full pathname of the current directory to the
  1675.            left the number, total size of the files in the directory
  1676.            and the directory sort type to the right.
  1677.  
  1678.            Over the first entry will appear a reverse video selector
  1679.            bar. You  may move  this with  most of  the normal cursor
  1680.            movement keys.  As you high-light a file, the bottom line
  1681.            will display  its size  in bytes and the date/time it was
  1682.            last updated.  You may  re-sort the directory by pressing
  1683.            ALT:
  1684.  
  1685.                Key  Sort
  1686.  
  1687.                D    Directory order
  1688.                F    Alphabetically
  1689.                S    File size
  1690.                T    Time/date
  1691.                X    File extension
  1692.  
  1693.            The sort type may also be set in CONFIG.NED, see the SORT
  1694.            statement in  section 5.3 for details. If you press ENTER
  1695.            over a  drive or  subdirectory, NED  will change  to  the
  1696.            drive or directory and display its contents. If you press
  1697.            ENTER over a file, NED will attempt to open it, returning
  1698.            you to the command area.
  1699.  
  1700.            The filename  you returned  on  is  copied  to  the  last
  1701.            parameter string  F3 so  you may  use  it  in  your  next
  1702.            command. If  you press  ESC you  will be  returned to the
  1703.            command area with no change.
  1704.  
  1705.            If you  press INS  over a file, its name is copied to the
  1706.            end of the File List. If you press INS over the '.' entry
  1707.            the entire  directory is  copied to the File List. If the
  1708.            '.' entry is not present, use the '\'.
  1709.  
  1710.            You can move between the directory area and the File List
  1711.            window with  the TAB  key or  you can enter the File List
  1712.            directly from  the Edit  window by  pressing SHIFT F1. In
  1713.            the File  List window, you may browse the files with most
  1714.            of the  cursor movement  keys. To open a file press ENTER
  1715.            over a  filename. If  you press DEL over a file, the file
  1716.            
  1717.            NED v1.6x User's Guide                           Page  33
  1718.  
  1719.            is removed  from the list. If you press CTRL K the entire
  1720.            list is  deleted and  you are moved over to the directory
  1721.            area.
  1722.  
  1723.            You may  have up  to 512  entries in  the File List. When
  1724.            there are  more than 18 entries in the list, a scroll bar
  1725.            will appear  to the  right of  the list  indicating  your
  1726.            position in the list.
  1727.  
  1728.            When in  the File  List  window,  the  bottom  line  will
  1729.            display the  number of the current entry out of the total
  1730.            number of  entries and  the drive/directory  in which the
  1731.            file resides.
  1732.  
  1733.            If you  press ESC  you will  be returned  to the  command
  1734.            area. Any changes made to the File List will be retained.
  1735.  
  1736.            You can  save the  File List when in the File List window
  1737.            by pressing  CTRL F4.  This will write the list to a file
  1738.            called FILES.NED in the current directory. If you want to
  1739.            save the  File List  to your  own filename, use the XSAVE
  1740.            command.
  1741.  
  1742.            4.4 Creating and Using Macros
  1743.            Macros allow  you to  record a  series of  keystrokes and
  1744.            assign them  to a  function key.  This  can  save  you  a
  1745.            considerable amount of time if you find you are repeating
  1746.            the same  keystrokes continually.  Macros that you create
  1747.            may be saved away to a file and restored at will. You can
  1748.            have up  to twenty  predefined macros  at any  one  time.
  1749.  
  1750.            These keys  are mapped between ALT F1 to ALT F20 (ALT F11
  1751.            20 = SHIFT ALT F1-10). There is of course no limit to the
  1752.            number of macro files you can have.
  1753.  
  1754.            To begin  recording a macro press F7. NED will prompt you
  1755.            to enter  a macro  key to  assign the  keystrokes to  and
  1756.            enter a  key between  ALT F1-20. You may record up to 128
  1757.            keystrokes per  macro. As  you  record  your  macro,  the
  1758.            current keystroke  number is  displayed  in  the  message
  1759.            area. To finish recording press F7 again.
  1760.  
  1761.            The MACRO  command is  an alternative starting point that
  1762.            allows you  to name  the macro  as well as record it. For
  1763.            example you would type:
  1764.  
  1765.                 <Esc>MFile opener<Enter><Alt F1><Ctrl F1>
  1766.                 <Ctrl F1><Ctrl F1><F7>
  1767.  
  1768.            to record a macro called 'File opener' to ALT F1. You may
  1769.            also use  this command  to name  or  rename  an  existing
  1770.            macro. To  rename the above macro append the 'r' option.
  1771.            For example:
  1772.  
  1773.                 <Esc>MOpen next 3 files,r<Enter>
  1774.  
  1775.            will rename ALT F1 to 'Open next 3 files'.
  1776.  
  1777.            
  1778.            NED v1.6x User's Guide                           Page  34
  1779.  
  1780.            To save a macro set to disk use the KEEP command. Restore
  1781.            a macro  set with  the USE  command. See  section 5.1 for
  1782.            details on  these commands.  To view all the macro names,
  1783.            keys and  number of  keystrokes  press  SHIFT  F7  (Macro
  1784.            Report).
  1785.  
  1786.            Since you  can record  keystrokes from  both the edit and
  1787.            command windows,  macros will  be sensitive to the window
  1788.            you start  the macro from. SHIFT ESC forces the cursor to
  1789.            move from  the command  area to  the Edit  window if  the
  1790.            current area is open. Consider the following example:
  1791.  
  1792.                 <Esc>O<Enter><Enter><Enter><Esc>
  1793.  
  1794.            If this  macro is  started from the Edit window, the next
  1795.            two files  in the  File List  will be opened. If however,
  1796.            the macro  is started  from the  command area, an 'o' and
  1797.            four blank  lines will  suddenly appear  in your file. If
  1798.            the macro is recorded as follows:
  1799.  
  1800.                 <Shift Esc><Esc>O<Enter><Enter><Enter><Esc>
  1801.  
  1802.            the macro  will work correctly from either window because
  1803.            SHIFT ESC only works in one direction. If the above macro
  1804.            was run  from Command  mode in  an unopened  area it will
  1805.            also work  correctly since  the  cursor  will  remain  in
  1806.            Command mode.
  1807.  
  1808.            An example  macro file is supplied with the system called
  1809.            SAMPLE.MCR. Load  this file  up using the USE command and
  1810.            press SHIFT F7 to see what these macros do.
  1811.  
  1812.            4.5 Printing a File
  1813.            NED provides  the facility  to print a part or all of the
  1814.            current file.  NED will  always print via the PRN device.
  1815.            To print a file  use the PRINT command as follows:
  1816.  
  1817.                 <Esc>P<Enter>
  1818.  
  1819.            For details  on printing  part of  a file.  See the PRINT
  1820.            command in section 5.1.
  1821.  
  1822.            NED allows  you to  embed printer  commands in your file.
  1823.            These must  always be  preceded by  a period '.' and must
  1824.            start at  the left  of a blank line. No other text except
  1825.            printer commands  may appear  on the  line. If  text does
  1826.            appear it  will be  ignored.  NED  distinguishes  printer
  1827.            command lines  from normal  lines and  knows not to print
  1828.            them. The  commands correspond  to the  Epson FX  printer
  1829.            command set. For example:
  1830.  
  1831.                .bf
  1832.                Hello
  1833.                .bo
  1834.  
  1835.            tells the  printer to  print what follows in bold so that
  1836.            'Hello' is  printed in  bold. The  next command turns the
  1837.            bold printing off.
  1838.            
  1839.            NED v1.6x User's Guide                           Page  35
  1840.  
  1841.  
  1842.            If these  commands are  not sufficient  or  your  printer
  1843.            implements them  differently, you can send special escape
  1844.            sequences with the .e command. E.g.:
  1845.  
  1846.                .eg
  1847.  
  1848.            sends the escape sequence to turn on bold printing to the
  1849.            printer. See  section 5.7 for details on all the embedded
  1850.            printer commands.
  1851.  
  1852.            NED defaults  to printing  60 lines per page (print pages
  1853.            are 66  lines) leaving  3 lines at the top and the bottom
  1854.            and then  issues a  form feed  when it  has finished.  To
  1855.            allow for  different sized  forms and  for the  situation
  1856.            where you  don't want top and bottom margins or where you
  1857.            want a  left margin,  NED has  the YLAYOUT  command. This
  1858.            command allows  you to  specify  the  form  length,  top,
  1859.            bottom and left margins, for example:
  1860.  
  1861.                 <Esc>Y66,0,0,10<Enter>
  1862.  
  1863.            will set the print page to 66 lines with no top or bottom
  1864.            margins and  a left margin of ten characters. This allows
  1865.            you to print a file with no perforation skips on standard
  1866.            continuous paper  and have  a one inch left margin so you
  1867.            can bind the printout. If you have A4 paper, the command:
  1868.  
  1869.                 <Esc>Y70,6,3<Enter>
  1870.  
  1871.            will set  the form  length to 70 lines, with a 6 line top
  1872.            margin, a  3 line  bottom margin  and no left margin. See
  1873.            section 5.1  for further  details on the YLAYOUT command.
  1874.  
  1875.            NED also  allows you  to set  your default page layout in
  1876.            CONFIG.NED with the LAYOUT statement, see section 5.3 for
  1877.            details.
  1878.  
  1879.            4.6 Using the Print Spooler
  1880.            When a  file is  printed it  may be  sent directly to the
  1881.            printer or  sent via the spooler. When printing directly,
  1882.            you must  wait until  the  printer  has  finished  before
  1883.            continuing editing.  When printing  via the  spooler, you
  1884.            can continue  editing your files in foreground mode while
  1885.            NED prints the file in background. The spooler can handle
  1886.            up to ten  files  in its  queue. Each time a file is sent
  1887.            to the  spooler it  is added  to the end of the queue. As
  1888.            the printing  of a file is completed, all remaining files
  1889.            are  moved  up  one  place  in  the  queue.  The  spooler
  1890.            continues printing  until no  more files  remain  in  the
  1891.            queue.
  1892.  
  1893.            To print in background mode the spooler must first be set
  1894.            on. Use  CTRL F6  to toggle  the spooler on or off or use
  1895.            the SPOOL  statement in  CONFIG.NED to  default it  on or
  1896.            off.See section 5.3 for details.
  1897.  
  1898.            Once the spooler is active, use the PRINT command to send
  1899.            
  1900.            NED v1.6x User's Guide                           Page  36
  1901.  
  1902.            files to  the spooler.  This only  takes a moment and you
  1903.            are then  returned to  editing your  file(s). The  VSPOOL
  1904.            command allows  you to  control the  spooler while  it is
  1905.            active. You  can pause  or resume  background printing or
  1906.            remove one  or all  files  from  the  spooler.  To  pause
  1907.            background printing  when the  spooler is active, use the
  1908.            following command:
  1909.  
  1910.                 <Esc>Vp<Enter>
  1911.  
  1912.            Repeat the  above command  to resume  printing. To remove
  1913.            all files  from the  spooler queue  including the  active
  1914.            spool file use the 'k' parameter. For example:
  1915.  
  1916.                 <Esc>Vk<Enter>
  1917.  
  1918.            You may  selectively remove a file from the spooler queue
  1919.            by specifying  its position  in the  queue. You can enter
  1920.            the queue  number for  the file  you wish  to remove  for
  1921.            example:
  1922.  
  1923.                 <Esc>V2<Enter>
  1924.  
  1925.            You may also browse through the queue with the up or down
  1926.            arrows. This  will display  the number  and name  of each
  1927.            file in  the queue.  You may then press ENTER on the file
  1928.            you wish  to remove.  See section 5.1 for more details on
  1929.            the VSPOOL command.
  1930.  
  1931.            4.7 Using the Calculator
  1932.            The Calculator  emulates most  of the  functions  of  the
  1933.            average hand  held model.  It uses  the standard  'infix'
  1934.            method of  operand/operator/operand  (e.g  2  +  3).  The
  1935.            Calculator is  invoked with the SHIFT F6 key. The program
  1936.            NCAL.EXE must  be either  in  the  current  directory  or
  1937.            reside on the PATH.
  1938.  
  1939.            The Calculator  has provision for hexadecimal and decimal
  1940.            numbers. Use  the space  bar to  toggle between these two
  1941.            modes.  When  you  toggle  between  modes  the  currently
  1942.            displayed  number  will  be  converted  accordingly.  NED
  1943.            automatically selects the NUM-LOCK on your numeric keypad
  1944.            allowing you  to use  it for  number entry.  To enter the
  1945.            hexadecimal A to F use CTRL A to F.
  1946.  
  1947.            If you miskey a number you can backspace (BS) over it and
  1948.            re-type it or press 'e' to re-enter the whole number. Use
  1949.            'c' to  clear all  (CE) operands  and operators.  If  the
  1950.            number calculated  is  too  large  to  be  displayed  the
  1951.            calculator will show the message:
  1952.  
  1953.                 Overflow
  1954.  
  1955.            When you  have finished press ESC to return to your file.
  1956.  
  1957.            You can use the calculator from DOS by typing:
  1958.  
  1959.                 NCAL<Enter>c
  1960.            
  1961.            NED v1.6x User's Guide                           Page  37
  1962.  
  1963.  
  1964.            Note that the 'c' must be pressed after ENTER.
  1965.  
  1966.            4.8  Using the ASCII Tables
  1967.            These tables  provide the full set of ASCII characters in
  1968.            decimal,  hexadecimal   and  the   ASCII  character.  For
  1969.            example:
  1970.  
  1971.                 DEC  HEX  CHR
  1972.                 42   2A   *
  1973.  
  1974.            The ASCII tables are invoked with the F6 key. The program
  1975.            NCAL.EXE must  be either  in  the  current  directory  or
  1976.            reside on  the PATH.  You can  view other  pages with the
  1977.            arrow keys  HOME takes  you to  the first page END to the
  1978.            last page.  Press ESC  to return to your file. The F1 key
  1979.            toggles between character names and the literal character
  1980.            on the  first page  of the  tables. For  example, ASCII 3
  1981.            will appear  as the  clear smiley  face character  or  as
  1982.            'SOH'. You can use the ASCII tables from DOS by typing:
  1983.  
  1984.                 NCAL<Enter>a
  1985.  
  1986.            Note that the 'a' must be pressed after ENTER.
  1987.  
  1988.            4.9  Using Colours
  1989.            If you have a CGA, EGA, VGA or compatible adapter you can
  1990.            configure NED  to make full use of colour. You may preset
  1991.            the colours  you wish  to use  with two statements in the
  1992.            start up  file  CONFIG.NED.  These  are  the  COLOUR  and
  1993.            INTENSITY  statements.   NED  allows   different   colour
  1994.            settings for the edit and System windows.
  1995.  
  1996.            The COLOUR  statement accepts  four numbers between 0 and
  1997.            7. The  first  two  are  the  foreground  and  background
  1998.            attributes for  the Edit window. The last two specify the
  1999.            foreground and  background colours for the System window.
  2000.  
  2001.            The INTENSITY statement accepts two numbers between 0 and
  2002.            15 although  to work properly should be between 8 and 15.
  2003.            The first sets the bold attribute for the Edit window and
  2004.            the second sets the bold attribute for the System window.
  2005.            The numbers correspond to the colours as follows:
  2006.  
  2007.                No.  Colour    No.  Colour
  2008.                0    Black     8    Dark grey
  2009.                1    Blue      9    Light blue
  2010.                2    Green     10   Light green
  2011.                3    Cyan      11   Light cyan
  2012.                4    Red       12   Light red
  2013.                5    Magenta   13   Light magenta
  2014.                6    Brown     14   Yellow
  2015.                7    White     15   Bright white
  2016.  
  2017.            For example:
  2018.  
  2019.                 COLOUR=7,1,0,1
  2020.                 INTENSITY=12,14
  2021.            
  2022.            NED v1.6x User's Guide                           Page  38
  2023.  
  2024.  
  2025.            sets white  on blue  characters with red intensity in the
  2026.            Edit window  and black  on white characters with a yellow
  2027.            intensity in the System window
  2028.  
  2029.                 COLOUR=7,4,1,3
  2030.                 INTENSITY=14,15
  2031.  
  2032.            sets white on red characters with yellow intensity in the
  2033.            Edit window  and white  on cyan  characters with a bright
  2034.            white in the System window.
  2035.  
  2036.            NED uses  the intensity attribute in the Edit window with
  2037.            the cursor.  When the  cursor is within a line it will be
  2038.            the same colour as a character it is under. If however it
  2039.            is off  the end  of the  line, the  colour changes to the
  2040.            INTENSITY setting.  In the  first example above this will
  2041.            be Bright  red. This  is a useful feature as it shows you
  2042.            where you  have entered  text. For  example if  there are
  2043.            spaces on  the end  of a  line or if there is text to the
  2044.            right of  the Edit  window, the cursor will appear in the
  2045.            normal attribute. See section 5.3 for more details on the
  2046.            COLOUR and  INTENSITY configuration  statements.
  2047.            
  2048.  
  2049.            4.10 Using 43/50 Line Modes
  2050.            If you have an EGA or VGA adapter, NED permits editing in
  2051.            43 and  50 line  modes respectively. To toggle between 25
  2052.            and 43/50  line modes  use ALT  =. See  section  5.2  for
  2053.            details on  the ALT  = function. If you want to use 43 or
  2054.            50 line  modes by  default change  the MODE  statement in
  2055.            CONFIG.NED to the following:
  2056.  
  2057.                 MODE=EGA43
  2058.  
  2059.            or:
  2060.  
  2061.                 MODE=VGA50
  2062.  
  2063.            depending on  your video  adapter. If  you specify EGA or
  2064.            
  2065.            NED v1.6x User's Guide                           Page  39
  2066.  
  2067.            VGA you  will be  able to  switch to 43 and 50 line modes
  2068.            respectively, with ALT =.
  2069.  
  2070.  
  2071.  
  2072.            
  2073.            NED v1.6x User's Guide                           Page  40
  2074.  
  2075.            *********************************************************
  2076.            NED v1.6x User's Guide
  2077.            Chapter 5 Reference Sections
  2078.  
  2079.            5.1  Command Reference
  2080.  
  2081.            Introduction
  2082.            This  section   gives  a  full  description  of  commands
  2083.            available from  Command mode. Items not surrounded by the
  2084.            square brackets  are  compulsory  parameters.  The  space
  2085.            between the  command letter and the parameter is intended
  2086.            for clarity  only. No  leading space should be typed when
  2087.            entering the  parameter.  Conversely  when  a  comma  (,)
  2088.            appears in the parameter specification it should be typed
  2089.            literally.
  2090.  
  2091.  
  2092.            AREA    Change to a new area
  2093.            Syntax: A [number]
  2094.  
  2095.            The AREA  command allows  you to specify an optional area
  2096.            number to  change to. If no area number is given the next
  2097.            area is chosen. You may browse through the areas with the
  2098.            up/down arrows.
  2099.  
  2100.            When you change to another area, the filename/pathname of
  2101.            the new  area is  copied to the last parameter string, so
  2102.            that you may restore it with F3 and edit it for your next
  2103.            command parameter.  Alternatively, you may select another
  2104.            area with  the ALT  0 to  9 keys  or the Status screen by
  2105.            pressing F10 and selecting the area you want. See section
  2106.            5.2 for further details.
  2107.  
  2108.  
  2109.            BACKUP  Specify the backup directory
  2110.            Syntax: B drive:\directory
  2111.  
  2112.            When a  file is  written to disk the original filename is
  2113.            renamed to  the ._??  extension. The  leading  underscore
  2114.            allows you to distinguish edited files that have the same
  2115.            filename but  have different  extensions.  If  no  backup
  2116.            directory is  specified, the  backup file will be written
  2117.            to the  current directory.  This however can clutter your
  2118.            work directory  making it  difficult to  find files.  The
  2119.            BACKUP command  allows  you  to  specify  an  alternative
  2120.            drive:\directory in  which to place the backup file. This
  2121.            is useful  to keep  back-ups 'out  of harms  way'. If the
  2122.            drive:\directory does not exist, NED will prompt:
  2123.  
  2124.                 Create BACKUP Directory (Y/N) ?
  2125.  
  2126.            If you  answer  'y',  NED  will  attempt  to  create  the
  2127.            directory. You  may use the File Display mode to select a
  2128.            directory by pressing F1 in parameter entry mode. When in
  2129.            File Display  mode, CTRL  ENTER  selects  the  high-  lit
  2130.            directory since  ENTER merely  moves you to the high- lit
  2131.            directory. See  section 5.5  for further  details on File
  2132.            Display mode.
  2133.            
  2134.            NED v1.6x User's Guide                           Page  41
  2135.  
  2136.  
  2137.            This command  can also  be specified  in CONFIG.NED,  see
  2138.            section 5.3 for details.
  2139.  
  2140.  
  2141.            CLOSE   Closes an area
  2142.            Syntax: C [number]
  2143.  
  2144.            This command  closes an  area. If no area number is given
  2145.            the current  area is  closed. You  may close  other areas
  2146.            from the  current area  by  specifying  its  number.  For
  2147.            example:
  2148.  
  2149.                 <Esc>C3<Enter>
  2150.  
  2151.            will attempt  to close  area number  3. If  the specified
  2152.            area is not open, NED displays the message:
  2153.  
  2154.                Area Not Open !
  2155.  
  2156.            If changes  have been  made to  the area, NED prompts you
  2157.            with:
  2158.  
  2159.                 Changes will be lost, Confirm (Y/N) ?
  2160.  
  2161.            if you  answer no  the operation  is aborted.  If yes the
  2162.            changes are  discarded and  the area is freed. All memory
  2163.            associated with  the area  is returned to the system pool
  2164.            and the  area is  available for  use again  with  another
  2165.            file.
  2166.  
  2167.  
  2168.            DETAB   Detab a file
  2169.            Syntax: D
  2170.  
  2171.            This command  replaces tab characters (chr 9) with spaces
  2172.            (chr  32)   using  the  current  tabstop  settings  as  a
  2173.            template. This  means that where a tab character is found
  2174.            in a  line, its  proximity to  next tabstop is calculated
  2175.            and the appropriate number of spaces inserted to bring it
  2176.            into alignment.
  2177.  
  2178.            Some lines  may  want  to  expand  to  greater  than  256
  2179.            characters in  which case  they are  truncated. In  large
  2180.            files the  DETAB command  will  consume  more  memory  to
  2181.            accommodate the  increased size of the file. This command
  2182.            is useful  when you  read a file from another editor that
  2183.            contains tabs.  Make sure  that you set NED's tabstops to
  2184.            match the  file's tab  settings otherwise  you will  have
  2185.            text alignment problems after expansion.
  2186.  
  2187.            NED can  be set  to automatically  detab when  a file  is
  2188.            opened with the DETAB statement in CONFIG.NED or with the
  2189.            CTRL F10  function toggle,  see sections  5.3 and 5.2 for
  2190.            details. See  the TABSET  command below  for  details  on
  2191.            setting tabstops. See the NTAB command for the reverse of
  2192.            this command.
  2193.  
  2194.            
  2195.            NED v1.6x User's Guide                           Page  42
  2196.  
  2197.  
  2198.            END     Finish editing a file
  2199.            Syntax: E [pathname]
  2200.  
  2201.            When this  command is issued, the file is firstly checked
  2202.            to see  if it  has changed. If so, it is written to disk.
  2203.            The area  is then  closed and NED will attempt to move to
  2204.            another open area.
  2205.  
  2206.            If no open area can be found, NED will return you to DOS.
  2207.            If, however  the spooler  is active, NED will display the
  2208.            message:
  2209.  
  2210.                 Background is busy
  2211.  
  2212.            and will  not exit  to DOS.  An optional  pathname may be
  2213.            specified  to   which  the  file  will  be  written  thus
  2214.            preserving the original file. If the pathname exists, NED
  2215.            will prompt:
  2216.  
  2217.                 File Exists ! Overwrite (Y/N) ?
  2218.  
  2219.            If you  answer 'y'  NED will  overwrite the file, if 'n',
  2220.            the command is aborted. You may also use the File Display
  2221.            mode to  select a  file to overwrite by pressing F1. When
  2222.            the command has completed NED will display the message:
  2223.  
  2224.                 <number> lines written
  2225.  
  2226.  
  2227.            FILL    Fill a line with a character
  2228.            Syntax: F character,number
  2229.  
  2230.            This command  takes the  character and  fills it from the
  2231.            current line  and column  of the  cursor  the  number  of
  2232.            times.  Any   valid  characters  may  be  used  including
  2233.            characters generated  using the  ALT keypad  method (e.g.
  2234.            ruling graphics).
  2235.  
  2236.            Characters will not be filled to a width greater than 256
  2237.            nor will  they be  filled at  the cursor if it is off the
  2238.            end of a line. In the latter case FILL appends at the end
  2239.            of the line.
  2240.  
  2241.            If you  gave an  invalid fill  parameter or the fill will
  2242.            not fit  in  the  current  line,  NED  will  display  the
  2243.            message:
  2244.  
  2245.                 Bad Fill Spec or Not Valid to Fill
  2246.  
  2247.            If the fill is successful, NED displays the message:
  2248.  
  2249.                 '<char>' Filled number Times
  2250.  
  2251.            For example:
  2252.  
  2253.                 <Esc>F*,70<Enter>
  2254.  
  2255.            
  2256.            NED v1.6x User's Guide                           Page  43
  2257.  
  2258.            will fill the '*' character 70 times from the cursor.
  2259.  
  2260.  
  2261.            GOTO    Goto a line
  2262.            Syntax: G line[,column]
  2263.  
  2264.            This command  moves the cursor to the specified line, and
  2265.            optional column  of the  current area. The line cannot be
  2266.            greater than  the number of lines in the current area and
  2267.            the column cannot be greater than 256. If an invalid line
  2268.            or  column  is  specified,  the  cursor  remains  in  its
  2269.            original position,  and NED  will display  the  following
  2270.            message:
  2271.  
  2272.                 Bad Line Number !
  2273.  
  2274.            This command is also available in CONFIG.NED, see section
  2275.            5.3 for details.
  2276.  
  2277.  
  2278.            HELP    Load help system
  2279.            Syntax: H [startpagenum]
  2280.  
  2281.            This command  attempts to load the help system. NHELP.EXE
  2282.            must be  either in the current directory or reside on the
  2283.            PATH.
  2284.  
  2285.            The HELP command takes an optional starting page number,
  2286.            for example:
  2287.  
  2288.                 <Esc>H5<Enter>
  2289.  
  2290.            will take  you to  the fifth  help screen. See the F1 key
  2291.            reference in section 5.2 for more details.
  2292.  
  2293.  
  2294.            INTERWORD Specify interword delimiter(s)
  2295.            Syntax: I character...
  2296.  
  2297.            NED distinguishes  a word  as any  character or  group of
  2298.            characters surrounded  by one or more characters from the
  2299.            interword delimiter  set. The  default is  a  space.  The
  2300.            interword  delimiter   set  allows  you  to  tailor  your
  2301.            definition of  a word  so you  can break  up  complicated
  2302.            expressions. NED  needs to know these characters in order
  2303.            to provide functions like next/previous word and deleting
  2304.            words. For  example many  programming languages  use  the
  2305.            comma to  separate function  parameters. In this case you
  2306.            would specify:
  2307.  
  2308.                 <Esc>I ,<Enter>
  2309.  
  2310.            Changes to  the delimiter  set made with this command can
  2311.            be saved  to CONFIG.NED  by using  the CTRL  F4 key. Note
  2312.            that to  use the space as a character it must be embedded
  2313.            before or  in the  middle of the other characters or else
  2314.            CONFIG.NED must  be written  to disk  with the strip flag
  2315.            set to  off with  the CTRL  F7 key.  See section  5.2 for
  2316.            
  2317.            NED v1.6x User's Guide                           Page  44
  2318.  
  2319.            details on CTRL F4 and CTRL F7 section 5.3 for details on
  2320.            the INTERWORD statement in CONFIG.NED.
  2321.  
  2322.  
  2323.            JEJECT  Eject page from printer
  2324.            Syntax: J [numpages]
  2325.  
  2326.            This command  ejects a  page from  the printer.  You  may
  2327.            optionally specify  a  number  of  pages  to  eject.  For
  2328.            example:
  2329.  
  2330.                 <Esc>J3<Enter>
  2331.  
  2332.            will eject  three pages  from the  printer.  Rather  than
  2333.            sending the  form feed character, NED sends the number of
  2334.            line feeds  corresponding to  the page  length set in the
  2335.            YLAYOUT command  or the  LAYOUT statement  in CONFIG.NED.
  2336.            The default page length is 66 lines.
  2337.  
  2338.  
  2339.            KEEP    Save a macro file
  2340.            Syntax: K [macrofile]
  2341.  
  2342.            The KEEP  command saves the current macro set to disk. If
  2343.            the macro  set is new you must specify a macrofile. If no
  2344.            macrofile is  given or  the filename is invalid, NED will
  2345.            display the message:
  2346.  
  2347.                 Invalid MACRO file or filename
  2348.  
  2349.            If the  macro set  has  been  previously  loaded  and  no
  2350.            macrofile is  given, NED  will update  the existing macro
  2351.            file. You may also specify a new name to save an existing
  2352.            macro set  to. The  default extension is for a macro file
  2353.            is .MCR.
  2354.  
  2355.  
  2356.            LAUNDRY Saves files that have changed
  2357.            Syntax: L [p]
  2358.  
  2359.            This command  checks all  the open  areas to  see if  any
  2360.            changes have  been made  in them.  If so,  NED saves each
  2361.            file to disk. The optional 'p' parameter may be specified
  2362.            which will prompt:
  2363.  
  2364.                 Save this file (Y/N) ?
  2365.  
  2366.            for each  file that  has changed.  After you  answer, NED
  2367.            proceeds  with  the  checking.  When  completed  you  are
  2368.            returned to  the area  you started  in. This  command  is
  2369.            useful if  you are  working on  a number  of files,  when
  2370.            saving each file individually is cumbersome.
  2371.  
  2372.  
  2373.            MACRO   Name and record a keyboard Macro
  2374.            Syntax: M [title[,r]]
  2375.  
  2376.            This command allows you to record a keyboard macro. It is
  2377.            
  2378.            NED v1.6x User's Guide                           Page  45
  2379.  
  2380.            an alternative  to the  F7 key. It allows you to name the
  2381.            macro before  you begin  recording. For example you would
  2382.            type:
  2383.  
  2384.                 <Esc>MFile opener<Enter>
  2385.  
  2386.            to begin  recording a  macro called  'File opener'. After
  2387.            you have  pressed ENTER,  NED will  prompt you to enter a
  2388.            macro key  between ALT  F1-20 (ALT  F11-20 = SHIFT ALT F1
  2389.            10) to  assign the  macro to.  If you enter a key that is
  2390.            not between ALT F1-20, NED displays the message:
  2391.  
  2392.                 Key entered Not a valid MACRO key !
  2393.  
  2394.            If a  valid macro key is pressed, the cursor is taken out
  2395.            of the command area to begin recording. Make sure you are
  2396.            in an  open area  when recording  and using a macro. When
  2397.            you have  finished recording  press the  F7 key.  You may
  2398.            also use  this command  to name  or  rename  an  existing
  2399.            macro. Repeat  the above  process except  append the  'r'
  2400.            option. For example:
  2401.  
  2402.                 <Esc>MFile opener,r<Enter>
  2403.  
  2404.            will prompt  you for  the macro  key and  then assign the
  2405.            name 'File opener' to it.
  2406.  
  2407.            You can  view the  names of  macros with the SHIFT F7 key
  2408.            (Macro Report  screen). The purpose of being able to name
  2409.            macros is  so that  you can view this screen and hence be
  2410.            able to  remember the  function of  macros you create and
  2411.            save. See  section 5.2 for details on the F7 and SHIFT F7
  2412.            keys.
  2413.  
  2414.  
  2415.            NTAB    Replace spaces with tabs
  2416.            Syntax: N
  2417.  
  2418.            This command replaces spaces (chr 32) with tab characters
  2419.            (chr 9) using the current tabstop settings as a template.
  2420.            This means  that  when  a  number  of  spaces  are  found
  2421.            corresponding to  the space  number value  of the nearest
  2422.            tabstop these  are replaced  by a tab character. The NTAB
  2423.            command will  release some  memory that  being the memory
  2424.            taken up by the spaces converted.
  2425.  
  2426.            NED can  be set  to automatically entab a file when it is
  2427.            saved with  the NTAB  statement in CONFIG.NED or with the
  2428.            CTRL F9 toggle key, see sections 5.2 and 5.3 for details.
  2429.            See the  TABSET command  below  for  details  on  setting
  2430.            tabstops and  see the DETAB command above for the reverse
  2431.            function.
  2432.  
  2433.  
  2434.            OPEN    Open a file for editing
  2435.            Syntax: O [pathname]
  2436.  
  2437.            This command  opens  a  file  for  editing  in  the  next
  2438.            
  2439.            NED v1.6x User's Guide                           Page  46
  2440.  
  2441.            available area.  If there  are no  free areas,  NED  will
  2442.            display the message:
  2443.  
  2444.                 No Free Areas left !
  2445.  
  2446.            In its  simplest form,  OPEN accepts  the pathname of the
  2447.            file to open. For example:
  2448.  
  2449.                 <Esc>Omyfile.prg<Enter>
  2450.  
  2451.            will attempt  to open  the file 'myfile.prg'. If the file
  2452.            does not exist NED will prompt you with:
  2453.  
  2454.                 Ok to Create (Y/N) ?
  2455.  
  2456.            If  you  answer  'y'  you  may  proceed  to  enter  text,
  2457.            otherwise you will be returned to command selection mode.
  2458.            If no  parameter is given, the next file in the File List
  2459.            is opened  if a  File List  exists. CTRL  F1 (quick open)
  2460.            will open  the next  file in the File List as a short-cut
  2461.            to this  operation. If  there are no further files in the
  2462.            File List, NED will display the message:
  2463.  
  2464.                 End of File List reached
  2465.  
  2466.            You may browse the File List in parameter entry mode with
  2467.            the up/down  arrows and  then ENTER on a file to open. If
  2468.            you hold  down either the up or down arrows, when the top
  2469.            or bottom  of the  File List  is reached,  NED will  wrap
  2470.            around to  the other  end of the list. You may also enter
  2471.            File Display  mode with the F1 key which takes you to the
  2472.            directory window  and ENTER on the file you wish to open.
  2473.  
  2474.            You may  specify a  wildcard parameter and then press the
  2475.            F1 key  to display  only those files in the wildcard set.
  2476.            For example:
  2477.  
  2478.                 <Esc>O*.c<F1>
  2479.  
  2480.            will enter  File Display  mode displaying  only  matching
  2481.            '*.c' files.  You can  then ENTER on the file you wish to
  2482.            open or  ESC back  to Command  mode. See  section 5.5 for
  2483.            more details  on the  File Display mode. NED will attempt
  2484.            read the  entire file  into the  area. If the file is has
  2485.            more lines  than the  maximum  lines  allowed,  NED  will
  2486.            prompt:
  2487.  
  2488.                 Buffer full, Continue ? (Y/N)
  2489.  
  2490.            If you  want to  edit this file, you should answer 'n' to
  2491.            this prompt  which will  abort the  command and return to
  2492.            the previous  open area.  You should then save your files
  2493.            if necessary,  open CONFIG.NED  and increase the MAXLINES
  2494.            statement to  accommodate the  larger file  then quit and
  2495.            re-load NED.  If you  answer 'y',  NED will  allow you to
  2496.            edit only  the first  number of buffer lines of the file.
  2497.            The extra  lines that  were not  read will be lost if you
  2498.            write the  file back  to disk. You may choose this option
  2499.            
  2500.            NED v1.6x User's Guide                           Page  47
  2501.  
  2502.            if you wish to view this file.
  2503.  
  2504.            Sufficient memory  must be  available to  read the entire
  2505.            file. If  there is  not enough  memory, NED will beep and
  2506.            display the message:
  2507.  
  2508.                 Insufficient memory !
  2509.  
  2510.            then abort  the command  and return  to the previous open
  2511.            area. If  you need to work on this file, we recommend the
  2512.            following actions:
  2513.  
  2514.            1 - close down any less important files you may have open
  2515.            to free up more memory and re-issue the OPEN command.
  2516.  
  2517.            2 -  reduce the  MAXLINES statement  in CONFIG.NED  to  a
  2518.            number that  it closer to your maximum required number of
  2519.            lines.
  2520.  
  2521.            3 -  check that you have enough free memory in DOS before
  2522.            re-loading NED.  For example,  you could have a Terminate
  2523.            Stay Resident (TSR) program consuming system memory.
  2524.  
  2525.            4 -  check to  see that  you  haven't  shelled  out  from
  2526.            another program  and loaded NED. You can normally do this
  2527.            except with large text files.
  2528.  
  2529.  
  2530.            PRINT   Sends the current file to the printer
  2531.            Syntax: P [{to|from,to}]
  2532.  
  2533.            With no  parameters this  command prints  the whole file.
  2534.            You may  optionally specify a to line number which prints
  2535.            from the  current line  to the to line, or alternatively,
  2536.            you may  specify a  from and  to line  numbers to specify
  2537.            printing between start and ending lines. For example:
  2538.  
  2539.                 <Esc>P5,25<Enter>
  2540.  
  2541.            Prints lines 5 to 25 inclusively.
  2542.  
  2543.                 <Esc>P100<Enter>
  2544.  
  2545.            Prints from the current line to line 100.
  2546.  
  2547.            If you  are printing in foreground mode, NED will attempt
  2548.            to initialize the PRN device before printing. If it fails
  2549.            you will be prompted:
  2550.  
  2551.                 Printer Not Ready, Continue ? (Y/N)
  2552.  
  2553.            Check that  the printer  is on-line  and answer  'y'. NED
  2554.            will retry.  If you  answer 'n'  you will  be returned to
  2555.            command selection.
  2556.  
  2557.            If you  are printing  in background  mode, NED will print
  2558.            the file  to the  spooler where  it will  be added to the
  2559.            queue and  printed in  background mode.  See  the  VSPOOL
  2560.            
  2561.            NED v1.6x User's Guide                           Page  48
  2562.  
  2563.            command below.
  2564.  
  2565.            To set your page layout i.e. page length, top, bottom and
  2566.            left margins,  see the  YLAYOUT  command  below  and  the
  2567.            LAYOUT statement in section 5.3.
  2568.  
  2569.  
  2570.            QUIT    Quit NED and return to DOS
  2571.            Syntax: Q [{a|s}]
  2572.  
  2573.            The QUIT  command first  goes through  all the open areas
  2574.            checking for  any changes.  If none  are found,  you  are
  2575.            returned to  DOS. If  changes are  found in  a  file  NED
  2576.            displays the message:
  2577.  
  2578.                 (S)ave (A)bort or (C)ancel ?
  2579.  
  2580.            You can  save or abort the file or cancel the entire quit
  2581.            operation in  which case  you remain  in Command  mode. A
  2582.            shorthand method  is also  available with  this  command.
  2583.            QUIT with the 'a' parameter quits from NED without saving
  2584.            any files  even if  changes have been recorded. QUIT with
  2585.            the 's'  parameter saves  any  files  that  have  changed
  2586.            without prompting and then quits.
  2587.  
  2588.            If the  spooler is  active and  you attempt  to quit, NED
  2589.            will display the message:
  2590.  
  2591.                 Background is busy
  2592.  
  2593.            and will not exit to DOS until printing is finished.
  2594.  
  2595.  
  2596.            REPLACE Replaces text with a specified string
  2597.            Syntax: R string[,{number|g[,n]}]
  2598.  
  2599.            Before using this command you must use either the SPECIFY
  2600.            command or  the Block  Mode 's'  command to tell NED what
  2601.            you  want  to  replace  (target  pattern).  This  command
  2602.            requires a  string which  will replace the target pattern
  2603.            if found.
  2604.  
  2605.            If just  the string is given, NED will attempt to replace
  2606.            the next  occurrence of  the target  pattern with it. For
  2607.            example:
  2608.  
  2609.                 <Esc>Sfor<Enter>RFOR<Enter>
  2610.  
  2611.            will replace the next occurrence of "for" with "FOR". You
  2612.            can append  an optional  number to  specify  the  maximum
  2613.            number of replacements to be made. Alternatively, you may
  2614.            append a  ',g' which  will  replace  the  target  pattern
  2615.            across the  whole file  (globally). Each time a target is
  2616.            found you will be prompted:
  2617.  
  2618.                 Replace (Y/N) ?
  2619.  
  2620.            if you  answer 'y'  NED will replace the pattern with the
  2621.            
  2622.            NED v1.6x User's Guide                           Page  49
  2623.  
  2624.            string, if  you answer  'n', NED continues searching. You
  2625.            may also  press ESC  at this prompt, which will abort the
  2626.            command.
  2627.  
  2628.            You may  further append a ',n' which suppresses the above
  2629.            prompting. For example:
  2630.  
  2631.                 <Esc>Sbill<Enter>Raccount,g,n<Enter>
  2632.  
  2633.            will replace  the all occurrences of the word 'bill' with
  2634.            'account' without  any prompting.  When NED  has finished
  2635.            replacing, the message:
  2636.  
  2637.                 <number> replaced, <number> overflows
  2638.  
  2639.            is displayed  showing the number of replacements made and
  2640.            the number  of overflows  encountered. An overflow occurs
  2641.            when the  replaced text  expands the line to greater than
  2642.            256 characters.  In this  case the  line is truncated. To
  2643.            replace a comma (,) precede it with a backslash character
  2644.            (\,). You  can retrieve  the last  replacement  parameter
  2645.            with the up arrow in parameter entry mode.
  2646.  
  2647.  
  2648.            SPECIFY Specifies a search expression
  2649.            Syntax: S expression
  2650.  
  2651.            This command  tells NED  what pattern  to look  for  when
  2652.            searching for  or  replacing  text.  SPECIFY  accepts  an
  2653.            expression conforming  to the Regular Expression Language
  2654.            described in section 5.6. For example:
  2655.  
  2656.                 <Esc>S/\*.*\*/<Enter>
  2657.  
  2658.            will search  for a  'C' comment line. See section 5.6 for
  2659.            details on  using this  language. To  begin searching you
  2660.            must press  F8, SHIFT  F8, CTRL  F8 or  issue  a  REPLACE
  2661.            command. SPECIFY  expressions may  also be  set using the
  2662.            's' command in Block Mode. See section 5.7 for details on
  2663.            the Block Mode.
  2664.  
  2665.            The SPECIFY  expression may be used across all open areas
  2666.            and remains  current until a new expression is specified.
  2667.            You can  retrieve the  last SPECIFY parameter with the up
  2668.            arrow in parameter entry mode.
  2669.  
  2670.  
  2671.            TABSET  Sets the tabstop template
  2672.            Syntax: T {column[,column...]|r}
  2673.  
  2674.            This command  sets the  tabstop template to the specified
  2675.            column  number(s).   If  you   specify  only  one  column
  2676.            parameter, tabs  are set  to a  width of column-1 for the
  2677.            entire template. For example:
  2678.  
  2679.                 <Esc>T5<Enter>
  2680.  
  2681.            will set  tabstops at  every fourth column. This is NED's
  2682.            
  2683.            NED v1.6x User's Guide                           Page  50
  2684.  
  2685.            default setting.  If  more  than  one  column  is  given,
  2686.            tabstops are  set accordingly. The difference between the
  2687.            last two  columns is  used to set the remaining tabstops.
  2688.            For example:
  2689.  
  2690.                 <Esc>T7,11<Enter>
  2691.  
  2692.            will set tabstops for FORTRAN programs.
  2693.  
  2694.            You can  reset the  template to  the default with the 'r'
  2695.            parameter. This  command is also available in CONFIG.NED,
  2696.            see section 5.3 for more details.
  2697.  
  2698.  
  2699.            USE     Load a macro file
  2700.            Syntax: U macrofile
  2701.  
  2702.            This command  loads a  set of  macros from disk. You need
  2703.            only specify a filename/pathname as the .MCR extension is
  2704.            the default. If macrofile does not exist or is corrupted,
  2705.            NED displays the message:
  2706.  
  2707.                 Invalid MACRO File or File name !
  2708.  
  2709.            You can  enter File  Display mode  by pressing  F1.  This
  2710.            filters *.MCR  files. You  may then  press ENTER  on  the
  2711.            macro file you wish to use. For example:
  2712.  
  2713.                 <Esc>U<F1>
  2714.  
  2715.            If there  are no macro files in the current directory you
  2716.            can select  another directory  using  File  Display  mode
  2717.            through the  OPEN command. Once you have moved to the new
  2718.            directory, exit  File Display  Mode and  re-issue the USE
  2719.            command as above.
  2720.  
  2721.            The MACRO  statement in  CONFIG.NED will  instruct NED to
  2722.            USE a  macro file  when starting  up, see section 5.3 for
  2723.            details.
  2724.  
  2725.  
  2726.            VSPOOL  Print spooler control
  2727.            Syntax: V {p|k[-]|t{1-8192}|1-9}
  2728.  
  2729.            This command  allows you  to pause  or resume  background
  2730.            printing, allow  you to  remove one or all files from the
  2731.            spooler or adjust the timeslice given to the spooler. The
  2732.            following command:
  2733.  
  2734.                 <Esc>Vp<Enter>
  2735.  
  2736.            will pause  background printing if the spooler is active.
  2737.            To resume  printing repeat  the above  command.  This  is
  2738.            useful if  you wish  to devote  all CPU  time to  editing
  2739.            processes.
  2740.  
  2741.            The spooler  queue can handle up to ten files.  Each time
  2742.            
  2743.            NED v1.6x User's Guide                           Page  51
  2744.  
  2745.            a file  is sent  to the spooler it is added to the end of
  2746.            the queue.  As the  printing of  a file is completed, all
  2747.            remaining files  are moved  up one place in the queue. To
  2748.            remove all  files from  the spooler  queue including  the
  2749.            active spool  file use the 'k' parameter. NED also allows
  2750.            you to  flush the  contents  of  the  printer  buffer  by
  2751.            appending  '-'   character  to  the  'k'  parameter.  For
  2752.            example:
  2753.  
  2754.                 <Esc>Vk-<Enter>
  2755.  
  2756.            You may  selectively remove  one file  from  the  spooler
  2757.            queue by  specifying its  position in  the queue.  Either
  2758.            enter the queue number for the file you wish to remove or
  2759.            you may  browse through  the queue  with the  up or  down
  2760.            arrows. This  will display  the number  and name  of each
  2761.            file in  the queue.  You may then press ENTER on the file
  2762.            you wish to remove.
  2763.  
  2764.            You may  adjust the  amount of  time given to the printer
  2765.            while spooling  with the 't' command. The timeslice value
  2766.            must be  between 1  and 8192.  The greater  the timeslice
  2767.            value, the  less  time  is  given  to  the  printer.  For
  2768.            example:
  2769.  
  2770.                 <Esc>Vt256<Enter>
  2771.  
  2772.            Sets  the  timeslice  to  256.  The  SPOOL  statement  in
  2773.            CONFIG.NED allows  you to  configure the spooler when NED
  2774.            loads. See  section  5.3  for  more  details.  To  toggle
  2775.            background printing on or off use CTRL F6.
  2776.  
  2777.  
  2778.            WRITE   Write the current file
  2779.            Syntax: W [pathname[,n]]
  2780.  
  2781.            With no parameter this command writes the current file to
  2782.            disk regardless  of whether  there have  been any changes
  2783.            made to  it. SHIFT  F10 is  a short-cut for this command,
  2784.            see section  5.2 for  details.  You  may  specify  a  new
  2785.            pathname to  write the  file to. If this file exists, NED
  2786.            will prompt:
  2787.  
  2788.                 File Exists, Overwrite it ? (Y/N)
  2789.  
  2790.            If  you  press  'n'  the  command  is  aborted.  You  may
  2791.            alternatively enter File Display mode to find an existing
  2792.            file to overwrite by pressing F1 in parameter entry mode.
  2793.            You may  optionally append  the 'n' parameter to pathname
  2794.            which suppresses  the stripping  of whitespace characters
  2795.            from the end of each line when writing.
  2796.  
  2797.  
  2798.            XSAVE   Save the File List
  2799.            Syntax: X [pathname]
  2800.  
  2801.            This command writes the File List to disk. If pathname is
  2802.            not given,  NED will  write the File List to FILES.NED if
  2803.            
  2804.            NED v1.6x User's Guide                           Page  52
  2805.  
  2806.            you did not start NED with an '@file' ('At' file). If you
  2807.            started NED  with an  '@file' it  will  be  updated.  See
  2808.            section 4.2  for  details  on  using  '@files'.  You  may
  2809.            optionally specify  a new  pathname to  save the list to.
  2810.  
  2811.            The extension  .NED is  the default  so you needn't enter
  2812.            it. For example:
  2813.  
  2814.                 <Esc>Xmyfiles<Enter>
  2815.  
  2816.            will save the current File List to MYFILES.NED. To load a
  2817.            File List  when starting  NED type  the '@' symbol before
  2818.            the filename. For example:
  2819.  
  2820.                 ned @myfiles<Enter>
  2821.  
  2822.            loads the  File List  MYFILES.NED from  disk when loading
  2823.            NED.
  2824.  
  2825.            When in  the File  List window  in File Display mode, you
  2826.            can save  the File List to FILES.NED by pressing CTRL F4.
  2827.            See section 4.2 for more details on File Lists.
  2828.  
  2829.  
  2830.            YLAYOUT Set print page
  2831.            Syntax: Y [length,topmargin,bottommargin[,leftmargin]]
  2832.  
  2833.            This command  sets the  print page  dimensions.  With  no
  2834.            parameters, the  page length  is set  to 66 lines the top
  2835.            and bottom margins are set to 3 lines and the left margin
  2836.            is set to 0 characters. If you wish to print on the whole
  2837.            page e.g. on standard continuous stationary, the command:
  2838.  
  2839.                 <Esc>Y66,0,0<Enter>
  2840.  
  2841.            would cancel the top and bottom margins. If the topmargin
  2842.            plus the  bottommargin is greater than page length or the
  2843.            margins are less than 0, the message:
  2844.  
  2845.                 Invalid print page layout
  2846.  
  2847.            will be  displayed. In  this case,  the existing settings
  2848.            will remain  unchanged. If  you want a left margin of ten
  2849.            characters use the following command:
  2850.  
  2851.                 <Esc>Y66,3,3,10<Enter>
  2852.  
  2853.            NED also allows you to specify the default page layout in
  2854.            CONFIG.NED, see the LAYOUT statement in section 5.3.
  2855.  
  2856.  
  2857.            ZSORT   Sort the current file
  2858.            Syntax: Z [{width|startcol,endcol}]
  2859.  
  2860.            With no  parameters, this  command sorts the current file
  2861.            alphabetically. You may specify the maximum width that is
  2862.            significant in sorting. For example:
  2863.  
  2864.            
  2865.            NED v1.6x User's Guide                           Page  53
  2866.  
  2867.                 <Esc>Z20<Enter>
  2868.  
  2869.            sorts the  current file  alphabetically  considering  the
  2870.            first twenty  characters of  the each  line only. You may
  2871.            instruct NED  to sort  the file by text that lies between
  2872.            the startcol and endcol. For example:
  2873.  
  2874.                 <Esc>Z15,23<Enter>
  2875.  
  2876.            will sort the following output from the DOS DIR command:
  2877.  
  2878.                DISTRIB  DOC      3008 19-01-92   3:40a
  2879.                FASTPRN  EXE     14441 08-01-92  11:44p
  2880.                LICENSE  DOC      5510 19-01-92   6:05p
  2881.                NCAL     EXE     42576 21-01-92   3:24a
  2882.                NED      DOC    286751 29-01-92   2:10a
  2883.                NED      EXE     96021 01-02-92   2:28a
  2884.                NHELP    EXE     21199 01-02-92   2:26a
  2885.                OMBUDSMN ASP       811 10-01-92  11:21p
  2886.                PACKING  LST       907 25-01-92  11:35p
  2887.                READ     ME      10840 31-01-92  11:34p
  2888.                REGISTER FRM      1417 19-01-92   2:09a
  2889.                SAMPLE   MCR     11240 26-01-92   3:14a
  2890.                SYSOP    DOC      4036 25-01-92   6:07p
  2891.  
  2892.            on the file size column, to produce:
  2893.  
  2894.                OMBUDSMN ASP       811 10-01-92  11:21p
  2895.                PACKING  LST       907 25-01-92  11:35p
  2896.                REGISTER FRM      1417 19-01-92   2:09a
  2897.                DISTRIB  DOC      3008 19-01-92   3:40a
  2898.                SYSOP    DOC      4036 25-01-92   6:07p
  2899.                LICENSE  DOC      5510 19-01-92   6:05p
  2900.                READ     ME      10840 31-01-92  11:34p
  2901.                SAMPLE   MCR     11240 26-01-92   3:14a
  2902.                FASTPRN  EXE     14441 08-01-92  11:44p
  2903.                NHELP    EXE     21199 01-02-92   2:26a
  2904.                NCAL     EXE     42576 21-01-92   3:24a
  2905.                NED      EXE     96021 01-02-92   2:28a
  2906.                NED      DOC    286751 29-01-92   2:10a
  2907.  
  2908.  
  2909.            1MARGIN Set the right hand margin
  2910.            Syntax: 1 [rightcolumn]
  2911.  
  2912.            This command  sets the  right hand  margin for word wrap.
  2913.            With no  parameters, this  command resets  the right hand
  2914.            margin to 65.
  2915.  
  2916.            The rightcolumn must be between 1 and 256. Only one right
  2917.            hand column  may be  specified. If  the column  given  is
  2918.            invalid, NED will display the message:
  2919.  
  2920.                 Invalid right hand margin
  2921.  
  2922.            For example:
  2923.  
  2924.                 <Esc>145<Enter>
  2925.            
  2926.            NED v1.6x User's Guide                           Page  54
  2927.  
  2928.  
  2929.            Sets the  right hand margin to 45. NED also allows you to
  2930.            specify the  default right hand margin in CONFIG.NED, see
  2931.            the WORDWRAP  statement in  section 5.3.  See section 3.4
  2932.            for details on using word wrap.
  2933.  
  2934.  
  2935.            2DOS    Execute DOS command
  2936.            Syntax: 2 [command [parameter...]]
  2937.  
  2938.  
  2939.            3SPEED  Set keyboard speed
  2940.            Syntax: 3 {0-5}
  2941.  
  2942.  
  2943.  
  2944.            
  2945.            NED v1.6x User's Guide                           Page  55
  2946.  
  2947.            *********************************************************
  2948.            NED v1.6x User's Guide
  2949.            Section 5.2    Function Reference
  2950.  
  2951.            Introduction
  2952.            This section  describes the  function keys  used in  NED.
  2953.            Function keys  perform a  particular action  for which no
  2954.            parameters are required.
  2955.  
  2956.  
  2957.            UP/DOWN ARROWS                         Previous/Next line
  2958.  
  2959.            These keys  move the  cursor up  or down one line. If the
  2960.            cursor is  at the top of the window and you press UP, the
  2961.            screen will  scroll down  one line. Alternatively, if you
  2962.            at the  bottom of the Edit window and you press DOWN, the
  2963.            screen will  scroll up  one line. If you are on the first
  2964.            or last  line of  the file  and you press UP or DOWN, the
  2965.            screen will not scroll and NED will beep.
  2966.  
  2967.            If the  SCROLL LOCK is on, the Edit window will scroll up
  2968.            or down  and the  cursor will remain in the same relative
  2969.            position on the edit window.
  2970.  
  2971.            HOME/END                                   Start/End line
  2972.  
  2973.            The HOME key moves the cursor to the first non whitespace
  2974.            character of the current line.
  2975.  
  2976.            The END  key moves  the cursor  one space to the right of
  2977.            the  last   character  on  the  current  line  (including
  2978.            whitespace characters).  These keys  have the same effect
  2979.            in Command mode.
  2980.  
  2981.            PGUP/PGDN                              Previous/Next page
  2982.  
  2983.            These keys  scroll the  edit window  up or down one page,
  2984.            normally +- 20 lines. The cursor will be left at the same
  2985.            relative position in the window. If you are at the top or
  2986.            bottom of  the file these keys will have no effect. These
  2987.            functions are  designed to  operate very  quickly and you
  2988.            can therefore  hold these  keys down  without filling the
  2989.            keyboard buffer.
  2990.  
  2991.            CTRL PGUP/CTRL PGDN                     Top/Bottom screen
  2992.  
  2993.            These keys  move the  cursor to the top or bottom line of
  2994.            the edit window.
  2995.  
  2996.            CTRL HOME/CTRL END                        First/Last line
  2997.  
  2998.            The CTRL  HOME key  takes the cursor to first line of the
  2999.            file. The  column position  remains as  it was unless you
  3000.            press CTRL SHIFT HOME which takes the cursor to the first
  3001.            column.
  3002.  
  3003.            The CTRL END key moves the cursor to the last line of the
  3004.            file. The  column position  remains as  it was unless you
  3005.            
  3006.            NED v1.6x User's Guide                           Page  56
  3007.  
  3008.            press CTRL  SHIFT END which takes the cursor to the first
  3009.            column on the last line.
  3010.  
  3011.            LEFT/RIGHT ARROWS                 Previous/Next character
  3012.  
  3013.            These keys move the cursor left or right one character on
  3014.            the current  line. If  the cursor  is at the right of the
  3015.            Edit window  and you  press RIGHT, the screen will scroll
  3016.            left  one   character  unless  you  are  on  column  256.
  3017.  
  3018.            Alternatively if  you are  at the left of the edit window
  3019.            and you  press LEFT,  the screen  will scroll  right  one
  3020.            character unless you are on column 1.
  3021.  
  3022.            If the  SCROLL LOCK  is on,  the Edit  window will scroll
  3023.            left or  right and  the cursor  will remain  in the  same
  3024.            relative position on the screen. These keys have the same
  3025.            effect in Command mode.
  3026.  
  3027.            CTRL LEFT/CTRL RIGHT                   Previous/Next word
  3028.  
  3029.            These keys  move the  cursor  to  the  beginning  of  the
  3030.            previous or  next word. If the cursor is at the beginning
  3031.            of a line and you press
  3032.  
  3033.            CTRL LEFT,  NED will  move the cursor to the beginning of
  3034.            the last  word on  the previous  line. Similarly,  if the
  3035.            cursor is  at the end of a line and you press CTRL RIGHT,
  3036.            NED will  move the  cursor to  the beginning of the first
  3037.            word on the next line.
  3038.  
  3039.            A word  is defined  as a character or group of characters
  3040.            surrounded by  one or  more interword delimiters. See the
  3041.            INTERWORD command in section 5.1 for more details.
  3042.  
  3043.            BACKSPACE (BS)                   Blank previous character
  3044.  
  3045.            This key  moves the  cursor to  the left  one  space  and
  3046.            blanks the character under it. If you are in insert mode,
  3047.            BS deletes the character to the left dragging text to the
  3048.            right of  the cursor to the left. This is the opposite of
  3049.            the DEL  key. This  key has  the same  effect in  Command
  3050.            mode. When word wrap is on and the cursor is at the first
  3051.            column of  a line  and the  line is not the first line of
  3052.            the file,  BS joins  the current  line to  the end of the
  3053.            previous line.
  3054.  
  3055.            DELETE (DEL)                             Delete character
  3056.  
  3057.            This key  deletes the character under the cursor dragging
  3058.            text to the right of the cursor to the left. This key has
  3059.            the same effect in Command mode.
  3060.  
  3061.            When word  wrap is  on and  the cursor is at the end of a
  3062.            line and  the line  is not the last line of the file, DEL
  3063.            joins the next line to the end of the current line.
  3064.  
  3065.            ENTER                                 Open new line below
  3066.            
  3067.            NED v1.6x User's Guide                           Page  57
  3068.  
  3069.  
  3070.            The ENTER key opens up a new line below the current line.
  3071.            If the  Auto-indent flag  is off, the cursor is placed at
  3072.            the first  column. If  the Auto-indent  flag is  on,  the
  3073.            cursor is placed under the first non whitespace character
  3074.            of the previous line.
  3075.  
  3076.            When auto-indent  is on,  RIGHT  SHIFT  ENTER  moves  the
  3077.            cursor one  tabstop  to  the  right  of  the  first  non-
  3078.            whitespace character  of the  line above  and LEFT  SHIFT
  3079.            ENTER moves  the cursor  one  tabstop  to  the  left.  In
  3080.            Command mode,  this key  executes the  selected  command.
  3081.  
  3082.            When word wrap is on, ENTER splits the line at the cursor
  3083.            position, moving  the cursor  to the beginning of the new
  3084.            line. This  is the same as pressing CTRL M when word wrap
  3085.            is off.
  3086.  
  3087.            CTRL ENTER                            Open new line above
  3088.  
  3089.            This key  operates in  exactly the  same way as the ENTER
  3090.            key except that it opens a line above the current line.
  3091.  
  3092.            ESCAPE (ESC)                                 Command mode
  3093.  
  3094.            This  key   moves  the   cursor  to   the  command  area,
  3095.            temporarily suspending  editing of  the file.  If you are
  3096.            already in Command mode, this key returns you to the Edit
  3097.            window.
  3098.  
  3099.            See section 5.1 for details on NED's commands and section
  3100.            3.1 for  details on  the using  the command  area. If you
  3101.            wish to enter an escape character in your file press CTRL
  3102.            ESC.
  3103.  
  3104.            SHIFT ESCAPE                            Exit Command mode
  3105.  
  3106.            This key  moves the  cursor from  the command area to the
  3107.            Edit window.  It  has  been  designed  to  be  used  when
  3108.            recording macros.  It allows  you to control which window
  3109.            the cursor is in when a macro runs.
  3110.  
  3111.            Note that  you cannot  enter Command  mode with this key.
  3112.            See section 4.4 for details on using macros.
  3113.  
  3114.            INSERT (INS)                                  Insert mode
  3115.  
  3116.            This key  toggles between insert and overtype modes. When
  3117.            in insert  mode any  text entered will automatically push
  3118.            all characters  from the  cursor to  the right.  When  in
  3119.            overtype mode  any character typed replaces the character
  3120.            under the cursor.
  3121.  
  3122.            In insert  mode the cursor appears as a half block and in
  3123.            overtype mode  the cursor is a quarter block. The initial
  3124.            status  of  insert  mode  can  be  set  with  the  INSERT
  3125.            statement in CONFIG.NED, see section 5.3 for details.
  3126.  
  3127.            
  3128.            NED v1.6x User's Guide                           Page  58
  3129.  
  3130.            This key has the same effect in Command mode.
  3131.  
  3132.            SCROLL LOCK                                 Freeze cursor
  3133.  
  3134.            This key toggles the scroll lock function on and off. The
  3135.            default is  off. When  on, the Edit window instead of the
  3136.            cursor moves  when you  press the LEFT, RIGHT, UP or DOWN
  3137.            keys.  This   is  useful  for  browsing  through  a  file
  3138.            particularly when it is wider than 80 characters.
  3139.  
  3140.            TAB                                             Right tab
  3141.  
  3142.            If you  are not  in insert mode this key moves the cursor
  3143.            one tabstop  to the  right. If the cursor is at the right
  3144.            of the  Edit window and you press the TAB key, the screen
  3145.            will scroll  left one  tabstop unless  you are  on column
  3146.            256. If  you are  in insert mode, the TAB key inserts the
  3147.            equivalent number  of spaces  to take  the cursor  to the
  3148.            next tabstop,  pushing text  to the right. This will only
  3149.            insert spaces up to the maximum of 256 characters. If the
  3150.            hard-tab flag  is  on,  this  key  will  enter  hard  tab
  3151.            characters into the file.
  3152.  
  3153.            SHIFT TAB                                        Left tab
  3154.  
  3155.            If you  are not  in insert mode this key moves the cursor
  3156.            one tabstop  to the left. If the cursor is at the left of
  3157.            the Edit  window and  you press  the SHIFT  TAB key,  the
  3158.            screen will  scroll right  one tabstop  unless you are on
  3159.            column 1.
  3160.  
  3161.            If you  are in  insert mode the SHIFT TAB key deletes the
  3162.            equivalent number of characters to take the cursor to the
  3163.            previous tabstop, dragging text to the left.
  3164.  
  3165.            F1                                                   Help
  3166.  
  3167.            This key attempts to load the help system. NHELP.EXE must
  3168.            be either  in the current directory or reside on the PATH
  3169.            and  there   must  be   64Kb  of   memory  available.  If
  3170.            insufficient memory  is available or the help file cannot
  3171.            be found, NED will display the following message:
  3172.  
  3173.                 Can't load Help File
  3174.  
  3175.            The help  system is divided into ten screens the first of
  3176.            which is  an index to the other nine. Enter the number of
  3177.            the screen  you wish  to view  or use  UP or DOWN arrows,
  3178.            ENTER and  PGUP or  PGDN to  browse through  the screens.
  3179.  
  3180.            HOME and  F1 takes  you to the index screen and END takes
  3181.            you to the last screen. To return to your file press ESC.
  3182.            This key is a shortcut for the HELP command.
  3183.  
  3184.            SHIFT F1                                 Select File List
  3185.  
  3186.            This key  enters File  Display mode  and selects the File
  3187.            List window.  If there are no files in the File List, NED
  3188.            
  3189.            NED v1.6x User's Guide                           Page  59
  3190.  
  3191.            will select the Directory window.
  3192.  
  3193.            You can  use UP,  DOWN, HOME, END, PGUP or PGDN to browse
  3194.            the File  List. If you press ENTER over any file NED will
  3195.            try to  OPEN it.  You may move to the directory window by
  3196.            pressing the TAB key. If there is not enough memory to
  3197.  
  3198.                 enter File Display mode,
  3199.  
  3200.            NED will display the message:
  3201.  
  3202.                 Insufficient Memory !
  3203.  
  3204.            CTRL F1                                    Open next file
  3205.  
  3206.            This key  attempts to  OPEN the  next file  from the File
  3207.            List. If  you don't  have a File List or the file pointer
  3208.            is at  the end  of the  list then  NED will  display  the
  3209.            message:
  3210.  
  3211.                 End of File List reached
  3212.  
  3213.            This key is a shortcut for the following keystrokes:
  3214.  
  3215.                 <Esc>O<Enter><Esc>
  3216.  
  3217.            F2                                          Restore scrap
  3218.  
  3219.            This key  restores text  from the  Scrap  buffer  to  the
  3220.            current file.  If the scrap is intra-line (within a line)
  3221.            the restored  text will be inserted into the current line
  3222.            at the  cursor position. If the cursor is past the end of
  3223.            the line,  NED will  append the  text to  the end  of the
  3224.            line. If  the length  of the  line plus  the width of the
  3225.            scrap is  greater than  256 characters, NED will beep and
  3226.            not restore  the  text.  Intra-line  scrap  can  only  be
  3227.            created in Block Mode. If however the scrap is inter-line
  3228.            (one or  more lines)  then  the  restored  text  will  be
  3229.            inserted below  the current  line. When  text is restored
  3230.            NED will display the message:
  3231.  
  3232.                 number lines copied from Scrap
  3233.  
  3234.            You will  only be  allowed to  insert  lines  up  to  the
  3235.            maximum number  of lines  allowed, set  by  the  MAXLINES
  3236.            statement in  CONFIG.NED.  In  this  situation  NED  will
  3237.            restore as  many lines from scrap as it can, then display
  3238.            the message:
  3239.  
  3240.                 number lines ONLY copied from Scrap
  3241.  
  3242.            If there  is not  enough memory  available to restore the
  3243.            entire scrap  buffer, NED will restore as much as it can.
  3244.            If there  is no  memory  available,  NED  will  beep  and
  3245.            display the message:
  3246.  
  3247.                 Insufficient Memory !
  3248.  
  3249.            
  3250.            NED v1.6x User's Guide                           Page  60
  3251.  
  3252.            SHIFT F2                                      Delete line
  3253.  
  3254.            This key  deletes (or cuts) the current line to the scrap
  3255.            buffer. Whatever  was previously  in the  scrap buffer is
  3256.            lost.
  3257.  
  3258.            You may append lines to the scrap buffer with consecutive
  3259.            SHIFT F2  strokes as  long as  no other key is pressed in
  3260.            between. In  this way you can cut an entire block of text
  3261.            to scrap.  If you  have deleted  all lines  in a file NED
  3262.            will insert  one blank line at the beginning of the file.
  3263.  
  3264.            When a  line  is  cut  to  scrap,  NED  will  display  an
  3265.            abbreviation of  the deleted  text to the right of line 3
  3266.            in the system window.
  3267.  
  3268.            CTRL F2                                     Restore above
  3269.  
  3270.            This key  is the same as F2 except that scrap is inserted
  3271.            above the  current line instead of below it. If the scrap
  3272.            is intra-line,  NED will  insert the  text at  the cursor
  3273.            column in the previous line. If the cursor column is past
  3274.            the end of the previous line, NED will append the text to
  3275.            the previous  line. If the cursor is on the first line of
  3276.            the file, NED will beep, and not insert the scrap.
  3277.  
  3278.            F3                                              Join line
  3279.  
  3280.            This key  joins the  next line  to the end of the current
  3281.            line. If  the length  of both  lines is  greater than 256
  3282.            characters, NED  will join  as much  of the  next line as
  3283.            possible, leaving  the remainder on the next line. If the
  3284.            cursor is  located within  the original  line, the joined
  3285.            line will  be appended  to the  current line. If, however
  3286.            the cursor  is off  the end  of the current line the next
  3287.            line will be joined at the cursor position. If you are on
  3288.            the last line of the file, NED will beep.
  3289.  
  3290.            SHIFT F3                                       Split line
  3291.  
  3292.            This key  splits the current line at the cursor position.
  3293.            All characters  from the  cursor to  the end  of the line
  3294.            will form  a new  line under  the current line. After the
  3295.            line is  split, the  cursor remains in the same position.
  3296.  
  3297.            This key  has the  same effect  as CTRL M except that the
  3298.            cursor remains at the end of the old line.
  3299.  
  3300.            CTRL F3                                         Copy line
  3301.  
  3302.            This key  copies the  current line  to the  scrap buffer.
  3303.            This key has the same effect as the following keys:
  3304.  
  3305.                 <Shift F2><Up><F2><Down>
  3306.  
  3307.            F4                                             Block mode
  3308.  
  3309.            This key  enters Block mode. You may also exit Block mode
  3310.            
  3311.            NED v1.6x User's Guide                           Page  61
  3312.  
  3313.            with this key. See section 5.4 for details on Block mode.
  3314.  
  3315.            SHIFT F4                                        DOS shell
  3316.  
  3317.            This key  invokes a  DOS shell.  NED  is  suspended,  the
  3318.            screen is cleared and you are handed over to DOS. You may
  3319.            then enter any DOS commands. To return to NED type 'exit'
  3320.            at the  DOS prompt  and  NED  will  be  restored  to  its
  3321.            previous state.
  3322.  
  3323.            A single  block of  at least 64Kb of contiguous memory is
  3324.            required to  invoke the  shell. If  there isn't  a  block
  3325.            large enough, NED will display the message:
  3326.  
  3327.                 Insufficient memory !
  3328.  
  3329.            Remember that you will also need some memory to run other
  3330.            programs. When  out in  the shell  be careful not to load
  3331.            any program  that may  effect what  is already in memory,
  3332.            especially a  memory resident  program (TSR).  If for any
  3333.            reason the  system memory  is corrupted you may lose your
  3334.            edits, therefore  it is  a good  idea to save the file(s)
  3335.            you are working on before you shell.
  3336.  
  3337.            CTRL F4                                Save configuration
  3338.  
  3339.            This key  instructs NED  to write the current environment
  3340.            settings  to   the  file   CONFIG.NED,  in   the  current
  3341.            directory. This function is useful for firstly creating a
  3342.            new CONFIG.NED  file and secondly to save a special setup
  3343.            you may  require. All parameters described in section 5.3
  3344.            are  included   in  the   file.  Two  options  are  worth
  3345.            mentioning. These are:
  3346.  
  3347.                 FILE=filename
  3348.                 GOTO=line,column
  3349.  
  3350.            In the  first statement,  NED  will  insert  the  current
  3351.            area's filename. In the second statement, NED will insert
  3352.            the current  cursor line  and column. When completed, NED
  3353.            will display the message:
  3354.  
  3355.                 CONFIG.NED written to disk
  3356.  
  3357.            F5                                            Brace match
  3358.  
  3359.            This key  attempts  to  find  a  matching  brace,  square
  3360.            bracket, angle bracket or parentheses. The cursor must be
  3361.            over one  of these  characters. If the cursor is not over
  3362.            one of  these characters,  NED will  beep and display the
  3363.            message:
  3364.  
  3365.                 Cursor must point to {([«<!?¿¡>»])}
  3366.  
  3367.            NED will try to match across the entire file as follows:
  3368.  
  3369.                 [  to match  ]
  3370.                 <  to match  >
  3371.            
  3372.            NED v1.6x User's Guide                           Page  62
  3373.  
  3374.                 {  to match  }
  3375.                 (  to match  )
  3376.  
  3377.            If the  character is  an opener  (left column  above) NED
  3378.            will search downwards, otherwise NED will search upwards.
  3379.  
  3380.            If a match is not found NED will display the message:
  3381.  
  3382.                 Match Not Found !
  3383.  
  3384.            If a  match is  found, NED  will move  the cursor  to the
  3385.            matching character.
  3386.  
  3387.            This function is particularly useful for checking complex
  3388.            bracketed expressions  in programs.  For example  in  the
  3389.            following expression,  you may  wish to  check that  each
  3390.            opening parentheses has a matching close:
  3391.  
  3392.                 if ((ln[j]=alloc_line(strlen(buf[i])))==(char*)0)
  3393.  
  3394.            SHIFT F5                                           Redraw
  3395.  
  3396.            This key redraws the screen, positioning the current line
  3397.            in the middle of the Edit window.
  3398.  
  3399.            CTRL F5                                       Freeze/thaw
  3400.  
  3401.            This key  freezes the screen from the current line to the
  3402.            bottom of  the Edit  window. You  may continue editing in
  3403.            the unfrozen top part of the window. You cannot leave any
  3404.            less than five lines unfrozen. If you attempt to do this,
  3405.            NED will beep.
  3406.  
  3407.            A bold  double ruled  line will  appear to  separate  the
  3408.            frozen from  the unfrozen  areas. To  unfreeze (thaw) the
  3409.            screen press  CTRL F5  again. PGUP  and PGDN  will scroll
  3410.            through the  file one line less than the unfrozen window.
  3411.  
  3412.            You may  freeze the screen in one area, change to another
  3413.            and  continue   editing.  This  function  is  useful  for
  3414.            displaying two  separate files  or two  parts of the same
  3415.            file together.
  3416.  
  3417.            F6                                           ASCII tables
  3418.  
  3419.            This key invokes the ASCII tables. This is a small window
  3420.            that displays 32 characters of the ASCII character set at
  3421.            a time.
  3422.  
  3423.            The table displays each character in decimal, hexadecimal
  3424.            and ASCII. For example:
  3425.  
  3426.                    DEC  HEX  CHR
  3427.                    42   2A   *
  3428.  
  3429.            You may  use the  UP or DOWN arrows, HOME and END to move
  3430.            through the  pages. Press  ESC to return to your file. If
  3431.            you are  on the first page of the tables, the F1 key will
  3432.            
  3433.            NED v1.6x User's Guide                           Page  63
  3434.  
  3435.            toggle between  character names  and character  literals.
  3436.  
  3437.            NCAL.EXE must  be either  in the  current directory or on
  3438.            the PATH.  There must  also be  at least  50Kb of  memory
  3439.            available to  use the  tables. If  there is  insufficient
  3440.            memory, NED will display the message:
  3441.  
  3442.                 Can't load Help File
  3443.  
  3444.            SHIFT F6                                       Calculator
  3445.  
  3446.            This key  invokes the  calculator. This is a small window
  3447.            not unlike  a conventional  hand held  model. It uses the
  3448.            standard  'infix'   method  of   operand/operator/operand
  3449.            notation (e.g 2 + 3).
  3450.  
  3451.            The calculator provides floating point arithmetic to four
  3452.            decimal places.  All the normal functions of a calculator
  3453.            are provided  in both hexadecimal and decimal format. Use
  3454.            the space bar to toggle between these two modes. When you
  3455.            toggle between  modes the currently displayed number will
  3456.            be converted accordingly.
  3457.  
  3458.            NED automatically  selects NUM-LOCK  allowing  you to use
  3459.            the numeric keypad for number entry. To enter hexadecimal
  3460.            A to  F use  CTRL A  to F. If you miskey a number you can
  3461.            backspace (BS)  over it  and re-type  or press  'e' to re
  3462.            enter the whole number. Use 'c' to clear all operands and
  3463.            operators.
  3464.  
  3465.            If the number calculated is too large to be displayed the
  3466.            calculator will show the message:
  3467.  
  3468.                 Overflow
  3469.  
  3470.            When you  have finished press ESC to return to your file.
  3471.  
  3472.            Some of  the special  functions provided  include OR (|),
  3473.            AND (&) and XOR (x). For example:
  3474.  
  3475.                 A3F | 100 <Enter>
  3476.  
  3477.            will produce the result:
  3478.  
  3479.                 B3F
  3480.  
  3481.            NCAL.EXE must  be either  in the  current directory or on
  3482.            the PATH.  There must  also be  at least  50Kb of  memory
  3483.            available to use the calculator. If there is insufficient
  3484.            memory, NED will display the message:
  3485.  
  3486.                 Can't load Help File
  3487.  
  3488.            CTRL F6                        Toggle background printing
  3489.  
  3490.            This key  toggles background printing on or off. NED will
  3491.            display either of the following messages:
  3492.  
  3493.            
  3494.            NED v1.6x User's Guide                           Page  64
  3495.  
  3496.                 Spooler on
  3497.                 Spooler off
  3498.  
  3499.            If the spooler is active, NED will display the message:
  3500.  
  3501.                 Background is busy
  3502.  
  3503.            You cannot  turn  background  off  when  the  spooler  is
  3504.            active. See the VSPOOL command in section 5.1 for details
  3505.            on controlling the spooler once it is active.
  3506.  
  3507.            F7                                           Record macro
  3508.  
  3509.            This key  tells NED  to begin recording a keyboard macro.
  3510.            When you press F7, NED will beep and display the message:
  3511.  
  3512.                 Enter Target Key (ALT F1-20)
  3513.  
  3514.            Enter a key between ALT F1-20 (ALT F11-20 = ALT SHIFT F1-
  3515.            10) to assign the macro to. As you record your macro, NED
  3516.            will display  the number  of keystrokes you have pressed,
  3517.            in the message area.
  3518.  
  3519.            When you  have finished  press F7 again to end recording.
  3520.            NED then displays the message:
  3521.  
  3522.                 End Record (macrokey)
  3523.  
  3524.            You may  record up  to 128 keystrokes per macro. NED will
  3525.            beep at  the 127th  keystroke. If  you continue  to enter
  3526.            keys, NED  will overwrite  the 128th key. See section 4.4
  3527.            and the MACRO command in section 5.1 for more information
  3528.            on using macros.
  3529.  
  3530.            SHIFT F7                                     Macro report
  3531.  
  3532.            This  key   displays  the   Macro  Report   screen  which
  3533.            summarizes the  current macro  file (if  one exists)  and
  3534.            then displays:
  3535.  
  3536.                 Key  Description    Number of Keystrokes
  3537.  
  3538.            for each  of the  twenty keys.  If the  macro key  is not
  3539.            assigned "(free)"  will appear  in the description column
  3540.            in the  normal attribute.  Macros that have been recorded
  3541.            but not  named will display "(untitled)". Used macro keys
  3542.            will be  displayed in  bold. Press  any key  to return to
  3543.            your file.
  3544.  
  3545.            CTRL F7                                             Strip
  3546.  
  3547.            This key toggles the strip flag on or off. When this flag
  3548.            is  on   (default)  trailing  whitespace  characters  are
  3549.            stripped off  each line  of the file as it is saved. When
  3550.            this flag is off this process is suppressed.
  3551.  
  3552.            F8                                            Search down
  3553.  
  3554.            
  3555.            NED v1.6x User's Guide                           Page  65
  3556.  
  3557.            This  key   begins  searching  down  for  the  expression
  3558.            previously entered with the SPECIFY command. If no search
  3559.            expression exists,  NED will  beep. If  no match is found
  3560.            NED displays the message:
  3561.  
  3562.                 (Pattern) not Found
  3563.  
  3564.            If a  matching pattern  is found  the cursor is placed at
  3565.            the beginning of the pattern and it is displayed in bold.
  3566.            You may continue searching down by pressing F8 again.
  3567.  
  3568.            SHIFT F8                                        Search up
  3569.  
  3570.            This key  has exactly  the same  function as  the F8  key
  3571.            except that  it searches  up from the cursor position for
  3572.            the search expression.
  3573.  
  3574.            CTRL F8                                   Search from top
  3575.  
  3576.            This key  has exactly  the same  function as  the F8  key
  3577.            except that it searches down from the top of the file for
  3578.            the  search  expression.  This  is  a  shortcut  for  the
  3579.            following keystrokes:
  3580.  
  3581.                 <Ctrl Shift Home><F8>
  3582.  
  3583.            If the pattern is not found the cursor will remain at the
  3584.            beginning of the first line.
  3585.  
  3586.            F9                                              Goto mark
  3587.  
  3588.            This key  takes the  cursor to the line and column of the
  3589.            marker and displays the line in bold. If no mark has been
  3590.            set in the current area, NED displays the message:
  3591.  
  3592.                 Mark Not Found !
  3593.  
  3594.            You must have previously marked the line with SHIFT F9.
  3595.  
  3596.            SHIFT F9                                  Set/remove mark
  3597.  
  3598.            This key  sets a  mark at  the current line and column of
  3599.            the cursor. The line is displayed in bold and will remain
  3600.            so until  the mark is removed by pressing SHIFT F9 again.
  3601.            When a mark is set, NED displays the message:
  3602.  
  3603.                 Mark set
  3604.  
  3605.            and:
  3606.  
  3607.                 Mark removed
  3608.  
  3609.            when a  mark is  removed. Each of the  ten areas can have
  3610.            its own marker.
  3611.  
  3612.            CTRL F9                                        Auto-entab
  3613.  
  3614.            This key  flips the  auto-entab flag on or off. This flag
  3615.            
  3616.            NED v1.6x User's Guide                           Page  66
  3617.  
  3618.            tells NED  whether to  automatically entab a file when it
  3619.            is written to disk. NED displays the message:
  3620.  
  3621.                 Auto-entab on/off
  3622.  
  3623.            when this key is pressed. See the NTAB command in section
  3624.            5.1 for  further details  and section  5.3 for details on
  3625.            the ENTAB statement in CONFIG.NED.
  3626.  
  3627.            F10                                         Status screen
  3628.  
  3629.            This key  displays the Status screen. See section 3.5 for
  3630.            a description  of this screen. Press any key to return to
  3631.            your file.
  3632.  
  3633.            You may  change areas  by moving  the current  area arrow
  3634.            with the UP or DOWN keys or by entering the number of the
  3635.            area you  wish to  change to.  If you  choose an unopened
  3636.            area you will be returned to your original file.  SHIFT
  3637.  
  3638.            F10                                             Save file
  3639.  
  3640.            This key  writes the  current  file  to  disk.  It  is  a
  3641.            shortcut for the following keystrokes:
  3642.  
  3643.                 <Esc>W<Enter><Esc>
  3644.  
  3645.            CTRL F10                                       Auto-detab
  3646.  
  3647.            This key  flips the  auto-detab flag on or off. This flag
  3648.            tells NED  whether to  automatically detab a file when it
  3649.            is read from disk. NED displays the message:
  3650.  
  3651.                 Auto-detab on/off
  3652.  
  3653.            when this key is pressed.
  3654.  
  3655.            See the  DETAB command in section 5.1 for further details
  3656.            and section  5.3 for  details on  the DETAB  statement in
  3657.            CONFIG.NED.
  3658.  
  3659.            ALT A                                       Goto column 1
  3660.  
  3661.            This key moves the cursor to the first column of the Edit
  3662.            window. If the FIRSTCOL statement in CONFIG.NED is set to
  3663.            '0' this  will be  displayed as  '0' otherwise it will be
  3664.            displayed as '1' in the System window.
  3665.  
  3666.            ALT B                                      Erase to start
  3667.  
  3668.            This key blanks the line from the current cursor position
  3669.            to the beginning of the line.
  3670.  
  3671.            ALT C                                      Centre justify
  3672.  
  3673.            This key  centre justifies  the current line. If the line
  3674.            is less  than or  equal to  80 characters in length it is
  3675.            centred over  80 characters. If it is longer, the line is
  3676.            
  3677.            NED v1.6x User's Guide                           Page  67
  3678.  
  3679.            centred over 256 characters. If word wrap is on, NED will
  3680.            centre the  current line  using the  right hand margin if
  3681.            possible.
  3682.  
  3683.            ALT D                                        Erase to end
  3684.  
  3685.            This key erases the line from the current cursor position
  3686.            to the  end of  the line. This key has the same effect in
  3687.            Command mode.
  3688.  
  3689.            ALT E                                          End window
  3690.  
  3691.            This key moves the cursor to the right most column of the
  3692.            Edit window.
  3693.  
  3694.            ALT F                                          Field copy
  3695.  
  3696.            This key  copies one  character from  the line above (the
  3697.            source line)  at  the  current  cursor  position  on  the
  3698.            current line  (the target  line) and moves the cursor one
  3699.            space to  the right.  SHIFT ALT F does the same except it
  3700.            copies a  character from the line below. If insert is on,
  3701.            the copied  character is  inserted into  the current line
  3702.            and no  more than  256 characters  will be allowed on the
  3703.            target line. NED will beep if you attempt to insert more.
  3704.  
  3705.            Characters will  not be  copied off the end of the source
  3706.            line. If  you are on the first line of the file and press
  3707.            ALT F,  NED will  beep similarly  if you  are on the last
  3708.            line and  press SHIFT  ALT F  NED  will  also  beep.  For
  3709.            example, with the source line:
  3710.  
  3711.                 The rain in Spain
  3712.  
  3713.            if the cursor is placed on the next line under the 'S' in
  3714.            'Spain' and  ALT F is pressed five times, the result will
  3715.            be:
  3716.  
  3717.                 The rain in Spain
  3718.                             Spain
  3719.  
  3720.            ALT G                                      Line case flip
  3721.  
  3722.            This key  flips the  case of the current line. ALT G also
  3723.            works in  conjunction with the left and right SHIFT keys.
  3724.  
  3725.            LEFT SHIFT  ALT G  will only flip lowercase letters RIGHT
  3726.            SHIFT ALT G will only flip uppercase letters. For example
  3727.            if you press ALT G on the following line:
  3728.  
  3729.                 The Rain In Spain
  3730.  
  3731.            it will become:
  3732.  
  3733.                 tHE rAIN iN sPAIN
  3734.  
  3735.            If you press LEFT SHIFT ALT G it will become:
  3736.  
  3737.            
  3738.            NED v1.6x User's Guide                           Page  68
  3739.  
  3740.                 THE RAIN IN SPAIN
  3741.  
  3742.            If you press RIGHT SHIFT ALT G it will become:
  3743.  
  3744.                 the rain in spain
  3745.  
  3746.            ALT H                              Insert Filename string
  3747.  
  3748.            This key  inserts the  current filename  into the current
  3749.            line at  the cursor  position. If  the cursor is past the
  3750.            end of the line, the filename will be appended to the end
  3751.            of the  line. The  string format  will be the same as the
  3752.            area's filename in the first line of the System window.
  3753.  
  3754.            ALT I                                         Auto-indent
  3755.  
  3756.            This key  flips the Auto-indent flag on or off. This flag
  3757.            tells NED  whether to  indent the  cursor under the first
  3758.            non whitespace  character of  the previous  line when you
  3759.            press ENTER.
  3760.  
  3761.            The status  of this flag is shown on line 1 of the system
  3762.            window (I)  being bold  if on.  The default  is off. This
  3763.            flag  can  also  be  set  with  AUTOINDENT  statement  in
  3764.            CONFIG.NED, see section 5.3 for details.
  3765.  
  3766.            ALT K                                          Erase line
  3767.  
  3768.            This key  blanks the  current line.  This should  not  be
  3769.            confused with SHIFT F2 which removes the current line.
  3770.  
  3771.            ALT L                                        Left justify
  3772.  
  3773.            This key  left justifies  the current  line, removing all
  3774.            leading whitespaces.
  3775.  
  3776.            ALT M                                 Character case flip
  3777.  
  3778.            This key flips the case of the character under the cursor
  3779.            (e.g. 'm'  to 'M'  or 'M'  to 'm'). LEFT SHIFT ALT M will
  3780.            only flip  lower case  letters and RIGHT SHIFT ALT M will
  3781.            only flip  upper case  letters. After  the character  has
  3782.            been flipped the cursor is moved one space to the right.
  3783.  
  3784.            ALT N                                     Start next line
  3785.  
  3786.            This key moves the cursor to the first column of the next
  3787.            line.
  3788.  
  3789.            ALT O                                        First column
  3790.  
  3791.            This key flips the first column flag on or off. This flag
  3792.            tells NED  whether the  first column is to be referred to
  3793.            as '1' or '0'.
  3794.  
  3795.            Note that  changes made  to this  flag will  be reflected
  3796.            anywhere that  NED uses  column numbers, for example with
  3797.            the GOTO  command and the ruler. The default is off. This
  3798.            
  3799.            NED v1.6x User's Guide                           Page  69
  3800.  
  3801.            flag  can   also  be   set  with  FIRSTCOL  statement  in
  3802.            CONFIG.NED, see section 5.3 for details.
  3803.  
  3804.            ALT P                                 Start previous line
  3805.  
  3806.            This key  moves the  cursor to  the first  column of  the
  3807.            previous line.
  3808.  
  3809.            ALT Q                                Delete previous word
  3810.  
  3811.            This key  deletes the previous word (the word to the left
  3812.            of the  cursor). The  text to  the right of the cursor is
  3813.            dragged to  the left  accordingly. This key has no effect
  3814.            if you are on the first column of the line.
  3815.  
  3816.            A word  is defined  as a character or group of characters
  3817.            surrounded by  one or  more interword delimiters. See the
  3818.            INTERWORD command in section 5.1 for more details.
  3819.  
  3820.            ALT R                                       Right justify
  3821.  
  3822.            This key right justifies the current line. If the line is
  3823.            less than  or equal  to 80  characters in  length, it  is
  3824.            justified over  80 characters.  If it is longer, the line
  3825.            is justified over 256 characters. If word wrap is on, NED
  3826.            will right  justify the current line using the right hand
  3827.            margin if possible.
  3828.  
  3829.            ALT S                                        Start window
  3830.  
  3831.            This key  moves the cursor to the left most column of the
  3832.            Edit window.
  3833.  
  3834.            ALT T                                            Hard-tab
  3835.  
  3836.            This key  flips the  hard-tab flag  on or  off. This flag
  3837.            tells NED  whether to  treat the  TAB  key  as  a  cursor
  3838.            movement key  when off,  or to insert hard tab characters
  3839.            into the  file if  on. The  default setting  is off. This
  3840.            flag  can   also  be   set  with   HARDTAB  statement  in
  3841.            CONFIG.NED, see section 5.3 for details.
  3842.  
  3843.            ALT U                                                Undo
  3844.  
  3845.            This key  will undo  edits made within a line. This means
  3846.            that the  line is  restored to  its original state before
  3847.            you changed it.
  3848.  
  3849.            You may  restore the  changes you  have made  to the line
  3850.            before you  first pressed  ALT U by pressing ALT U again.
  3851.            There are  certain situations  where ALT  U will  have no
  3852.            effect on  the current  line. Firstly,  changes made to a
  3853.            line cannot  be undone  once you  move to  another  line.
  3854.            Secondly,  certain  functions  reset  the  line  so  that
  3855.            further edits  only may  be undone.  These functions  are
  3856.            split and  join line  entry of  the Block  Mode entry  of
  3857.            Command  mode   entry  of  Status  screen  shell  to  DOS
  3858.            calculator ASCII tables and the Help system.
  3859.            
  3860.            NED v1.6x User's Guide                           Page  70
  3861.  
  3862.  
  3863.            ALT V                                           Word wrap
  3864.  
  3865.            This key  toggles word  wrap on  or off.  When on and the
  3866.            cursor is  moved past  the right hand margin, if the next
  3867.            character entered is an interword delimiter NED will open
  3868.            up a  new line.  If  the  character  entered  is  not  an
  3869.            interword delimiter,  NED will  split  the  line  at  the
  3870.            beginning of the previous word. If a previous word cannot
  3871.            be found the character will be added to the current line.
  3872.  
  3873.            If you  insert text  into a  line, NED will not wrap text
  3874.            that is moved past the right hand margin until the cursor
  3875.            passes the  margin itself. The cursor remains in the same
  3876.            relative position  to the  text wrapped  to the new line.
  3877.  
  3878.            The status  of this flag is shown on line 1 of the system
  3879.            window (W)  being bold if on. The default setting is off.
  3880.  
  3881.            This flag  can also be set with the WORDWRAP statement in
  3882.            CONFIG.NED, see  section 5.3 for details. See section 3.4
  3883.            for details on using word wrap.
  3884.  
  3885.            ALT W                                    Delete next word
  3886.  
  3887.            This key  deletes the next word (the word to the right of
  3888.            the cursor). The text to the right of the deleted word is
  3889.            dragged to  the left  accordingly. A word is defined as a
  3890.            character or  group of  characters surrounded  by one  or
  3891.            more interword  delimiters. See  the INTERWORD command in
  3892.            section 5.1 for more details.
  3893.  
  3894.            ALT Y                             Insert Date/Time string
  3895.  
  3896.            This key  inserts the  current date  and  time  into  the
  3897.            current line  at the  cursor position.  If the  cursor is
  3898.            past the  end of  the line,  the date/time string will be
  3899.            appended to  the current  line. The  string  format  will
  3900.            conform to  the DATEFMT statement in CONFIG.NED. Assuming
  3901.            the date  format 'dmy/',  the string  will appear  in the
  3902.            format:
  3903.  
  3904.                 dayname dd/mm/yyyy  hh:mm {am|pm}
  3905.  
  3906.            for example:
  3907.  
  3908.                 Thursday 18/05/1989  3:03 pm
  3909.  
  3910.            The string is derived from the system clock.
  3911.  
  3912.            ALT Z                                          Column 256
  3913.  
  3914.            This key  takes the cursor to column 256. If the FIRSTCOL
  3915.            statement in  CONFIG.NED is  set  to  '0'  this  will  be
  3916.            displayed as  '255' otherwise  it will  be  displayed  as
  3917.            '256' in the System window.
  3918.  
  3919.            ALT -                                                Snow
  3920.            
  3921.            NED v1.6x User's Guide                           Page  71
  3922.  
  3923.  
  3924.            This key  is for  computers with CGA video adapters. With
  3925.            these adapters,  during a horizontal or vertical retrace,
  3926.            contention between  the processor and the screen produces
  3927.            an unsightly  snow or  flickering on  the screen. Because
  3928.            NED writes  directly to  the video  adapter the ALT - key
  3929.            will  synchronize   screen  writing   with  the   retrace
  3930.            interval. This produces a slightly slower display but one
  3931.            that is a lot clearer.
  3932.  
  3933.            With MDA,  HERCULES, EGA  or VGA  adapters this  is not a
  3934.            problem and  you should  therefore ignore it. This option
  3935.            can also  be set  with the  SNOW statement in CONFIG.NED,
  3936.            see section 5.3 for details.
  3937.  
  3938.            ALT =                                    43/50 line modes
  3939.  
  3940.            This option  is for  EGA and  VGA displays only. This key
  3941.            toggles between  25 and  43/50 line  display modes.  This
  3942.            option can  also  be  set  with  the  MODE  statement  in
  3943.            CONFIG.NED. See section 5.3 for details.
  3944.  
  3945.            
  3946.  
  3947.            ALT SPACE BAR                        Turn ruler on or off
  3948.  
  3949.            This key  turns the ruler display off or on. When on, the
  3950.            ruler is  displayed on  the second  line  of  the  System
  3951.            window when  the cursor  is in the Edit window. The ruler
  3952.            defaults to on. When you enter Command mode, the ruler is
  3953.            always cleared.  You can  set whether  the ruler is on or
  3954.            off when  NED is  loaded  with  the  RULER  statement  in
  3955.            CONFIG.NED, see section 5.3 for details.
  3956.  
  3957.            CTRL 2/CTRL @                                        Quit
  3958.  
  3959.            This key  allow you to quit NED. It is a shortcut for the
  3960.            
  3961.            NED v1.6x User's Guide                           Page  72
  3962.  
  3963.            following keystrokes:
  3964.  
  3965.                 <Esc>Q<Enter>
  3966.  
  3967.            Depending on  the type  of keyboard you use, one of these
  3968.            keys will  work. See  section 5.1 for details on the QUIT
  3969.            command.
  3970.  
  3971.            CTRL ESC                                      Hard Escape
  3972.  
  3973.            This key  allows you  to insert  an escape character (chr
  3974.            27) into your file.
  3975.  
  3976.            CTRL M                                   Split line enter
  3977.  
  3978.            When word  wrap is  off, this key splits the current line
  3979.            at the cursor position. All characters from the cursor to
  3980.            the end  of the  line will  form a  new  line  under  the
  3981.            current line.
  3982.  
  3983.            After the  line is  split, the  cursor is  moved  to  the
  3984.            beginning of  the new  line. If  word  wrap  is  on,  the
  3985.            functions of CTRL M and ENTER are reversed.
  3986.  
  3987.  
  3988.            
  3989.            NED v1.6x User's Guide                           Page  73
  3990.  
  3991.            *********************************************************
  3992.            NED v1.6x User's Guide
  3993.            Section 5.3    Configuration Reference
  3994.  
  3995.            Introduction
  3996.            This section  describes all  the statements  that may  be
  3997.            used in  the start  up file  CONFIG.NED. These statements
  3998.            are used to configure NED to your requirements.
  3999.  
  4000.  
  4001.            AUTOINDENT
  4002.            Syntax: AUTOINDENT={ON|OFF}
  4003.  
  4004.            This statement sets whether Auto-indent is on or off when
  4005.            NED is  loaded. If  this statement  is  not  included  in
  4006.            CONFIG.NED, Auto-  indent defaults  to off. See the ALT I
  4007.            function in section 5.2 for further details.
  4008.  
  4009.  
  4010.            BACKUP
  4011.            Syntax: BACKUP=directory
  4012.  
  4013.            This  statement   sets  the   backup  directory.  If  the
  4014.            directory does  not exist  NED will  prompt you to create
  4015.            it. If  this statement  is not included in CONFIG.NED and
  4016.            the BACKUP command is not issued, backups will be written
  4017.            to the  current directory.  See  the  BACKUP  command  in
  4018.            section 5.1 for further details.
  4019.  
  4020.  
  4021.            COLOUR
  4022.            Syntax: COLOUR=fore,back[,fore,back]
  4023.  
  4024.            This statement allows you set the default colours used by
  4025.            NED. The  first two  parameters are  the  foreground  and
  4026.            background of  the Edit  window.  These  values  must  be
  4027.            numbers between  0 and 7. The third and fourth parameters
  4028.            are optional  and allow  you to  set the  foreground  and
  4029.            background colours  of the System window. For example the
  4030.            following statement:
  4031.  
  4032.                 COLOUR=7,1,0,7
  4033.  
  4034.            will set  white text  on a  blue background  in the  Edit
  4035.            window, and  black text  on a  white  background  in  the
  4036.            System window.  Note that  this statement  will not  work
  4037.            with a  monochrome adapter  (MDA or  HERCULES).  Monitors
  4038.            that are  not colour  but display  shades  of  grey  will
  4039.            respond to  this statement.  If  this  statement  is  not
  4040.            included in CONFIG.NED, NED will default to the following
  4041.            settings:
  4042.  
  4043.                 COLOUR=7,0,0,7
  4044.  
  4045.            See section 4.9 for a table of the colour numbers.
  4046.  
  4047.  
  4048.            DATEFMT
  4049.            
  4050.            NED v1.6x User's Guide                           Page  74
  4051.  
  4052.            Syntax: DATEFMT=formatstring
  4053.  
  4054.            This statement  allows you  to specify  the format of the
  4055.            date string  displayed in  the Status screen, insert date
  4056.            function and  in File  Display mode.  The formatstring is
  4057.            made of  four characters.  The first  three  specify  the
  4058.            order of day, month and year the last character specifies
  4059.            the separator.
  4060.  
  4061.                Symbol    Meaning
  4062.  
  4063.                D         Day
  4064.                M         Month
  4065.                Y         Year
  4066.                char      Separator character
  4067.  
  4068.            If this  statement is not included in CONFIG.NED, DATEFMT
  4069.            will default to the following:
  4070.  
  4071.                 DATEFMT=DMY/
  4072.  
  4073.            which  will  display  the  date  as  Day/Month/Year.  The
  4074.            following example will set the date to American format:
  4075.  
  4076.                 DATEFMT=MDY-
  4077.  
  4078.  
  4079.            DETAB
  4080.            Syntax: DETAB={ON|OFF}
  4081.  
  4082.            This statement  sets the  auto-detab flag on or off. When
  4083.            this feature  is on, NED automatically replaces hard-tabs
  4084.            with spaces when a file is read. If this statement is not
  4085.            included in  CONFIG.NED, DETAB  will default  to off. See
  4086.            the DETAB command in section 5.1 for further details.
  4087.  
  4088.  
  4089.            ENTAB
  4090.            Syntax: ENTAB={ON|OFF}
  4091.  
  4092.            This statement  sets the  auto-entab flag on or off. When
  4093.            this feature  is on,  NED automatically  replaces  spaces
  4094.            with hard  tabs when  a file  is written to disk. If this
  4095.            statement is  not  included  in  CONFIG.NED,  ENTAB  will
  4096.            default to  off. See  the NTAB command in section 5.1 for
  4097.            further details.
  4098.  
  4099.  
  4100.            FILE
  4101.            Syntax: FILE=pathname
  4102.  
  4103.            This statement specifies a file that will be loaded if no
  4104.            pathname or  File List  is specified  on the  DOS command
  4105.            line. This is useful if you are only working on one file.
  4106.  
  4107.            Saving CONFIG.NED  with CTRL  F4 will  assign the current
  4108.            filename to  this statement.  See section 5.2 for details
  4109.            on the CTRL F4 function.
  4110.            
  4111.            NED v1.6x User's Guide                           Page  75
  4112.  
  4113.  
  4114.            If this  statement is  not included  in CONFIG.NED and no
  4115.            pathname or File List is specified NED will return you to
  4116.            DOS with the following message:
  4117.  
  4118.                 err!:  no file to edit
  4119.                 usage: NED <filename|wildcard|@filename> <...>
  4120.  
  4121.  
  4122.            FIRSTCOL
  4123.            Syntax: FIRSTCOL={1|0}
  4124.  
  4125.            This statement  allows you to determine whether the first
  4126.            column of  a line  is displayed  as '0'  or '1'.  If this
  4127.            statement is  not included  in CONFIG.NED,  FIRSTCOL will
  4128.            default to column 1.
  4129.  
  4130.            This statement  is useful  for writing  screen layouts in
  4131.            languages where the first screen column is referred to as
  4132.            '0'. The  first column may be toggled with the ALT O key.
  4133.            See section 5.2 for details.
  4134.  
  4135.  
  4136.            GOTO
  4137.            Syntax: GOTO=line[,column]
  4138.  
  4139.            This statement  tells NED  to place  the  cursor  at  the
  4140.            specified line and optional column of the first file that
  4141.            is loaded.  This is  useful  if  you  are  working  on  a
  4142.            particular line  in a  large file.  Saving the CONFIG.NED
  4143.            with using  CTRL F4  will assign  the  current  line  and
  4144.            column to  this  statement.  If  this  statement  is  not
  4145.            included in  CONFIG.NED, GOTO  will default  to the first
  4146.            line and  column of the file. See section 5.1 for details
  4147.            on the  GOTO command.  Note that  if  you  have  set  the
  4148.            FIRSTCOL parameter  to '0',  and the  following statement
  4149.            appeared in CONFIG.NED:
  4150.  
  4151.                GOTO=1,1
  4152.  
  4153.            then the  cursor will  be placed  at the second column of
  4154.            line 1.
  4155.  
  4156.  
  4157.            HARDTAB
  4158.            Syntax: HARDTAB={ON|OFF}
  4159.  
  4160.            This statement  presets the hard-tab flag on or off. When
  4161.            this flag  is on  the TAB key inserts tab characters into
  4162.            the  file.   If  this   statement  is   not  included  in
  4163.            CONFIG.NED, HARDTAB  will default  to off.  See the ALT T
  4164.            function in section 5.2 for further details.
  4165.  
  4166.  
  4167.            INSERT
  4168.            Syntax: INSERT={ON|OFF}
  4169.  
  4170.            This statement  sets insert  on or  off. If it is on, NED
  4171.            
  4172.            NED v1.6x User's Guide                           Page  76
  4173.  
  4174.            will be in insert mode upon loading. If this statement is
  4175.            not included  in CONFIG.NED, NED will default to overtype
  4176.            mode. See section 5.2 for details on the INS key.
  4177.  
  4178.  
  4179.            INTENSITY
  4180.            Syntax: INTENSITY=boldcolour[,boldcolour]
  4181.  
  4182.            This statement allows you to set the bold colours used by
  4183.            NED. The  first parameter  sets the  bold  for  the  Edit
  4184.            window, the second optionally sets the bold attribute for
  4185.            the System  window. The  value of  boldcolour should be a
  4186.            number between  0 and  15. The  bold attribute is used to
  4187.            highlight  important   information  in   many  of   NED's
  4188.            functions such  as displaying  search finds  or showing a
  4189.            marker. The following example:
  4190.  
  4191.                 INTENSITY=12,15
  4192.  
  4193.            will set  the Edit  window intensity  to bold red and the
  4194.            System window  intensity to bold white. If this statement
  4195.            is not  included in CONFIG.NED, INTENSITY will default to
  4196.            the following settings:
  4197.  
  4198.                 INTENSITY=15,15
  4199.  
  4200.  
  4201.            INTERWORD
  4202.            Syntax: INTERWORD=char0[,char1...charN]
  4203.  
  4204.            This statement  presets the  interword delimiter  set. To
  4205.            include a space in the set you must embed it within other
  4206.            characters.  If   this  statement   is  not  included  in
  4207.            CONFIG.NED,  INTERWORD  will  default  to  a  space.  See
  4208.            section 5.1  for details  on the  INTERWORD command.  The
  4209.            following example:
  4210.  
  4211.                 INTERWORD=; ,:
  4212.  
  4213.            will set  the interword  delimiter set to a semi-colon, a
  4214.            space, a comma and a colon.
  4215.  
  4216.  
  4217.            MACROS
  4218.            Syntax: MACROS=macrofile
  4219.  
  4220.            This statement  tells NED  to load a predefined macrofile
  4221.            when starting  up. The  default extension is .MCR, so the
  4222.            extension need  not be  given. You  can  specify  a  full
  4223.            pathname for  the  macrofile.  See  the  USE  command  in
  4224.            section 5.1 for further details.
  4225.  
  4226.  
  4227.            LAYOUT
  4228.            Syntax: LAYOUT=length,topmargin,bottommargin[,leftmargin]
  4229.  
  4230.            This statement  sets the  print page  dimensions. If this
  4231.            statement is  not included  in  CONFIG.NED,  LAYOUT  will
  4232.            
  4233.            NED v1.6x User's Guide                           Page  77
  4234.  
  4235.            default to the following:
  4236.  
  4237.                 LAYOUT=66,3,3,0
  4238.  
  4239.            which sets  the page  length to  66 lines,  the  top  and
  4240.            bottom margins  to 3  lines and  the  left  margin  to  0
  4241.            characters. See  the YLAYOUT  command in  section 5.1 for
  4242.            details on page layouts.
  4243.  
  4244.  
  4245.            MAXLINES
  4246.            Syntax: MAXLINES=number
  4247.  
  4248.            This statement  sets the  maximum number  of lines a file
  4249.            may have.  This number  must be  between 1  and 10240. If
  4250.            this statement  is not  included in  CONFIG.NED, MAXLINES
  4251.            will default to 5120.
  4252.  
  4253.            If you  are only  working on small files say no more than
  4254.            1000 lines then the statement:
  4255.  
  4256.                 MAXLINES=1200
  4257.  
  4258.            will give  a considerable memory saving over the default.
  4259.            This is because all open areas are allocated room for the
  4260.            maximum number  of lines.  You can decrease the number of
  4261.            lines if  you find you are running out of memory. You can
  4262.            increase the  number of  lines if you wish to work on one
  4263.            large file.
  4264.  
  4265.  
  4266.            MODE
  4267.            Syntax: MODE={CGA|EGA|EGA43|HERC|MDA|VGA}
  4268.  
  4269.            This statement  tells NED  what type  of monitor  you are
  4270.            using. NED  determines whether  you are using an EGA, CGA
  4271.            or MDA monitor when loading. If, however, you are using a
  4272.            Hercules or a compatible monitor, MODE must be set to:
  4273.  
  4274.                MODE=HERC
  4275.  
  4276.            If you  have an EGA or VGA or compatible monitor, you may
  4277.            instruct NED  to load up in either 43 or 50 line modes by
  4278.            specifying one of the following statements:
  4279.  
  4280.                 MODE=EGA
  4281.                 MODE=EGA43
  4282.                 MODE=VGA
  4283.                 MODE=VGA50
  4284.  
  4285.            If this  statement is not included in CONFIG.NED, and NED
  4286.            cannot determine  the monitor  type, MODE will default to
  4287.            CGA.
  4288.  
  4289.  
  4290.            RULER
  4291.            Syntax: RULER={ON|OFF}
  4292.  
  4293.            
  4294.            NED v1.6x User's Guide                           Page  78
  4295.  
  4296.            This statement  tells NED  whether to  display the  ruler
  4297.            when NED  is loaded. ALT SPACE BAR also toggles the ruler
  4298.            on  or   off.  If  this  statement  is  not  included  in
  4299.            CONFIG.NED, the ruler will default to on. See section 2.2
  4300.            for details on the ruler.
  4301.  
  4302.  
  4303.            SNOW
  4304.            Syntax: SNOW={ON|OFF}
  4305.  
  4306.            This statement sets the display speed to synchronised for
  4307.            CGA or  fast for  MDA, HERC,  EGA and  VGA. When set off,
  4308.            screen writing  is synchronised with the retrace interval
  4309.            thus avoiding  SNOW on  the CGA. If this statement is not
  4310.            included in  CONFIG.NED, and you have a CGA monitor, SNOW
  4311.            will default  to off,  otherwise SNOW will default to on.
  4312.            See section 5.2 for details on the ALT - function.
  4313.  
  4314.  
  4315.            SORT
  4316.            Syntax: SORT={DIR|EXT|FILE|TIME|SIZE}
  4317.  
  4318.            This  statement  sets  the  type  of  sort  used  in  the
  4319.            directory window  of  the  File  Display  mode.  If  this
  4320.            statement  is  not  included  in  CONFIG.NED,  SORT  will
  4321.            default to DIR. See section 4.3 and 5.5 for more details.
  4322.  
  4323.  
  4324.            SPOOL
  4325.            Syntax: SPOOL={0|1}[,timeslice]
  4326.  
  4327.            This  statement  controls  NED's  print  while  you  work
  4328.            spooler. If  you specify '1' all printing will be sent to
  4329.            the  spooler  in  background.  If  you  specify  '0'  all
  4330.            printing will  be in  foreground. The  optional timeslice
  4331.            parameter  allows  you  to  adjust  the  amount  of  time
  4332.            allocated to  the foreground  (your keyboard usage). This
  4333.            value can be between 1 and 8192. The default timeslice is
  4334.            128. The  larger the  timeslice, the  less time  will  be
  4335.            allocated to  printing. If this statement is not included
  4336.            in CONFIG.NED, SPOOL will default to the following:
  4337.  
  4338.                 SPOOL=0,128
  4339.  
  4340.  
  4341.            STRIP
  4342.            Syntax: STRIP={ON|OFF}
  4343.  
  4344.            This statement  presets the  strip flag  on or  off. When
  4345.            this flag  is  on,  trailing  whitespace  characters  are
  4346.            stripped from the end of each line as the file is written
  4347.            to disk.  You may for some reason desire to have trailing
  4348.            whitespace characters preserved when the file is written.
  4349.            In this  case set  the flag  to off. If this statement is
  4350.            not included in CONFIG.NED, STRIP will default to on.
  4351.  
  4352.  
  4353.            TABSET
  4354.            
  4355.            NED v1.6x User's Guide                           Page  79
  4356.  
  4357.            Syntax: TABSET=column1[,column2...,columnN]
  4358.  
  4359.            This statement  sets the  tabstop template  to the values
  4360.            given. If you specify only one column parameter, tabs are
  4361.            set to  a width  of column-1  for the entire template. If
  4362.            more  than   one  column   is  given,  tabstops  are  set
  4363.            accordingly. The  difference between the last two columns
  4364.            is used  to set the remaining tabstops. If this statement
  4365.            is not included in CONFIG.NED, TABSET will default to the
  4366.            following:
  4367.  
  4368.                 TABSET=5
  4369.  
  4370.            See  the  TABSET  command  in  section  5.1  for  further
  4371.            details.
  4372.  
  4373.  
  4374.            WORDWRAP
  4375.            Syntax: WORDWRAP={0|1}[,rightmargin]
  4376.  
  4377.            This statement  controls NED's  word wrap  system. If you
  4378.            specify '1',  NED will start up with word wrap on. If you
  4379.            specify  '0'   word  wrap   will  be  off.  The  optional
  4380.            rightmargin parameter  allows you  to set  the right hand
  4381.            margin used with word wrap centre and right justify. This
  4382.            value can  be between 1 and 256. If this statement is not
  4383.            included in  CONFIG.NED, WORDWRAP  will  default  to  the
  4384.            following:
  4385.  
  4386.                 WORDWRAP=0,65
  4387.  
  4388.  
  4389.            
  4390.            NED v1.6x User's Guide                           Page  80
  4391.  
  4392.            *********************************************************
  4393.            NED v1.6x User's Guide
  4394.            Section 5.4    Block Mode Reference
  4395.  
  4396.            Introduction
  4397.            This section describes the keys that can be used in Block
  4398.            Mode described in section 3.4 above. Some keys compliment
  4399.            normal functions  keys that  operate on individual lines.
  4400.  
  4401.            UP/DOWN ARROWS  Previous/next line  These keys enlarge or
  4402.            shrink the  block over  the previous or next line. If you
  4403.            press UP  or DOWN on the first and last lines of the file
  4404.            respectively, NED will beep.
  4405.  
  4406.            PGUP/PGDN                              Previous/next page
  4407.  
  4408.            These keys  enlarge or shrink the block over the previous
  4409.            or next  page. These  keys will  have no  effect  at  the
  4410.            beginning or end of the file.
  4411.  
  4412.            CTRL HOME/CTRL END                     Top/bottom of file
  4413.  
  4414.            These keys  enlarge or shrink the block to the top or the
  4415.            bottom of the file.
  4416.  
  4417.            LEFT/RIGHT ARROWS                 Previous/next character
  4418.  
  4419.            These keys  work with intra-line blocks only. They expand
  4420.            or shrink the block to the previous or next character.
  4421.  
  4422.            CTRL LEFT/CTRL RIGHT                   Previous/next word
  4423.  
  4424.            These keys  work with intra-line blocks only. They expand
  4425.            or shrink the block to the previous or next word.
  4426.  
  4427.            HOME/END                                Start/end of line
  4428.  
  4429.            These keys work with intra-line blocks only. The HOME key
  4430.            expands the  block from  the cursor position to the start
  4431.            of the  line. The  END key  expands the  block  from  the
  4432.            cursor position  to the  end of  the line. If the current
  4433.            cursor position  is to the right of the starting position
  4434.            of the  cursor when you entered Block Mode (anchor point)
  4435.            and you  press HOME, the block will be resized so that it
  4436.            is bound by the new cursor position and the anchor point.
  4437.            The reverse applies for the END key.
  4438.  
  4439.            INS or +                                    Copy to scrap
  4440.  
  4441.            This key  copies the  block  to  the  scrap  buffer.  The
  4442.            original contents  of the  scrap buffer  is lost.  If the
  4443.            block was inter-line, NED displays the message:
  4444.  
  4445.                number lines copied to scrap
  4446.  
  4447.            After the block has been copied, you are returned to edit
  4448.            mode.
  4449.  
  4450.            
  4451.            NED v1.6x User's Guide                           Page  81
  4452.  
  4453.            DEL or -                                     Cut to scrap
  4454.  
  4455.            This key  cuts (deletes)  the block  to the scrap buffer.
  4456.            The original contents of the scrap buffer is lost. If the
  4457.            block was inter-line, NED displays the message:
  4458.  
  4459.                number lines cut to scrap
  4460.  
  4461.            After the  block has  been cut,  you are returned to edit
  4462.            mode.
  4463.  
  4464.            C                                          Centre justify
  4465.  
  4466.            This key centre justifies the block. Each line is centred
  4467.            separately. If  a line  is  less  than  or  equal  to  80
  4468.            characters in length it is centred over 80 characters. If
  4469.            it is longer, the line is centred over 256 characters. If
  4470.            word wrap  is on,  NED will  centre each  line using  the
  4471.            right hand margin if possible.
  4472.  
  4473.            L                                            Left justify
  4474.  
  4475.            This key left justifies the block. Each line is justified
  4476.            separately.
  4477.  
  4478.            R                                           Right justify
  4479.  
  4480.            This  key   right  justifies  the  block.  Each  line  is
  4481.            justified separately.  If a line is less than or equal to
  4482.            80  characters   in  length   it  is  justified  over  80
  4483.            characters. If  it is  longer, the line is justified over
  4484.            256 characters. If word wrap is on, NED will justify each
  4485.            line using the right hand margin if possible.
  4486.  
  4487.            S                                   Copy to search string
  4488.  
  4489.            This key works with intra-line blocks only. It copies the
  4490.            block to the search string. The original search string is
  4491.            lost. You  are returned  to edit  mode where you can then
  4492.            press
  4493.  
  4494.                F8/SHIFT F8/CTRL F8
  4495.  
  4496.            to begin searching. This  is a  short cut for the SPECIFY
  4497.            command.
  4498.  
  4499.            *                           Copy to last parameter string
  4500.  
  4501.            This key works with intra-line blocks only. It copies the
  4502.            block to  the last  Command mode  parameter  string.  The
  4503.            original last  parameter string is lost. You are returned
  4504.            to edit  mode where you can then enter Command mode (ESC)
  4505.            and press  F3  to  retrieve  the  string  for  your  next
  4506.            command.
  4507.  
  4508.            TAB/SHIFT TAB             Move block left/right a tabstop
  4509.  
  4510.            These keys  work with  inter-line blocks  only. They move
  4511.            
  4512.            NED v1.6x User's Guide                           Page  82
  4513.  
  4514.            the block  right or left one tabstop. The actual distance
  4515.            moved depends  on the  proximity  of  the  block  to  the
  4516.            nearest tabstop.
  4517.  
  4518.            If in  moving the  text, the line under or over flows, it
  4519.            will be  clipped or truncated accordingly. Therefore take
  4520.            care when  using SHIFT TAB as you cannot undo these keys.
  4521.            Once you  are satisfied  with the  position of the block,
  4522.            press ESC  to return to editing or issue one of the other
  4523.            Block Mode commands.
  4524.  
  4525.            SPACE BAR/BS                Move block left/right a space
  4526.  
  4527.            These keys  work with  inter-line blocks  only. They move
  4528.            the block  left or  right one  column. If  in moving  the
  4529.            text, the line under or over flows, it will be clipped or
  4530.            truncated accordingly.  Therefore take  care  when  using
  4531.            backspace as  you cannot  undo these  keys. Once  you are
  4532.            satisfied with  the position  of the  block, press ESC to
  4533.            return to  editing or  issue one  of the other Block Mode
  4534.            commands.
  4535.  
  4536.            F4                                  Enter/exit block mode
  4537.  
  4538.            F4 enters  or exits Block Mode. If you have only selected
  4539.            a block, pressing F4 will return you to edit mode with no
  4540.            changes. The  cursor will  be left  at the  start of  the
  4541.            block.
  4542.  
  4543.            ESC                                       Exit block mode
  4544.  
  4545.            ESC exits  block mode. If you have only selected a block,
  4546.            pressing ESC  will  return  you  to  edit  mode  with  no
  4547.            changes. The cursor will remain at the end of the block.
  4548.  
  4549.  
  4550.  
  4551.            
  4552.            NED v1.6x User's Guide                           Page  83
  4553.  
  4554.            *********************************************************
  4555.            NED v1.6x User's Guide
  4556.            Section 5.5    File Display Reference
  4557.  
  4558.            Introduction
  4559.            This section  describes the  keys available  in the  File
  4560.            Display mode.  This mode  can be used with the OPEN, USE,
  4561.            BACKUP, WRITE  and END commands. See section 4.3 for more
  4562.            details on using File Display mode.
  4563.  
  4564.            UP/DOWN ARROWS                         Previous/next file
  4565.  
  4566.            These keys  move the  selection bar  up or down in either
  4567.            the directory  window or  the File  List. Either  screens
  4568.            will scroll up or down if there are more entries than can
  4569.            be displayed in the current window.
  4570.  
  4571.            HOME/END                                  First/last file
  4572.  
  4573.            The  HOME/END   key  moves   the  selection  bar  to  the
  4574.            first/last entry  in either  the directory  window or the
  4575.            File List.
  4576.  
  4577.            PGUP/PGDN                              Previous/next page
  4578.  
  4579.            These keys  scroll the  directory  window  or  File  List
  4580.            window up or down one page.
  4581.  
  4582.            CTRL LEFT/CTRL RIGHT                   Previous/next file
  4583.  
  4584.            These keys move the selection bar to the previous or next
  4585.            entry in the directory window only.
  4586.  
  4587.            LEFT/RIGHT ARROWS                      Previous/next line
  4588.  
  4589.            These keys move the selection bar left or right one entry
  4590.            on the current line of directory window only.
  4591.  
  4592.            TAB                                     Move to File List
  4593.  
  4594.            This key  moves the  selection bar  between the directory
  4595.            window and  the File List. If there are no entries in the
  4596.            File List you will remain in the directory window.
  4597.  
  4598.            INSERT (INS)                            Copy file to list
  4599.  
  4600.            This key  works in  the directory  window only. It copies
  4601.            the currently selected entry to the end of the File List.
  4602.            If the  entry is a '.' or a '\' then all the entries from
  4603.            the directory are copied to the end of the File List.
  4604.  
  4605.            DELETE (DEL)                        Delete file from list
  4606.  
  4607.            This key  works in  the File  List only.  It deletes  the
  4608.            currently selected  entry. If it is the only entry in the
  4609.            list you will be moved over to the directory window.
  4610.  
  4611.            CTRL K                                        Delete list
  4612.            
  4613.            NED v1.6x User's Guide                           Page  84
  4614.  
  4615.  
  4616.            This key  works in the File List only. It deletes all the
  4617.            entries in  the list.  You will then be moved over to the
  4618.            directory window.
  4619.  
  4620.            CTRL F4                                        Write list
  4621.  
  4622.            This key  works in  the File  List only.  It  writes  the
  4623.            current File List to FILES.NED.
  4624.  
  4625.            ENTER                                         Select file
  4626.  
  4627.            This key  returns the  currently selected  file from  the
  4628.            directory window  or the  File List to which ever command
  4629.            was used  to enter File Display mode. This is most likely
  4630.            to be  a file to open with the OPEN command. If the entry
  4631.            is a  subdirectory or  a drive  (in the directory window)
  4632.            then NED  will change  to  the  drive  or  directory  and
  4633.            display its  contents. When  using File  Display with the
  4634.            BACKUP command,  only drives  and subdirectory  names are
  4635.            displayed. To  return a  directory to  the BACKUP command
  4636.            use CTRL ENTER.
  4637.  
  4638.            ESCAPE                                  Exit file display
  4639.  
  4640.            This key  aborts File Display mode and returns you to the
  4641.            command area.
  4642.  
  4643.            ALT D,T,F,S,X                              Sort directory
  4644.  
  4645.            These keys  sort the  entries in  the directory window as
  4646.            follows:
  4647.  
  4648.                D    Directory order
  4649.                F    Alphabetically
  4650.                S    File size
  4651.                T    Time/date
  4652.                X    Extension
  4653.  
  4654.            NED remembers  the  sort  used  when  you  re-enter  File
  4655.            Display mode.  The  default  sort  type  can  be  set  in
  4656.            CONFIG.NED with  the SORT  statement. See section 5.3 for
  4657.            details.
  4658.  
  4659.  
  4660.  
  4661.            
  4662.            NED v1.6x User's Guide                           Page  85
  4663.  
  4664.            *********************************************************
  4665.            NED v1.6x User's Guide
  4666.            Section 5.6    Regular Expression Reference
  4667.  
  4668.            Introduction
  4669.            This section  describes the  Regular Expression  Language
  4670.            used with  the SPECIFY  command. See section 5.1 for more
  4671.            details on this command. Regular expressions are a way of
  4672.            representing text  patterns in  a symbolic shorthand. The
  4673.            symbols used  to define  these expressions fall into five
  4674.            categories:
  4675.  
  4676.            Symbols that match a specific character
  4677.            Symbols that match any character
  4678.            Symbols that match a character's position on the line
  4679.            Symbols that match any of a set of characters or anything
  4680.            except a set of characters
  4681.            Symbols that let you match the previous symbol any number
  4682.            of times
  4683.  
  4684.            An expression  may be  made up of any or all of the above
  4685.            categories.
  4686.  
  4687.            CARAT (^)                                      Start line
  4688.  
  4689.            This symbol  matches any text at the beginning of a line.
  4690.            For example:
  4691.  
  4692.                 ^cat
  4693.  
  4694.            will match  the string "cat" only if it is located at the
  4695.            beginning of a line so that:
  4696.  
  4697.                 the cat
  4698.  
  4699.            would not be matched.
  4700.  
  4701.            DOLLAR ($)                                       End line
  4702.  
  4703.            This symbol  matches any  text at  the end of a line. For
  4704.            example:
  4705.  
  4706.                 cat$
  4707.  
  4708.            will match  the string "cat" only if it is located at the
  4709.            end of a line so that:
  4710.  
  4711.                 cat nap
  4712.  
  4713.            would not be matched.
  4714.  
  4715.            PERIOD (.)                                  Any character
  4716.  
  4717.            This symbol  matches any  one character.  Generally  this
  4718.            symbol by  itself will  always find  a match.  Its use is
  4719.            usually as a placeholder. For example:
  4720.  
  4721.                 c.t
  4722.            
  4723.            NED v1.6x User's Guide                           Page  86
  4724.  
  4725.  
  4726.            will match:
  4727.  
  4728.                 cat, cot, cut
  4729.  
  4730.            but will not match:
  4731.  
  4732.                 coot, coat or couch etc.
  4733.  
  4734.            ASTERISK (*)                        Match last expression
  4735.  
  4736.            This symbol matches zero or more matches of the preceding
  4737.            expression. For example:
  4738.  
  4739.                 c.*t
  4740.  
  4741.            will match:
  4742.  
  4743.                 cat, coat, chart, compliment
  4744.  
  4745.            Here the  preceding expression  is the  period. Therefore
  4746.            NED searches for any word starting with 'c' and ending in
  4747.            't'.
  4748.  
  4749.            SQUARE BRACKETS ([])                      Character class
  4750.  
  4751.            The square brackets define a set of characters known as a
  4752.            character class.  NED will  then match  any character  in
  4753.            that  set.   Character  classes   are  usually   used  in
  4754.            conjunction with other language elements. For example:
  4755.  
  4756.                 c[aou]t
  4757.  
  4758.            will match:
  4759.  
  4760.                 cat, cot, cut
  4761.  
  4762.            but will not match:
  4763.  
  4764.                 cet, cit, cyt
  4765.  
  4766.            If the  first character  in the  brackets is  a carat (^)
  4767.            then  patterns  with  characters  not  appearing  in  the
  4768.            brackets will be searched for. For example:
  4769.  
  4770.                 c[^aou]t
  4771.  
  4772.            will not match:
  4773.  
  4774.                 cat, cot, cut
  4775.  
  4776.            but will match:
  4777.  
  4778.                 cit, cet, cft, czt
  4779.  
  4780.            The brackets  may also  be used  to specify ASCII ordered
  4781.            ranges by specifying the beginning and end of the range.
  4782.            For example:
  4783.            
  4784.            NED v1.6x User's Guide                           Page  87
  4785.  
  4786.  
  4787.                 c[a-z][A-Z]t
  4788.  
  4789.            matches any upper or lower case letter so that:
  4790.  
  4791.                 cat,cIt,crt,cGt
  4792.  
  4793.            will all be matched.
  4794.  
  4795.            SPECIAL CHARACTERS
  4796.  
  4797.            The regular  expression language allows you to search for
  4798.            the following special characters:
  4799.  
  4800.                 \t   tab
  4801.                 \s   space
  4802.                 \b   backspace
  4803.  
  4804.            The backslash  tells NED  that the character that follows
  4805.            is to  be treated  literally except  with the above three
  4806.            characters. Therefore  to search  for characters  used in
  4807.            the language, prefix them with the backslash as follows:
  4808.  
  4809.                 \\   backslash
  4810.                 \*   asterisk
  4811.                 \.   period
  4812.                 \^   carat
  4813.                 \[   left bracket
  4814.                 \]   right bracket
  4815.                 \$   dollar
  4816.  
  4817.            for example:
  4818.  
  4819.                 if\snot\s\[\*2\]
  4820.  
  4821.            will match:
  4822.  
  4823.                 if not [*2]
  4824.  
  4825.            EXAMPLES
  4826.  
  4827.            You can  form many  expressions using  the language. Here
  4828.            are a few examples:
  4829.  
  4830.                 [a-z][a-z]*ism
  4831.  
  4832.            Matches any  'ism' word e.g. 'prism'. In this example you
  4833.            must repeat  the character  class range twice to match it
  4834.            any number of times.
  4835.  
  4836.                 /\*.*\*/
  4837.  
  4838.            Matches any  comment line in a C program, for example: /*
  4839.            this is a comment */
  4840.  
  4841.            will be matched.
  4842.  
  4843.                 ^[\s\t]*REM.*$
  4844.            
  4845.            NED v1.6x User's Guide                           Page  88
  4846.  
  4847.  
  4848.            Matches any comment line in a BASIC program.
  4849.            The following expression:
  4850.  
  4851.                 ^[a-z][a-z]*[\s\t]*.*([^;]*)[^;]*$
  4852.  
  4853.            will find  any C function declaration with function body.
  4854.            The expression  searches for  beginning  of  a  line  (^)
  4855.            followed by  one or  more occurrences of any character in
  4856.            the range a to z ([a-z][a-z]*) followed by either a space
  4857.            or a  tab repeated zero or more times ([\s\t]*), followed
  4858.            by any  character  repeated  zero  or  more  times  (.*),
  4859.            followed by  an open  parenthesis  (()  followed  by  any
  4860.            character except a semi-colon repeated zero or more times
  4861.            ([^;]*), followed by a close parenthesis ()), followed by
  4862.            any character  except a  semi-colon repeated zero or more
  4863.            times ([^;]*)  followed  by  an  end  of  line  ($).  For
  4864.            example, the above expression would match:
  4865.  
  4866.                 WINDOW *get_window(int start,int finish,char *store)
  4867.  
  4868.            but not match:
  4869.  
  4870.                 WINDOW *get_window (int, int, char *);
  4871.  
  4872.            The above  example only  matches 'C'  function bodies and
  4873.            not function  prototypes. It  is useful  for compiling  a
  4874.            cross-reference of  all of  the functions in a module. As
  4875.            you can  see expressions  can  be  very  complicated  yet
  4876.            extremely powerful filters can be created.
  4877.  
  4878.  
  4879.  
  4880.            
  4881.            NED v1.6x User's Guide                           Page  89
  4882.  
  4883.            *********************************************************
  4884.            NED v1.6x User's Guide
  4885.            Section 5.7    Printer Command Reference
  4886.  
  4887.            Introduction
  4888.            This  section  outlines  the  embedded  printer  commands
  4889.            described in  sections 4.5 and 5.1. The syntax of a print
  4890.            command line is as follows:
  4891.  
  4892.                .prncmd[.prncmd]...
  4893.  
  4894.            A print  command line  must  begin  with  a  period  '.',
  4895.            followed by  the command.  You may  issue more  than  one
  4896.            print command  on each  line by  separating each  command
  4897.            with a period.
  4898.  
  4899.            BOLDFACE
  4900.            Commands: bf, bo
  4901.  
  4902.            These  commands  instruct  the  printer  to  switch  bold
  4903.            printing on  or off.  'bf' will turn bold printing on and
  4904.            'bo' will turn it off.
  4905.  
  4906.            IGNORE PAPER OUT
  4907.            Commands: pf, po
  4908.  
  4909.            These commands  instruct the printer to ignore or respond
  4910.            to the  paper out  sensor. 'pf'  will tell the printer to
  4911.            ignore the  paper out  sensor  and  'po'  will  tell  the
  4912.            printer to respond to it.
  4913.  
  4914.            ENHANCED
  4915.            Commands: hf, ho
  4916.  
  4917.            These commands  instruct the  printer to  switch enhanced
  4918.            printing on  or off.  'hf' will turn enhanced printing on
  4919.            and 'ho' will turn it off.
  4920.  
  4921.            SUPERSCRIPT
  4922.            Commands: su, so
  4923.  
  4924.            These commands instruct the printer to switch superscript
  4925.            printing on  or off.  'su' will turn superscript printing
  4926.            on and 'so' will turn it off.
  4927.  
  4928.            SUBSCRIPT
  4929.            Commands: sb, so
  4930.  
  4931.            These commands  instruct the  printer to switch subscript
  4932.            printing on  or off. 'sb' will turn subscript printing on
  4933.            and 'so' will turn it off.
  4934.  
  4935.            FORM FEED
  4936.            Commands: ff, fo
  4937.  
  4938.            The 'ff' command instructs the printer not to send a form
  4939.            feed when  it has  finished printing.  'fo'  enables  the
  4940.            sending of  a form feed when finished printing. Note that
  4941.            
  4942.            NED v1.6x User's Guide                           Page  90
  4943.  
  4944.            issuing a  'fo' command  after a 'ff' command in the same
  4945.            file will  have no  effect. Where  this is  useful is  to
  4946.            concatenate two  print files  together.  Issue  the  'ff'
  4947.            command in the first file and 'fo' in the second.
  4948.  
  4949.            UNDERLINE
  4950.            Commands: ul, uo
  4951.  
  4952.            These commands  instruct the  printer to switch underline
  4953.            printing on  or off. 'ul' will turn underline printing on
  4954.            and 'uo' will turn it off.
  4955.  
  4956.            ELONGATED
  4957.            Commands: lf, lo
  4958.  
  4959.            These commands  instruct the  printer to switch elongated
  4960.            printing on  or off. 'lf' will turn elongated printing on
  4961.            and 'lo' will turn it off.
  4962.  
  4963.            CONDENSED
  4964.            Commands: cf, co
  4965.  
  4966.            These commands  instruct the  printer to switch condensed
  4967.            printing on  or off. 'cf' will turn condensed printing on
  4968.            and 'co' will turn it off.
  4969.  
  4970.            LINES PER INCH
  4971.            Commands: ia, ib, io
  4972.  
  4973.            These commands  instruct the  printer to  change the line
  4974.            spacing. 'ia'  sets line  spacing to  1/8 inch. 'ib' sets
  4975.            line spacing  to 7/72  inch (often 13/120). 'io' sets the
  4976.            line spacing to 1/6 inch which is usually the default.
  4977.  
  4978.            ESCAPE SEQUENCES
  4979.            Command: esequence
  4980.  
  4981.            This command  allows you  to send escape sequences to the
  4982.            printer. It  must be  either the only or the last command
  4983.            on a  print command  line. When  NED recognizes an escape
  4984.            sequence command  it  sends  an  escape  character  (1Bh)
  4985.            followed by the remaining characters on the line.
  4986.  
  4987.                .e@
  4988.  
  4989.            resets an Epson FX type printer
  4990.  
  4991.                .e50
  4992.  
  4993.            enables auto line feed on an IBM graphics printer.
  4994.  
  4995.            EXAMPLES
  4996.  
  4997.            The following is an example of using the printer
  4998.            commands.
  4999.  
  5000.                .bf.hf.ul
  5001.                The Rain In Spain
  5002.            
  5003.            NED v1.6x User's Guide                           Page  91
  5004.  
  5005.                .uo
  5006.                Stays mainly on the Plain.
  5007.                .bo.ho.e@
  5008.  
  5009.            The above sets bold on, enhanced on and underline on then
  5010.            prints 'The  Rain...'. It  then turns  underline off  and
  5011.            prints  'Stays   mainly...'.  It  then  turns  bold  off,
  5012.            enhanced off and resets the printer.
  5013.  
  5014.            INLINE PRINTER COMMANDS
  5015.  
  5016.            You can  insert your  own printer  commands directly into
  5017.            your file  by using  CTRL ESC  and Shift  In (chr 14) and
  5018.            Shift Out (chr 15). For example:
  5019.  
  5020.                The rain in <Ctrl Esc>GSpain<Ctrl Esc>H stays mainly
  5021.                on the plain.
  5022.  
  5023.            When printed on an Epson FX, will appear as:
  5024.  
  5025.                The rain in Spain stays mainly on the plain.
  5026.  
  5027.            On an  HP LaserJet,  Shift In  and Shift  Out select  the
  5028.            primary and secondary fonts respectively. For example, if
  5029.            the primary  font is  Courier and  the secondary  font is
  5030.            Courier bold the following line:
  5031.  
  5032.                The rain in <Alt 15>Spain<Alt 14> stays mainly on
  5033.                the plain.
  5034.  
  5035.            When printed on an HP LaserJet, will appear as:
  5036.  
  5037.                The rain in Spain stays mainly on the plain.
  5038.  
  5039.            In this  example, to  generate the Shift In and Shift Out
  5040.            characters, hold  down the  ALT key  and type 14 or 15 on
  5041.            the numeric keypad.
  5042.  
  5043.  
  5044.  
  5045.            
  5046.            NED v1.6x User's Guide                           Page  92
  5047.  
  5048.            *********************************************************
  5049.            NED v1.6x User's Guide
  5050.            Chapter 6. Tutorials
  5051.  
  5052.            6.1 Introduction
  5053.            These tutorials are designed to assist you to become more
  5054.            familiar with  NED. They introduce the main skills needed
  5055.            to operate NED effectively.
  5056.  
  5057.            You should have read Chapter 1 before you start here. You
  5058.            may find  it useful  to read  Chapters 2  and 3  prior to
  5059.            starting these tutorials to familiarize yourself with the
  5060.            range of  commands available.  It  is  assumed  you  have
  5061.            installed NED  correctly and  that the  system files  are
  5062.            either in  the current  directory or  on  the  PATH.  See
  5063.            section 1.2 for details on installing NED.
  5064.  
  5065.            In the  tutorials, special keys such as SHIFT F2 or ALT F
  5066.            will be  surrounded by  angle  brackets.  Characters  not
  5067.            surrounded by  angle brackets  should be typed literally.
  5068.            Also make  sure you press ENTER only when specified.
  5069.  
  5070.            6.2 Tutorial One - A DOS  menu system This  tutorial will
  5071.            guide you through the creation of a simple DOS batch menu
  5072.            system.  We   will  create  this  system  in  a  separate
  5073.            subdirectory so  as not  to interfere  with any  existing
  5074.            batch files.  Firstly enter  the following command at the
  5075.            DOS prompt:
  5076.  
  5077.                 md \nedtut<Enter>
  5078.  
  5079.            If the message:
  5080.  
  5081.                 Unable to create directory
  5082.  
  5083.            was displayed, then enter the following:
  5084.  
  5085.                 del \nedtut<Enter>
  5086.                 y<Enter>
  5087.  
  5088.            to remove  any  existing  files.  Regardless,  enter  the
  5089.            following command:
  5090.  
  5091.                 cd \nedtut<Enter>
  5092.  
  5093.            Creating the menu files
  5094.            Now at the DOS prompt enter the following command:
  5095.  
  5096.                 ned menu.bat menu.txt<Enter>
  5097.  
  5098.            As NED  loads it  will copy  the two  filenames from  the
  5099.            command line  to the  File List, then NED will attempt to
  5100.            open 'menu.bat'  (the first  file  in  the  list).  Since
  5101.            'menu.bat' does not exist, NED will prompt you to confirm
  5102.            its creation.  Press 'y'  to proceed.  NED  displays  the
  5103.            following message:
  5104.  
  5105.                 (new file)
  5106.            
  5107.            NED v1.6x User's Guide                           Page  93
  5108.  
  5109.  
  5110.            Now enter the following:
  5111.  
  5112.                 echop<Left><Del><space bar>off<Enter>
  5113.  
  5114.            The obvious  typing error  is  corrected  by  moving  the
  5115.            cursor left  with the LEFT arrow and pressing the DEL key
  5116.            to remove the 'p' in 'echop'. Now enter the following:
  5117.  
  5118.                 cls<Enter>
  5119.                 type \tut\menu.txt
  5120.  
  5121.            These lines  are the commands to display the menu screen,
  5122.            which you will create shortly. Note that the ENTER key is
  5123.            needed to  open up  a new blank line. Before we continue,
  5124.            there is  one more  error to correct. The pathname of the
  5125.            menu text  file should  be '\nedtut\menu.txt'. To correct
  5126.            it, press the following keys:
  5127.  
  5128.                 <Home><Ctrl Right><Right>
  5129.  
  5130.            which moves  the cursor  to the  beginning of  the  line,
  5131.            moves to  the second character of the next word. Next you
  5132.            need to ensure that you are in insert mode. If the cursor
  5133.            appears as  a quarter  block you are in overtype mode, so
  5134.            press INS to change to insert mode. If the cursor appears
  5135.            as a  half block you are already in insert mode. Now type
  5136.            the following to correct the pathname:
  5137.  
  5138.                 ned
  5139.  
  5140.            Now to save this file, enter the following:
  5141.  
  5142.                 <Esc>W<Enter>
  5143.  
  5144.            which takes  you into  Command mode  and issues the WRITE
  5145.            command. NED displays the message:
  5146.  
  5147.                 3 lines written
  5148.  
  5149.            the file  is left  open and you are left in Command mode.
  5150.            The next  step is  to create  the menu  screen. Type  the
  5151.            following:
  5152.  
  5153.                 O<Enter>
  5154.  
  5155.            As for  'menu.bat' above,  you will  have to  confirm the
  5156.            creation of  'menu.txt' by  pressing 'y'  when  prompted.
  5157.            Exit Command  mode and  return  to  the  Edit  window  by
  5158.            pressing the  ESC key.  You now  need to  ensure that the
  5159.            Auto-indent feature  is set on. The status of Auto-indent
  5160.            is displayed on the top line of the screen between memory
  5161.            free %  and the  line counter. If on, 'I' appears in bold
  5162.            attribute if  off, it  will be in normal attribute. Press
  5163.            ALT I  if it is off. Turn the CAPS LOCK on, the status of
  5164.            which is  displayed by the 'C' character in the same area
  5165.            as the Auto-indent flag. Now type the following:
  5166.  
  5167.            
  5168.            NED v1.6x User's Guide                           Page  94
  5169.  
  5170.                 S Y S T E M   M E N U<Alt C><Enter>
  5171.  
  5172.            Note that a space should be typed between each letter and
  5173.            three spaces between the two words. ALT C will centre the
  5174.            line, and ENTER will open a new line below.
  5175.  
  5176.            Next,  we  will  underline  the  menu  title.  Enter  the
  5177.            following:
  5178.  
  5179.                 <Esc>F=,21<Ctrl Enter>
  5180.  
  5181.            This instructs  NED  to  fill  from  the  current  cursor
  5182.            position with  21 '='  characters.  The  CTRL  ENTER  key
  5183.            returns you  directly to  the Edit  window. Insert  three
  5184.            blank lines by pressing ENTER three times, then enter the
  5185.            following line:
  5186.  
  5187.                 1 - DISPLAY DIRECTORY TREE<Alt C><Enter>
  5188.  
  5189.            As above,  this line  will be  centred  and  a  new  line
  5190.            opened. On the new line type the following:
  5191.  
  5192.                 2 -<Space bar>
  5193.  
  5194.            We have  inserted space  bar since  we  want  a  trailing
  5195.            space. Then  press ALT F seven times. Each time you press
  5196.            ALT F  a character  from the  line above is copied to the
  5197.            cursor position  and the  cursor is  moved to  the right.
  5198.            This saves  you from having to retype 'DISPLAY'. Now type
  5199.            the following:
  5200.  
  5201.                 <Space bar>CHKDSK INFO
  5202.  
  5203.            Then press:
  5204.  
  5205.                 <Ctrl F3><F2><Ctrl Right>
  5206.  
  5207.            which takes  a copy of the current line, inserts the copy
  5208.            below the  current line,  and then moves to the beginning
  5209.            of the first word on the new line.
  5210.  
  5211.            We will  now edit this new line to create your third menu
  5212.            option. Press  the INS  key to  change to  overtype mode,
  5213.            type '3'  to replace the '2' at the beginning of the line
  5214.            and press  CTRL RIGHT three times. This will position you
  5215.            at the beginning of the word 'CHKDSK'. Now press ALT D to
  5216.            delete the remainder of the line and then type:
  5217.  
  5218.                 DOS ENVIRONMENT<Enter><Enter><Enter>
  5219.  
  5220.            which will  complete the  third menu  option and  open up
  5221.            three blank  lines below.  Now type the menu instructions
  5222.            as follows:
  5223.  
  5224.                 ENTER THE NUMBER FOR THE OPTION YOU WANT
  5225.                 <Alt C><Enter>
  5226.                 OR ENTER "MENU" TO REDISPLAY THIS SCREEN
  5227.                 <Enter>
  5228.            
  5229.            NED v1.6x User's Guide                           Page  95
  5230.  
  5231.  
  5232.            This completes  the entry  of the  screen text,  which we
  5233.            will now finish formatting. Press the following:
  5234.  
  5235.                 <Ctrl Home><Down><Down><Down><Down><Enter>
  5236.  
  5237.            Which will  take you  to the  top of  the file,  move the
  5238.            cursor down  to the  first menu option and insert a blank
  5239.            line between the first and second menu options. Now press
  5240.            the following:
  5241.  
  5242.                 <Down><Enter><Down><Down><Down><Down>
  5243.  
  5244.            which inserts  a blank  line between the second and third
  5245.            menu  options   and  moves   the  cursor   to  the   menu
  5246.            instructions. Press the following keys:
  5247.  
  5248.                 <Alt G><Home><Alt M>
  5249.  
  5250.            to convert  the line  to lower case, move to the start of
  5251.            the line  and flip the case of the 'e' in 'enter' to 'E'.
  5252.            Now press:
  5253.  
  5254.                 <Down><Alt G><Ctrl Right><Ctrl Right><Right>
  5255.  
  5256.            which moves you to the second instruction line, flips its
  5257.            case and  moves the  cursor to  the 'm' of '"menu"'. Then
  5258.            press ALT M four times to change 'menu' to uppercase. The
  5259.            screen should now look like the following:
  5260.  
  5261.                             S Y S T E M   M E N U
  5262.                             =====================
  5263.  
  5264.  
  5265.                           1 - DISPLAY DIRECTORY TREE
  5266.                           2 - DISPLAY CHKDSK INFO
  5267.                           3 - DISPLAY DOS ENVIRONMENT
  5268.  
  5269.  
  5270.                     Enter the number for the option you want
  5271.                    or enter 'MENU' to redisplay this screen
  5272.  
  5273.            This finishes your menu screen. To save your work to disk
  5274.            press:
  5275.  
  5276.                 <Shift F10>
  5277.  
  5278.            This is  a  shortcut  for  the  WRITE  command  you  used
  5279.            earlier. NED should display the message:
  5280.  
  5281.                 14 lines written
  5282.  
  5283.            Creating the option files
  5284.            We now want to create a batch file for each option in the
  5285.            menu. To do this, press the following keys:
  5286.  
  5287.                 <Alt 1><Ctrl Home><F4><Down><Ins>
  5288.  
  5289.            
  5290.            NED v1.6x User's Guide                           Page  96
  5291.  
  5292.            This  changes  you  to  the  first  area  which  contains
  5293.            'menu.bat'. ALT  0 to  9 are  shortcut keys  to change to
  5294.            another area  and   'menu.bat' is  in area  1. This  then
  5295.            moves the  cursor to  the first  line, enters Block Mode,
  5296.            expands the  block to  cover the  first two  lines,  then
  5297.            copies the  block to  the scrap  buffer and  exits  Block
  5298.            Mode.
  5299.  
  5300.            Your first  option file  will be  called '1.bat'. Use the
  5301.            OPEN command to create it as follows:
  5302.  
  5303.                 <Esc>O1.bat<Enter>y<Esc>
  5304.  
  5305.            We will  use the contents of the scrap buffer to form the
  5306.            basis of the first option file. Press the following keys:
  5307.  
  5308.                 <F2><Shift F2>
  5309.  
  5310.            which inserts  a copy  of  the  scrap  buffer  below  the
  5311.            current  line   and   then   deletes   the   blank   line
  5312.            automatically inserted  by NED when the file was created.
  5313.  
  5314.            We now  want to  finish the  option file  by  adding  the
  5315.            command to display the DOS tree and then to redisplay the
  5316.            menu text. Press the following:
  5317.  
  5318.                 <Ctrl End><Enter><Caps Lock>
  5319.  
  5320.            to move  to the  end of  the file  and open a blank line,
  5321.            turn the Caps Lock off. Now type the following:
  5322.  
  5323.                 wis . | more<Enter>
  5324.                 menu
  5325.  
  5326.            We will  now use  this file  as the  basis of  '2.bat' by
  5327.            pressing the following:
  5328.  
  5329.                 <F4><Ctrl Home><Ins>
  5330.  
  5331.            To create  '2.bat' we  will use the same procedure as you
  5332.            used with '1.bat', by typing:
  5333.  
  5334.                 <Esc>O2.bat<Enter>y<Esc>
  5335.                 <F2><Shift F2>
  5336.  
  5337.            We now  want to  finish this option file by replacing the
  5338.            'wis'  command  with  the  'chkdsk'  command.  Press  the
  5339.            following:
  5340.  
  5341.                 <Down><Down><Alt K>
  5342.  
  5343.            These keys  move the  cursor to the third line and remove
  5344.            its contents. Now type:
  5345.  
  5346.                 chkdsk /f *.* | more
  5347.  
  5348.            As with  this the  last file, we will create the basis of
  5349.            '3.bat' with '2.bat'. Press the following:
  5350.            
  5351.            NED v1.6x User's Guide                           Page  97
  5352.  
  5353.  
  5354.                 <Ctrl Home><F4><Ctrl End><Ins>
  5355.                 <Esc>O3.bat<Enter>y<Esc>
  5356.                 <F2><Shift F2>
  5357.  
  5358.            To finish  this option  file we will replace the 'chkdsk'
  5359.            command with the 'set' command. Press the following:
  5360.  
  5361.                 <Down><Down><Alt K>set
  5362.  
  5363.            You now  have five open files. The Status screen helps to
  5364.            keep track  of open files. Press F10 to view this screen.
  5365.            Note that  the option  batch files have a flashing 'Y' in
  5366.            the 'Changes'  column.  The  Status  screen  should  look
  5367.            something like the following:
  5368.  
  5369.            Area File Name  Size Lines        Last Write      Changes
  5370.  
  5371.              1   MENU.BAT    39     3  20/07/1989 at 12:15         N
  5372.              2   MENU.TXT    406   14  20/07/1989 at 12:23         N
  5373.              3   1.BAT              5        (new file)            Y
  5374.              4   2.BAT              5        (new file)            Y
  5375.            > 5   3.BAT              5        (new file)            Y
  5376.              6   (area unopened)
  5377.              7   (area unopened)
  5378.              8   (area unopened)
  5379.              9   (area unopened)
  5380.              10  (area unopened)
  5381.  
  5382.            Press any  key to return to the current file. To save the
  5383.            files that  have changed,  use  the  LAUNDRY  command  as
  5384.            follows:
  5385.  
  5386.                 <Esc>L<Enter>
  5387.  
  5388.            You might  like to have another look at the Status screen
  5389.            to check  that  all  changed  files  have  been  written.
  5390.  
  5391.            Testing the menu system
  5392.            We now  want to test the menu system. To do this you will
  5393.            have to  return to  DOS. Since  we are already in Command
  5394.            mode, enter the following:
  5395.  
  5396.                 Q<Enter>
  5397.  
  5398.            Now at the DOS prompt type:
  5399.  
  5400.                 menu<Enter>
  5401.  
  5402.            which will display the menu text. To run the first option
  5403.            type:
  5404.  
  5405.                 1<enter>
  5406.  
  5407.            You  will  no  doubt  see  that  the  directory  tree  is
  5408.            immediately replaced  by  the  menu  text.  To  fix  this
  5409.            problem, we will have to edit our batch files. Reload NED
  5410.            as follows:
  5411.            
  5412.            NED v1.6x User's Guide                           Page  98
  5413.  
  5414.                 ned *.bat<Enter>
  5415.  
  5416.            NED expands  and sorts the filenames matching the '*.bat'
  5417.            wildcard into  the File  List. NED  then opens  the first
  5418.            file in  the list  which will  be '1.bat'.  Now type  the
  5419.            following:
  5420.  
  5421.                 <Down><Down><Enter>pause
  5422.  
  5423.            to  insert   the  'pause'   statement  under   the  'wis'
  5424.            statement.
  5425.  
  5426.            We need  to insert this command in the other option batch
  5427.            files. Copy  the current  line to  the  scrap  buffer  by
  5428.            pressing CTRL  F3.  Because  we  know  that  the  'pause'
  5429.            command needs  to be  inserted at  the same  place in the
  5430.            remaining  option   batch  files,   we  can   record  the
  5431.            keystrokes used for the second option file to a macro. We
  5432.            will then  only need to press the macro key to repeat the
  5433.            keystrokes for the third option file. Press the following
  5434.            keys:
  5435.  
  5436.                 <F7><Alt F1>
  5437.  
  5438.            which begins recording keystrokes to ALT F1. NED displays
  5439.            the message:
  5440.  
  5441.                 Recording (ALT F1)
  5442.  
  5443.            Now press:
  5444.  
  5445.                 <Ctrl F1><Down><Down><F2>
  5446.  
  5447.            to open  the next  file in  the File  List which  will be
  5448.            '2.bat', and insert scrap buffer under the third line. To
  5449.            finish recording  the macro,  press F7.  NED displays the
  5450.            message:
  5451.  
  5452.                 End Record (ALT F1)
  5453.  
  5454.            Now we  can use  the   macro to  update the  third option
  5455.            file. Press  ALT F1 and the 'pause' command will be added
  5456.            to '3.bat'!  To test these changes, we will save and quit
  5457.            NED by  using the  's' parameter  with the QUIT command
  5458.            as
  5459.            follows:
  5460.  
  5461.                 <Esc>Qs<Enter>
  5462.  
  5463.            At the DOS prompt type:
  5464.  
  5465.                 menu<Enter>
  5466.                 1<Enter>
  5467.  
  5468.            When the  command has  finished, you  will  be  asked  to
  5469.            strike any key when ready. When you strike a key the menu
  5470.            text will  be displayed.  Test the  other options  if you
  5471.            wish.
  5472.            
  5473.            NED v1.6x User's Guide                           Page  99
  5474.  
  5475.  
  5476.            That completes  Tutorial One.  To learn  more  about  NED
  5477.            proceed to the next tutorial.
  5478.  
  5479.            6.3 Tutorial Two - Programming with NED
  5480.            This tutorial  will show  you more of NED's capabilities,
  5481.            particularly  those  that  assist  with  the  writing  of
  5482.            computer programs.  We have chosen the BASIC language for
  5483.            the examples  in this  tutorial since  it is  the    most
  5484.            widely understood  language. If you have not been through
  5485.            the first  tutorial then you will not be able to complete
  5486.            this tutorial  as you  will need to use 'menu.txt'. Enter
  5487.            the following to remove the tutorial file:
  5488.  
  5489.                 del \nedtut\sample.bas<Enter>
  5490.  
  5491.            If the message:
  5492.  
  5493.                 File not found
  5494.  
  5495.            is displayed,  ignore it  and enter the following command
  5496.            to change to the tutorial directory:
  5497.  
  5498.                 cd \nedtut<Enter>
  5499.  
  5500.            Now at the DOS prompt enter the following command:
  5501.  
  5502.                 ned sample.bas<Enter>
  5503.  
  5504.            Since 'sample.bas' does not exist, NED will prompt you to
  5505.            confirm its creation. Press 'y' to proceed.
  5506.  
  5507.            The Program Header
  5508.            Firstly we  want to  create the program header. This will
  5509.            consist of  a few  comment lines  with the  filename  and
  5510.            date. Enter the following:
  5511.  
  5512.                 REM <Esc>F-,75<Ctrl Enter><Enter>
  5513.                 <Alt F><Alt F><Alt F><Alt F>
  5514.  
  5515.            In the  first line, the word 'REM' will be followed by 75
  5516.            '-' characters  from the  FILL command.  A  new  line  is
  5517.            opened up, the 'REM ' is field copied from the first line
  5518.            to the second line.
  5519.  
  5520.            Next you  need to  ensure that you are in insert mode. If
  5521.            the cursor appears as a quarter block you are in overtype
  5522.            mode, so  press INS  to change  to insert  mode.  If  the
  5523.            cursor appears  as a half block you are already in insert
  5524.            mode. Now type the following:
  5525.  
  5526.                 File name:<Tab><Tab><Alt H><Enter>
  5527.  
  5528.            Here we  have used  the ALT  H key  to insert the current
  5529.            filename at the cursor position. When in insert mode, the
  5530.            TAB inserts spaces up to the next tabstop. Now repeat the
  5531.            above field copy as follows:
  5532.  
  5533.            
  5534.            NED v1.6x User's Guide                           Page 100
  5535.  
  5536.                 <Alt F><Alt F><Alt F><Alt F>
  5537.                 Date created:<Tab><Alt Y>
  5538.  
  5539.            As above,  this copies the 'REM ' from the previous line,
  5540.            and inserts the current date/time at the end of the line.
  5541.  
  5542.            To complete the header we will copy the first line of the
  5543.            file to the end of the file. Press the following:
  5544.  
  5545.                 <Ctrl Home><Ctrl F3><Ctrl End><F2><Down>
  5546.                 <Enter><Enter>
  5547.  
  5548.            CTRL HOME  and CTRL  END move  the cursor to the first or
  5549.            last line  of the  file. After  the comment line has been
  5550.            inserted, two  blank lines  are opened up below it. Using
  5551.            Auto-indent and  Enter to  Format code  One of  the  most
  5552.            common program  constructs is  the 'if/else'.  NED has an
  5553.            Auto-indent feature which makes the entry of this type of
  5554.            structure easy.  To toggle  Auto-indent on,  press ALT I.
  5555.  
  5556.            The status of Auto-indent is displayed on the top line of
  5557.            the screen between memory free % and the line counter. If
  5558.            on, 'I'  appears in  bold attribute if off, it will be in
  5559.            normal attribute. Now enter the following:
  5560.  
  5561.                 if a = b<Right Shift Enter>
  5562.  
  5563.            You will  notice that  the cursor is now one tabstop into
  5564.            the new  line. This  is because  when you press the RIGHT
  5565.            SHIFT in  combination with ENTER NED moves the cursor one
  5566.            tabstop to the right. Now type:
  5567.  
  5568.                 if a = c<Right Shift Enter>
  5569.                 olda = a<Enter>
  5570.                 a = b<Left Shift Enter>
  5571.                 endif<Left Shift Enter>
  5572.                 endif<Enter>
  5573.  
  5574.            You will  notice that when you press ENTER by itself, the
  5575.            cursor  will   appear  under   the  first  non-whitespace
  5576.            character of  the previous  line. The  effect of pressing
  5577.            LEFT or  RIGHT SHIFT is to move the cursor one tabstop to
  5578.            the  left  or  right  of  that  position.  Now  type  the
  5579.            following:
  5580.  
  5581.                 else<Enter>
  5582.                 <Tab>oldb = b<Enter>
  5583.                 b = a
  5584.  
  5585.            Here the  ENTER and TAB keys perform the longhand version
  5586.            of the  RIGHT SHIFT  ENTER we used before. We now we want
  5587.            to move  these three  lines to  above the  last  'endif'.
  5588.            Press the following:
  5589.  
  5590.                 <F4><Up><Up><Del><Ctrl F2>
  5591.  
  5592.            Which enters  Block Mode,  selects the  last three lines,
  5593.            cuts them to the scrap buffer and finally CTRL F2 inserts
  5594.            
  5595.            NED v1.6x User's Guide                           Page 101
  5596.  
  5597.            the block above the current line. To finish this routine,
  5598.            enter the following:
  5599.  
  5600.                 <Right Shift Enter>If a = c
  5601.                 <Down><F4><Down><Tab><Esc>
  5602.                 <Down><Ctrl F3><F2><Home><Tab>
  5603.  
  5604.            This inserts  another 'if'  statement below  the  'else',
  5605.            enters Block Mode, selects the next two lines, moves them
  5606.            one tabstop  to the right and exits Block Mode. The third
  5607.            line takes  a copy  of the 'endif' line, inserts it under
  5608.            the current line. The cursor is moved to the start of the
  5609.            line and  the line  is moved  one tabstop  to the  right.
  5610.  
  5611.            Making Corrections  to code  Some versions  of BASIC will
  5612.            not accept the 'endif' as one word. To correct this enter
  5613.            the following:
  5614.  
  5615.                 <F4><Ctrl Right>s
  5616.  
  5617.            Here we  have used the 's' function in Block Mode to copy
  5618.            the 'endif'  to the search expression. This is a shortcut
  5619.            for the  SPECIFY command.  To make the replacements, type
  5620.            the following:
  5621.  
  5622.                 <Esc>Rend if,g<Enter>
  5623.  
  5624.            Each time  the search  expression is  found you  will  be
  5625.            prompted to  replace it  with 'end  if'. Answer  'y' each
  5626.            time you are prompted. NED will then display the message:
  5627.  
  5628.                 3 replaced, 0 overflows.
  5629.  
  5630.            showing you  the total  number of  replacements  and  the
  5631.            number of overflows. Overflows occur when the replacement
  5632.            text expands  the line to more than 256 characters. BASIC
  5633.            also requires a 'then' to follow the 'if' condition which
  5634.            we have  not included.  To correct  this we  will use the
  5635.            Regular Expression '^\s*if' to specify our search pattern
  5636.            and append  'then' to  the line.  We will also record the
  5637.            keystrokes needed  to do  this to  a macro  so  that  the
  5638.            process can be repeated. Enter the following:
  5639.  
  5640.                 S^\s*if<Ctrl Enter><Ctrl Home>
  5641.  
  5642.            The carat  '^' in  the expression specifies the beginning
  5643.            of a line, the '\s' which specifies a space character and
  5644.            the asterisk  '*' which  tells NED to match the preceding
  5645.            expression (being  the space)  zero  or  more  times.  To
  5646.            record the  edits for the first 'if' statement, press the
  5647.            following:
  5648.  
  5649.                 <F7><Alt F8><F8><End><Space Bar>then<F7>
  5650.  
  5651.            This begins recording the macro key ALT F8, then searches
  5652.            for the  first matching  'if' statement, moves to the end
  5653.            of that  line and adds ' then' and finishes recording the
  5654.            macro. Now  press ALT  F8 two  times to fix the remaining
  5655.            
  5656.            NED v1.6x User's Guide                           Page 102
  5657.  
  5658.            'if' statements.  The file should now look something like
  5659.            the following:
  5660.  
  5661.            REM -----------------------------------------------------
  5662.            REM File name:      SAMPLE.BAS
  5663.            REM Date created:   Wednesday 19/07/1989  12:55 pm
  5664.            REM -----------------------------------------------------
  5665.  
  5666.  
  5667.            if a = b then
  5668.                if a = c then
  5669.                    olda = a
  5670.                    a = b
  5671.                end if
  5672.            else
  5673.                if a = c then
  5674.                    oldb = b
  5675.                    b = a
  5676.                end if
  5677.            end if
  5678.            ~
  5679.            ~
  5680.            ~
  5681.            ~
  5682.            ~
  5683.            ~
  5684.            ~
  5685.            ~
  5686.  
  5687.            Getting a Copy of the Screen Layout
  5688.            It is  often necessary to design a screen layout prior to
  5689.            coding. In  this section  we will convert the menu screen
  5690.            'menu.txt' you  created in  the first  tutorial to  BASIC
  5691.            statements. If  you have  not created the menu screen, go
  5692.            back and complete Tutorial One. To start with, we need to
  5693.            open 'menu.txt' and copy its contents to the current file
  5694.            'sample.bas'. Enter the following:
  5695.  
  5696.                 <Esc>O<F1>
  5697.  
  5698.            This takes  you to File Display mode where you can select
  5699.            the file  'menu.txt' by  using the arrow keys to move the
  5700.            high-light to  the filename  and pressing  ENTER. If  you
  5701.            cannot find  'menu.txt' go back to the first tutorial and
  5702.            create it  as instructed.  Now press ESC to return to the
  5703.            Edit window and press the following keys:
  5704.  
  5705.                 <F4><Ctrl End><Ins>
  5706.  
  5707.            which will  copy the  entire file  to the  scrap  buffer.
  5708.            Return to  'sample.bas' by  using the  Status  screen  as
  5709.            follows:
  5710.  
  5711.                 <F10><Up><any key>
  5712.  
  5713.            When you  change areas  using the  Status screen, you may
  5714.            also press  the number of the area you wish to change to.
  5715.            To  insert   this  screen   into  your  file,  press  the
  5716.            
  5717.            NED v1.6x User's Guide                           Page 103
  5718.  
  5719.            following:
  5720.  
  5721.                 <Ctrl End><F2><Enter><Enter>
  5722.  
  5723.            Converting the Layout to Program Statements
  5724.            Now type the following:
  5725.  
  5726.                 CLS<Enter>
  5727.                 LOCATE<space bar><space bar>3,
  5728.  
  5729.            You now  need to  move the cursor to the beginning of the
  5730.            first line of the menu screen by pressing:
  5731.  
  5732.                 <Down><Home>
  5733.  
  5734.            Note the column number, then press:
  5735.  
  5736.                 <Up><End>
  5737.  
  5738.            then type the number of the column, which should be '30'.
  5739.            Then type the following:
  5740.  
  5741.                 PRINT "
  5742.  
  5743.            Now join the menu screen line by pressing the following:
  5744.  
  5745.                 <F3><Alt W><End>";
  5746.  
  5747.            The ALT  W removes  the leading spaces from the menu line
  5748.            and the '";' completes the 'PRINT' statement.
  5749.  
  5750.            We will now copy this line and use it as the basis of the
  5751.            next statement. Press the following:
  5752.  
  5753.                 <Ctrl F3><F2><Ctrl Right><Ctrl Right>
  5754.  
  5755.            which copies  the current  line and  inserts it below and
  5756.            then moves  the cursor  over the  row  parameter  of  the
  5757.            'LOCATE' statement.  Make sure  insert is  off  (overtype
  5758.            mode) and  enter '4'.  To complete  the  line  press  the
  5759.            following:
  5760.  
  5761.                 <Ctrl Right><Right><Alt D><F3><Alt W>";<Enter>
  5762.  
  5763.            which deletes  the copy of the 'PRINT' statement text and
  5764.            joins the  next line  from the menu layout. The next step
  5765.            is to  take a  copy of  the previous  line's 'LOCATE' and
  5766.            'PRINT' statements  and insert  them for the three option
  5767.            lines. To do this type the following:
  5768.  
  5769.                 <Up><F4><Ctrl Right><Ctrl Right><Right><Right><Ins>
  5770.                 <F7><Alt F2><Down><F2><Down><F2><Down><F2><F7>
  5771.  
  5772.            In addition  to inserting  the block,  this  records  the
  5773.            necessary keystrokes  to the  macro key  ALT F2 for later
  5774.            use. Now  move the  cursor to  the beginning of the first
  5775.            option line by pressing:
  5776.  
  5777.            
  5778.            NED v1.6x User's Guide                           Page 104
  5779.  
  5780.                 <Down><Home>
  5781.  
  5782.            Again, note  the column  number which should be '28'. Now
  5783.            press UP three times, then the following:
  5784.  
  5785.                 <Home><Ctrl Right>7<Right>28
  5786.                 <Down><Ctrl Left>9<Alt F><Alt F><Alt F>
  5787.                 <Down><Ctrl Left><Left>11<Alt F><Alt F><Alt F>
  5788.  
  5789.            This renumbers  the  'LOCATE'  statements  for  the  menu
  5790.            options. Note  the use  of field  copy ALT  F to copy the
  5791.            column number  from the  previous line.  We now  need  to
  5792.            append '";' to the end of each of these statements. To do
  5793.            this we  will copy  the characters  from a completed line
  5794.            and insert them at where needed. Press the following:
  5795.  
  5796.                 <Up><Up><Up><End><F4><Left><Left><Ins><Alt F2>
  5797.  
  5798.            Here we  have used  the macro you created above to insert
  5799.            the scrap at the end of these lines.
  5800.  
  5801.            We now  need to  remove the  blank lines from between the
  5802.            menu options. Press the following:
  5803.  
  5804.                 <Down><Down><Shift F2><Down><Shift F2>
  5805.  
  5806.            We will  record a macro to move the menu options to their
  5807.            'PRINT' statements. In this example we will also name the
  5808.            macro using the MACRO command. Press the following:
  5809.  
  5810.                 <Esc>MMove menu options<Enter><Shift Alt F4>
  5811.                 <Home><F4><End><Del><Up><Up><Up>
  5812.                 <End><Ctrl Left><Right><F2><Down><Down><F7>
  5813.  
  5814.            This macro has been assigned to ALT F14. It cuts the last
  5815.            menu option  and places  it between  the double quotes of
  5816.            the last 'PRINT' statement, then it returns the cursor to
  5817.            the previous  menu option.  Press SHIFT  F7 to  view  the
  5818.            Macro Report  screen. You  will notice  the name  of  the
  5819.            macro we have just recorded is displayed. The other macro
  5820.            we recorded  ALT F2  was not  named and thus displays the
  5821.            message '(untitled)'. Press any key to return to the Edit
  5822.            window.  Now  press  SHIFT  ALT  F4  twice  to  move  the
  5823.            remaining menu options.
  5824.  
  5825.            The last  step is to convert the two instruction lines to
  5826.            'LOCATE' and 'PRINT' statements. Open a new line and copy
  5827.            the 'LOCATE'  statement by pressing ENTER, and then ALT F
  5828.            eight times. Now press the following:
  5829.  
  5830.                 4,<Down><Shift F2><Shift F2><Shift F2>
  5831.                 <Shift F2><Shift F2>
  5832.  
  5833.            to remove  the blank  lines  between  the  code  and  the
  5834.            remainder of  the layout. To find our column number press
  5835.            HOME, note  the number  (which should  be 21),  and  then
  5836.            press the following:
  5837.  
  5838.            
  5839.            NED v1.6x User's Guide                           Page 105
  5840.  
  5841.                 <Up><End>21<Alt F><Alt F><Alt F><Alt F><Alt F>
  5842.                 <Alt F><Alt F><Alt F><Shift F2><F2><Ctrl F2>
  5843.  
  5844.            This inserts  a copy  a copy  of the line between the two
  5845.            menu instruction  lines. Note  that you  must press ALT F
  5846.            eight times. Now press:
  5847.  
  5848.                 <F3><Alt W><End>";
  5849.  
  5850.            This  completes  the  first  menu  instruction  line.  To
  5851.            compete the second line, press:
  5852.  
  5853.                 <Down><Down><Home><Ctrl Right><Alt D>
  5854.                 Esc to exit this menu<Alt C><Home>
  5855.  
  5856.            Note the column position (should be 29);
  5857.  
  5858.                 <End>";
  5859.  
  5860.            Which will  centre the  line.  To  correct  the  'LOCATE'
  5861.            statement, press the following:
  5862.  
  5863.                 <Up><Home><Ctrl Right><Right><Right><Right>
  5864.                 <Right>9<End><F3><Alt W><Shift F5>
  5865.  
  5866.            SHIFT F5  redraws the screen with the current line in the
  5867.            centre of  the window.  The screen  should look something
  5868.            like the following:
  5869.  
  5870.            CLS
  5871.            LOCATE  3,30:PRINT "S Y S T E M   M E N U";
  5872.            LOCATE  4,30:PRINT "=====================";
  5873.            LOCATE  7,28:PRINT "1 - DISPLAY DIRECTORY TREE";
  5874.            LOCATE  9,28:PRINT "2 - DISPLAY CHECKDISK INFO";
  5875.            LOCATE 11,28:PRINT "3 - DISPLAY DOS ENVIRONMENT";
  5876.            LOCATE 14,21:PRINT "Enter the number for the option you
  5877.            want";
  5878.            LOCATE 14,29:PRINT "or Esc to exit this menu";
  5879.            ~
  5880.  
  5881.            This finishes  the conversion to code of the menu screen.
  5882.            Firstly  we   will  close   'menu.txt'  and   then   save
  5883.            'sample.bas'. Enter the following:
  5884.  
  5885.                 <Alt 2><Esc>C<Enter>E<Enter>
  5886.  
  5887.            Since 'sample.bas'  is the only open file after we closed
  5888.            'menu.txt', NED  will exit to DOS after writing the file.
  5889.            This completes tutorial two.
  5890.  
  5891.  
  5892.  
  5893.            
  5894.            NED v1.6x User's Guide                           Page 106
  5895.  
  5896.            *********************************************************
  5897.            NED v1.6x User's Guide
  5898.            Appendix A. Messages
  5899.  
  5900.            The following  gives a description and  necessary  advice
  5901.            for the messages found in NED.
  5902.  
  5903.            number lines converted
  5904.                 NED  has  successfully  executed  a  DETAB  or  NTAB
  5905.                 command.
  5906.  
  5907.            number lines copied from Scrap
  5908.                 NED has  just copied   text from the Scrap into your
  5909.                 file.
  5910.  
  5911.            number lines ONLY copied from Scrap
  5912.                 NED has copied number of lines only. Usually because
  5913.                 there is  insufficient memory  or the maximum number
  5914.                 of lines has been reached.
  5915.  
  5916.            number lines copied to Scrap
  5917.                 NED has just copied text from your file into Scrap.
  5918.  
  5919.            number lines cut to Scrap
  5920.                 NED has  just cut (deleted) text from your file into
  5921.                 Scrap.
  5922.  
  5923.            number lines read
  5924.                 NED has successfully read a file.
  5925.  
  5926.            number lines sorted
  5927.                 NED has successfully sorted a file.
  5928.  
  5929.            number lines written
  5930.                 NED has successfully written your file.
  5931.  
  5932.            number% read
  5933.                 NED has read number% of a file.
  5934.  
  5935.            number replaced, number overflows.
  5936.                 NED has   told you how many replacements it made and
  5937.                 the number of overflows that occurred in your file.
  5938.  
  5939.            number% written
  5940.                 NED has written number% of your file.
  5941.  
  5942.            Area Not Open !
  5943.                 You have attempted to select an unopened area.
  5944.  
  5945.            Auto-detab off
  5946.                 NED will not detab a file when it is read.
  5947.  
  5948.            Auto-detab on
  5949.                 NED will detab a file when it is read.
  5950.  
  5951.            Auto-entab off
  5952.                 NED will not entab a file when it is written.
  5953.  
  5954.            
  5955.            NED v1.6x User's Guide                           Page 107
  5956.  
  5957.            Auto-entab on
  5958.                 NED will entab a file when it is written.
  5959.  
  5960.            Backup Creation Error, using default
  5961.                 A backup   file could  not be  made in the specified
  5962.                 backup directory. The current directory is used.
  5963.  
  5964.            Bad Area !
  5965.                 You specified an invalid area number.
  5966.  
  5967.            Bad Fill Spec or Not Valid to Fill
  5968.                 Your fill  specification is invalid or the number of
  5969.                 characters to fill will not fit in the current line.
  5970.  
  5971.            Bad Line Number !
  5972.                 You specified a non-existent line number.
  5973.  
  5974.            Bad Replacement Specification.
  5975.                 You  haven't  entered  a  search  expression  or  no
  5976.                 replacement specification was given.
  5977.  
  5978.            Bad Tab Stop
  5979.                 You specified  an   tabstop setting  out of range or
  5980.                 order.
  5981.  
  5982.            Background is busy
  5983.                 The spooler  is still  busy in  background mode. You
  5984.                 cannot exit  to DOS  or switch  the  background  off
  5985.                 until spooling is finished.
  5986.  
  5987.            (Block Mode)
  5988.                 You have just entered block mode.
  5989.  
  5990.            Buffer full, Continue ? (Y/N)
  5991.                 The file  that NED was trying to read is bigger than
  5992.                 the area  buffer. If  you continue,  NED  will  only
  5993.                 recognize lines  up to the buffer size. Increase the
  5994.                 MAXLINES statement in CONFIG.NED and reload.
  5995.  
  5996.            Can't Create BACKUP Directory
  5997.                 The BACKUP  directory you  specified  could  not  be
  5998.                 created (e.g. volume name or a bad directory name).
  5999.  
  6000.            Can't load Help File
  6001.                 Either NHELP.EXE  or NCAL.EXE  is not in the current
  6002.                 directory or  it is not on the PATH or else there is
  6003.                 not enough memory to load it.
  6004.  
  6005.            Can't open file
  6006.                 The filespec  given could not be opened (e.g. it was
  6007.                 a subdirectory or a wildcard).
  6008.  
  6009.            Can't open spool file
  6010.                 A temporary  file needed by the spooler could not be
  6011.                 opened. Check DOS for insufficient disk space or too
  6012.                 many  files.   Don't  delete  spooler  files  (those
  6013.                 matching sp??????) when shelling to DOS.
  6014.  
  6015.            
  6016.            NED v1.6x User's Guide                           Page 108
  6017.  
  6018.            Can't open spoolfile (file)
  6019.                 The temporary spoolfile (the file you printed) could
  6020.                 not be opened. Check DOS for insufficient disk space
  6021.                 or too many files.
  6022.  
  6023.            Changes will be lost, Confirm (Y/N)
  6024.                 You've just  told NED  to close  a  file  which  has
  6025.                 changed. If you answer 'Y' the changes will be lost.
  6026.  
  6027.            'char' Filled  number  Times
  6028.                 NED has successfully  filled a char number of times.
  6029.  
  6030.            CONFIG.NED written to disk
  6031.                 NED  has   just  written  its  current  settings  to
  6032.                 CONFIG.NED.
  6033.  
  6034.            Create BACKUP Directory ? (Y/N)
  6035.                 The BACKUP  directory you  specified does not exist.
  6036.                 If you  answer 'Y'  NED will  attempt to  create it.
  6037.  
  6038.            Cursor must point to {([«<!?¿¡>»])}
  6039.                 The  brace  matching  function  only works  when the
  6040.                 cursor points to one of the listed characters.
  6041.  
  6042.            DOS: Type 'EXIT' to come back ...
  6043.                 You've just shelled to DOS.
  6044.  
  6045.            End of File List reached
  6046.                 There are  no more files in the File List to open or
  6047.                 there is no File List.
  6048.  
  6049.            End Record (macrokey)
  6050.                 You have  just finished  recording a Macro (e.g. ALT
  6051.                 F1).
  6052.  
  6053.            Enter MACRO Name or <ret> for none
  6054.                 You've entered  the MACRO command. You can specify a
  6055.                 name for  a macro  and begin  recording or rename an
  6056.                 existing macro.
  6057.  
  6058.            Enter Target Key (ALT F1-20)
  6059.                 You have  just started  a  Macro  record.  You  must
  6060.                 assign the Macro to a function key.
  6061.  
  6062.            Error Reading !
  6063.                 NED has  encountered a  DOS error  whilst reading  a
  6064.                 file.
  6065.  
  6066.            Error Writing !
  6067.                 NED has  encountered a  DOS error whilst writing the
  6068.                 file.
  6069.  
  6070.            File Exists! Overwrite (Y/N) ?
  6071.                 You have  specified a  filename which exists. If you
  6072.                 answer 'Y' its contents will be overwritten with the
  6073.                 current file.
  6074.  
  6075.            Insufficient Memory !
  6076.            
  6077.            NED v1.6x User's Guide                           Page 109
  6078.  
  6079.                 You have  requested an  operation for which there is
  6080.                 insufficient memory to perform.
  6081.  
  6082.            Insufficient Memory to Store Line
  6083.                 We just  ran out  of memory!  Save your  file(s) and
  6084.                 exit to DOS.
  6085.  
  6086.            Insufficient memory to use MACROS
  6087.                 Not enough  memory is  left to use Macros. Usually a
  6088.                 start-up error.  Use CHKDSK  to see  that  there  is
  6089.                 sufficient memory to load NED.
  6090.  
  6091.            Insufficient memory to use SPOOLER
  6092.                 Not enough  memory  is  left  to  use  the  spooler.
  6093.                 Usually a  start-up error.  Use CHKDSK  to see  that
  6094.                 there is sufficient memory to load NED.
  6095.  
  6096.            Invalid column sort width
  6097.                 The columns  you have  specified are out of range or
  6098.                 non-existent for sorting with the ZSORT command.
  6099.  
  6100.            Invalid directory name
  6101.                 You have specified an invalid directory name for the
  6102.                 BACKUP command. Check with your DOS manual for valid
  6103.                 directory name characters.
  6104.  
  6105.            Invalid filename
  6106.                 You have  specified an  invalid filename. Check with
  6107.                 your DOS manual for valid filename characters.
  6108.  
  6109.            Invalid MACRO File or File name !
  6110.                 You have specified a corrupted or non-existent Macro
  6111.                 file.
  6112.  
  6113.            Invalid print page layout
  6114.                 You  have  specified  a  page  layout  that  is  not
  6115.                 possible  (e.g.  the  top  and  bottom  margins  are
  6116.                 greater than the page length).
  6117.  
  6118.            Invalid right hand margin
  6119.                 The right  hand margin for word wrap must be between
  6120.                 1 and 256.
  6121.  
  6122.            Invalid sort offset
  6123.                 The sort width given is not valid (e.g. the width is
  6124.                 greater than the maximum number of columns).
  6125.  
  6126.            Invalid timeslice value
  6127.                 The timeslice must be an integer between 1 and 8192.
  6128.  
  6129.            Key entered Not a valid MACRO key !
  6130.                 You have  specified an invalid Macro key. Macro keys
  6131.                 must be between (ALT F1-20).
  6132.            
  6133.            NED v1.6x User's Guide                           Page 110
  6134.  
  6135.  
  6136.            MACROS Restored from File
  6137.                 NED has successfully loaded a Macro file.
  6138.  
  6139.            MACROS Saved to File
  6140.                 NED has successfully saved a Macro file.
  6141.  
  6142.            Mark Found
  6143.                 You have just executed the goto mark key and NED has
  6144.                 found a marker.
  6145.  
  6146.            Mark Not Found !
  6147.                 You have just executed the goto mark key and NED has
  6148.                 not found a marker.
  6149.  
  6150.            Mark removed
  6151.                 The mark on the current line has been removed.
  6152.  
  6153.            Mark set
  6154.                 The current line has been marked.
  6155.  
  6156.            Match Not Found !
  6157.                 NED did not find a matching {([«<!?¿¡>»])}
  6158.  
  6159.            (new file)
  6160.                 You are editing a new file.
  6161.  
  6162.            No Free Areas left !
  6163.                 You already have ten open areas.
  6164.  
  6165.            ok
  6166.                 Operation successful.
  6167.  
  6168.            Ok to Create ? (Y/N)
  6169.                 You have  specified a  file which does not exist. If
  6170.                 you enter 'Y' NED will attempt to create it.
  6171.  
  6172.            Overwrite old MACRO File ? (Y/N)
  6173.                 You have  just told  NED to  KEEP a  macro file that
  6174.                 already  exists.  If  you  answer  'Y'  it  will  be
  6175.                 overwritten.
  6176.  
  6177.            Overwriting old BACKUP file
  6178.                 The previous  backup file  is being overwritten with
  6179.                 the current backup file.
  6180.  
  6181.            (pattern) not Found
  6182.                 NED did not find the search pattern you specified.
  6183.  
  6184.            Press F1 for File Display
  6185.                 You have issued an OPEN, WRITE, END, BACKUP or MACRO
  6186.                 command. You may enter File Display mode by pressing
  6187.                 F1.
  6188.  
  6189.            Printer Off Line. Check & Retry.
  6190.                 The printer  does  not  respond  to  initialization.
  6191.                 Check it and retry.
  6192.  
  6193.            
  6194.            NED v1.6x User's Guide                           Page 111
  6195.  
  6196.            Printer Not Ready, Continue ? (Y/N)
  6197.                 The printer  is not  on line  and can't be selected.
  6198.                 Check and press 'Y' to proceed.
  6199.  
  6200.            (processing line linenumber)
  6201.                 NED is  processing line linenumber of the file (e.g.
  6202.                 printing).
  6203.  
  6204.            Recording (macrokey)
  6205.                 You are now recording a Macro (e.g. ALT F1).
  6206.  
  6207.            Replace ? (Y/N)
  6208.                 You have  just issued  a REPLACE  command.  NED  has
  6209.                 found a match and is asking you to confirm replacing
  6210.                 it with the new string.
  6211.  
  6212.            (replacing)
  6213.                 NED is replacing text.
  6214.  
  6215.            (S)ave, (A)bort or (C)ancel ?
  6216.                 You have just tried to QUIT without saving a changed
  6217.                 file. Enter S, A or C.
  6218.  
  6219.            Save this file ? (Y/N)
  6220.                 You have  just issued a LAUNDRY command with the 'p'
  6221.                 option. NED has recorded changes in this file and is
  6222.                 asking you to confirm the save.
  6223.  
  6224.            Spool file killed
  6225.                 You have just removed a selected file from the spool
  6226.                 queue.
  6227.  
  6228.            Spooler empty or area not used
  6229.                 You have  attempted to  remove a  spool file that is
  6230.                 not in the queue.
  6231.  
  6232.            Spooler not active
  6233.                 You have  attempted to  issue a spooler command when
  6234.                 it is not active.
  6235.  
  6236.            Spooler off
  6237.                 You have  just pressed  CTRL F6. Background printing
  6238.                 is disabled.
  6239.  
  6240.            Spooler on
  6241.                 You have  just pressed  CTRL F6. Background printing
  6242.                 is enabled.
  6243.  
  6244.            Spooler queue is full
  6245.                 There are already 10 files in the queue.Wait until a
  6246.                 few have been printed and try again.
  6247.  
  6248.            Spooling resumed
  6249.                 You have  just issued  the Vp command while spooling
  6250.                 was suspended.
  6251.  
  6252.            Spooling suspended
  6253.                 You have  just issued  the Vp command while spooling
  6254.            
  6255.            NED v1.6x User's Guide                           Page 112
  6256.  
  6257.                 was active.
  6258.  
  6259.            Spooler terminated
  6260.                 The current  spool file  has been  aborted  and  all
  6261.                 files in the spooler queue have been removed.
  6262.  
  6263.            Strip off
  6264.                 NED will  not strip  trailing whitespace  characters
  6265.                 when writing a file.
  6266.  
  6267.            Strip on
  6268.                 NED will  strip trailing  whitespace characters when
  6269.                 writing a file.
  6270.  
  6271.            Unrecognized spooler command
  6272.                 Check  the  function  reference  section  for  valid
  6273.                 spooler commands.
  6274.            
  6275.            NED v1.6x User's Guide                           Page 113
  6276.  
  6277.            *********************************************************
  6278.            NED v1.6x User's Guide
  6279.            Index
  6280.  
  6281.                   '*' function                            18
  6282.                   'a' parameter                       23, 48
  6283.                   'At' files                          11, 31
  6284.                   'c' function                            19
  6285.                   'k' parameter                       36, 51
  6286.                   'n' parameter                           51
  6287.                   'p' parameter                       17, 44
  6288.                   'r' function                            19
  6289.                   'r' option                          33, 45
  6290.                   'r' parameter                           50
  6291.                   's' function                        18, 19
  6292.                   's' parameter                       24, 31
  6293.                   't' command                             51
  6294.  
  6295.                   1MARGIN command                     19, 53
  6296.                   43/50 line modes                    37, 71
  6297.  
  6298.                   ALT 0 to ALT 9                          16
  6299.                   ALT F1 to ALT F20                   33, 45
  6300.                   ALT generation method                   13
  6301.                   AREA command                        16, 40
  6302.                   ASCII tables                        37, 62
  6303.                   ASTERISK                                86
  6304.                   Auto-detab                          20, 66
  6305.                   Auto-entab                          20, 65
  6306.                   Auto-indent                         57, 68
  6307.                   AUTOINDENT statement                27, 73
  6308.  
  6309.                   Background printing                 30, 35
  6310.                   BACKUP command              15, 24, 27, 40
  6311.                   Backup dir                              20
  6312.                   BACKUP statement                        73
  6313.                   Begin recording                         64
  6314.                   Blank previous character                56
  6315.                   Block mode                          18, 60
  6316.                   BOLDFACE                                89
  6317.                   Brace match                             61
  6318.                   Browse                          15, 31, 46
  6319.  
  6320.                   Calculator                              36
  6321.                   CARAT                                   85
  6322.                   Centre justify                      17, 66
  6323.                   CGA                                  29,71
  6324.                   Character case flip                     68
  6325.                   CLOSE command                       16, 41
  6326.                   Colour                          27, 37, 71
  6327.                   COLOUR statement                    27, 72
  6328.                   Column 256                             102
  6329.                   Command area                    12, 15, 57
  6330.                   Command mode                        15, 41
  6331.                   Command selection mode                  15
  6332.            
  6333.            NED v1.6x User's Guide                           Page 114
  6334.  
  6335.                   Commands                                40
  6336.                   Comments                                26
  6337.                   Compulsory parameters                   40
  6338.                   CONDENSED                               90
  6339.                   CONFIG.NED                          26, 73
  6340.                   Copy a line                             17
  6341.                   Copy file to list                       32
  6342.                   Copy line                               17
  6343.                   Copy to last parameter string       18, 19
  6344.                   Copy to scrap                       17, 18
  6345.                   Copy to search string                   19
  6346.                   Current dir                             20
  6347.                   Current keystroke number                33
  6348.                   Current Search Expression               21
  6349.                   Cut to scrap                            19
  6350.  
  6351.                   Date/Time                               20
  6352.                   Date/Time string                        70
  6353.                   DATEFMT statement                   27, 73
  6354.                   Decimal                             36, 63
  6355.                   Default delimiter                       17
  6356.                   Delete character                        56
  6357.                   Delete file from list               33, 83
  6358.                   Delete line                             60
  6359.                   Delete list                             33
  6360.                   Delete next word                    17, 70
  6361.                   Delete previous word                17, 69
  6362.                   DETAB                               41, 74
  6363.                   Directory area                          32
  6364.                   DOLLAR                                  85
  6365.                   DOS command line                        11
  6366.                   DOS commands                        54, 61
  6367.                   DOS shell                               61
  6368.  
  6369.                   Editing window                      11, 12
  6370.                   EGA                                     29
  6371.                   ELONGATED                               90
  6372.                   Embedded printer commands               89
  6373.                   END command                     16, 23, 42
  6374.                   End window                              14
  6375.                   ENHANCED                                89
  6376.                   ENTAB                                   74
  6377.                   Entering parameters                     15
  6378.                   Erase line                          17, 68
  6379.                   Erase to end                            17
  6380.                   Erase to start                          66
  6381.                   ESCAPE SEQUENCES                        90
  6382.                   Example macro file                      34
  6383.                   Exit Command mode                       57
  6384.  
  6385.                   Field copy                          17, 67
  6386.                   FILE                                    26
  6387.                   File Display Mode                       31
  6388.                   File List                       11, 15, 30
  6389.                   FILE statement                      26, 74
  6390.                   Filename string                         68
  6391.                   FILL command                        42, 99
  6392.            
  6393.            NED v1.6x User's Guide                           Page 115
  6394.  
  6395.                   Finish recording                        33
  6396.                   First column                            28
  6397.                   First/Last line                         80
  6398.                   FIRSTCOL statement              28, 66, 75
  6399.                   Force a write                           16
  6400.                   FORM FEED                               89
  6401.                   Free memory                         20, 47
  6402.                   Freeze cursor                           58
  6403.                   Freeze/thaw                             62
  6404.                   Function keys                        8, 15
  6405.  
  6406.                   GOTO                                43, 68
  6407.                   Goto column 1                       14, 66
  6408.                   Goto mark                               65
  6409.                   GOTO statement                      28, 75
  6410.  
  6411.                   Hard Escape                         13, 72
  6412.                   Hard-tab                        13, 20, 69
  6413.                   HARDTAB statement                   28, 75
  6414.                   HELP command                        13, 43
  6415.                   Hexadecimal                         36, 37
  6416.                   High-bit characters                     13
  6417.  
  6418.                   IGNORE PAPER OUT                        89
  6419.                   Infix                               36, 63
  6420.                   INSERT                                 112
  6421.                   Insert mode                         13, 57
  6422.                   INSERT statement                    28, 75
  6423.                   Installation                             9
  6424.                   INTENSITY statement             28, 37, 76
  6425.                   Interword chars                 17, 20, 43
  6426.                   INTERWORD command                   17, 43
  6427.                   INTERWORD statement                 29, 76
  6428.  
  6429.                   JEJECT                                  44
  6430.                   Join line                           17, 60
  6431.                   Justified                               17
  6432.  
  6433.                   KEEP command                        34, 44
  6434.  
  6435.                   Last parameter              15, 19, 32, 40
  6436.                   Last search specification               15
  6437.                   LAUNDRY command                 16, 44, 97
  6438.                   LAYOUT statement                    29, 52
  6439.                   Left justify                    17, 18, 68
  6440.                   Left tab                                58
  6441.                   Line case flip                      17, 67
  6442.                   LINES PER INCH                          90
  6443.  
  6444.                   MACRO command                   15, 33, 44
  6445.                   Macro report                    34, 45, 64
  6446.                   Macros                                  33
  6447.                   MAXLINES statement          12, 29, 46, 77
  6448.                   Memory resident program                 61
  6449.                   MODE statement                      29, 77
  6450.                   Move block left/right a space       18, 82
  6451.                   Move block left/right a tabstop         81
  6452.                   Move to file list                       83
  6453.            
  6454.            NED v1.6x User's Guide                           Page 116
  6455.  
  6456.  
  6457.                   NCAL.EXE                                36
  6458.                   NHELP.EXE                               13
  6459.                   Notational conventions                   7
  6460.                   NTAB command                            45
  6461.  
  6462.                   OPEN command                15, 16, 30, 45
  6463.                   Open new line above                     57
  6464.                   Open new line below                     56
  6465.                   Open next file                      16, 59
  6466.                   Overtype mode                       13, 28
  6467.  
  6468.                   Page layout                             29
  6469.                   Parameter entry mode                    15
  6470.                   PATH                                     9
  6471.                   PERIOD                                  85
  6472.                   Positioning keys                        13
  6473.                   Previous/Next character                 56
  6474.                   Previous/Next line                      55
  6475.                   Previous/Next page                      55
  6476.                   Previous/Next word                  14, 56
  6477.                   Print a file                            34
  6478.                   PRINT command                       34, 47
  6479.                   Print the current file                  47
  6480.  
  6481.                   QUIT command                        23, 48
  6482.  
  6483.                   Re-sort the directory                   32
  6484.                   Record macro                            33
  6485.                   Recording macros                    33, 44
  6486.                   Redraw                                  62
  6487.                   Regular Expression Language     21, 49, 85
  6488.                   Rename an existing macro                33
  6489.                   REPLACE command             15, 21, 23, 48
  6490.                   Restore                             17, 59
  6491.                   Restore above                       18, 60
  6492.                   Restore scrap                           17
  6493.                   Retrace interval                        71
  6494.                   Reverse Video                       18, 32
  6495.                   Right justify                           69
  6496.                   Right tab                               13
  6497.                   Ruler display                       12, 68
  6498.                   RULER statement                     23, 77
  6499.  
  6500.                   Save configuration                      87
  6501.                   Save file                               16
  6502.                   Scrap buffer                        12, 17
  6503.                   Screen colours                          37
  6504.                   Scroll bar                              33
  6505.                   Search down                             21
  6506.                   Search from top                         21
  6507.                   Search keys                             21
  6508.                   Search up                               21
  6509.                   Select file                             84
  6510.                   Select File List                        58
  6511.                   Set/remove mark                         65
  6512.                   SHIFT TAB                           13, 58
  6513.                   Snow                                    71
  6514.            
  6515.            NED v1.6x User's Guide                           Page 117
  6516.  
  6517.                   SNOW statement                      29, 78
  6518.                   Sort directory                          84
  6519.                   SORT statement                      29, 78
  6520.                   SPECIAL CHARACTERS                      87
  6521.                   Special escape sequences                90
  6522.                   Special keys                            15
  6523.                   SPECIFY                 15, 18, 21, 48, 49
  6524.                   Split line                          17, 60
  6525.                   Split line enter                    19, 72
  6526.                   SPOOL statement                     30, 78
  6527.                   Spooler                                 35
  6528.                   SQUARE BRACKETS                         86
  6529.                   Start next line                     14, 68
  6530.                   Start previous line                 14, 69
  6531.                   Start window                        14, 66
  6532.                   Start/End line                      13, 55
  6533.                   Status Screen                           20
  6534.                   Strip                               20, 51
  6535.                   STRIP statement                     30, 78
  6536.                   SUBSCRIPT                               89
  6537.                   SUPERSCRIPT                             89
  6538.                   System information                      11
  6539.                   System window                           11
  6540.  
  6541.                   TAB                             13, 18, 58
  6542.                   TABSET                                  49
  6543.                   TABSET statement                    30, 78
  6544.                   Terminate Stay Resident             47, 61
  6545.                   Timeslice                           30, 50
  6546.                   Top/Bottom screen                   14, 55
  6547.                   Trailing whitespace characters      30, 64
  6548.                   Typewriter                              12
  6549.  
  6550.                   UNDERLINE                               90
  6551.                   Underscore                              18
  6552.                   Undo                                18, 69
  6553.                   USE command                     31, 34, 50
  6554.  
  6555.                   VGA                                     29
  6556.                   VSPOOL command                      36, 50
  6557.  
  6558.                   Wildcard specification              11, 31
  6559.                   Word wrap                               70
  6560.                   WORDWRAP statement              20, 30, 53
  6561.                   WRITE command                       16, 51
  6562.                   Write list                              33
  6563.  
  6564.                   XSAVE command                       31, 51
  6565.  
  6566.                   YLAYOUT command                     35, 52
  6567.  
  6568.                   ZSORT command                           52
  6569.