home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 December / simtel1292_SIMTEL_1292_Walnut_Creek.iso / msdos / editor / pro_ed.arc / PRO-ED.DOC < prev    next >
Text File  |  1989-02-10  |  13KB  |  294 lines

  1.  
  2.                 The Pro-Ed Editor From Circle Software
  3.  
  4.  
  5.         The Pro-Ed Editor is a full-featured text editor designed for
  6.     programmers. It features windows, bookmarks, search and replace, and
  7.     you can edit two files simultaneously. Assembly language programmers
  8.     can assemble, link, and convert EXE files to COM files without leaving
  9.     the editor environment. If an assembler error occurs, the cursor is
  10.     moved to the offending line and the error message is displayed across
  11.     the bottom of the screen.
  12.  
  13.         You should have three files as follows:
  14.  
  15.         README        Instructions on how to get started
  16.         PRO-ED.DOC    This documentation file
  17.         P.COM        The Pro-Ed editor
  18.  
  19.     REGISTRATION
  20.         The Pro-Ed editor is a shareware product.  The author depends on
  21.     your support to continue producing useful programs.  If this program
  22.     is useful to you, please register.
  23.  
  24.         Send $20 to register as a user.  You will be notified of updates
  25.     and given limited support, if needed, by mail.
  26.  
  27.         Send $30 to register and receive a disk with the latest version
  28.     of the program which includes a minimal macro capability.
  29.  
  30.             Circle Software
  31.             P. O. Box 7954
  32.             Clearwater, FL  33615-7954
  33.  
  34.     PROGRAM DESCRIPTION
  35.         Pro-Ed is what you might call a full-screen line editor. You have
  36.     complete freedom of cursor movement as in most word processors, but
  37.     many of its functions, both internal and those apparent to the user,
  38.     are line oriented.
  39.  
  40.         File size is limited to 65 kbytes. I could easily have designed
  41.     Pro-Ed to handle larger files, but only at the expense of speed. Many
  42.     operations, such as Search and finding line numbers, are affected by
  43.     the file size. Furthermore, it is good programming practice to work
  44.     with small, functional modules.
  45.  
  46.         You can load a file by naming it on the command line as in
  47.  
  48.                 P TESTFILE.ASM
  49.  
  50.     or with the load command, Alt-F9. You can specify drive and path along
  51.     with the file name up to a total length of 30 characters.  However, a
  52.     file that you intend to assemble must be in the current directory.
  53.     See the section on assembly below.
  54.  
  55.         To save a file, press F9. Pro-Ed will display the file name in
  56.     the prompt area of the message bar and wait for your response. If you
  57.     want to change the file name, use the Backspace key to delete the old
  58.     name and then enter the new one. If the old name is ok, just press
  59.     Return.
  60.  
  61.         There is no limit to the line length Pro-Ed can handle. However,
  62.     you can only display the first 80 characters. Pro-Ed was designed
  63.     primarily to edit source files in which there is no need to have
  64.     longer lines. If you happen create a longer line, by inserting a
  65.     section for example, the characters will not be lost. Simply move the
  66.     cursor to the appropriate spot and press Return to make two lines out
  67.     of the one long one.
  68.  
  69.         You can use Pro-Ed to preview, but not edit, most word-processor
  70.     files.  The lines will disappear off the right side of the screen, but
  71.     you can read the first 80 characters in each paragraph to quickly
  72.     review the contents of the file.
  73.  
  74.         The Pro-Ed Editor is only about 10000 bytes long, but with the
  75.     various buffers the total memory requirement is nearly 200 kbytes.
  76.     There are two 65 kbyte file buffers, a 65 kbyte paste buffer, and a 2
  77.     kbyte buffer for assembler errors.
  78.  
  79.         Pro-Ed uses the first 24 lines of the screen for text display.
  80.     There are no borders or other distractions. The bottom-line message
  81.     bar displays prompts and error messages, the file name, and the line
  82.     number. You can split the screen into two horizontal windows with 11
  83.     text lines in the upper window and 12 in the lower. The message bar
  84.     for the upper window separates the two text areas.
  85.  
  86.     HELP
  87.         You can display the following help screen by pressing F1.
  88.  
  89.     ------------------------------------------------------------
  90.              Pro-Ed Version 1.0 from Circle Software
  91.  
  92.         F1    Display Help menu      F2         Exit
  93.         F3    Search for string      Alt-F3     Search and replace
  94.         F4    Repeat Search          Alt-F4     Auto Search
  95.         F5    Open/toggle window      Alt-F5     Close window
  96.         F6    Turn on marking      F7         Jump to line
  97.         F8    Delete line          Alt-F8     Delete to end of line
  98.         F9    Save file              Alt-F9     Load file
  99.  
  100.  
  101.                    Alt-C   Assemble COM file
  102.                    Alt-E   Assemble EXE file
  103.                    Alt-O   Assemble OBJ file
  104.                    Alt-F   Find next error
  105.                    Alt-N   Next file
  106.                    Alt-M   Mark line
  107.                    Alt-J   Jump to marked line
  108.                    Alt-P   Print
  109.                    Alt-L   Print with line num
  110.                    Alt-K   Clear buffer
  111.  
  112.  
  113.                 Press any key to exit
  114.     -----------------------------------------------------------
  115.  
  116.     CURSOR MOVEMENT
  117.         Cursor movement commands are similar to those of many word
  118.     processors. As you move the cursor vertically, Pro-Ed maintains the
  119.     column position, line length permitting. The following commands are
  120.     available:
  121.  
  122.         Arrow keys        Normal cursor movement
  123.         Home                First character on line
  124.         End                Just past the last character
  125.         Tab                Advance cursor to next tab stop
  126.         Ctrl-Home            First character on screen
  127.         Ctrl-End            First character of last line
  128.         PgUp                Scrolls up 23 lines
  129.         PgDn                Scrolls down 23 lines
  130.         Ctrl-PgUp            First character in file
  131.         Ctrl-PgDn            Last line in file
  132.  
  133.         You can also jump to a line number. Press Alt-F7, and then enter
  134.     a line number. Pro-Ed will jump to that line, displaying it at the top
  135.     of the screen.  The tab interval is fixed at five spaces.
  136.  
  137.     BOOKMARKS
  138.         Bookmarks are a way of storing the screen and cursor position so
  139.     you can return to them later. Pro-Ed can store ten bookmarks for each
  140.     window. Press Alt-M and then a number key (1 - 0) to store a bookmark.
  141.     Press Alt-J and a number key to jump to a marked location. Pro-Ed
  142.     remembers both the screen position and the cursor location. When you
  143.     return to a mark, the screen will appear exactly as you left it.
  144.  
  145.     INSERT AND DELETE AND MARKED TEXT
  146.         Press the Delete key to remove the character under the cursor.
  147.     The deleted character is placed in the paste buffer. To put it back,
  148.     press the Insert key. The Backspace key erases the character to the
  149.     left of the cursor, but the removed character is not saved.  F8 will
  150.     delete an entire line and Alt-F8 will delete from the cursor to the
  151.     end of the line.  In both cases the deleted text goes into the paste
  152.     buffer.
  153.  
  154.         If you need to retain the contents of the paste buffer, be sure
  155.     to use only the Backspace key to remove text.
  156.  
  157.         You can cut and paste larger blocks by marking the area you want
  158.     to remove. Press F6 to initiate marking, then use normal cursor
  159.     movements to block out the text. The marked text is displayed in
  160.     inverse video. Press Delete to remove the marked text. If you want to
  161.     copy the text to another location while maintaining the original,
  162.     press Delete, then Insert, then move the cursor to the new location
  163.     and press Insert again.
  164.  
  165.         To recap, whenever you press the Delete key, the affected text, a
  166.     single character or a marked block, goes into the paste buffer where
  167.     it will remain until you delete another character or block. Only
  168.     cursor movement is permitted while Pro-Ed is in the mark mode; other
  169.     functions are inhibited.  You can unmark a block without deleting it
  170.     by pressing F6 again.
  171.  
  172.     SEARCH AND REPLACE
  173.         Pro-Ed has rapid search and replace capability. To search, press
  174.     F3 and enter the search string, 20 characters or less, and press
  175.     Return. The cursor moves to the first occurrence of the search string
  176.     beyond the present cursor position. If this occurs on the same screen,
  177.     only the cursor is moved; screen position is maintained. If the cursor
  178.     goes off the screen, the screen position is adjusted such that the
  179.     cursor is placed three lines from the top. This feature gives you the
  180.     best view of the context of the found string. Press F4 to find the
  181.     next occurrence.
  182.  
  183.         Remember Pro-Ed only searches forward from the cursor position.
  184.     Press Control-PgUp to move the cursor to the top of the file if you
  185.     want to search the entire file.
  186.  
  187.         The search function is case-sensitive. Furthermore, Pro-Ed only
  188.     looks for a match of the designated string. It doesn't care what
  189.     characters precede or follow it. In other words, if the search string
  190.     is INT, Pro-Ed will also stop on PRINT.
  191.  
  192.         Auto Search gives you a quick way to find other occurrences of a
  193.     label in a source file without having to type the label name.  Place
  194.     the cursor on the first character of the label and press Alt-F4. Pro-
  195.     Ed searches for the first occurrence of that label starting at the top
  196.     of the file. Pro-Ed also marks the current location with bookmark 0 so
  197.     you can easily return there. If it turns out that you were on the
  198.     first occurrence in the file, the cursor will not move. Press F4 to
  199.     find subsequent occurrences.
  200.  
  201.         To replace one string with another, press Alt-F3, enter the
  202.     search string and press Return. Pro-Ed will prompt you to enter the
  203.     replace string. Pro-Ed stops on the first occurrence of the search
  204.     string and waits for a command. Your choices are (Y)es, (N)o, or
  205.     (G)lobal. If you press G the search and replace function will proceed
  206.     automatically.
  207.  
  208.         Remember Pro-Ed doesn't look for whole words. If you want to
  209.     replace the label A1 with A2, make sure you don't have something like
  210.     DA1 or don't use global replacement.
  211.  
  212.     MULTIPLE FILE EDITING
  213.         Pro-Ed allows you to load and edit two files at the same time.
  214.     With one file loaded, press Alt-N. A blank screen appears. Now use the
  215.     load command, Alt-F9, to load the second file. Use Alt-N to switch
  216.     back and forth between the files.  Alt-K will clear the current buffer
  217.     and reset all flags and counters.
  218.  
  219.         The files are completely independent. Pro-Ed saves the screen and
  220.     cursor position when you switch files and maintains separate bookmarks
  221.     for each. The search key is common. That is, if you enter a search
  222.     string while working on file one, you can search file two for the same
  223.     string without re-entering it. The paste buffer is also common. This
  224.     allows you to move text between files.
  225.  
  226.     WINDOWS
  227.         Press F5 to split the screen into two horizontal windows. A
  228.     second message bar will appear to divide the screen into an 11-line
  229.     upper section and a 12-line lower section. The file you were viewing
  230.     when you pressed F5 is displayed in the upper window and the alternate
  231.     file, if you have loaded one, is displayed in the lower window. The
  232.     cursor appears in the lower window. Press F5 to toggle the cursor
  233.     between windows.
  234.  
  235.         Except for the fewer number of lines displayed, all functions
  236.     perform the same as in the full screen mode. Press Alt-F5 to return to
  237.     the full screen. The file in the same window as the cursor will be
  238.     displayed.
  239.  
  240.     ASSEMBLY
  241.         Pro-Ed is designed to work with the later versions of the
  242.     Microsoft Macro Assembler, the DOS linker, and EXE2BIN. Press Alt-C to
  243.     create a COM file. Pro-Ed first displays the file name, allows you to
  244.     change it if you wish, and then begins the assembly process. MASM,
  245.     LINK, and EXE2BIN are executed in sequence. The intermediate OBJ and
  246.     EXE files are deleted.
  247.  
  248.         MASM, LINK, and EXE2BIN can be in any subdirectory identified in
  249.     the path command.  The file you are compiling must be in the current
  250.     directory; that is, the directory you were in when you loaded Pro-Ed.
  251.  
  252.         Assembler error messages are directed to a file which is read
  253.     into the error buffer. If errors occurred, Pro-Ed extracts the line
  254.     number and error message. The screen display shifts to show the line
  255.     where the error occurred and the error message is displayed in the
  256.     message bar. Edit the offending line then press Alt-F to display the
  257.     next error. If in correcting a error, you add or delete lines,
  258.     subsequent errors will not be located properly.
  259.  
  260.         Pro-Ed doesn't detect or display Linker errors, but it will
  261.     display the "File cannot be converted" message sometimes displayed by
  262.     EXE2BIN.
  263.     
  264.         Press Alt-E if you want to create an EXE file and Alt-O if you
  265.     want only an object file.
  266.  
  267.     PRINTING
  268.         You can print the file currently displayed by pressing Alt-P.
  269.     Pro-Ed creates a five-space left-hand margin and issues a form feed
  270.     after 54 lines have been printed. If you want to print only part of a
  271.     file, mark the block you want to print, then move it to the alternate
  272.     buffer. Set your printer to start about one inch down from the top of
  273.     the page to get one inch top and bottom margins.  Pro-Ed prints a page
  274.     number at the bottom of the page.
  275.  
  276.         Press Alt-L to print with line numbers.  The same line number
  277.     that is displayed on the screen will be printed in the left margin.
  278.  
  279.     TO EXIT
  280.         To quit your editing session, press F2. If you have made any
  281.     changes to the file since the last save, you will be shown an
  282.     appropriate prompt message. Press Y to lose the changes and any other
  283.     key if you want to save them. If you do the latter, the file name will
  284.     be displayed. You can change it or simply press Return.
  285.     
  286.  
  287.  
  288.     OTHER CIRCLE SOFTWARE PRODUCTS
  289.  
  290.     JOT-IT4 - A memory-resident note pad and screen capture utility.
  291.  
  292.     SPOOL - An efficient print spooler with variable buffer size.
  293.  
  294.