home *** CD-ROM | disk | FTP | other *** search
/ ftp.update.uu.se / ftp.update.uu.se.2014.03.zip / ftp.update.uu.se / pub / rainbow / msdos / misc / kedtms.lzh / KEDT.DOC < prev    next >
Text File  |  1985-08-09  |  38KB  |  825 lines

  1.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                   Page 1
  2.      
  3.  
  4.      I. INTRODUCTION
  5.      
  6.      
  7.         KEDT is a Rainbow 100 rendition of DEC's standard KED/EDT keypad 
  8.      editor. It is a combination of some of my favorite features from KED 
  9.      and EDT as well as a host of functionality specific for the Rainbow. I 
  10.      think you will find that KEDT looks and feels just like the real 
  11.      thing. Many subtle KED/EDT editing features have been carefully 
  12.      duplicated. In some ways, KEDT actually outperforms KED/EDT. KEDT 
  13.      was originally written for CP/M-86/80; recently it was converted to
  14.      to operate under native mode MS-DOS and takes advantage of many MS-DOS
  15.      features. KEDT may be freely distributed within the public domain but
  16.      may not be sold for profit. Every Rainbow should have a copy!
  17.      
  18.                            Jay Jervey
  19.                            Fountain Valley, CA
  20.                            August 10, 1985 (V1.2)
  21.  
  22.      
  23.      II. INSTALLATION NOTES
  24.      
  25.  
  26.               Usage:   KEDT [drv:][path]filename.ext
  27.      
  28.      To install the editor, place KEDT.COM in a directory pointed to by your
  29.      PATH environment variable. Place KEDT.HLP (the editor's help file) in
  30.      either the default directory that you will be working in or in a
  31.      directory accessible by SEARCH or DPATH. KEDT requires at least 55K
  32.      bytes of free memory.
  33.  
  34.      KEDT creates normal 7-bit ASCII text files (unless you use some of KEDT's
  35.      special formatting features). In general, KEDT does not permit 8-bit
  36.      characters except for those provided by the SPECIAL INSERT function. 
  37.      Thruout this manual, when a function or command is  preceeded by an
  38.      asterisk (*), the feature or attribute set by that function may be
  39.      permanantly saved in a new .COM file using the <Select> Z function.
  40.  
  41.  
  42.      
  43.      III. KEYPAD FUNCTIONS
  44.      
  45.      
  46.          The keypad function layout of KEDT is exactly the same as KED/EDT.
  47.      One additional function (Gold <PF2>) has been added, namely DEFINE
  48.      SEARCH & REPLACE. The HELP function will display a keypad map and may
  49.      be printed with the <Ctrl><Print Screen> function (hint: use 132 column
  50.      mode when printing the keypad map - it looks nicer).     
  51.  
  52.      
  53.         <PF1> or GOLD
  54.      
  55.            Acts as a shift key for keypad functions.
  56.      
  57.      
  58.  
  59.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                     Page 2
  60.  
  61.  
  62.         <PF2> or HELP
  63.      
  64.            Display either a message describing the last error or a helpful 
  65.            summary of KEDT functions. This implementation of HELP is similar
  66.            to DEC's KED editor. Don't be confused by the error message
  67.            display. Just hit <PF2> again to get the function help display.
  68.            There are several screens of help available.
  69.      
  70.         <PF3> or FIND NEXT
  71.      
  72.            Search for the next occurrence of a previously defined search 
  73.            target string.
  74.      
  75.      
  76.         <PF4> or DELETE LINE
  77.      
  78.            Delete the current line of text from the cursor up to, and 
  79.            including, the newline. The previously deleted line is pushed
  80.            on the disposal stack. See later discussions concerning the
  81.            disposal stack.
  82.      
  83.      
  84.         <7> or PAGE
  85.      
  86.            Advance/backup up a page (delimited by a formfeed or ^L).
  87.      
  88.      
  89.         <8> or SECTION
  90.      
  91.            Advance/backup a section (16 lines by default).
  92.      
  93.      
  94.         <9> or APPEND
  95.      
  96.            Append a select range to the paste buffer. With most select-range
  97.            oriented functions, a select range is either a region of text 
  98.            defined by the SELECT function or a search target string (if the
  99.            cursor is on that string). The latter definition takes precedence
  100.            over the former if both ranges exist simultaneously.
  101.      
  102.  
  103.         <-> or DELETE WORD
  104.      
  105.            Delete all text from the cursor up to, but not including, the next
  106.            word. Words are delimited by spaces, tabs, and newlines.
  107.      
  108.      
  109.         <4> or ADVANCE
  110.      
  111.            Causes all functions with directionality to proceed forwards from
  112.            the cursor.
  113.      
  114.      
  115.         <5> or BACKUP
  116.      
  117.            Causes all functions with directionality to proceed backwards from
  118.            the cursor.
  119.      
  120.  
  121.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                       Page 3
  122.  
  123.      
  124.         <6> or CUT
  125.      
  126.            Move text defined by the current select range into the paste
  127.            buffer. The select range text in the edit buffer is deleted and
  128.            the previous contents of the paste buffer are lost.
  129.      
  130.      
  131.         <,> or DELETE CHARACTER
  132.      
  133.            Delete the character immediately under the cursor.
  134.      
  135.      
  136.         <1> or WORD MOVE
  137.      
  138.            Advance/backup one word.
  139.      
  140.      
  141.         <2> or END-OF-LINE
  142.      
  143.            Advance to the end of the current line or backup to the end of
  144.            the previous line.
  145.      
  146.      
  147.         <3> or CHARACTER MOVE
  148.      
  149.            Advance one character (won't backup).
  150.      
  151.      
  152.         <0> or BEGINNING OF LINE
  153.      
  154.            Advance to the beginning of the next line or backup to the
  155.            beginning of the current line.
  156.      
  157.      
  158.         <.> or SELECT
  159.      
  160.            Tag the current cursor position as the beginning of a select
  161.            range. Note that the SELECT function and the Rainbow <Select>
  162.            key have completely different uses. A select range may not
  163.            extend into a virtual disk buffer region. This means a select
  164.            range is limited to about 22,000 characters.
  165.      
  166.      
  167.         <Enter> or ENTER
  168.      
  169.            Terminate prompted input.
  170.      
  171.      
  172.         <Gold PF2> or DEFINE SEARCH & REPLACE
  173.      
  174.            Prompt for search string target and advance/backup to that target.
  175.            Then prompt for replace string and perform replace. Additional
  176.            replaces may be performed with FINDNEXT/REPLACE sequences or
  177.            SUBSTITUTE (see below). The replace string is placed in the paste
  178.            buffer. Thus, a replace string can also be defined by a CUT 
  179.            operation (like KED/EDT).
  180.      
  181.  
  182.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                      Page 4
  183.  
  184.      
  185.         <Gold PF3> or FIND
  186.      
  187.            Prompt for search string target and advance/backup to that target.
  188.            The current search string target is displayed in the prompt. Case
  189.            is generally not significant in the target string. However, the 
  190.            following modifiers may be placed in the target string to provide
  191.            more flexible searching. The notation "<char>" below represents
  192.            any single character.
  193.  
  194.                 ^L<char>  - take <char> literally; this can be used to
  195.                             explicitly search for upper/lowercase.
  196.                 ^N<char>  - match any character except <char>; this is
  197.                             effectively a "NOT" logical operator
  198.                 ^E        - match any character; this is a wildcard
  199.                 ^S        - match any word separator (tab or space)
  200.      
  201.      
  202.         <Gold PF4> or UNDELETE LINE
  203.      
  204.            Insert the previously deleted line at the cursor. This may be
  205.            done repeatedly to make several copies of a line. Note that
  206.            this is the ONLY undelete function that does not pop the 
  207.            disposal stack.
  208.      
  209.      
  210.         <Gold 7> or COMMAND
  211.      
  212.            Prompt for command input. See later section for valid commands.
  213.      
  214.          
  215.         <Gold 8> or FILL
  216.      
  217.            Format text within select range by wrapping words at column
  218.            defined by SET WRAP command. Paragraphs are delimited by a
  219.            blank line, a formfeed, or a tab in column one.
  220.      
  221.  
  222.         <Gold 9> or REPLACE
  223.      
  224.            Substitute the search target string at the cursor with the
  225.            previosuly defined replace string. If the replace string is null
  226.            (ie. the paste buffer is empty), then just delete the search target.
  227.            The replaced string is pushed on the disposal stack. This function
  228.            is similar to the SUBSTITUTE function (see below) except that it
  229.            is not followed by a search for the next target.
  230.      
  231.  
  232.         <Gold -> or UNDELETE WORD
  233.      
  234.            If the last item deleted was a word, then insert that word at the
  235.            cursor. This function is a pseudo version of the KED/EDT undelete
  236.            word operation. It actually just pops the disposal stack. The
  237.            disadvantage of this implementation is that the last word deleted
  238.            will not be popped if some other item was pushed on the stack
  239.            in the interim. Also, this prevents making copies of a word.
  240.            However, the advantage is that you can delete several consecutive
  241.            words and then pop them back somewhere else. To copy a word, you
  242.            may use CUT and PASTE.
  243.  
  244.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                        Page 5
  245.      
  246.      
  247.         <Gold 4> or MOVE TO BOTTOM
  248.      
  249.            Move to the bottom of the edit file.
  250.      
  251.      
  252.         <Gold 5> or MOVE TO TOP
  253.      
  254.            Move to the top of the edit file.
  255.      
  256.      
  257.         <Gold 6> or PASTE
  258.      
  259.            Insert the contents of the paste buffer at the cursor.
  260.      
  261.      
  262.         <Gold ,> or UNDELETE CHARACTER
  263.      
  264.            If the last item deleted was a character, then insert that
  265.            character at the cursor. This function is a pseudo version of 
  266.            the KED/EDT undelete character operation. Like undelete-word,
  267.            it just pops the disposal stack.
  268.      
  269.      
  270.         <Gold 1> or CHANGE CASE
  271.      
  272.            Change the case of the select range. If a select range is not
  273.            active, then change the case of the character at the cursor.
  274.      
  275.      
  276.         <Gold 2> or DELETE TO END-OF-LINE
  277.      
  278.            Delete the current line of text from the cursor up to, but 
  279.            not including, the newline. The previously deleted line is pushed
  280.            on the disposal stack.
  281.  
  282.      
  283.         <Gold 3> or SPECIAL INSERT
  284.      
  285.            This function is somewhat different than the KED/EDT function.
  286.            A page of selected DEC 8-bit ASCII characters and VT100 graphic
  287.            character equivalents is displayed. These can be cut or deleted
  288.            and moved to the edit buffer. Control characters may be inserted
  289.            using the CTRL/K function (described later). WARNING: Certain 
  290.            8-bit characters are used internally by KEDT. Therefore, DO NOT 
  291.            edit binary files with this editor or attempt to use other 8-bit
  292.            characters.
  293.      
  294.      
  295.         <Gold 0> or OPEN LINE
  296.      
  297.            Open a line at the current cursor position.
  298.      
  299.      
  300.         <Gold .> or RESET
  301.      
  302.            Deactivate the select range defined by a previous SELECT function.
  303.      
  304.  
  305.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                         Page 6
  306.  
  307.      
  308.         <Gold Enter> or SUBSTITUTE
  309.      
  310.            Substitute the search target string at the cursor with the previosuly
  311.            defined replace string and then advance/backup to the next search
  312.            target. If the replace string is null, then just delete the search
  313.            target. The replaced target string is pushed on the disposal stack.
  314.            The SUBSITUTE function is useful for repeated replace operations.
  315.            
  316.  
  317.      
  318.      IV. OTHER EDITING FUNCTIONS
  319.      
  320.      
  321.         <Select>        - The Rainbow <Select> key is used by KEDT as a
  322.                           secondary, but separate, Gold key. Do not confuse
  323.                           the <Select> key with the SELECT function even
  324.                           though many of the <Select> key operations involve
  325.                           select ranges.
  326.      
  327.         <Backspace>     - Move cursor to the beginning of the current line.
  328.      
  329.         <Delete>        - Delete the previous character. The deleted character
  330.                           is NOT pushed on the disposal stack.
  331.      
  332.         <Linefeed>      - Delete the previous word.
  333.      
  334.         <Ctrl/U>        - Delete from the cursor to the beginning of the
  335.                           current line. If cursor is already at the
  336.                           beginning of the line, delete the previous line.
  337.                           During prompted input, <Ctrl/U> will cancel the
  338.                           input and any related function (like EDT).
  339.      
  340.         <Remove>        - Delete line from the cursor up to and including the
  341.                           newline and push the line on the disposal stack.
  342.                           Note that this is the ONLY line deletion function
  343.                           that pushes directly to the disposal stack. The
  344.                           other line deletion functions save the line in a
  345.                           special holding area which can be repeatedly
  346.                           undeleted. However, before another deleted line
  347.                           supersedes the current line in this special area,
  348.                           the area is pushed to the regular disposal stack
  349.                           and can be retrieved with the <Insert Here>
  350.                           function described below. 
  351.  
  352.  
  353.         <Insert Here>   - Pop a line (or last item pushed) from the disposal
  354.                           stack.
  355.      
  356.         <Prev Screen>   - Perform a backup section function.
  357.      
  358.         <Next Screen>   - Perform an advance section function.
  359.      
  360.         <Gold>
  361.         <Up Arrow>      - If possible, scroll the screen up 1 line.
  362.      
  363.         <Gold>
  364.         <Down Arrow>    - If possible, scroll the screen down 1 line.
  365.  
  366.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                       Page 7
  367.  
  368.      
  369.         <Gold>
  370.         <Left Arrow>    - If possible, scroll the screen left 1 tab stop.
  371.      
  372.         <Gold>
  373.         <Right Arrow>   - If possible, scroll the screen right 1 tab stop.
  374.      
  375.         <F19>           - Copy the character at the cursor to the right or
  376.                           left depending on the advance/backup state. The
  377.                           <F19> and <F20> functions are particulary useful
  378.                           for VT100 line drawing.
  379.  
  380.         <F20>           - Copy the character at the cursor up or down
  381.                           depending on the advance/backup state.
  382.      
  383.         <Select>
  384.         <Select>        - Clear the screen.
  385.  
  386.         <Ctrl/W>        - Repaint the screen.
  387.      
  388.         <Ctrl/K><Key>   - Insert control key where <Key> is 'A' thru '_'
  389.      
  390.         <Find>          - Exchange the select range tag and the cursor.
  391.                           This is useful for verifying the select range
  392.                           boundaries since KEDT does not reverse-video
  393.                           the select range.
  394.      
  395.         <Select><PF3>   - Make the select range the search string target
  396.                           and move to that target. Very handy.
  397.      
  398.         <Select>
  399.         <Insert Here>   - Toggle overtype/insert mode. KEDT allows over-
  400.                           typing, unlike KED/EDT. When in overtype mode,
  401.                           the cursor can move anywhere on the screen. When
  402.                           text is then placed beyond the end of a line, spaces
  403.                           are inserted to fill out the line. Overtype mode
  404.                           is particulary useful for VT100 line drawing.
  405.      
  406.         <Do> nnn        - Repeat the next function or keystroke nnn times
  407.                           where nnn is a number from 1 to 32767.Obviously,
  408.                           certain functions should not, and will not, be 
  409.                           repeated. Also, do not enter a gigantic number to do
  410.                           something that only requires a moderate repeat count.
  411.                           Otherwise, you may spend a long time waiting for the
  412.                           editor while it loops doing nothing. If nnn is not
  413.                           present, the default repeat count is 4. The default
  414.                           repeat count is multiplied by 4 each time you press
  415.                           <Do> in succession. Thus, <Do><Do> will give 16.
  416.                           <Do><Do><Do> will give 64, etc.
  417.  
  418.         <Ctrl/C>        - Reset the editor. If you are being prompted for
  419.                           input, the prompt and its associated function will
  420.                           be cancelled. Functions that are in progress will
  421.                           not be aborted (searches, disk i/o, printing etc.).
  422.  
  423.         <Help>          - Same as <PF2>.
  424.  
  425.  
  426.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                         Page 8
  427.  
  428.  
  429.       * <Select> S      - Toggle screen background.
  430.      
  431.       * <Select> C      - Toggle column mode (80/132)
  432.      
  433.       * <Select> A      - Toggle screen intensity attribute (bold/normal)
  434.      
  435.       * <Main Screen>   - Toggle keystroke macro definition mode. This is
  436.                           equivalent to the KED LEARN command. When this
  437.                           mode is on, all keystrokes continue to execute
  438.                           normally but they are also saved in a buffer.
  439.                           A sequence of up to 200 keystrokes can be saved.
  440.                           Any key can be saved except <Interrupt> and
  441.                           <Resume>. Pressing <Interrupt> a second time 
  442.                           terminates the keystroke macro definition. The
  443.                           macro buffer can be saved permanently using the
  444.                           <Select> Z function.
  445.  
  446.         <Resume>        - Execute the keystroke macro. If macro definition
  447.                           mode is on, terminate macro definition before
  448.                           executing. If an error is encountered or <Ctrl/C>
  449.                           is pressed during execution, the macro will halt.
  450.  
  451.         <Break>         - Display the filespec of the current edit file.
  452.  
  453.         <Interrupt>     - Push to a new MS-DOS command shell. The edit file
  454.                           and any temporary work files are left open. Do not
  455.                           attempt to edit the same file again while pushed to
  456.                           the new shell. KEDT will try to warn you if you do
  457.                           this. If a file was being created, you will destroy
  458.                           it if you try to edit it again while pushed. However,
  459.                           as long as you use a unique edit filename, you may
  460.                           invoke KEDT multiple times without harm. Caution:
  461.                           you may see lost clusters if you run CHKDSK while
  462.                           pushed to a new shell. These are clusters from
  463.                           KEDT's temp files. Do not ask CHKDSK to remove them.
  464.  
  465.         Prompt
  466.         Terminators     - When being prompted for input, <ESC>, <Ctrl/Z>,
  467.                           <Keypad 4>, <Keypad 5>, and <Enter> will always
  468.                           terminate input. <Return> will also terminate
  469.                           input except when entering a search or replace
  470.                           target (in which case <Return> (ie. newline) is
  471.                           treated as a valid search character). <Keypad 4>
  472.                           and <Keypad 5> will set directionality before
  473.                           terminating input (like KED/EDT). <Ctrl/C>
  474.                           or <Ctrl/U> will abort prompted input.
  475.  
  476.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                        Page 9
  477.  
  478.      
  479.      V. INPUT/OUTPUT FUNCTIONS
  480.  
  481.      
  482.         KEDT provides full directory path support. A path may be specified
  483.         at any prompt that requests a filename. Paths are processed in
  484.         exactly the same manner as the MS-DOS CHDIR command.
  485.  
  486.      
  487.         <Exit>          - Save editing changes in a new file, rename the old
  488.                           file with a .BAK extension, and exit to the system.
  489.                           If a zero-length file would be created, a <Cancel>
  490.                           function is executed instead.
  491.      
  492.         <Select> X      - Identical to the <EXIT> key
  493.      
  494.         <Cancel>        - Return to the system without saving changes. You
  495.                           will be prompted for confirmation before the
  496.                           edit session is terminated.
  497.      
  498.         <Select> Q      - Identical to the <CANCEL> key
  499.      
  500.         <Select> W      - Save editing changes in a new file, rename the old
  501.                           file with a .BAK extension, but don't exit. The
  502.                           edit session will be restarted. This is useful for
  503.                           protecting your work in anticipation of a power
  504.                           failure or system crash.
  505.  
  506.         <F18>           - Prompt for an output filename and write the active
  507.                           select range to that file. The select range is then
  508.                           deleted from the text. This function, combined
  509.                           with <Select> I, can be useful as a disk cut-and-paste
  510.                           function if memory limitations prevent a regular
  511.                           CUT operation. Note: this function and the two that
  512.                           follow will display a default filename in the prompt.
  513.                           When you enter a filename for any of the three
  514.                           functions, that filename becomes the default for 
  515.                           all three.
  516.      
  517.         <Select> O      - Same as <F18>
  518.  
  519.         <F17>           - Prompt for an input filename and read in the entire
  520.                           file at the cursor.
  521.  
  522.         <Select> I      - Same as <F17>
  523.      
  524.         <Addtnl
  525.          Options>       - Prompt for a filename and list that file one screen
  526.                           at a time. The file will wrap back to the top when
  527.                           end-of-file is reached.
  528.  
  529.         <Select> L      - Same as <Addtnl Options>
  530.      
  531.         <Select> M      - Move select range from the list screen to the edit
  532.                           buffer. This function is valid when viewing a
  533.                           screen other than the main edit buffer, eg. when
  534.                           listing another file, during SPECIAL INSERT, when
  535.                           viewing a directory, etc.
  536.  
  537.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                       Page 10
  538.  
  539.     
  540.         <Ctrl>
  541.         <Print Screen>  - Output the entire edit file to the printer. If
  542.                           a screen other than the edit buffer is being
  543.                           viewed, only that screen is printed. This is
  544.                           handy for printing the KEDT help screens.
  545.      
  546.         <Select> P      - Output the active select range to the printer.
  547.      
  548.         <Select> D      - Prompt for a filename and list a directory of
  549.                           those files. Wildcards are allowed. The default
  550.                           is *.*
  551.      
  552.      
  553.         <Select> Z      - Prompt for an executable filename (.COM) and zap
  554.                           the current editor setup to a new image. Tab
  555.                           settings, general screen attributes, etc. can be
  556.                           permanently saved with this function. The default
  557.                           file extension is .COM
  558.      
  559.         <F4>            - Prompt for an output filename and save the entire
  560.                           edit session in that file. This function is useful
  561.                           for emergency saves on another drive if the current
  562.                           drive is full.
  563.  
  564.  
  565.      
  566.      VI. FORMATTING FUNCTIONS
  567.      
  568.      
  569.       * <Select> T      - Display current tab settings and allow tab stops
  570.                           to be set or cleared. Pressing 'C' clears all tabs 
  571.                           and pressing 'D' sets default tabs every 8 columns.
  572.                           To set/clear an individual tab, move the cursor to
  573.                           to the desired column and press 'T'. Only 14 tab
  574.                           stops can be defined at any one time.
  575.      
  576.         <Select> R      - Display a columnar ruler at the top of the screen.
  577.                           Any function which causes the screen to be cleared
  578.                           or repainted will erase the ruler.
  579.  
  580.         <Select> U      - Underline the active select range. If a select
  581.                           range is not defined, then just insert the under-
  582.                           lining format characters. Note: many of the following
  583.                           formatting functions do so with a pair of special
  584.                           formatting characters enclosing the text. The
  585.                           uppercase formatting character turns on the
  586.                           attribute while the lowercase character turns off
  587.                           the attribute. The formatting is performed when
  588.                           the special characters are actually sent to the
  589.                           screen or printer. This can cause some strange
  590.                           problems when doing onscreen formatting of large
  591.                           blocks of text. If everything seems to be out
  592.                           of control, a <Ctrl/C> will clear all attributes.
  593.                           You may find it convenient to format large blocks
  594.                           of text just before printing to avoid onscreen
  595.                           formatting problems. To unformat a section of text,
  596.                           just delete the special characters enclosing it.
  597.                           Formatting attributes can be combined.
  598.  
  599.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                        Page 11
  600.  
  601.      
  602.         <Select> B      - Make the active select range bold. If a select
  603.                           range is not defined, then just insert the bold
  604.                           format characters. Valid for LA50 printer only.
  605.      
  606.         <Select> G      - Convert the select range to VT100 graphics. If
  607.                           a select range is not defined, then just insert
  608.                           the graphics format characters. The SPECIAL
  609.                           INSERT function displays all the VT100 graphics
  610.                           characters and their keyboard equivalents.
  611.      
  612.         <Select> E      - Make the active select range enhanced text on
  613.                           printout. If a select range is not defined, then
  614.                           just insert the enhanced format characters. No
  615.                           onscreen formatting is performed.
  616.      
  617.         <Select>
  618.         <Up Arrow>      - Superscript the active select range on printout.
  619.                           If a select range is not defined, then just insert
  620.                           the superscript format characters. No onscreen
  621.                           formatting is performed. Note: the superscript and
  622.                           subscript formatting characters just cause the 
  623.                           printer to do partial-line movements. You can
  624.                           increase the degree of scripting by inserting 
  625.                           multiple formatting characters. You may need to
  626.                           experiment with scripting on the LA100 printer.
  627.      
  628.         <Select>
  629.         <Down Arrow>    - Subscript the active select range on printout.
  630.                           If a select range is not defined, then just insert
  631.                           the subscript format characters. No onscreen
  632.                           formatting is performed.
  633.      
  634.         <Select> H n    -  Set printer horizontal pitch where n = 1 to 6
  635.                            (5, 6, 8.25, 10, 12, & 16.5 cpi, respectively)
  636.                            No onscreen formatting is performed. The hori-
  637.                            zontal pitch formatting character is a reverse
  638.                            video digit indicating the pitch. Note that this
  639.                            function and the following one do not operate on
  640.                            a select range. The pitch remains in effect until
  641.                            explicitly changed. Note: the default horizontal
  642.                            pitch depends on the column mode (80/132).
  643.      
  644.         <Select> V n    -  Set printer vertical pitch where n = 1 to 6
  645.                            (2, 3, 4, 6, 8, & 12 lines/inch, respectively)
  646.                            No onscreen formatting is performed. The vertical
  647.                            pitch formatting character is an underlined reverse
  648.                            video digit indicating the pitch.
  649.  
  650.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                         Page 12
  651.  
  652.      
  653.      VII. COMMANDS
  654.      
  655.      
  656.          The following commands are valid for the Gold <7> or COMMAND
  657.      function. Many of these commands are redundant. Some are provided
  658.      for KED/EDT compatibility. The minimum command syntax is shown
  659.      in uppercase.
  660.      
  661.      
  662.         EXit          - Same as the <Exit> key.
  663.      
  664.         QUIT          - Same as the <Cancel> key except that confirmation
  665.                         is not required.
  666.      
  667.         Input "file"  - Same as the <F17> function.
  668.      
  669.         Include "file"  - Same as the <F17> function.
  670.  
  671.         Output "file" - Same as the <F18> function.
  672.      
  673.         Write "file"  - Same as the <F18> function.
  674.  
  675.         List "file"   - Same as the <Addtnl Options> function.
  676.      
  677.         DIr "file"    - Same as the <Select> D function.
  678.  
  679.         Help          - Same as the <PF2> or <Help> function.
  680.      
  681.         PRInt         - Same as the <Ctrl><Print Screen> function.
  682.      
  683.         PUrge         - Purge (clear) the paste buffer.
  684.      
  685.         nnnn          - Move cursor to line number nnnn where nnnn = 1
  686.                         to 32767. If nnnn is preceeded by a +/- sign,
  687.                         then the move will be relative to the current
  688.                         line number.
  689.      
  690.         DElete "file" - Delete file.
  691.      
  692.       * SET Font n    - Select printer character font n where n = 1 to 5.
  693.                         This is only valid for the LA100.
  694.      
  695.       * SET NOQuiet   - Ring the keyboard bell on an error condition.
  696.      
  697.       * SET Quiet     - Reverse the screen background on an error condition.
  698.      
  699.       * SET Ctrlz     - Terminate all output files with a Ctrl/Z character
  700.  
  701.       * SET NOCtrlz   - Do not terminate output files with a Ctrl/Z character
  702.  
  703.       * SET WRap n    - Set word-wrap column to n where n = 10 to 120.
  704.                         This is used in conjunction with the FILL function.
  705.  
  706.       * SET WIndow n  - Set the vertical scrolling region to n lines
  707.                         where n = 0 to 21. This is the number of lines
  708.                         that you can move up and down without scrolling.
  709.  
  710.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                        Page 13
  711.  
  712.  
  713.       * SET SEction n - Set the the number of lines to move for the SECTION
  714.                          function to n lines where n = 1 to 22.
  715.  
  716.       * SET SCroll Fast - Allow vertical scrolling to get ahead of the
  717.                           display. This provides for faster response.
  718.  
  719.       * SET SCroll Norm - Do not allow vertical scrolling to get ahead of
  720.                           the display. This mode of scrolling is more like
  721.                           KED/EDT but is slower.
  722.  
  723.       * SET Virtual d: - Use drive d: for virtual buffering. If d: is missing,
  724.                          then the default drive will always be used. This
  725.                          command must be followed by a <Select> Z function
  726.                          in order to become effective. Generally, switching
  727.                          the virtual drive is useful when editing large files
  728.                          on floppy systems. Changing the virtual drive can be
  729.                          effective in the following cases:
  730.  
  731.                          1) I/O will be more efficient when using RAM disk for
  732.                             virtual buffering, particularly on floppy systems.
  733.                          2) Using another drive for virtual buffering on a
  734.                             floppy system can minimize space requirements on
  735.                             the edit drive.
  736.  
  737.                          If space considerations are not a problem and a RAM
  738.                          disk is not available, the default drive is always
  739.                          the most efficient virtual buffering drive. Note also
  740.                          that the input and output files will always remain on
  741.                          the default drive. Thus, if you have enough RAM disk,
  742.                          the greatest speed can be achieved by editing a file
  743.                          directly off the ram disk.
  744.      
  745.  
  746.  
  747.      VIII. IMPLEMENTATION NOTES
  748.      
  749.           The following KED/EDT features are not supported by KEDT:
  750.      
  751.           1) Journaling is not supported.
  752.           2) Multiple simultaneous file editing is not supported.
  753.           3) Key redefinition is not supported.
  754.           4) Line editing mode is not supported.
  755.           5) Buffer commands, substitution commands, etc. at the command
  756.              prompt are not supported.
  757.           6) EDTINI.EDT is not supported.
  758.  
  759.      
  760.           The following KEDT features are implemented differently:
  761.      
  762.           1) KEDT uses a disposal stack for word and character deletion.
  763.              This means you cannot repeatedly undelete the same word/char.
  764.              However, you can delete multiple words/chars and retrieve all
  765.              of them. This can be very efficient.
  766.      
  767.           2) KEDT does not wrap lines automatically like KED and EDT.
  768.              Instead, KEDT scrolls horizontally. This improves performance.
  769.  
  770.      KEDT-MS V1.2  Rainbow MS-DOS Keypad Editor                         Page 14
  771.  
  772.      
  773.           3) KEDT does not reverse-video select ranges like KED and EDT.
  774.              This is one that really bothers me but I couldn't find a good
  775.              way to do it without severely degrading performance.
  776.      
  777.           4) KEDT uses the KED form of help and error reporting.
  778.      
  779.           5) KEDT allows you to continue editing while prompting you for
  780.              input at the top of the screen. This can seem a little strange
  781.              at first but it has the advantage of letting you move the cursor
  782.              around, delete things, etc. even after you've decided to do 
  783.              something that requires a prompt.
  784.     
  785.  
  786.           The following KEDT features/capabilities need to be documented:
  787.      
  788.           1) KEDT can edit files as large as 512K. However, in order to
  789.              edit a 512K file, you would need another 512K of disk space
  790.              for the output file and about 490K for the virtual disk
  791.              buffer. Use this example as a rule of thumb for sizing free
  792.              disk space before you start editing a file. Don't forget.
  793.              You have a panic button, namely the <F4> function, if your
  794.              disk fills up.
  795.  
  796.           3) KEDT may run out of memory if you are editing large files
  797.              and you cut-and-paste large sections of text. If you get
  798.              repeated memory errors, try one or more of the following: 
  799.                  a) Reset the editor with a Ctrl/C
  800.                  b) Clear the paste buffer with the PURGE command
  801.                  c) Save the edit session with a <Select> W
  802.                  d) If all else fails, exit and restart
  803.      
  804.           4) KEDT normally handles errors gracefully and just beeps you.
  805.              However, certain severe errors will clear the screen and
  806.              display an error message (like when the disk fills up).
  807.              Don't be alarmed by this. Just proceed and resolve the
  808.              problem.
  809.      
  810.           5) If KEDT detects a fatal system error on startup, it will notify
  811.              you and then exit. Startup errors are invariably due to
  812.              an illegal drive specifier, an attempt to edit a file on a
  813.              write-protected drive, an illegal filename, or some other
  814.              file system failure.
  815.      
  816.           6) Certain functions are not valid while other functions are
  817.              in progress. You will receive a 'Function not valid in
  818.              this context' error if you try to do too many things at
  819.              once. For example, if you try to define a search string
  820.              while listing a file, you will get this error because KEDT
  821.              cannot prompt you for new input while it's already prompting
  822.              you for input. Note, you can always display the latest error
  823.              message with the help function even if you are being prompted
  824.              for input. You can also quit using <Cancel> at any prompt.
  825.