

The commands available to you are:


[H] Quick Help
     Tells you each command and the keypress required to activate it.

[?] Help

    Displays this text.  File EDT.HLP must be on default disk drive.

[C] Change current line number

    Changes the current line number to any number specified by the
    user.  The current line number is used by the List, Browse, and
    Insert commands to determine what line number to perform the command
    on.  The current value for the current line number is shown above
    the * prompt along with the line itself.

[L] List next 16 lines

    Displays the next 16 lines from the current line counter on.  The
    line counter is not affected by this command.

[B] Browse next 16 lines

    Performs the same as the List command (see above) except that the
    current line counter is set equal to the last line displayed in the
    command (the line counter will be incremented by 16 by this command).
    The Browse command is a quick way to see a section of your text.  For
    instance, to see the next 32 lines of your program, type the B command
    twice.  If you tried this with the List command, it would display the same
    16 lines of the program over twice because the current line counter is not
    incremented.

[I] Insert text after current line

    This function will allow the user to insert text below the current line.
    all the text (if there is any) below the current line is moved down prior
    to insertion.  EDT will continue to allow you to insert lines until the
    signal "/ex" is typed on a blank line, or the text buffer of 400 lines is
    full.

[D] Delete a range of lines

    This function will (you guessed it!) delete a series of lines.  The current
    line counter has no bearing on the operation of this command.  When D is
    depressed, EDT will prompt "Delete line " and wait for the user to type in
    the first line to delete.  EDT will then continue "Delete line __ through
    line ", and will again wait for user input.  The delete operation will not
    occur until the user confirms that this is what he wishes to do.



[F] Find ┬─[R] and Replace──────┬─[F] First occurance
         ├─[F] First occurance  ├─[N] Next occurance
         └─[N] Next occurance   └─[A] All occurances

This command, as shown by the diagram above, will allow the user to find
the first or next occurance of a selected string, or optionally, replace the
first, next, or all occurances of a string by another string (the program will
insert or delete characters depending upon the length of the search string).
A find pointer is used to keep track of the last Find/Replace done; it is shown
when the Find command is invoked.

╔════════╗
║EXAMPLE:║
╚════════╝

1. To search for and replace the first occurance of a string type:
[F][R][F]
   ─────
2. To perform the same operation on the next occurance of the string type:
[F][R][N]
IMPORTANT: EDT will not ask for the Search/Replace strings again when
           the [N] (Next) option is invoked for either Find and Replace
           or Find.

Save your text before trying out the Find command for the first time.

[S] Save text to output file

    This function will save the text buffer to the output file as input
    by the user on the first screen.  After the save operation is complete,
    the program will return to the * prompt.  To change the name of the
    output file, see the Name command below.

[Q] Quit EDiTor

    This command will allow the user to quit EDT without saving his text.
    EDT will confirm this action before surrendering control to DOS.

[E] Exit EDiTor

    This command will save the user's text to the output file, and then confirm
    that the user wishes to exit EDT before exiting to DOS.

[C] Compact text file

    This option will compact the user's text file, removing any blank lines
    that might be present.  The program will confirm this before performing
    this option.  The use of this command is to save space when nearing (or
    over) the 400 line limit on text files that can be edited using EDT.

[P] Print text file

    This command will print the file in the buffer to the parallel printer.
    EDT will ask whether or not the line numbers should be printed next to
    each line.  Be sure to turn on and load paper into your printer before
    issuing this command.

[N] Name output file

    This command will allow the user to rename the output file name that EDT
    will use when the Save or Exit commands are invoked.

                           *  *  *  *  *  *  *

How EDT was written.

EDT Release 1.0 was written using the TURBO Pascal Compiler from Borland
International.  The program was written using straight Pascal; no machine
language code was used (or needed).

Please contribute.

This program is distributed under the FREEWARE(tm) concept started by
The Headlands Press with the PC-TALK communications software.  I wrote
this program to test out the TURBO Pascal Compiler- and it really is the best
thing since peanut butter.  If you want the source code to this program, ready
to load in to TURBO's editor to see how it's done, send a check or cash for
$10 to:

             Andrew Brenner
             504 Glen Court
             Oceanside, New York 11572

If you find this program useful, your contribution is appreciated ($10 sugg.).
Remember, if you want the source code, send $10 and a blank DSDD diskette
(you don't have to format it...) to the above address.  Include a letter
stating that you will not distribute the source code in modified form.


What's next?

If I get around to it, here's what I might add in the future:

· A visually-oriented screen editor option (that is, you move the cursor
  around the screen, like a real word processor).

· A virtual diskette routine (well, sort of...) that will allow text files
  of unlimited size in memory.  It will see if a line needed is in memory,
  and if it isn't, it will get it from disk.

· If you can think of anything you would like added, let me know.

 Registered users who have sent in a contribution will be notified of
 new releases of EDT.

This is the end of EDT help.







rs who have sent in a contribution will be