home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / raved.arj / RE.DOC next >
Text File  |  1991-08-30  |  111KB  |  2,349 lines

  1.                                  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                   Ravitz Editor  1.10
  21.  
  22.                    ASCII text editor
  23.              with integrated outlining/overviewing
  24.                   for IBM/DOS systems
  25.  
  26.  
  27.               (C) Copyright Ravitz Software Inc. 1989,1991
  28.  
  29.  
  30.                    Ravitz Software Inc.
  31.                    P.O. Box 25068
  32.                    Lexington, KY  40524-5068
  33.                    USA
  34.                                           
  35.  
  36.                                         r-1
  37.      Contents
  38.  
  39.        Introduction ..................................................... 2
  40.        License and Registration                          3
  41.        What Is New ...................................................... 4
  42.        Installation                               5
  43.        General Information............................................... 6
  44.        Help                                   8
  45.        Entering Text .................................................... 8
  46.        Functions                                  9
  47.        Commands ........................................................ 12
  48.        Menus                                 13
  49.        Edit Command .................................................... 14
  50.        Save Command                              15
  51.        Quit Command .................................................... 16
  52.        Name Command                              16
  53.        Print Command ................................................... 16
  54.        Marking An Area                             17
  55.        Operating On An Area Mark ....................................... 19
  56.        Fill Area Functions                             21
  57.        Line Exclude Functions .......................................... 22
  58.        Position Mark Functions                         26
  59.        Word Wrap Margins Command ....................................... 27
  60.        Tab Command                                 27
  61.        Basic Flow Functions ............................................ 28
  62.        Paragraph Reflow Functions                         30
  63.        Drawing Modes ................................................... 30
  64.        Find Command                              31
  65.        Change Command .................................................. 33
  66.        Order Lines Command                             34
  67.        Line Number Command ............................................. 34
  68.        Trash Buffer                              35
  69.        Dos Shell Command ............................................... 35
  70.        Windows and Split Screen                         36
  71.        Status Line ..................................................... 36
  72.        File and Device Names                         37
  73.        Memory Management ............................................... 37
  74.        Housekeeping Details                          38
  75.        Mouse Handling .................................................. 39
  76.        Displays                                 39
  77.        Tips ............................................................ 40
  78.        Messages                                 41
  79.        Compatibility and Technical Information ......................... 45
  80.        What RE Cannot Do                             47
  81.        User Support .................................................... 48
  82.                                           
  83.  
  84.                                         r-2
  85.      Introduction
  86.  
  87.        Ravitz  Editor (RE) is a shareware  ASCII  text editor  for    IBM/DOS
  88.        computers.  It is  mid sized  (46K to 64K) but  very  powerful, with
  89.        integrated outlining and overviewing.
  90.  
  91.        RE has organizational aids that let you hide (exclude) lines to view
  92.        and operate    on  program,  outline,    and  document structures,  sort
  93.        lines, mark and return to positions, and  view two files or parts of
  94.        the same file at once.  A change tracking system lets you review new
  95.        and modified lines, and a trash buffer lets    you recover deleted and
  96.        changed lines.
  97.  
  98.        The user interface includes features such as: one character mnemonic
  99.        functions,  commands,  and  options;  menus;  mouse    input;    and  an
  100.        internal instant help system.
  101.  
  102.        RE  includes  find and change functions  with  options such as word,
  103.        ignore excluded lines, look only  in marked area, all, and show all.
  104.        Its marked area functions include overlay, copy lines,  delete, fill
  105.        with  block    pattern,  fill    with  line  pattern,  uppercase,  shift
  106.        horizontal, and shift vertical.  Each of these functions may include
  107.        or ignore  excluded    lines.    There  are  also functions  to help  in
  108.        writing  documents  such  as  word    wrap,  flow,  flow  with  right
  109.        justification, flow into list, and line drawing.
  110.  
  111.        RE is configurable via profiles that are installed  within  the  EXE
  112.        file.  Keyboard usage,  default values,  macros,  menus, panels, and
  113.        help text may be  defined  with a  profile and assembled  into a new
  114.        RE.EXE  with REPROF.  The macro facility  has nestable  macros  with
  115.        looping  and   conditional    control.   See    REPROF.DOC   for   more
  116.        information.
  117.  
  118.        This program is produced by a member of the Association of Shareware
  119.        Professionals (ASP).  ASP wants to  make  sure  that  the  shareware
  120.        principle  works   for  you.   If  you   are  unable  to  resolve  a
  121.        shareware-related  problem  with  an ASP  member  by  contacting the
  122.        member directly, ASP may be able to help. The ASP Ombudsman can help
  123.        you resolve a  dispute or problem  with an  ASP member, but does not
  124.        provide technical support for members' products. Please write to the
  125.        ASP    Ombudsman at  545  Grover Road,  Muskegon, MI 49442  or send  a
  126.        CompuServe message via CompuServe Mail to ASP Ombudsman 70007,3536.
  127.                                           
  128.  
  129.                                         r-3
  130.      License and Registration
  131.  
  132.        Ravitz Editor is  provided as is.  There are no warranties expressed
  133.        or implied.
  134.  
  135.        Ravitz Editor is distributed as shareware. You may use Ravitz Editor
  136.        without charge  on  a  trial basis to  determine its suitability for
  137.        you.  If  you  continue  to    use  RE  after    your  evaluation  a $35
  138.        registration is requested. There is no cost to upgrade from any 1.**
  139.        version to any other 1.** version.
  140.  
  141.        You    may  distribute RE if  you keep  the  entire  package together,
  142.        unchanged,  including  this license    explanation,  and do not charge
  143.        more than $10.  You may include special profiles if they are clearly
  144.        marked as such.
  145.  
  146.        To register your copy of RE, send your name, address, and $35 check,
  147.        and specify Ravitz Editor 1.10, to:
  148.  
  149.          Ravitz Software Inc.
  150.          P.O. Box 25068
  151.          Lexington, KY  40524-5068
  152.          USA
  153.  
  154.        You    will  be sent  a current disk  (specify 3.5  or  5.25).  If you
  155.        previously registered RE, you may send $10 to get a current disk.
  156.  
  157.        For users outside the USA, please make checks payable in US dollars,
  158.        and    except for Canada, please use  a check or money order from a US
  159.        bank if possible.  And don't forget to  include your country in your
  160.        address.
  161.  
  162.        For users who register through a  business, don't  forget to include
  163.        your name.
  164.                                           
  165.  
  166.                                         r-4
  167.      What Is New
  168.  
  169.        For version 1.10:
  170.  
  171.          DOS (or XMS) upper memory blocks are used.
  172.          The high memory area is no longer used.
  173.  
  174.        For version 1.09:
  175.  
  176.          .\ is allowed at the start of a file name.
  177.  
  178.        For version 1.07:
  179.  
  180.          There is a bug fix - in 1.04-1.06 the move unexcluded lines
  181.          function caused problems.
  182.  
  183.        For version 1.06:
  184.  
  185.          There is a bug fix - in 1.04, 1.05 joined lines were not marked as
  186.          changed. This is fixed for 1.06.
  187.  
  188.        For version 1.05:
  189.  
  190.          DESQview screen updates are faster.
  191.  
  192.        For version 1.04:
  193.  
  194.          RE can use XMS upper memory blocks and 64K of EMS memory.
  195.          A trash buffer temporarily preserves modified lines.
  196.          Save and restore excluded state functions.
  197.          The move lines, copy lines, and delete lines functions do not
  198.            require full line area marks.
  199.          ^iflnarmk and ^ifnotlnarmk are removed.
  200.  
  201.        The    latest    version  of  RE  is available from the support bulletin
  202.        board  at  606-268-0577  (1200/2400,N,8,1  24  hours/day,  XMODEM or
  203.        YMODEM (1K XMODEM) download), packed in .ZIP format.
  204.                                           
  205.  
  206.                                         r-5
  207.      Installation
  208.  
  209.        The RE package consists of these files:
  210.  
  211.          RE.EXE     program (not included - must be generated with REPROF)
  212.          RE.DOC     documentation
  213.          REPROF.EXE  profile assembler program
  214.          REPROF.DOC  profile documentation
  215.          REPROF.1     default profile
  216.          REPROF.2     alternate profile
  217.          REPROF.MAC  miscellaneous macros
  218.          README.*     quick information
  219.  
  220.        To  install RE  copy the distribution  files to your working disk or
  221.        directory.  Run  "REPROF" from  the    DOS  prompt.  This  will create
  222.        RE.EXE.
  223.  
  224.        RE.EXE is a stand alone executable file.  You can use it without any
  225.        other file - help text is included within the EXE file.
  226.  
  227.        RE.DOC is  this manual.  You  will need it for in-depth explanations
  228.        that are  not included in the program  help text.  You  can print it
  229.        with "COPY RE.DOC PRN" (49 pages).
  230.  
  231.        REPROF.EXE  is the profile assembler.  It  assembles  a  profile  to
  232.        create a new RE.EXE,  and can also regenerate the  original    RE.EXE.
  233.        REPROF.1 and REPROF.2  are  profiles  that can  be  used as starting
  234.        points  for    your  personalization    of   RE.   REPROF.DOC  is   the
  235.        documentation, which  may be printed with "COPY REPROF.DOC PRN"  (41
  236.        pages).
  237.  
  238.        REPROF.MAC is a set of macros that may be useful.
  239.  
  240.        If you are using 360K diskettes then you cannot fit all of the files
  241.        on one diskette.  The easiest way to handle this is to print the two
  242.        .DOC  files and keep the rest of the files on one disk.  You can use
  243.        the disk to create a personalized version of RE and copy that RE.EXE
  244.        to your work disks.
  245.  
  246.        The README.* files are not needed to run RE, but they must accompany
  247.        the rest of the files if you distribute the package.
  248.                                           
  249.  
  250.                                         r-6
  251.      General Information
  252.  
  253.        The    general flow of RE is: start the program; load a disk file into
  254.        memory  or start with no data; update the in-memory data; and output
  255.        the data to disk.
  256.  
  257.        To start RE from the DOS prompt, type RE and press enter.  This will
  258.        start with an empty    file.  If you prefer to start with an old file,
  259.        type RE and the file name at the DOS prompt.  The display must be in
  260.        80 (or greater) column mode or RE will not start. If this is not the
  261.        case, use the  DOS MODE command  to set it (MODE CO80, MODE BW80, or
  262.        MODE MONO).
  263.  
  264.        To  save your  data and exit from RE, use  the S (Save) and Q (Quit)
  265.        commands, described below.
  266.  
  267.        You interface with RE in one of four ways.  The first way is through
  268.        the letter and number keys. The screen and computer memory will echo
  269.        your input at the cursor location.  The cursor is  seen as a  bright
  270.        block behind a character or a  highlighted underscored character (on
  271.        a digital monochrome display).
  272.  
  273.        The second way is through function keys.  These keys perform various
  274.        often used functions.  They    include the  cursor movement  keys, the
  275.        enter, insert, and delete keys, many alt and  ctrl shifted keys, and
  276.        others.  These  keys  and  their  functions    are  described    in  the
  277.        FUNCTIONS section.  To  get started,  try the  alt-n key (for  a new
  278.        line)  and the  cursor movement keys.  Some function keys do  two or
  279.        three   functions,  sometimes  depending   on  cursor   position  to
  280.        distinguish which function  to do  and  sometimes requiring multiple
  281.        presses to  do a specific function.    Examples are split line  / join
  282.        lines and center / left side / right side. This minimizes the number
  283.        of keys that you need to remember.
  284.  
  285.        The third way  is  through commands.  You enter commands  on the top
  286.        line of the screen  (the command  line) and execute them by pressing
  287.        the enter key.  They  include functions that  require  the entry  of
  288.        names, numbers,  or options.  Examples are edit a file, save a file,
  289.        and find  a    string.  These    are  described in the COMMANDS section.
  290.        Important commands for getting started are: E file to edit a file; S
  291.        to save a file; and Q to quit.
  292.  
  293.        The fourth way is  menus.  When a menu is displayed you can move the
  294.        selection  bar to any item with  the cursor keys and select the item
  295.        with the enter key.    If one of the letters in an item is capitalized
  296.        then that item can be immediately  selected    by pressing the letter.
  297.        Esc backs  out of the menu and PgUp and PgDn display the previous or
  298.        next  menu.    Menu functions are  referred to  here with the key that
  299.        displays  the  menu    followed   by  the  item   name,   for    example
  300.        f2-Directory.
  301.  
  302.        RE is described in this manual but  the  best way to learn RE is  by
  303.        using it.  If an explanation is not    clear, please try the function.
  304.        Do not be afraid to experiment.
  305.                                           
  306.  
  307.                                         r-7
  308.        A short RE session to  create a  new file looks like this.  Function
  309.        keys are enclosed in "(" and ")". From DOS:
  310.  
  311.          re program.pas (enter)         start with an empty file
  312.          (csr dn) (csr dn)             move cursor to first blank line
  313.          program add; (enter)         enter text
  314.          var i: integer; (enter)         .
  315.          begin (enter)             .
  316.          i:=16+4; (enter)             .
  317.          end.                 .
  318.          (esc) s (enter)             save file to program.pas
  319.          q (enter)                 return to DOS.
  320.  
  321.        A short session to modify this file looks like this. From DOS:
  322.  
  323.          re program.pas (enter)         start RE and read file
  324.          (csr dn) (csr dn) (csr dn)      move cursor
  325.          (csr rt) (csr rt) (csr rt)      .
  326.          (csr rt) (csr rt)             .
  327.          (ins)                 toggle to insert mode
  328.          ,j                  insert new text
  329.          (csr dn) (csr dn) (alt-n)         move cursor and insert new line
  330.          j:=i+6;                 enter text
  331.          (esc) sq (enter)             save file to program.pas and quit.
  332.                                           
  333.  
  334.                                         r-8
  335.      Help
  336.  
  337.        RE's help system is invoked with f1-Help_system or alt-f1.  The help
  338.        item on  each  menu and alt-f1  from a menu start the help system on
  339.        the page specific to the menu.
  340.  
  341.        The help  system may be paged  through with pgup, up, pgdn, and down
  342.        or any specific page may be selected with  its page    letter.  Esc or
  343.        alt-f1 backs out of the help system.
  344.  
  345.        The help system has explanations  for RE's functions  and it will be
  346.        useful  to  help learn  and    use  RE.  But  it does not replace this
  347.        reference.
  348.  
  349.      Entering Text
  350.  
  351.        You    enter text in RE just like most other programs - text is echoed
  352.        at  the cursor position and the  cursor is moved in preparation  for
  353.        the next character.    There are a few devices that help  to make room
  354.        for your text.  These only work in the text area, not on the command
  355.        line.  The first is    word wrap, which  is a common feature that lets
  356.        you enter text continuously. The word wrap feature inserts new lines
  357.        and    moves words that cross the margins so that the text fits within
  358.        the margins.  See  WORD  WRAP MARGINS COMMAND  to set the  word wrap
  359.        margins.
  360.  
  361.        RE  does word wrap only when you type a character in the  right word
  362.        wrap column    and  then  type  another  character.  After  the  first
  363.        character  has been    entered,  a  "w"  appears on  the  status line.
  364.        Anything other than a character cancels the word wrap.  The new line
  365.        caused by  a word wrap starts in the left word wrap column.    You are
  366.        not prevented from entering text outside the word wrap margins.
  367.  
  368.        In  the word wrap state (after entering a character in the word wrap
  369.        column), if the right word  wrap column is at the edge of the screen
  370.        then the cursor does not make its usual move, but if you continue on
  371.        and cause the word wrap then the cursor  is adjusted before entering
  372.        the next character.    This lets you keep the right margin at the edge
  373.        of the screen.
  374.  
  375.        RE does an automatic horizontal screen scroll when  two  consecutive
  376.        characters  are typed at the right  edge of    the screen.  After  the
  377.        first character is  entered, an "s" appears    on the    status line and
  378.        the cursor does not move. The second character will follow the first
  379.        after the scroll.
  380.  
  381.        When you enter a character on  the "Top ---" or "Bottom ---" line, a
  382.        new line is automatically inserted and  the cursor is  moved to that
  383.        line before the character is entered.
  384.                                           
  385.  
  386.                                         r-9
  387.      Functions
  388.  
  389.        A function is executed by pressing its  associated  key or selecting
  390.        the appropriate  menu  item.  The  following  is a list  of    labeled
  391.        function  keys.  The  use of these keys is generally compatible with
  392.        their use in other programs.
  393.  
  394.          The cursor movement keys (arrow keys) move the cursor one space in
  395.          the  direction indicated by the arrows.  The cursor skips over the
  396.          status  line  (line  2),  and  wraps  around  the    screen    in  all
  397.          directions. In typematic mode, horizontal cursor movement is three
  398.          spaces at a time.
  399.  
  400.          The home key (or  f4-Start_of_line) moves the cursor to  the first
  401.          nonblank character on a  line.  On a blank line the cursor will be
  402.          moved to column 1. If the target column is off the current screen,
  403.          the screen will scroll to show the cursor.
  404.  
  405.          The end key  (or  f4-End_of_line)    moves the cursor to  the  space
  406.          after the last nonblank character on a line.  On a blank line, the
  407.          cursor  will be moved  to column  1.  The screen will  scroll,  if
  408.          needed, to show the cursor.
  409.  
  410.          The forward and backward tab keys move the cursor to the  next and
  411.          previous tab position.  The screen will scroll, if needed, to show
  412.          the  cursor.  The    tab  positions    are  set  with    the T  command,
  413.          described in the TAB COMMAND section. These keys do not insert tab
  414.          characters or blanks in the file. They only move the cursor.
  415.  
  416.          The backspace key deletes the character to the left of the  cursor
  417.          and moves everything that is on and to the right of the cursor one
  418.          space left. The screen will automatically scroll if needed.
  419.  
  420.          The  delete  key deletes the character at the  cursor position and
  421.          moves  everything    that is  to  the right    of the cursor one space
  422.          left.
  423.  
  424.          Caps lock toggles between caps lock mode and lowercase mode.
  425.  
  426.          The insert key toggles between replace and insert mode. In replace
  427.          mode text keys replace the character at the cursor. In insert mode
  428.          text keys insert characters at the cursor, pushing the rest of the
  429.          line to the right.
  430.  
  431.          The  escape key toggles the cursor  between the text  area and the
  432.          command line.  If the cursor is in the text  area then it is moved
  433.          to the start of the command line.    If the cursor is on the command
  434.          line then it is moved to its  last position in the text area or as
  435.          close to  that  position as possible without scrolling the screen.
  436.          The cursor can  also be moved  on or off the command line with the
  437.          cursor up and down keys.
  438.                                           
  439.  
  440.                                        r-10
  441.          The  enter key either executes  a command or moves the  cursor  to
  442.          column 1 of the next line and scrolls the screen  to column 1.  If
  443.          the cursor is on the command line and the command line is nonblank
  444.          then enter executes the command. If the cursor is in the text area
  445.          and the first nonblank character on the  command line is 'F', 'f',
  446.          'C', or  'c' then enter  executes    the  command.  Otherwise  enter
  447.          causes the cursor return function described above.
  448.  
  449.          The page up key (or f4-scroll_Up) scrolls the screen view up.  The
  450.          number of lines scrolled is such  that  the cursor is moved to the
  451.          bottom  of  the  screen or one full  screen minus    one line if the
  452.          cursor is already at the bottom or on the command line.
  453.  
  454.          The  page down key (or f4-scroll_Down) is similar to page    up, but
  455.          it moves the screen view down.
  456.  
  457.          The ctrl-backspace key  (or  f1-delete_line)  deletes the    current
  458.          line. This will not work on an excluded line. On the command line,
  459.          ctrl-backspace blanks the line.
  460.  
  461.          The  ctrl-home and ctrl-end keys (f4-Top_of_file,    f4-Bot_of_file)
  462.          scroll to the top and bottom of a file.
  463.  
  464.          The ctrl-left and ctrl-right keys (f4-scroll_lf_1, f4-scroll_rt_1)
  465.          scroll the screen view left and right one column.
  466.  
  467.          The  ctrl-page  up  and  ctrl-page   down     keys  (f4-scroll_up_1,
  468.          f4-scroll_dn_1) scroll the screen view up and down one line.
  469.  
  470.          The  break key  (ctrl-break on a PC or fn-break on a PCjr) cancels
  471.          printing, sorts, finds, changes, and macros.  No other function in
  472.          RE is interruptible.
  473.  
  474.        All other function keys are obtained by pressing and holding the alt
  475.        key and then pressing one of the letter or number keys.
  476.  
  477.          Alt-a (f1-Ascii_code) lets you enter an ASCII code. After pressing
  478.          alt-a,  enter three digits, representing a number from 0  to  255.
  479.          You  must    enter  three digits.  Use leading zeros to  get numbers
  480.          below 100.  The character represented by this code will  be put in
  481.          your file as if you had  typed  it.  The alt-a function  lets  you
  482.          enter characters  that, if  typed from the keyboard,  would  cause
  483.          various RE functions rather than  being interpreted as characters.
  484.          For  example,  ASCII 13 is interpreted  as  the  enter key, but by
  485.          entering  alt-a 013, you  may put it  in your file.  (note: Do NOT
  486.          press alt while entering your ASCII  code, and if    you wish to use
  487.          the numeric keypad instead of the top row numbers you must use the
  488.          shift key or be in num lock mode.)
  489.  
  490.          Alt-e (f2-Edit_file) edits a file in a new edit session.  The file
  491.          name is specified by the cursor position.    The cursor must be on a
  492.          character in the  file  name, and    the file name  is  delimited by
  493.          blanks or the  left or right end of the  line.  This function puts
  494.          the corresponding edit command  on  the command line and therefore
  495.          destroys any text on the command line.
  496.                                           
  497.  
  498.                                        r-11
  499.          Alt-h  (f3-Highlight_csr) highlights the  cursor  by causing it to
  500.          blink.  The highlighting will disappear after 10 blinks or at  the
  501.          next keystroke.
  502.  
  503.          Alt-k (f1-Erase_end_line) erases from the cursor to the end of the
  504.          line.
  505.  
  506.          Alt-n (f1-New_line) adds a new blank line below the cursor.
  507.  
  508.          Alt-q (f2-Next_session) moves the screen to the  next edit session
  509.          in the session ring.
  510.  
  511.          Alt-r  (f1-Reshow) redisplays the current    line from  the    data in
  512.          memory,  if the cursor is on a  text line.  If  the cursor is on a
  513.          group of excluded lines, then these lines are shown (unexcluded).
  514.  
  515.          Alt-s (f1-Split/join) is  the  split/join function.  If  you press
  516.          alt-s and    there are nonblank characters on or to the right of the
  517.          cursor, then the line will  be split at the cursor position.  This
  518.          includes  characters  that  have been pushed off  the right of the
  519.          screen. If there are only blanks on and to the right of the cursor
  520.          then the line below the current line will be joined to the current
  521.          line at the cursor position. Leading blanks on the joined line are
  522.          removed.  If a line to be    joined will not fit, you  will    get  an
  523.          incorrect cursor position message.
  524.  
  525.          Alt-y (f3-Recall_cmd_up) moves the cursor to the command  line and
  526.          recalls  commands.   Your    last   sixteen     commands   are  saved.
  527.          Consecutive presses of alt-y restores them in reverse order.
  528.  
  529.          Alt-- (alt dash)  (f4-scroll_Left) scrolls  the  screen view left,
  530.          such that the current cursor column is moved to right  edge of the
  531.          screen.
  532.  
  533.          Alt-= (f4-scroll_Right)  scrolls the screen view right,  such that
  534.          the current cursor column is moved to screen column 1.
  535.  
  536.          Alt-7 (f4-up_outline) moves  the cursor up  to the  next line that
  537.          starts on or to the left of the cursor.
  538.  
  539.          Alt-8  (f4-down_outline) moves  the cursor  down to the  next line
  540.          that starts on or to the left of the cursor.
  541.  
  542.        There  are  more  functions described  in  the sections on  area and
  543.        position marks, the find and  change commands, the exclude and  flow
  544.        functions,  line drawing function,  windows,  memory management, and
  545.        help.
  546.                                           
  547.  
  548.                                        r-12
  549.      Commands
  550.  
  551.        Enter commands on the top line of the screen  (this is also referred
  552.        to as the command line). The esc key is a convenient way to move the
  553.        cursor  to the  command line.  The command will be executed when you
  554.        press the enter key.  If the cursor is on  the  command line and the
  555.        command line  is nonblank then  enter executes  the command.  If the
  556.        cursor is in  the data area and the first  nonblank character on the
  557.        command line is  'F', 'f',  'C',  or 'c'  then  enter  executes  the
  558.        command. Otherwise enter causes the cursor return function.
  559.  
  560.        The    length of the command line is the width of the screen.    It does
  561.        not scroll.
  562.  
  563.        In the  command  descriptions here  "("  and  ")"  enclose  optional
  564.        parameters.    "/"  separates    mutually  exclusive parameters.  Option
  565.        characters may follow the command or may be attached  to the command
  566.        character ("S file Q" is the same as "SQ file").
  567.  
  568.        The RE commands are:
  569.  
  570.          C - change        - see CHANGE COMMAND
  571.          D - DOS shell       - see DOS SHELL COMMAND
  572.          E - edit           - see EDIT COMMAND
  573.          F - find           - see FIND COMMAND
  574.          N - name           - see NAME COMMAND
  575.          O - order lines       - see ORDER LINES COMMAND
  576.          P - print           - see PRINT COMMAND
  577.          Q - quit           - see QUIT COMMAND
  578.          S - save           - see SAVE COMMAND
  579.          T - tabs           - see TAB COMMAND
  580.          W - word wrap margins - see WORD WRAP MARGINS COMMAND
  581.          n - line number       - see LINE NUMBER COMMAND.
  582.                                           
  583.  
  584.                                        r-13
  585.      Menus
  586.  
  587.        RE has 10  menus, accessed with f1 through f10.  Menus 2 through  10
  588.        may also  be  accessed from the  first  menu.  Help for each menu is
  589.        available from the "help" item.
  590.  
  591.        When a menu    is  displayed you can  move the  bar cursor to any item
  592.        with  the cursor keys and select the item with enter.  If one of the
  593.        letters in an item is capitalized then that item can be selected  by
  594.        pressing the letter key. Esc backs out of the menu and pgup and pgdn
  595.        display the previous and next menu.
  596.  
  597.        Each  menu  item  represents  an  RE  function,  command,  or  macro
  598.        (sequence of functions).  If the function is available directly from
  599.        a keystroke    then the key is noted with a "<" ("Split/join <a-s" can
  600.        also be invoked with the alt-s key).
  601.  
  602.        If a  menu  item  includes  a  *  then that item initializes  an  RE
  603.        command.  The * represents a string that  you  must enter (such as a
  604.        file name).    To execute the    command press the enter  key.  ("dir_*"
  605.        puts  "ed " on the command line and returns control to  you.  If you
  606.        enter *.pas and press enter you will get a list of .pas files).
  607.  
  608.        If an  item    is marked with    a diamond then    it represents a complex
  609.        macro that may remove your current area mark or pending command.
  610.  
  611.        Displaying (or  escaping  from) a menu does    not change the state of
  612.        RE.    Any displayed message  remains and  any transient  state stays.
  613.        Selecting an item is the same as using a function key.
  614.  
  615.        The Basic menu (f1) lets you select any other menu, the help system,
  616.        or the basic editing functions such as split/join and new line.
  617.  
  618.        The File, Print, DOS  menu (f2  or f1-File,print,dos) includes edit,
  619.        save, quit, session selection, print, and DOS shell functions.
  620.  
  621.        General (f3 or f1-General) has  general functions including    marking
  622.        an area or position, draw mode, and command recall.
  623.  
  624.        Position (f4 or  f1-Position) has functions    that  let you  set  the
  625.        cursor and screen position.
  626.  
  627.        Exclude (f5 or f1-eXclude) has line exclude functions.
  628.  
  629.        Document  Processing  (f6  or  f1-Document_proc)  contains  document
  630.        processing function such as flow, margins, tabs, date, and time.
  631.  
  632.        Find/Change (f7 or f1-fInd/change) has find and change functions.
  633.  
  634.        Modify Mark    Contents  (f8  or  f1-Mod_mk_contents)    has  area  mark
  635.        functions  that modify  the    contents  of  a mark such as  shifting,
  636.        centering, and uppercase.
  637.  
  638.        Copy,  Delete, Fill    Mark (f9 or f1-Copy,del,fill_mk) has area  mark
  639.        functions that copy, overlay, delete, or fill the mark.
  640.  
  641.        Order Lines (f10 or f1-Order_lines) contains line sorting functions.
  642.                                           
  643.  
  644.                                        r-14
  645.      Edit Command
  646.  
  647.        "E (file (C/G)(D)(N/T))" starts a new edit session  and reads in the
  648.        specified   file  (example:    E  PROGRAM.PAS    lets   you   edit  file
  649.        program.pas).  The file  name  may  be a complete DOS file name with
  650.        disk  and path  names (see  FILE  AND  DEVICE NAMES    for  a complete
  651.        description of RE's file name criteria).  The C option says to check
  652.        for    a matching file name in  the  current files, and if found go to
  653.        that  session or if not found start    a new session and  read in  the
  654.        file.  The G option is like the C  option except it will fail if the
  655.        file is not already in the session ring (G means go to file).  The N
  656.        option says to  handle tabs characters as normal characters.  The  T
  657.        option says to expand tab characters on input (this is the default).
  658.        Tab characters that would cause a line to exceed  255 characters are
  659.        not expanded, and cause a line(s) too long message.
  660.  
  661.        If the D option is chosen then instead of reading a file, RE creates
  662.        a  directory list.  The specified file name is  used as  a  mask  to
  663.        screen files for inclusion in the list. If there is no "*" or "?" in
  664.        the file then "\*.*" or "*.*" is added to create the mask.  If the D
  665.        option is not chosen but the file (not the path) contains either "*"
  666.        or "?"  or ends  with "\" or  ":" then the D option is assumed.  The
  667.        file names in the directory list are sorted alphabetically (this can
  668.        be  turned off - see @SORTDIR in REPROF.DOC).  Subdirectories in the
  669.        file list are followed by "\*.*" and  are sorted  to the top of  the
  670.        list.  Time    and date formats  are  configurable (see  @TIMEFORM and
  671.        @DATEFORM). The file attributes are listed as "a" - archive bit set,
  672.        "r" - read only, "h" - hidden,  and "s" - system.  Hidden and system
  673.        files  are normally not shown but may be included (see @SHOWHIDSYS).
  674.        Alt-e  may be used to edit a file or subdirectory from a  file list.
  675.        An edit session with a directory list is the same as an edit session
  676.        with a file except the name on the status lines is not  a valid name
  677.        to  save the session to.  The files names may be used as a selection
  678.        list or may be used to create BAT files that act on the files.
  679.  
  680.        To find a match, the C and G options require an exact match. This is
  681.        easily tricked because  a  given  file  may    be  specified  in  many
  682.        different  ways  (temp  is  the  same  as  temp.   or  c:temp).  The
  683.        @exfilename    patch lets  you  standardize file  names  to  make this
  684.        option much more difficult to trick. However, since DOS lets you use
  685.        various utilities to refer to a given file with different names, the
  686.        C  option  will never  be  foolproof.  The @edcurfl patch  lets  you
  687.        default to the C option.
  688.  
  689.        Alt-e or  f2-Edit_file edits the file that  the  cursor is on.  This
  690.        lets you pick a file or subdirectory from a directory list.
  691.  
  692.        F2-Directory edits a list of files in the current directory. This is
  693.        the same as the command "E *.*" or "ED".
  694.  
  695.        F2-edit_* sets up an edit  command  and f2-dir_* sets up a directory
  696.        list command.
  697.                                           
  698.  
  699.                                        r-15
  700.      Save Command
  701.  
  702.        "S  (file (Q)(B/D/I)(T/N))"    saves the  data  for the  current  edit
  703.        session  (example: S  PROGRAM.PAS saves the    current  data  to  file
  704.        program.pas,  regardless  of  the displayed    file name, S  saves the
  705.        current  data  to the  displayed  file).  The default  file name  is
  706.        displayed on the status line. You may substitute a * for the file to
  707.        refer to the displayed file.
  708.  
  709.        The Q  option  is the same as a Save command and then a Quit command
  710.        except that    the message resulting  from  a successful save    appears
  711.        after the quit is finished.    If the save is not successful, then the
  712.        quit is not done.
  713.  
  714.        The process    used by RE  for saving a file to a file that exists  if
  715.        the B  (Backup) option is chosen or if no save type option is chosen
  716.        is:    delete the file with extension BAK;  save the data to file with
  717.        extension  RE!; rename  the original file with extension BAK; rename
  718.        the    file with extension RE!  to  specified    file  name.  If  the  I
  719.        (Indirect) option  is  chosen then  the process  is: save  to  .RE!;
  720.        delete  the    original file; and rename  .RE!  to  the specified file
  721.        name.  If the D (Direct) option  is chosen then  the file is written
  722.        directly.  This is not  as safe as the other  save types because the
  723.        original file is destroyed before the new one is written.
  724.  
  725.        When  saving  to  a    file  that does not exist, the    save  is always
  726.        directly to that file.
  727.  
  728.        The T  option  says    to  compress the  file    with tab  characters on
  729.        output.  The  N  option  (the  default)  says  to  not  do  any  tab
  730.        compression.
  731.  
  732.        The    Save command does not handle devices correctly (in general), so
  733.        if you  want  to write to a device instead of a file, use  the Print
  734.        command.
  735.  
  736.        F2-Save, and f2-sAve_+_quit invoke the S and SQ commands.
  737.  
  738.        Some hardware /  software setups (especially with disks formatted to
  739.        more than 32M) give very  slow saves with  RE's safe save system due
  740.        to very  slow file renames.    Using the D option should speed this up
  741.        considerably.   D  can  be  made  the  default,  see  @DEFSAVETP  in
  742.        REPROF.DOC.
  743.                                           
  744.  
  745.                                        r-16
  746.      Quit Command
  747.  
  748.        "Q" cancels an edit session WITHOUT saving  the  data.  If you  have
  749.        changed the data since your last save, then you will be prompted for
  750.        confirmation of the Quit command.  If there is only one edit session
  751.        then RE is ended and you will receive the DOS prompt.
  752.  
  753.        F2-Quit does a Quit command.
  754.  
  755.      Name Command
  756.  
  757.        "N file" resets the session file name. No change is made to any disk
  758.        file.  Only the default file  name,    used  by  the Save command  and
  759.        displayed  on the status line, is changed.
  760.  
  761.        The Name command checks  file  name validity and does not  allow the
  762.        standard DOS device    names but does not prohibit other  device names
  763.        or nonexistant paths. These will be caught only when you try to save
  764.        the file.
  765.  
  766.        F2-name_* sets up a Name command.
  767.  
  768.      Print Command
  769.  
  770.        "P (file/device (M)(X))" prints the current file, or an area mark in
  771.        the current file  if the M option is specified, to a file or device.
  772.        PRN,  the default DOS printer, is the default device.  LPT2 and LPT3
  773.        print  to the second and  third printers.  The X option says  to not
  774.        print   excluded   lines.   Break  cancels    printing  at  the  next
  775.        opportunity.
  776.  
  777.        When  printing to a printer or device,  after printing each line, RE
  778.        sends a carriage return and line  feed (ASCII 13, 10) to the printer
  779.        except if the last character of the last line printed is a form feed
  780.        (ASCII 12) then the line feed is suppressed.
  781.  
  782.        If you specify a file then the data    is  written  directly,    without
  783.        checking  for available disk space or making a backup.  If the Print
  784.        command  is successful then the new file is the same  as if    it  had
  785.        been created with a Save command.
  786.  
  787.        F2-print,  f2-print_mark,   f2-print_unex_mark   invoke   the  Print
  788.        command.
  789.                                           
  790.  
  791.                                        r-17
  792.      Marking An Area
  793.  
  794.        To  define  areas  on which    to  do several    functions, RE uses area
  795.        marks.  These marks define rectangular areas of text.  Only one area
  796.        mark may exist at any time.
  797.  
  798.        To use an area mark function,  you  must first mark an area of text.
  799.        There are many ways to do this.
  800.  
  801.          Mark a character with alt-b or f3-mark_Block.
  802.  
  803.          Mark two corners of a block with alt-b or f3-mark_Block.
  804.  
  805.          Mark a line with alt-l or f3-mark_Line.
  806.  
  807.          Mark the first and last lines of a set with alt-l or f3-mark_Line.
  808.  
  809.          Mark a column with f3-mark_column.
  810.  
  811.          Mark the first and last columns of a group with f3-mark_Column.
  812.  
  813.          Mark the entire session with f3-mark_All.
  814.  
  815.          Mark  a block from  the cursor  to  column  1  or 255  with  alt-b
  816.          (f3-mark_Block) and then alt-l (f3-mark_Line). If the cursor is to
  817.          the left of the mark when you press alt-l then the mark is  filled
  818.          out to column 1, otherwise it is filled out to column 255.
  819.  
  820.          Mark a block from the cursor to the top or bottom line with  alt-b
  821.          (f3-mark_Block) and then f3-mark_Column.  If the cursor is to  the
  822.          above the mark when  you do f3-mark_Column then the mark is filled
  823.          out  to the top line,  otherwise  it  is filled  out to the bottom
  824.          line.
  825.  
  826.          Mark a block with the same columns as the previous mark but with a
  827.          new  set  of  lines  with    alt-l  (f3-mark_Line)  and  then  alt-b
  828.          (f3-mark_Block).  This  is  useful  for flowing  several different
  829.          paragraphs to the same margins.  If you have set word wrap margins
  830.          to  something  other than 1 and 255  then alt-l  alt-b  sets these
  831.          margins.
  832.  
  833.          Mark a full column mark with the same columns as the previous mark
  834.          with f3-mark_column and then alt-b  (f3-mark_Block).  If you  have
  835.          set word wrap  margins  to something other  than 1  and  255  then
  836.          f3-mark_column alt-b sets these margins.
  837.  
  838.          Mark the set of lines from the  cursor to the top or bottom of the
  839.          file with alt-l  (f3-mark_Line) and  then    f3-mark_column.  If the
  840.          cursor is    above the initial mark when you do  f3-mark_column then
  841.          the  mark    is  extended to  the top  of the file,    otherwise it is
  842.          extended to the bottom of the file.
  843.  
  844.          Mark  a full column  mark from the cursor    to column 1 or 255 with
  845.          f3-mark_column and then alt-l (f3-mark_Line).  If the cursor is to
  846.          the left of the initial mark when you press alt-l then the mark is
  847.          extended to column 1, otherwise it is extended to column 255.
  848.                                           
  849.  
  850.                                        r-18
  851.        A marked area is highlighted by either underscores or a blue or gray
  852.        background (depending on the display and display mode).
  853.  
  854.        Alt-u (or f3-Unmark) unmarks an area mark.
  855.  
  856.        If an area mark exists and you attempt to create a new one, you will
  857.        get the "Area mark  already    exists" message.  When    this message is
  858.        present, and you repeat the function, the first area is unmarked and
  859.        the requested function works as usual.
  860.  
  861.        F3-mark_block_resize, f3-mark_line_resize, f3-mark_column_resize are
  862.        similar  to the functions explained above, except that when there is
  863.        a complete area and you use the  resize functions, they  will modify
  864.        the    area  mark instead  of    giving the  "Area mark    already exists"
  865.        message.  F3-mark_block_resize updates one corner of the  area mark.
  866.        F3-mark_line_resize    extends or  shrinks the  area mark to cover the
  867.        current  line, leaving the margins unchanged.  F3-mark_column_resize
  868.        extends  or    shrinks the  area mark    to  cover  the    current column,
  869.        leaving the covered    lines  unchanged.  Shrinkage is done  initially
  870.        from the closest side or corner of the mark. Repeating the functions
  871.        cycles through the possibilities of new area marks.
  872.                                           
  873.  
  874.                                        r-19
  875.      Operating On An Area Mark
  876.  
  877.        The following are the basic area mark functions.
  878.  
  879.          Alt-c (f9-Copy_lines)  copies all lines in the area mark after the
  880.          cursor  line.  Entire lines are copied, even if the area mark does
  881.          not cover columns 1 to 255.
  882.  
  883.          Alt-d deletes the contents of an area mark.  Full    line marks  are
  884.          deleted and the lines removed.  Blocks are deleted and the columns
  885.          to  the  right of the mark  are shifted left.  F9-delete_lines and
  886.          f9-delete_block  do  the same  function  but  require  a  specific
  887.          choice.
  888.  
  889.          Alt-g moves the cursor to the position mark and,  on a consecutive
  890.          press, to the area mark, and then on another press,  to the bottom
  891.          of the  area  mark.  F4-go_Ar_mk_ul  and  f4-go_ar_mk_ll  move the
  892.          cursor to the upper left and lower left corners of the mark.
  893.  
  894.          Alt-i (f9-Insert)    inserts the marked area at the cursor location,
  895.          shifting  current text to the right.  If data will  be pushed past
  896.          column  255  (and    therefore lost) then you are given an  are your
  897.          sure prompt.  In general if  the  cursor position is such that the
  898.          contents of the area mark would be changed by  this operation then
  899.          it is not allowed. An area can be inserted to the left of the mark
  900.          if the cursor is aligned with the top  of the mark.  In  this case
  901.          the mark is moved to cover the same text as before the operation.
  902.  
  903.          Alt-m (f9-Move  lines) moves all lines in    the area mark after the
  904.          cursor  line.  Entire lines are moved, even if the area mark  does
  905.          not cover columns 1 to 255.
  906.  
  907.          Alt-o  (f9-Overlay)   overlays  the  marked  area    at  the  cursor
  908.          location.    If  data will be overlayed past column 255 then you are
  909.          given an are your sure prompt. If the cursor position is such that
  910.          the contents of the area mark would  be changed  by this operation
  911.          then it is not allowed.
  912.  
  913.          F9-merge  overlays  the marked area at  the cursor  only where the
  914.          target area is blank.  If the cursor  position  is  such that  the
  915.          contents of the area mark would be changed by  this operation then
  916.          it is not allowed.
  917.  
  918.          Alt-v horizontally centers the contents of an area mark within the
  919.          area mark.  Another (consecutive) press of alt-v moves the text to
  920.          the left side of the area mark (line by line). A third consecutive
  921.          press of  alt-v moves the text to the right side of the area mark.
  922.          F8-Center,   f8-Left_side,  and  f8-Right_side  provide  the  same
  923.          function.
  924.  
  925.          Alt-4 (f9-blank) blanks the marked area.
  926.  
  927.          F8-Upper  and f8-Lower uppercase and lowercase the text within the
  928.          area mark.
  929.  
  930.          F8-upper_First  uppercases  the first letter  of each  word in the
  931.          mark.
  932.                                           
  933.  
  934.                                        r-20
  935.          F8-shift_up shifts text within the area mark up one line.    If data
  936.          will be lost at the edge of the mark then you will be given an are
  937.          you sure prompt.  Repeated presses do not give this  prompt (after
  938.          the first affirmative answer).
  939.  
  940.          F8-shift_down shifts text within the area mark down one line.
  941.  
  942.          Alt-9  (f8-shift_left)  shifts  text within the area mark left one
  943.          column.
  944.  
  945.          Alt-0  (f8-shift_right) shifts text within the area mark right one
  946.          column.
  947.  
  948.        Each of  these functions has  an  equivalent  function that operates
  949.        only  on unexcluded lines.  They are available on the menus and  are
  950.        labeled with  "unex".  With    the  overlay and insert functions, only
  951.        excluded lines  from the marked area are ignored.  Excluded lines in
  952.        the target area are treated as usual.
  953.  
  954.        The    horizontal and vertical  shift functions,  the    upper and lower
  955.        case  functions, the fill  functions,  and the non-line area  delete
  956.        function may only be done when some part of the area  mark is in the
  957.        current window. If you try to delete a line area mark that is not in
  958.        the current window, you will be prompted for confirmation.
  959.  
  960.        Area  marks are  also  used in  conjunction    with the  Find, Change,
  961.        Print,  and    Order  commands,  and  the  flow,   exclude,  and  fill
  962.        functions.
  963.                                           
  964.  
  965.                                        r-21
  966.      Fill Area Functions
  967.  
  968.        Alt-3 (F9-fill_nm_line) fills  the  marked  area with a numeric line
  969.        pattern.  To  fill an area mark from the cursor to the bottom of the
  970.        mark with a line pattern, enter the pattern and press Alt-3.  If the
  971.        cursor  is on a number then    the  number will  be incremented in the
  972.        cursor column on each succeeding line.
  973.  
  974.        Alt-5 (F9-fill_block_pat) fills the marked area with  a  rectangular
  975.        pattern.  To use this function,  enter the fill pattern in the upper
  976.        left  corner  of  the mark,    position the  cursor on the lower right
  977.        corner of the pattern, and press Alt-5.
  978.  
  979.        The cursor may not be on an excluded line during a fill function.
  980.  
  981.        For example:
  982.  
  983.          block pattern        numeric line pattern
  984.  
  985.          z______  abc____        ____36.  _A00007  _____70  ____x70    abcd___
  986.          _______  def____        _______  _______  _______  _______    efghij_
  987.          _______  _______        _______  _______  _______  _______    lmnopqr
  988.          _______  _______        _______  _______  _______  _______    _______
  989.          _______  _______        _______  _______  _______  _______    _______
  990.  
  991.          cursor position:
  992.  
  993.          on z     on f        on 6     on 7     on 7     on 7    on l
  994.  
  995.          yields:
  996.  
  997.          zzzzzzz  abcabca        ____36.  _A00007  _____70  ____x70    abcd___
  998.          zzzzzzz  defdefd        ____37.  _A00008  _____80  ____x80    efghij_
  999.          zzzzzzz  abcabca        ____38.  _A00009  _____90  ____x90    lmnopqr
  1000.          zzzzzzz  defdefd        ____39.  _A00010  ____100  ____x00    lmnopqr
  1001.          zzzzzzz  abcabca        ____40.  _A00011  ____110  ____x10    lmnopqr
  1002.  
  1003.        The    next to last example  gives a  "Numeric  fill overflow" message
  1004.        since RE will not overwrite    the "x".  Only blanks and  0..9 will be
  1005.        overwritten.
  1006.  
  1007.        These  functions   will   ignore   excluded     lines     if   you   use
  1008.        F9-fill_num_ln_pt_unex and F9-fill_block_pat_unex.
  1009.  
  1010.        The numeric line pattern fill is useful when using the line ordering
  1011.        command  to preserve  the original order of lines.  Before doing any
  1012.        sorting, number all lines. Then to get the original order back, sort
  1013.        on these numbers.
  1014.                                           
  1015.  
  1016.                                        r-22
  1017.      Line Exclude Functions
  1018.  
  1019.        The line  exclude function is  used to hide lines from the  display.
  1020.        These lines are not deleted from the file, only from the display.  A
  1021.        hidden  line or set of lines is seen on the screen as a dashed  line
  1022.        followed by the number of hidden lines. The leftmost nonblank column
  1023.        of each hidden line is marked with a plus sign on top  of the dashed
  1024.        line.
  1025.  
  1026.        Alt-x (or  f5-ex_mark_indent) is  the exclude  lines  by indentation
  1027.        function.  It is used both to exclude and reshow lines, depending on
  1028.        the    position of the  cursor  and the  margins of the area mark.  To
  1029.        exclude or reshow  a group of  lines,  first mark  the lines with an
  1030.        area mark.  Then position the cursor and press alt-x.  If the cursor
  1031.        is inside  the  area  mark  then  all lines whose  leftmost nonblank
  1032.        character within  the mark is  at or to  the right of the cursor are
  1033.        excluded  (hidden).    All  other  lines are shown.  If  the cursor is
  1034.        outside the mark then all lines in the mark are  shown.  Blank lines
  1035.        are excluded as if they had a nonblank character in column 256.
  1036.  
  1037.        F5-ex_Indent excludes the  entire  file by  indentation  (as  if the
  1038.        entire file were covered with an area mark).
  1039.  
  1040.        F5-ex_mark_para  is    the exclude  lines by  paragraph  function.  It
  1041.        causes  all    lines that  are nonblank within the  area  mark and are
  1042.        preceded  by lines that are blank  within  the area mark to be shown
  1043.        and all others in the mark to be excluded. If you leave a blank line
  1044.        between each paragraph or subroutine, then this functions compresses
  1045.        the file  view by  showing only the first  line in each paragraph or
  1046.        subroutine.
  1047.  
  1048.        F5-ex_Para excludes the entire file by paragraph.
  1049.  
  1050.        F5-show_Changes shows all modified and new lines (since the start of
  1051.        the session). This function acts on the entire file.
  1052.  
  1053.        F5-Show_all unexcludes the entire file.
  1054.  
  1055.        F5-show_Mark  unexcludes  all  lines in  the  area mark.  F5-ex_mark
  1056.        excludes all lines in the area mark.
  1057.  
  1058.        F5-Reverse_ex  and  f5-reverse_ex_mark  reverse  the  excluded  line
  1059.        status of each line in the file or mark.
  1060.  
  1061.        Alt-r (or f5-reshow) reshows all lines in a set of excluded lines.
  1062.  
  1063.        F5-ex_One_line excludes the line that the cursor is on.
  1064.  
  1065.        F5-unex_First_line  and  f5-unex_Last_line unexclude  the  first and
  1066.        last lines from an excluded group.
  1067.  
  1068.        F5-ex_children excludes  all lines below the current  line up to the
  1069.        next line that  starts at or to the left of the start of the current
  1070.        line.
  1071.  
  1072.        Alt-6 excludes children on  the first press and unexcludes them on a
  1073.        consecutive press.
  1074.                                           
  1075.  
  1076.                                        r-23
  1077.        F5-unex_one_level reexcludes an excluded group  by  indentation with
  1078.        the cursor one character  to the right  of  the start  of the group.
  1079.        This is a macro that uses the area mark.
  1080.  
  1081.        F5-show_*  and  f5-show_mark_*  set    up  find  commands  to    exclude
  1082.        everything  except the string that you  enter.  You must press enter
  1083.        after entering the string.
  1084.  
  1085.        F5-ex_unex_mark_indent works  like  alt-x  except  that  it    ignores
  1086.        excluded lines.
  1087.  
  1088.        F5-save_ex and f5-restore_ex  saves and restores the  excluded state
  1089.        of a session.
  1090.  
  1091.        The home and end keys look for the leftmost and rightmost characters
  1092.        in a set of excluded lines.    All of the area mark functions    work on
  1093.        excluded lines just like they work on normal lines, except that when
  1094.        you    mark an excluded line, all  of the lines in the set represented
  1095.        by the  dashed line are included in the area mark.  The alphanumeric
  1096.        keys, del, backspace, split/join, erase end of line, and enter ASCII
  1097.        code, do not work on excluded lines.
  1098.  
  1099.        Several  RE    commands have options that let    you work  with excluded
  1100.        lines or ignore the lines.  See  the X options of the  Find, Change,
  1101.        Order, and Print  commands.    In  addition,  most  of  the area  mark
  1102.        functions,  except  the  text flow functions,  have versions labeled
  1103.        "unex" that ignore excluded lines.
  1104.  
  1105.        The    Find  command is important to making best use of excluded lines
  1106.        because  when  a  string  is  found,  the  line  that  it  is on  is
  1107.        unexcluded.    The  All, Show all, and Hide all options are  useful in
  1108.        getting the proper lines excluded.
  1109.  
  1110.        The line exclude functions are very useful.    Below is a list of some
  1111.        techniques that you may find helpful.
  1112.  
  1113.          The line  exclude function lets you compress the view of a file by
  1114.          hiding lines that are low in the hierarchy of function. You should
  1115.          design your coding  indentation method to    take  advantage of this
  1116.          function.    To  compress the view of your entire file, by excluding
  1117.          all lines that do not start in column 1, move the cursor to column
  1118.          2 in the text area and do f5-ex_Indent. For example:
  1119.  
  1120.            (* proc1 .. *)            --->     (* proc1 .. *)
  1121.           procedure proc1;                +-+----------..-- 7
  1122.           var i: integer;             (* proc2 .. *)
  1123.           begin                     +-+----------..-- 6
  1124.             i:=1;
  1125.             .
  1126.           end;
  1127.            (* proc2 .. *)
  1128.           procedure proc2;
  1129.           var i: integer;
  1130.           begin
  1131.             .
  1132.           end;
  1133.                                           
  1134.  
  1135.                                        r-24
  1136.          BASIC  programs may be similarly shown.  For example, to show  the
  1137.          subroutine structure of the program on the left:  move  the cursor
  1138.          to column 5  in  the text    area  and do  f3-mark_Column  and  then
  1139.          f3-mark_Line (or alt-l); position    the  cursor in the area mark on
  1140.          column 7; and press alt-x (or f5-ex_mark_indent).
  1141.  
  1142.            1000 'MAIN ROUTINE      --->      1000 'MAIN ROUTINE
  1143.            1010   GOSUB 2000          +----------------------..-- 4
  1144.            1020   GOSUB 3000          2000 'GET DATA
  1145.            1030   GOSUB 4000          +----------------------..-- 2
  1146.            1040   STOP              3000 'CALCULATE RESULTS
  1147.            2000 'GET DATA              +----------------------..-- 2
  1148.            2010   .               4000 'OUTPUT RESULTS
  1149.            2020   .               +----------------------..-- 2
  1150.            3000 'CALCULATE RESULTS
  1151.            3010   .
  1152.            3020   .
  1153.            4000 'OUTPUT RESULTS
  1154.            4010   .
  1155.            4020   .
  1156.  
  1157.          To  add  confidence  to moves of large blocks of text, exclude the
  1158.          middle lines of the  block.  This    lets you view the  entire block
  1159.          while doing the move.
  1160.  
  1161.          Another  use  of  the  line exclude  function  is    to  help column
  1162.          manipulation.  If you want to  move columns of text,  exclude  all
  1163.          lines of the column except the first and last.  Then it is easy to
  1164.          put an area mark around an entire column.
  1165.  
  1166.          Suppose you want to find the  rightmost character in  a  group  of
  1167.          lines.  Mark the group with a  line area  mark and  do f5-ex_mark.
  1168.          This  excludes all lines in the group.  Then press end to move the
  1169.          cursor to    the blank after  the rightmost character.  Press alt-u,
  1170.          alt-b, cursor left, alt-b, cursor right, and alt-x. All lines with
  1171.          characters in the rightmost position will be unexcluded (this will
  1172.          not work if the rightmost character is in column 255).
  1173.  
  1174.          The  line exclude function is  also useful for matching  BEGIN and
  1175.          END statements in the case  of missing or extra END statements (in
  1176.          Pascal). Exclude statements between the lowest level BEGIN and END
  1177.          statements. Continue excluding statements between higher levels of
  1178.          BEGIN and END statements until you find your problem. You can also
  1179.          try the commands "fs begin" and then "fa end".
  1180.  
  1181.          If you want to re-exclude    an excluded group of lines,  but do not
  1182.          know what    level of indentation to use: put the cursor on the line
  1183.          and press alt-l; press  alt-r to reshow  the  lines but  leave the
  1184.          area mark; choose a cursor position; and press alt-x.
  1185.                                           
  1186.  
  1187.                                        r-25
  1188.          If you want  to sort a section of an outline, retaining sub-topics
  1189.          with  their  title  line,    exclude   the  sub-topics  (exclude  by
  1190.          indentation)  and    sort  with the    X option or f10-ascend_ex.  For
  1191.          example:
  1192.  
  1193.            title C      -->  title C          -->  title A     -->  title A
  1194.          line c1     +------- 3         +------- 1     line a1
  1195.          line c2       title A           title B          title B
  1196.          line c3     +------- 1         +------- 2     line b1
  1197.            title A           title B           title C        line b2
  1198.          line a1     +------- 2         +------- 3       title C
  1199.            title B                            line c1
  1200.          line b1                        line c2
  1201.          line b2                        line c3
  1202.                                           
  1203.  
  1204.                                        r-26
  1205.      Position Mark Functions
  1206.  
  1207.        The alt-p key places the position mark under the cursor.  After  the
  1208.        cursor is moved,  the position mark    is  seen as a bright background
  1209.        (red on a color screen). The position mark may be placed in the text
  1210.        area only.
  1211.  
  1212.        The    position mark may be reset  at    any time by pressing alt-p.  To
  1213.        delete the  position mark, put  the    cursor    on top of the mark  and
  1214.        press alt-p.
  1215.  
  1216.        When the position  mark  is    in  the  current  edit session, and the
  1217.        cursor is on an editable or excluded line, then the width and height
  1218.        from  the position mark to the  cursor (inclusive)  are displayed on
  1219.        the status line in place of the file name.
  1220.  
  1221.        The alt-p and alt-g keys work  together to  provide a mark  position
  1222.        and go to marked position function. Alt-p sets the position mark. To
  1223.        return  to this  position from anywhere  within  RE except  the help
  1224.        system,  press alt-g (or f4-go_Pos_mk).  (A second press of alt-g or
  1225.        if  there is no position mark moves the cursor to the  area mark and
  1226.        then the bottom of the area mark.)
  1227.  
  1228.        If the cursor is  not on the position  mark then you  may delete the
  1229.        mark by  pressing  alt-p twice.  The first alt-p moves the  position
  1230.        mark under the cursor, and the second deletes it.
  1231.  
  1232.        F3-set_Pos_mk, f3-remove_ps_mk, and f4-go_Pos_mk provide menu access
  1233.        to these functions.
  1234.                                           
  1235.  
  1236.                                        r-27
  1237.      Word Wrap Margins Command
  1238.  
  1239.        "W ((col1) col2)" sets the word wrap margins. If the columns are not
  1240.        present  then 1 and 255 are assumed.  If just one column  is present
  1241.        then the left margin is set to 1.
  1242.  
  1243.        Word   wrap     margins  may  be  set    at  the  cursor  position  with
  1244.        f6-set_Left_margin and f6-set_Right_margin. And they may be set to 1
  1245.        and    70  with   f6-margin_1..70  or    reset    to   1    and   255  with
  1246.        f6-margins_Off. F6-Margins_*_* sets up a general W command.
  1247.  
  1248.        See ENTERING TEXT for a description of RE's word wrap function.
  1249.  
  1250.        When the word wrap margins are not 1 and 255, and you create an area
  1251.        mark  with  alt-l  alt-b, then  the mark  will span    the  word  wrap
  1252.        margins.
  1253.  
  1254.      Tab Command
  1255.  
  1256.        The T command lets you specify what kind of tabs you want to use. "T
  1257.        (setnumber)"  sets the tab keys to use the specified tab set number.
  1258.        1 is the default which is an automatic  tab function.  Tab set 2 has
  1259.        tabs at 1, 9, 17, ... Tab sets 3 through 10 are not defined. See the
  1260.        REPROF.DOC to set these up as desired.
  1261.  
  1262.        "T col1 col2 .." sets conventional tabs at col1, col2, etc. You must
  1263.        use at least two columns so that  RE  recognizes that  you  are  not
  1264.        trying to set a tab set.
  1265.  
  1266.        "T A l c" sets  the    automatic  tab    looking  at l lines (1..8)  and
  1267.        maximum columns c (1..254). The default tab set 1 is A 4 8.
  1268.  
  1269.        In  automatic  tab mode, tab positions are determined by RE and  are
  1270.        based on word starts on the current line and a number of lines above
  1271.        the current line. The tab positions are:
  1272.  
  1273.          columns 1 and 255
  1274.  
  1275.          the start of every word on the current line
  1276.  
  1277.          the start of every word on the line above this if that position is
  1278.          not between  one  blank  to the left of a word on the current line
  1279.          and one blank to the right of a word on the current line and so on
  1280.          for each examined line above this
  1281.  
  1282.          a set number of columns in both directions from the cursor
  1283.                                           
  1284.  
  1285.                                        r-28
  1286.      Basic Flow Functions
  1287.  
  1288.        The flow and right justify functions flow (or reflow ) the  words in
  1289.        a  set of lines,  so that  they  fill but do  not exceed  the  space
  1290.        between two columns.  Additionally, the first word may be positioned
  1291.        anywhere  from  column  one    to  the right column.  This allows  for
  1292.        indentation    of the first line of a paragraph, or outline numbers to
  1293.        the left of a flowed group.
  1294.  
  1295.        The flow into list function flows the words in a set of lines into a
  1296.        list so that each word is on a separate line.
  1297.  
  1298.        The alt-f key (or f6-flow_mark) is the flow function key.  To flow a
  1299.        group of lines, set an area mark  such that the  lines  to be flowed
  1300.        are contained between  the upper  and lower limits of area mark, and
  1301.        the left and right  margins are set with the left and right sides of
  1302.        area mark.  If you want a special position for the first word in the
  1303.        flow, move the cursor to  this  position  (on the first line  of the
  1304.        area mark). Then press alt-f.
  1305.  
  1306.        Alt-j and f6-rt_justify_mk  work exactly like  alt-f except that the
  1307.        text is right justified. Spaces are added evenly between words; then
  1308.        extra spaces are added at  random after periods, exclamation points,
  1309.        and    question  marks; and  then extra spaces  are  added randomly at
  1310.        other spaces.  Spaces are never added to spaces that are to the left
  1311.        of the area mark.
  1312.  
  1313.        Alt-t (or f6-flow_mark_list) is the flow into list function. To flow
  1314.        the words in  a group  of lines into a list,  set an  area mark such
  1315.        that the left  side of the mark is where you want the left margin of
  1316.        the list.  Words that are wider than the mark will be split, so make
  1317.        the mark wide enough  to handle all of the words (use alt-b alt-l to
  1318.        insure this). Then press alt-t.
  1319.  
  1320.        The flow functions will work only if the area mark is in the current
  1321.        window.  If your area mark is only one column wide, then you will be
  1322.        prompted for confirmation.
  1323.  
  1324.        If you  are    flowing a number of paragraphs (with the same margins),
  1325.        use    the alt-b alt-b key combination to  set the first area mark and
  1326.        then the  alt-l alt-b key combination to set successive  area marks.
  1327.        The alt-l alt-b key combination preserves your margins, reducing the
  1328.        keystrokes needed to set up the required area mark.
  1329.  
  1330.        Or if you set the  word wrap margins to other  than 1 and 255, alt-l
  1331.        alt-b sets up the area mark to match those margins.
  1332.  
  1333.        Flow and right justify functions that add an extra space at the  end
  1334.        of a sentence are  available,  but  are not    assigned in the default
  1335.        profile. See REPROF.DOC.
  1336.                                           
  1337.  
  1338.                                        r-29
  1339.        Here are three examples of the flow functions.
  1340.  
  1341.          If  you  have  a paragraph  in  broken  format or    with the  wrong
  1342.          margins, such as:
  1343.  
  1344.            Ravitz Editor (RE) is a general purpose full screen ASCII
  1345.          text    editor for the        IBM Personal Computer family.
  1346.            It requires an 80     column       (or greater), 256 Kbytes of
  1347.            memory,    and  DOS version   2.0 or higher.
  1348.  
  1349.          and you want it right justified between columns 7 and 70: move the
  1350.          cursor  to  the first line on column  7 and press    alt-b; move the
  1351.          cursor to the last line on column 70 and press alt-b; press alt-j.
  1352.          The result is:
  1353.  
  1354.            Ravitz Editor (RE) is a    general  purpose full screen ASCII text
  1355.            editor for the IBM Personal  Computer family.  It requires an 80
  1356.            column (or greater), 256 Kbytes of memory,  and    DOS version 2.0
  1357.            or higher.
  1358.  
  1359.          If  you  prefer  to indent the paragraph  five  spaces, follow the
  1360.          previous instructions, except  before you press  alt-j,  move  the
  1361.          cursor back to the first line on column 12. The result is:
  1362.  
  1363.             Ravitz Editor (RE) is a general purpose full  screen  ASCII
  1364.            text editor for the IBM Personal Computer family. It requires an
  1365.            80 column (or greater), 256  Kbytes  of memory,    and DOS version
  1366.            2.0 or higher.
  1367.  
  1368.          If you are doing a list, try the following. For this text:
  1369.  
  1370.            2)   Ravitz Editor (RE) is a
  1371.            general purpose full screen  ASCII
  1372.            text editor for the IBM Personal Computer family. It requires an
  1373.            80 column (or greater), 256
  1374.            Kbytes of memory, and DOS version
  1375.            2.0 or higher.
  1376.  
  1377.          Move  the    cursor to  the first line on column 10 and press alt-b;
  1378.          move  the cursor to the last  line on column  70 and  press alt-b;
  1379.          move the cursor  to the first line on  column 7; press alt-f.  The
  1380.          result is:
  1381.  
  1382.            2) Ravitz Editor (RE) is a general purpose full screen ASCII
  1383.           text editor for the IBM Personal Computer family. It requires
  1384.           an 80 column (or greater), 256 Kbytes of memory, and DOS
  1385.           version 2.0 or higher.
  1386.                                           
  1387.  
  1388.                                        r-30
  1389.      Paragraph Reflow Functions
  1390.  
  1391.        F6-Flow_para and  f6-rt_Justify_para are  macros that do  everything
  1392.        necessary to flow  a  paragraph.  They  assume  that  paragraphs are
  1393.        delimited by blank lines, and mark the paragraph  that the cursor is
  1394.        in or  above based on either the word wrap margins or if the margins
  1395.        are 1 and  255 then based on the last area mark.  The indentation of
  1396.        the first line is at  the  cursor position.    After the  paragraph is
  1397.        reflowed,  the cursor is  moved below  it.  The current area mark is
  1398.        removed by these functions.
  1399.  
  1400.      Drawing Modes
  1401.  
  1402.        Alt-z  rotates  between  the  three    drawing modes and normal  mode.
  1403.        Starting from normal editing  mode,    one  press of alt-z sets single
  1404.        line  drawing  mode.  Another  consecutive  press  sets  double line
  1405.        drawing  mode.  Another  consecutive  press sets  current  character
  1406.        drawing  mode.  And one  more  consecutive  press  returns to normal
  1407.        editing.  The drawing modes can only be set in the text area. In the
  1408.        line modes, the  PC    ASCII  line character set  is used.  In current
  1409.        character mode, the character that the cursor is on when the mode is
  1410.        invoked is the drawing character.
  1411.  
  1412.        Drawing modes may also be set from the f3 menu.
  1413.  
  1414.        In  the drawing modes, use the cursor keys to trace out  lines.  The
  1415.        drawing character is placed    at the current cursor position and then
  1416.        the cursor is moved in the direction  specified.  In the line modes,
  1417.        joints with other line  characters are done automatically  (but only
  1418.        after the cursor is moved from a position, not when it is moved to a
  1419.        position).  Any key    other  than  the cursor keys and  the set/reset
  1420.        position mark key returns you to normal editing mode.
  1421.  
  1422.        While there    are  only two  line modes, boxes with mixed  modes (for
  1423.        example  double  horizontal and single vertical, or double upper and
  1424.        left  and single lower  and right) may be  created by switching line
  1425.        drawing modes at the corners.
  1426.  
  1427.        One    note  on using mixed line modes may be useful.    If you    have  a
  1428.        double line    and you want to T into it with a single line, bring the
  1429.        cursor up  to the line and then  move it back in the direction  from
  1430.        which it came to complete the joint.
  1431.  
  1432.                 ║              ║            ║
  1433.                 ║              ║            ║
  1434.          cursor line              ║     cursor line    ║
  1435.              ───────   cursor line ───────             ───╨───
  1436.                                           
  1437.  
  1438.                                        r-31
  1439.      Find Command
  1440.  
  1441.        With  the  find  command you can have RE search for a word or  other
  1442.        string. The form of the find function is "F string options". If your
  1443.        string contains blanks  then enclose the string  in    apostrophes  or
  1444.        quotes (' or ").  When  you press  enter  the search  starts at  the
  1445.        cursor position and continues  to the last line (first  line if  you
  1446.        use    options P  or L).  If  the  string is found  then the cursor is
  1447.        placed at the start of the string.  If the  string is on an excluded
  1448.        line then that line is unexcluded.
  1449.  
  1450.        There are  several options to  let  you modify the search.  Each  of
  1451.        these options is represented by one letter.    Combinations of options
  1452.        may    be  entered  after the find string or may  be attached    to  the
  1453.        command letter.
  1454.  
  1455.          N lets you look  for  the    next  occurrence.  This  means that the
  1456.          search starts one space after the cursor position.
  1457.  
  1458.          P lets you look for the previous occurrence.  This means  that the
  1459.          search starts one space  before the cursor position and the search
  1460.          is in the backward direction.
  1461.  
  1462.          F starts the search on the first line and column of the file.
  1463.  
  1464.          L    starts the search on the  last    line and column of the file and
  1465.          causes a search in the backward direction.
  1466.  
  1467.          A finds  (and unexcludes) all occurrences, and  puts the cursor on
  1468.          the first    occurrence.  The number of  finds  is displayed on  the
  1469.          "Found"  message.    If First, Last, Next, or Previous is specified,
  1470.          then that    specifies  the starting point  of the search  otherwise
  1471.          First is assumed.
  1472.  
  1473.          S    (show  all) excludes all lines of  interest (the whole    file or
  1474.          area mark, with  or without  excluded or unexcluded lines) that do
  1475.          not include the specified    find string and unexcludes  lines  that
  1476.          include the  string.  The    number of  finds is displayed  with the
  1477.          "Found"  message and the  cursor  is  put on the command line.  If
  1478.          First,  Last, Next, or  Previous is specified, then that specifies
  1479.          the starting point of the search otherwise First is assumed.
  1480.  
  1481.          H (hide all) is like S  (show  all)  except  that it excludes  all
  1482.          lines of  interest that  include  the  specified  find  string and
  1483.          unexcludes lines that do not include the string.
  1484.  
  1485.          C    causes    RE to check  for a  match of the capitalization of each
  1486.          letter  in  the  find  and  file  strings.  Without  this    option,
  1487.          capitalization  (of the  find string and file  strings) is ignored
  1488.          (by internally converting the strings to uppercase).  For example,
  1489.          to  find the string "RE" without  finding the string "re", use the
  1490.          command "f RE c".
  1491.                                           
  1492.  
  1493.                                        r-32
  1494.          M restricts the  search to the current  area mark.  For example to
  1495.          find the string "the"  only  in  the  first  20  columns,    use the
  1496.          command "m 1 20" to mark the columns, and then  use the command "f
  1497.          the m" to do the search. Even with the M option, the search starts
  1498.          at  the cursor and goes in the normal direction, so if  the cursor
  1499.          is below an area mark and the search is in  the forward direction,
  1500.          nothing will be found.
  1501.  
  1502.          W    narrows the search by requiring  that your string be surrounded
  1503.          by blanks or punctuation.    This implies (loosely) that your string
  1504.          is a word.  For example, if you use the command "f and w" then the
  1505.          next occurrence of the word "and" will be found while the "and" in
  1506.          "landing" will be ignored.  Characters that  do  not delimit words
  1507.          are:  #, $, %, 0..9, @, A..Z, a..z.  All other characters are word
  1508.          delimiters. To change this choice see the @FINDWORD in REPROF.DOC.
  1509.          Any character may be contained within the word.
  1510.  
  1511.          B says to accept a  string only if it is  the beginning of a word.
  1512.          See the W option, above, for details on what is considered a word.
  1513.  
  1514.          E says to accept a string only if it is the end of a word. See the
  1515.          W option, above, for details on what is considered a word.
  1516.  
  1517.          U says to ignore unexcluded lines.
  1518.  
  1519.          X says to ignore excluded lines.
  1520.  
  1521.        The First, Last,  Next, Previous options are mutually exclusive, and
  1522.        may not be combined in one find command. Show all, Hide all, and All
  1523.        are also mutually exclusive.
  1524.  
  1525.        The F7 menu gives a number of standard Find commands to choose from.
  1526.  
  1527.        After a Find command  is executed,  the find  string  and  a set  of
  1528.        options are displayed on the status line. These options are the ones
  1529.        that you entered in your find command,  except that S, H, and A  are
  1530.        not shown, F is changed to  N, L is changed to P, and if you did not
  1531.        specify either N or P then  N is added.  The  displayed  string  and
  1532.        options are used if you do a repeat    find function.    Press alt-1 (or
  1533.        F7-repeat_Find) to do the repeat find. The displayed string may also
  1534.        be  referenced by using a * or blank for the string in an F command.
  1535.        The displayed options may be referenced by using *.    The repeat find
  1536.        function is equivalent to the command "F * *" or "F*".
  1537.  
  1538.        Before  alt-1 repeats the displayed find, it checks the command line
  1539.        for a Find or Change command. If it finds a Find command it executes
  1540.        that command instead of repeating the displayed find.  If it finds a
  1541.        Change command  then it executes the find associated with the change
  1542.        and updates the  displayed  change string (see the  next section for
  1543.        more information on the Change command).
  1544.  
  1545.        The    Hide all option unexcludes  lines before excluding found lines.
  1546.        If  you  want to use it  to successively exclude  lines, use  the  X
  1547.        option  also.  Similarly, to use the S option to successively reshow
  1548.        lines, use the U option also.
  1549.  
  1550.        Break cancels a find command.
  1551.                                           
  1552.  
  1553.                                        r-33
  1554.      Change Command
  1555.  
  1556.        The Change command  does the same search  as the find function,  and
  1557.        then  replaces  the string with  another  string.  Its  form  is  "C
  1558.        findstring changestring  options".  The  change string  is displayed
  1559.        beside the find string on the status line. The syntax and options of
  1560.        the Change command are the same as for the Find command, except that
  1561.        the Next and Previous options start the search at the current cursor
  1562.        position, not the next or previous space.
  1563.  
  1564.        The    F7  menu gives a number of  standard Change  commands to choose
  1565.        from.
  1566.  
  1567.        The findstring of the  Change  command  and the string  of the  Find
  1568.        command  are the same quantity.  So, for example, if  you have found
  1569.        the string  "hte"  with the command "F hte",  you  may change it  to
  1570.        "the" with the command "C * the".
  1571.  
  1572.        If  you press alt-r (f1-Reshow) immediately after changing a string,
  1573.        the    string will be un-changed.  This will not work if you  used the
  1574.        All, Show all, or Hide all option.
  1575.  
  1576.        If your  change will  not  fit  in  255  columns, you will  get  the
  1577.        "Line(s) too long" message and the change will not be done.
  1578.  
  1579.        Break cancels a change command.
  1580.  
  1581.        You may repeat a Change command with alt-2 or F7-repeat_Change. This
  1582.        is equivalent to the command "C * * *" or "C*". Before alt-2 repeats
  1583.        the    displayed change, it checks  the  command line    for a  Find  or
  1584.        Change command.  If    it finds a  Find command it updates the current
  1585.        find string and options before doing the repeat change function.  If
  1586.        it finds a Change command then that    command is  executed instead of
  1587.        repeating the displayed change.
  1588.  
  1589.        A special  case  of the Change command with the  all  options occurs
  1590.        when the find and change  strings both have    no nonblank characters,
  1591.        such as CA ' '  ''.    In this case, nothing to the right of the  last
  1592.        nonblank character on a  line can change,  so these    changes are not
  1593.        reported in the change count.
  1594.  
  1595.        There is no "replace with query" command in RE. However, you can get
  1596.        the    same effect by using the alt-1    (repeat find) and alt-2 (repeat
  1597.        change) functions.  Use  alt-1  to find each string and use alt-2 to
  1598.        change the ones that you want to change.
  1599.                                           
  1600.  
  1601.                                        r-34
  1602.      Order Lines Command
  1603.  
  1604.        To reorder a group of lines, mark the lines with an area mark.  Mark
  1605.        the columns on which to sort with the margins of the area mark. Then
  1606.        execute the O command. Two option selections are required. The first
  1607.        is one  of  the three  options A (ascending),  D (descending), and R
  1608.        (reverse).  The  second is one of the two options X (retain excluded
  1609.        lines with  their  parent  line)  and I (sort  lines independently).
  1610.        Normally the  sort  is  alphabetical,  ignoring  capitalization  and
  1611.        punctuation on characters (for  example "A"    is the    same as "a" and
  1612.        "á"). The C option causes the sort to be by ASCII code.
  1613.  
  1614.        RE's sorts are stable, that is,  lines  with equal sort value remain
  1615.        in  the same order.    This property lets you sort on multiple fields.
  1616.        To do this sort the least significant field first, then  sort on the
  1617.        next least significant field, and so on to the most significant.
  1618.  
  1619.        With  the  A or  D  options,  sorts may  take  a  significant  time,
  1620.        depending  on the number  of lines sorted,  the number of columns in
  1621.        the mark, and the number of significant columns  in the mark.  Break
  1622.        cancels a sort at the next available break point.
  1623.  
  1624.        The f10 menu provides all Order possibilities.
  1625.  
  1626.        To sort sections of outlines, exclude the outline so that everything
  1627.        but    the section  titles are excluded.  Then use the X option of the
  1628.        Order command.
  1629.  
  1630.        To  modify  the   default  collating  sequence,   see  @SORTSEQ   in
  1631.        REPROF.DOC.
  1632.  
  1633.      Line Number Command
  1634.  
  1635.        Any positive integer less than 60000 entered as a command will cause
  1636.        RE to move the  cursor  to that line number.  "0" will scroll to the
  1637.        top of the file.
  1638.                                           
  1639.  
  1640.                                        r-35
  1641.      Trash Buffer
  1642.  
  1643.        When you modify a line in RE, the old line is  kept, temporarily, in
  1644.        the trash buffer.  To  access the trash buffer, use f2-Trash_buffer.
  1645.        This  will  display the  trash  buffer as if  it  were a  normal  RE
  1646.        session.  Text may be copied from the buffer by marking it and using
  1647.        any of  the copy  functions.  To exit  the trash buffer session, use
  1648.        alt-q, f2-Next_session, f2-Previous_session, or the Quit command.
  1649.  
  1650.        The trash buffer is a first in first out list with data added at the
  1651.        bottom and deleted at the top. In normal editing twenty lines are on
  1652.        the list.
  1653.  
  1654.        All area mark functions and Change All temporarily suspend  the list
  1655.        size limit, so if you delete  (for  example) 100 lines  with  alt-d,
  1656.        then the list will have 120 entries at that point.  If you need this
  1657.        data, get it back before any other editing because immediately prior
  1658.        to adding  the next    line to the list, it is  reduced back to twenty
  1659.        lines.  If  RE runs    short  of memory in such a  function,  it  will
  1660.        display the "Defragmenting memory" message  and reinstate the twenty
  1661.        line  limit.  DOS shells and the f3-free_memory function also shrink
  1662.        the trash list to twenty lines.
  1663.  
  1664.        If you put the position mark or an area  mark  in  the trash buffer,
  1665.        lines at or below the mark will not be deleted.  You can quickly run
  1666.        out of space this way, because data is never deleted.
  1667.  
  1668.        While  the  trash  buffer  is the active session in RE, it  does not
  1669.        accept or release trash.
  1670.  
  1671.        The    trash buffer is never the only session in RE.  If you have just
  1672.        one other session, and you quit out of that session, then RE returns
  1673.        you to  DOS, even if  the trash buffer is currently displayed in the
  1674.        inactive window.
  1675.  
  1676.        The trash  buffer may be  disabled -  see @trashlines in REPROF.DOC.
  1677.        This will improve speed on large area mark functions.
  1678.  
  1679.      Dos Shell Command
  1680.  
  1681.        "D  (command)" invokes a DOS shell.    If a command  is specified then
  1682.        only  that command is done and  control  is returned to RE.    If  the
  1683.        command leaves the  cursor  in the upper left corner  of  the screen
  1684.        then control  is given to  RE immediately.  This can be accomplished
  1685.        from a BAT file by making the last command CLS followed by ASCII 26.
  1686.        Otherwise  press enter to return to RE.  If    no command is specified
  1687.        then you must use the  EXIT command from DOS to get back to RE.  You
  1688.        must have at least 64K (4096 paragraphs) of free memory to use the D
  1689.        command.
  1690.  
  1691.        F2-dos and f2-dos_* set up DOS shell commands.
  1692.  
  1693.        The    commands DI, DM, and  DS invoke  program interface  DOS shells.
  1694.        These are currently used only by REPROF which can be called from the
  1695.        RE command line (DI REPROF) to assemble  the current RE session into
  1696.        a new RE.EXE.  See REPROF.DOC. Details of the interface will be made
  1697.        available later (if you have an immediate need, contact me).
  1698.                                           
  1699.  
  1700.                                        r-36
  1701.      Windows and Split Screen
  1702.  
  1703.        RE has two windows, A and B.  When RE is started window A is active.
  1704.        Alt-w or f1-Window_a/b switches the active window.  Window B behaves
  1705.        just like window A but  A and B  keep  distinct  positions  for each
  1706.        file.
  1707.  
  1708.        The     screen  may  show  either  window   alone  or    both   windows.
  1709.        F3-split_screen  splits  the  screen  at the cursor    and leaves both
  1710.        windows visible.  In this case, neither window  can    have less  than
  1711.        three lines of text.  When in split screen  mode the inactive window
  1712.        reflects the current  internal database  - the current  line  is not
  1713.        updated  until   that  line    is  saved  to  the  internal  database.
  1714.        F3-unsplit_screen makes the active window cover the entire screen.
  1715.  
  1716.        The keyboard cursor up and down keys automatically switch the active
  1717.        screen as they traverse the screen.    The autoscroll cursor functions
  1718.        (used by  the  mouse  and  installable on the  keyboard)  scroll the
  1719.        window rather than switching windows.
  1720.  
  1721.      Status Line
  1722.  
  1723.        The second line on the RE screen is a status line. It is highlighted
  1724.        with a bright background. The cursor cannot be moved onto this line.
  1725.        If the screen is split  then  the status lines is  above the  active
  1726.        window and  another status  line with just a file name is  above the
  1727.        inactive window. The status line includes:
  1728.  
  1729.        25 columns for messages,  file  names, and the ruler
  1730.          If there  is no  other message then the active window letter (A or
  1731.          B) is displayed with either the file name or  the ruler, depending
  1732.          on the cursor position and the position mark status.
  1733.        "c" if the  keyboard is in caps  lock mode  or the current  user
  1734.          defined shift state
  1735.        "i", "s", "w", "┼", "╬","*", or "x" if RE is  in insert, autoscroll,
  1736.          word wrap,  single line draw,  double line draw, current character
  1737.          draw, or ignore excluded lines mode
  1738.        "u" if the session has not been changed
  1739.          The  change  state of a  session is  not updated  until the cursor
  1740.          leaves a line, so typing in an unchanged session does not cause it
  1741.          to be changed immediately.
  1742.        "á" or "a" if there is an incomplete or complete area mark
  1743.        "p" if there is a position mark
  1744.        the cursor column
  1745.        the line number  of the cursor  if the cursor  is  on an editable or
  1746.          excluded line, or the  line number of  screen line 3 if the cursor
  1747.          is on the command line and line 3 is an editable or excluded line
  1748.        the ASCII code (decimal) of the character at the cursor  position if
  1749.          the cursor is on an editable line or the command line
  1750.        the current find string
  1751.        the current change string
  1752.        the current find/change options
  1753.  
  1754.        If  the file  name, find string,  or  change string are too long for
  1755.        their status line  fields,  then  the  first  and last  parts of the
  1756.        strings  are  displayed,  with  a diamond  in the  middle.  Only the
  1757.        display is changed. The full strings are kept within RE.
  1758.                                           
  1759.  
  1760.                                        r-37
  1761.      File and Device Names
  1762.  
  1763.        RE  enforces file and device  name restrictions  for the Edit, Save,
  1764.        Print, and Name commands.  This  insures  that you do  not create or
  1765.        input files named by DOS truncating an invalid file name.
  1766.  
  1767.        RE  restricts  all  file and  device  names    to  DOS  2.0  file name
  1768.        standards.  All such  names    are valid under subsequent versions  of
  1769.        DOS. Later versions of DOS allow more flexibility in file names, but
  1770.        this  can  cause  problems  such   as  backward   compatibility  and
  1771.        uppercasing a file name producing an unexpected file.  ".\" (current
  1772.        directory)  and "..\" (parent directory) may be used at the start of
  1773.        a  file  name  (..\re.doc)  or  immediately after  a disk  specifier
  1774.        (c:..\re.doc),  but may  not be  used anywhere else.  All  paths are
  1775.        limited to 63 characters.  If you have  @exfilename set to ^yes then
  1776.        RE fully qualifies all file names that you input  and  all  expanded
  1777.        paths are limited to 63 characters.
  1778.  
  1779.        The standard DOS devices  (CON,  NUL, AUX, COM1, COM2,  COM3,  COM4,
  1780.        PRN, LPT1,  LPT2, and  LPT3) are further restricted to have no disk,
  1781.        path, or extension.    RE will not  let you Edit, Save, or Name any of
  1782.        these devices.
  1783.  
  1784.        And you cannot Save with extensions RE!, BAK, COM, or EXE.
  1785.  
  1786.      Memory Management
  1787.  
  1788.        Each  line  in   the  internal   database  requires    (i+24)    div  16
  1789.        consecutive    paragraphs  (16 characters) where i  is the  number  of
  1790.        characters included    within the  first and last nonblank characters.
  1791.        Lines that are seven or less characters take one paragraph.
  1792.  
  1793.        When RE finds that the available memory is less than about 2 Kbytes,
  1794.        it gives a free memory low warning.    Various functions are disabled.
  1795.        When a new line cannot  be stored in RE's internal data structure, a
  1796.        memory full error is displayed.
  1797.  
  1798.        Whenever RE is waiting for a keystroke it works at defragmenting the
  1799.        internal database.  Occasionally  you may  have  a  free memory  low
  1800.        warning  that  disappears spontaneously.  You may force  a  complete
  1801.        defragmentation with f3-free_memory (but this is never necessary).
  1802.  
  1803.        When  RE runs out of memory in the middle of  an  area  function  or
  1804.        while reading a file, it displays the message "Defragmenting memory"
  1805.        and completely defragments the internal database.  It may do this up
  1806.        to four times in trying to complete a function.
  1807.  
  1808.        F3-free_memory defragments RE's internal database  and  displays the
  1809.        amount of free memory.
  1810.  
  1811.        Whenever RE does a  complete memory    defragmentation  procedure,  it
  1812.        also reduces the trash buffer to twenty lines.
  1813.                                           
  1814.  
  1815.                                        r-38
  1816.      Housekeeping Details
  1817.  
  1818.        RE  lets you edit any number of files at the same time  (subject  to
  1819.        memory limitations).  To add a  new file to those  being edited, use
  1820.        the E command.  To  move between  the  different  files  use  alt-q,
  1821.        f2-Next_session,  or f2-Previous_session.  To remove a file from the
  1822.        current files use the Q  command (if desired, use the  S command  to
  1823.        save the file first).
  1824.  
  1825.        Whenever RE scrolls to a specific line that    line is unexcluded.  If
  1826.        the    line is not on the screen then the  line and cursor  are put on
  1827.        the second line of the edit window.
  1828.  
  1829.        In order  to  prevent keyboard coasting, RE ignores certain repeated
  1830.        keystrokes when it cannot keep  up with them.  All  keys that invoke
  1831.        functions  (rather  than   text)   except   enter,  are  subject  to
  1832.        suppression.  Text is never suppressed.  If you are using a keyboard
  1833.        macro  program, put an  unused function  key (shift-f1 for  example)
  1834.        before each repeated function key to prevent suppression.  If you do
  1835.        not like the decoasting, see @DECOASTKB in REPROF.DOC. Some resident
  1836.        programs  that  take over  the  keyboard interrupt  can disable RE's
  1837.        keyboard decoasting.
  1838.  
  1839.        RE  displays the result of each keystroke, even if another keystroke
  1840.        is in  the  buffer  waiting to be  operated    on.  Together with  the
  1841.        keyboard decoasting system, this lets you use the typematic function
  1842.        of the keyboard without worrying about getting ahead of the display.
  1843.                                           
  1844.  
  1845.                                        r-39
  1846.      Mouse Handling
  1847.  
  1848.        RE has  native  mouse  handling  via the  Microsoft mouse  interface
  1849.        (interrupt hex  33).  You must install MOUSE.SYS or MOUSE.COM to get
  1850.        this  handling.  If    you  wish  to  use  a  mouse  driver that feeds
  1851.        keystrokes to  RE,  you will  probably need to  disable RE's  native
  1852.        mouse handling (see @MOUSE* in REPROF.DOC).
  1853.  
  1854.        The left  mouse button  is  the same as the enter key except that if
  1855.        there is no pending command, the Basic menu is displayed.  The right
  1856.        button  is the same as the esc key.    The middle button is unused but
  1857.        may be assigned. Mouse movement gives autoscroll cursor movement.
  1858.  
  1859.        If you get a two second delay on startup and after a DOS shell it is
  1860.        likely that your mouse hardware reset is causing this.  This happens
  1861.        on  some IBM  PS/2s.  On other systems  there may be a shorter,  but
  1862.        still annoying delay.  See @MOUSE* in REPROF.DOC to change the reset
  1863.        to a software reset.
  1864.  
  1865.      Displays
  1866.  
  1867.        RE  has four  sets of display attributes.  These are: monochrome for
  1868.        use    on a digital  monochrome  display;  color  for use on  a  color
  1869.        display;  black/white  for use  on an analog monochrome display; and
  1870.        lcd for use on laptop computers. RE cannot set the display mode, but
  1871.        it  queries the  current mode on  startup  or  after a DOS shell and
  1872.        chooses its attribute set based on this.
  1873.  
  1874.        RE  can operate under text modes with 80 to 255  columns and 6 to 80
  1875.        lines.  The standard  modes    that  meet these requirements  are CO80
  1876.        (Color  80    column),  BW80    (Black/White   80   column),  and  MONO
  1877.        (Monochrome    80 column).  The mode  may  be set  with  the  DOS MODE
  1878.        command,  or other display  control software, before running  RE  or
  1879.        from a DOS shell.
  1880.  
  1881.        If you use a PC Convertible with  a liquid crystal display, set  the
  1882.        display mode to MONO or BW80 before starting RE.  RE will choose its
  1883.        lcd attributes instead of the normal mono or b/w attributes.  If you
  1884.        attach a color display, set the mode to CO80 to get the normal color
  1885.        attributes.
  1886.  
  1887.        RE can  detect the  use of  a PC  Convertible but  not  other laptop
  1888.        computers. To use the LCD attributes in this case, add the ^setatlcd
  1889.        command to the  startup macro in  your  profile and assemble it with
  1890.        REPROF (see REPROF.DOC).
  1891.  
  1892.        If you normally  use a color monitor  in black/white mode  then  the
  1893.        colors may not  be very good.  This    is  the default  situation on a
  1894.        PCjr.  To  fix  the    problem  add  the  line  "MODE    CO80"  to  your
  1895.        AUTOEXEC.BAT file.  This  requires  that the DOS file MODE.COM be on
  1896.        your boot disk.
  1897.  
  1898.        If you normally use an analog monochrome monitor in color mode, then
  1899.        the    colors will be poor.  This is the default situation with an IBM
  1900.        Portable PC and an IBM PS/2 or VGA with a monochrome monitor. To fix
  1901.        this problem add the line  "MODE BW80"  to  your AUTOEXEC.BAT  file.
  1902.        This requires that the DOS file MODE.COM be on your boot disk.
  1903.                                           
  1904.  
  1905.                                        r-40
  1906.      Tips
  1907.  
  1908.        Here are a few tips that may help you with RE.
  1909.  
  1910.        If  you use the  DOS  shell often and you  have  enough memory,  put
  1911.        COMMAND.COM on a RAM disk, and "SET COMSPEC=D:\COMMAND.COM" in  your
  1912.        AUTOEXEC.BAT. DOS shells will run faster this way.
  1913.  
  1914.        If  you have a set of unequal length strings (one on each line) that
  1915.        need to be enclosed in quotes: put  a  one column block  mark to the
  1916.        left of  strings and fill  it with quotes  (use  f9-fill_block_pat);
  1917.        overlay the column of quotes to  the right  of the  strings (alt-o);
  1918.        extend the mark to the column to the  left  of  the new quotes  with
  1919.        f3-mark_column_resize and shift the strings to the right side of the
  1920.        mark  with f8-Right_side (or alt-v alt-v alt-v); extend  the mark to
  1921.        cover the right hand quotes with f3-mark_column_resize and shift the
  1922.        strings left with f8-Left_side.
  1923.  
  1924.          abcdef      'abcdef    'abcdef '    'abcdef'       'abcdef'
  1925.          abc     -->  'abc       -->    'abc    '  -->       'abc'  -->  'abc'
  1926.          abcd      'abcd     'abcd    '      'abcd'       'abcd'
  1927.  
  1928.        To transfer text between files: edit  both  files  at the same time;
  1929.        mark an area in one file; press alt-q to get to the second file; and
  1930.        then  move, copy, overlay or insert (alt-m, alt-c, alt-o, alt-i) the
  1931.        area mark.
  1932.  
  1933.        If  you  have  decided  where to move a piece of text, but  have not
  1934.        marked the text  yet,  press alt-p to mark  your position, then mark
  1935.        the text, and press alt-g to return to that position.
  1936.  
  1937.        It is rarely necessary to  unmark an area.  When you get  the  "Area
  1938.        mark already  exists" message, repeat the same function.  The unmark
  1939.        will be done automatically and the new area mark will be started.
  1940.  
  1941.        For cursor movement, shifting  text, inserting  new    lines,    and the
  1942.        repeat  find and change functions, the typematic  function of the PC
  1943.        keyboard is    very  useful.  RE prevents  keyboard coasting  on  such
  1944.        functions (not on text),  so generally you can  hold  a function key
  1945.        down until one more key press is needed. For a little practice, mark
  1946.        100 lines of a file, and use the shift left (alt-9) or right (alt-0)
  1947.        function.  If  you want to type ahead  on these keys, press shift-f1
  1948.        (or any unused function key) between each key.
  1949.  
  1950.        If you accidentally overwrite a  file with the  Save command, do not
  1951.        forget that this file is still on your disk, with extension BAK. You
  1952.        can exit RE and fix your  disk, or read  in the BAK file and save it
  1953.        to the correct name.
  1954.  
  1955.        It is wise to save your files to disk  often.  There are many events
  1956.        that can cause RE to lose data such as power failure, memory errors,
  1957.        and problems caused by resident DOS extensions. RE does no automatic
  1958.        backups.
  1959.                                           
  1960.  
  1961.                                        r-41
  1962.      Messages
  1963.  
  1964.        RE displays messages in the first 25 columns of the status line.  In
  1965.        color  mode, informational messages are in  blue and error  messages
  1966.        are in red.    Critical error messages normally cause a  beep, but are
  1967.        silent on an immediate repeat.  A  few  of  the  messages may appear
  1968.        before the new DOS prompt when  RE  cannot be  run  or after  RE  is
  1969.        finished. The following is a list of messages.
  1970.  
  1971.        "Are you sure?  (Y/N)" is a request for you to confirm your command.
  1972.        Type "y" or "Y" to confirm.    Any other key cancels the command.  You
  1973.        can cause this message several ways.
  1974.  
  1975.          Do a  Quit  command  on a file  that you have changed but have not
  1976.          saved.
  1977.  
  1978.          Enter an ASCII decimal 26 as a  character.  This  character is the
  1979.          end  of  file  mark,  so  be  careful  where  you    put  it.   This
  1980.          confirmation is disabled if you patch in new style ASCII files.
  1981.  
  1982.          Do an area mark function immediately after receiving an "Area mark
  1983.          already  exists" or "Incorrect cursor position" message, or a line
  1984.          delete  when the mark is completely off of the screen.  It is then
  1985.          assumed that your area mark may not be as expected, and so you are
  1986.          asked for confirmation before the function is done.
  1987.  
  1988.          Do a flow    or right  justify function on a mark that  is  only one
  1989.          column wide.  This is presumed to be a mistake but it will be done
  1990.          if you confirm it.
  1991.  
  1992.          Do  an area  insert, overlay, or shift  that would  cause nonblank
  1993.          characters to be lost.  On destructive shifts, only the first of a
  1994.          series of identical shifts cause this prompt.
  1995.  
  1996.        "Area  mark    already exists" means  that you are trying to create an
  1997.        area mark  but one  already    exists.  If you immediately retry  your
  1998.        function then the area mark will be removed and the new one created.
  1999.        Or use alt-u to remove the current mark.
  2000.  
  2001.        "Cannot use display    mode" is seen  only on    a DOS screen.  It means
  2002.        that RE cannot work under the current display mode. The display must
  2003.        be in an alpha mode with between 80 and 255 columns. If you get this
  2004.        message after DOS shell, a new shell is  started and you must change
  2005.        the mode before going back to RE.
  2006.  
  2007.        "Changed"  tells  you that  your Change  command  or  repeat  change
  2008.        function is finished.  If the All,  Show all, or Hide all option was
  2009.        chosen and more than one string was changed,  the number of changes,
  2010.        up to 10000, is displayed.
  2011.  
  2012.        "Default disk/dir  changed" means  that you have changed the default
  2013.        disk or directory from a DOS shell.    This  may cause problems if you
  2014.        have not fully qualified your file names.
  2015.  
  2016.        "Defragmenting memory"  is a message that appears when a function is
  2017.        held up because RE is restructuring its internal database.
  2018.                                           
  2019.  
  2020.                                        r-42
  2021.        "Disk/device  error"  means that RE has encountered a problem  while
  2022.        reading from or writing to a disk or device. This can be a directory
  2023.        space problem, a non-existant  drive  or device  (printer), a device
  2024.        error such  as a  printer  that is not ready, or  insufficient  disk
  2025.        space  on  a  Print    command  (Saves  check    for disk  space  before
  2026.        proceeding).
  2027.  
  2028.        "Disk write    protected"  means  that  your  Save  command has failed
  2029.        because the    disk  is  write  protected.  You  may  remove the write
  2030.        protect tape  on  the disk or insert a new disk and execute the Save
  2031.        command again.
  2032.  
  2033.        "DOS  error" usually means that on startup or after a DOS shell, DOS
  2034.        would not  let RE get  or recover its  memory.  This will  generally
  2035.        happen  only  when you  install  a resident    DOS extension from  the
  2036.        shell.  If you  get this  message, you will have  little or    no free
  2037.        memory  to work  with, and it  is  best to save your data and reboot
  2038.        your system.  If a DOS shell command fails  with message before  the
  2039.        shell  is  invoked,    it  means  that  RE could  not find the COMSPEC
  2040.        environment variable, which contains the location of the DOS command
  2041.        processor.
  2042.  
  2043.        "Drive not ready" means that  there is not a disk  in  the requested
  2044.        drive or that the door is not closed.
  2045.  
  2046.        "Enter ASCII code" is the prompt from the alt-a function.
  2047.  
  2048.        "Found" tells you that your Find command or repeat find  function is
  2049.        finished.  If the  All, Show all, or Hide all option  was chosen and
  2050.        more than one string was found, the number of finds, up to 10000, is
  2051.        displayed.
  2052.  
  2053.        "Free memory  (K)" tells you the amount of free memory, in kilobytes
  2054.        (1024  bytes).  This number is truncated  and so is usually a little
  2055.        less than the actual amount of available memory.
  2056.  
  2057.        "Free memory  low" means  that there is less than 2000 bytes of free
  2058.        memory. Certain functions will be disabled and give the insufficient
  2059.        free memory message. You can still do minimal editing, but beware of
  2060.        the memory full error message.
  2061.  
  2062.        "Incorrect Change string" means that the change string  in a  Change
  2063.        command or alt-2 (repeat change) function is not valid.
  2064.  
  2065.        "Incorrect  command" means that  the command that you  are trying to
  2066.        run is not recognized.
  2067.  
  2068.        "Incorrect cursor position" means that the cursor is in an incorrect
  2069.        position for the function that you are trying.
  2070.  
  2071.        "Incorrect file name" means that the file name that you specified in
  2072.        an  Edit,  Name, Print, or Save command  is not a valid file name or
  2073.        the file name in a Save command is not acceptable to RE  (files with
  2074.        extensions BAK, COM, EXE, RE!). See FILE NAMES.
  2075.                                           
  2076.  
  2077.                                        r-43
  2078.        "Incorrect Find string"  means  that  the  find string in a    Find or
  2079.        Change  command  or alt-1 (repeat find)  or    alt-2  (repeat    change)
  2080.        function is not valid.
  2081.  
  2082.        "Incorrect number" says that a number that you entered is not valid.
  2083.        For the alt-a function the number must be from 0 to 255 entered as a
  2084.        three digit number (with leading zeroes if needed). You can also get
  2085.        this message from a Tab, Wrap, or line number command.
  2086.  
  2087.        "Incorrect option" means that one of the options that you  specified
  2088.        in a command  is not  valid    or a pair of options conflict with each
  2089.        other (such as First  and Last).  This is  often a side effect  of a
  2090.        find or  change string  that includes  a blank but is not  delimited
  2091.        with quotes, or a missing blank after the command string.
  2092.  
  2093.        "Insert ?:, press enter" is a prompt  that  tells you to insert  the
  2094.        diskette that you are using as the ? disk (where ? can be A, B, ...)
  2095.        and then press enter to tell RE to continue.
  2096.  
  2097.        "Insufficient disk space"  means that  there  is not enough space on
  2098.        the disk to do the requested save.  You may want to use the D option
  2099.        on the Save command which uses a minimum of space.
  2100.  
  2101.        "Insufficient free  memory" means  that the available memory  is too
  2102.        low to do the requested function. The following functions require no
  2103.        memory: quit, save, blank area, and delete area.
  2104.  
  2105.        "Line(s)  split" means  that one  or  more lines were  split  at 255
  2106.        columns  during  file  input.  "Line(s)  too  long"    means  that  RE
  2107.        encountered a line  that would  exceed 255 columns if the  requested
  2108.        operation  was done.  For this line, the operation was not  done and
  2109.        the message is displayed. Some functions continue after encountering
  2110.        this problem (and may encounter another such line).
  2111.  
  2112.        "Mark is not in  session"  means  that you are  trying to do a Find,
  2113.        Change,  or    Print command with the M option (in area mark), but the
  2114.        area mark is in another file.
  2115.  
  2116.        "Mark is not in  window" means  that  you are  trying to change  the
  2117.        contents of    an area mark, but the  area mark is not in  the  active
  2118.        window.  This is not allowed in  general,  to help  avoid accidental
  2119.        changes.  For a  line  delete (alt-d  on  a line  area  mark) it  is
  2120.        allowed, but you are prompted for confirmation.
  2121.  
  2122.        "Memory full  -  Data Lost" means  that  RE    ran out of memory while
  2123.        executing a    function.  The function did  not complete and  the data
  2124.        needs to be fixed before saving the file.  This message is displayed
  2125.        when  RE cannot save the current line to the internal  database.  In
  2126.        this case changes to the line are removed.
  2127.  
  2128.        "No area mark" means  that you  are    trying    to do  a function  that
  2129.        requires an area mark, but none exists.
  2130.  
  2131.        "No files" means that your requested directory mask has no files.
  2132.  
  2133.        "No    mark" is displayed when you press alt-g (go to mark) but  there
  2134.        is no position mark or area mark.
  2135.                                           
  2136.  
  2137.                                        r-44
  2138.        "Not found" means that your find string was not found.
  2139.  
  2140.        "Not in ring" says that the file that you are trying to go to is not
  2141.        in the current ring of files.
  2142.  
  2143.        "Numeric fill overflow"  means that your numeric  line fill function
  2144.        ran    out  of columns.  The  function was  completed, but is    missing
  2145.        digits to the left of the numbers.
  2146.  
  2147.        "Parameter too long" means that a command line  parameter exceeds 80
  2148.        characters, or 124 characters for a DOS command.
  2149.  
  2150.        "Press enter to continue" is given from  a DOS  shell when RE thinks
  2151.        that there is information on the screen that you may want to look at
  2152.        before you return to the RE screen.
  2153.  
  2154.        "Printed" means that  RE  has finished sending data to  the printer.
  2155.        (The printer may still be working on the job.)
  2156.  
  2157.        "Replace file?  (Y/N)" means that your Save or Print command (with a
  2158.        file explicitly specified) will overwrite a file and you  must press
  2159.        "Y" to  continue the operation.  For Saves, this prompt will only be
  2160.        given for the D and I save types. With the B (default) save type, an
  2161.        overwritten file may be recovered from the .BAK file.
  2162.  
  2163.        "Saved" says that your data was successfully saved.
  2164.  
  2165.        "Saved  - file replaced" says that your data  was successfully saved
  2166.        to  a non-default file name which was already on the  disk.    The old
  2167.        file was renamed with the .BAK extension.
  2168.                                           
  2169.  
  2170.                                        r-45
  2171.      Compatibility and Technical Information
  2172.  
  2173.        RE will run on any IBM compatible MS-DOS computer, with an 80 column
  2174.        (or greater)  monitor, in  a  memory space of  96K (or less for very
  2175.        small files).  RE  supports being  windowed by DESQview  but  not by
  2176.        Windows.
  2177.  
  2178.        RE reads  and  writes standard  ASCII text  files.  For a file to be
  2179.        properly read,  it  must have a CR/LF (hex 0D and 0A, in that order)
  2180.        at the end of each line except the last. EOF (hex 1A) is viewed as a
  2181.        file terminator  but is not required.  By default tab characters are
  2182.        expanded on input. The maximum line length is 255 characters. When a
  2183.        file is written, CR/LF is put at the end of each line including  the
  2184.        last, and EOF is put at the end of the file.  By default there is no
  2185.        tab    compression on output.    All trailing blanks  on  each line  are
  2186.        removed when writing a file.
  2187.  
  2188.        If  RE is modified to work  with  new  style ASCII text  files  (see
  2189.        @FILETP in REPROF.DOC) then EOF is not  viewed as  a file terminator
  2190.        and when writing a file, the final CR/LF/EOF is left off.
  2191.  
  2192.        RE uses BIOS functions  for the display interface except that screen
  2193.        updates are done by writing directly to the display buffer. If color
  2194.        screen update waits are in effect, port hex 3DA is polled.  RE looks
  2195.        for DESQview and, if found, uses the DESQview selected screen buffer
  2196.        and forces  immediate screen updates.  RE finds the display mode and
  2197.        screen size by calling BIOS interrupt hex 10.  The display mode must
  2198.        be a memory mapped text mode with  active page 0.  This is tested by
  2199.        writing  to position 0,0 with BIOS and checking that memory location
  2200.        directly. The number of columns must be from 80 to 255.  At least 10
  2201.        lines are required but this is not checked.    25 lines are needed  to
  2202.        fully display the  default help text  and no more  than 80 lines are
  2203.        ever used.  To run under Windows you must have Windows invoke a text
  2204.        mode.  RE  never  changes  the  display  mode, active  page, or BIOS
  2205.        colors.
  2206.  
  2207.        BIOS functions  are    used for the  keyboard interface.  RE  normally
  2208.        polls the keyboard (see the    @POLLINPUT in REPROF.DOC).  Unused time
  2209.        slices  are returned to DESQview.  By default  the enhanced keyboard
  2210.        functions are not used, but they are available (see @ENHANCEDKB).
  2211.  
  2212.        The Microsoft mouse interface (interrupt hex 33)  is  used for mouse
  2213.        handling. Functions 0 or hex 21 for reset, 3 for button presses, and
  2214.        hex B for motion are the only functions used.
  2215.  
  2216.        All other  input and  output is done  with  DOS  2.0  extended  file
  2217.        management functions, in binary mode if writing to a device.
  2218.  
  2219.        Interrupts hex  1B (BIOS break  key handler), hex 23  (DOS break key
  2220.        handler),  and hex 24 (DOS critical error  handler)    are  taken over
  2221.        when RE  is started from  DOS or a  DOS shell, and  restored  before
  2222.        returning to DOS or    a  DOS shell.  This  is  done with DOS function
  2223.        calls. No other interrupts are taken.
  2224.  
  2225.        The system clock (address hex 0040:006C) is read directly.
  2226.                                           
  2227.  
  2228.                                        r-46
  2229.        RE uses only memory below 1024K.  Except as noted here, RE  does not
  2230.        use extended or expanded  memory or a spill file.  All of DOS memory
  2231.        is used (up to 736K).  Quarterdeck's VIDRAM, included with QEMM 386,
  2232.        converts EGA/VGA video memory to standard DOS memory, and RE can use
  2233.        this.
  2234.  
  2235.        If available, RE uses 4 pages (64K) of  EMS memory, accessed through
  2236.        interrupt hex 67, functions    hex 40, 41,  43, 44, 45.  The memory is
  2237.        remapped after each DOS shell, so programs in the shell can use EMS.
  2238.        This can be disabled (see @nondosmem).
  2239.  
  2240.        RE looks  for  an  XMS  handler  (HIMEM.SYS/EMM386.EXE,  386MAX.SYS,
  2241.        QEMM.SYS),  with interrupt hex 2F functions hex 0 and 10.  If found,
  2242.        RE takes  up  to four  upper memory blocks,    of at  least 4K,  using
  2243.        functions hex 10 and 11. This memory is not available to DOS shells.
  2244.        This can be disabled (see @nondosmem). If no XMS upper memory blocks
  2245.        are found and  DOS is level 5.0 or greater, then RE    will take up to
  2246.        to four DOS upper memory blocks instead, using functions hex  58 and
  2247.        48.
  2248.  
  2249.        RE uses non-DOS memory  (EMS, XMS UMB, DOS  UMB)  preferentially, so
  2250.        that DOS shells have maximum memory.
  2251.  
  2252.        With DOS 3.1 or lower, when you use one diskette drive as A: and B:,
  2253.        RE reads and  writes to the DOS Communication Area single drive mode
  2254.        status byte (address hex 0050:0004).
  2255.  
  2256.        RE  does a number things to help it work  better when running  under
  2257.        DESQview.  Although RE polls  the keyboard,    unused    time slices are
  2258.        returned to DV, so  background tasks work well.  RE writes to the DV
  2259.        selected screen buffer and forces  screen updates with interrupt hex
  2260.        10  function  hex  FF.  This  gives good windowing and clean  screen
  2261.        updates.  When under DV,  the  BIOS cursor  tracks  the  nonblinking
  2262.        cursor  or the menu bar cursor.  This lets DV keep the right part of
  2263.        the screen  displayed.  If you  keep at least forty    columns  in the
  2264.        window, the current menu choice will always be completely visible.
  2265.  
  2266.        Some  old  versions of DESQview,  when  invoked with XDV,  use upper
  2267.        memory blocks without allocating them through XMS.  This will  clash
  2268.        with  RE,  unless  you  disable  RE's   XMS    memory    handling   (see
  2269.        @nondosmem). DV 2.25 handles this correctly.
  2270.  
  2271.        RE.EXE and  REPROF.EXE may be  compressed with EXE  file compressors
  2272.        such as PKLITE and  LZEXE,  but  be    aware  that when  installing  a
  2273.        profile, REPROF generates a completely new and uncompressed RE.EXE.
  2274.  
  2275.        RE was written  by Cary Ravitz  and    compiled with  Borland's  Turbo
  2276.        Pascal 6.0 and  Turbo Assembler 2.0, but  does  not    use  the  Turbo
  2277.        Pascal library or startup code.
  2278.                                           
  2279.  
  2280.                                        r-47
  2281.      What RE Cannot Do
  2282.  
  2283.        RE  cannot do certain things that you might want it    to.  Here is  a
  2284.        list of some of these:
  2285.  
  2286.          use virtual memory management (spill file, expanded memory)
  2287.  
  2288.          handle lines greater than 255 characters
  2289.  
  2290.          string marks  - all area marks are rectangular (Use  split/join to
  2291.          help with string moves.)
  2292.  
  2293.          have more than two windows
  2294.  
  2295.          screen split other than one horizontal split
  2296.  
  2297.          different lines excluded in the same file in different windows
  2298.            (But check out the save and restore excluded lines functions.)
  2299.  
  2300.          preserve trailing blanks when saving
  2301.  
  2302.          run in graphics screen modes
  2303.                                           
  2304.  
  2305.                                        r-48
  2306.      User Support
  2307.  
  2308.        The    quickest way to resolve problems with RE is to use the    support
  2309.        bulletin board. The Ravitz Software support bulletin board is at:
  2310.  
  2311.          606-268-0577  1200/2400,N,8,1  24 hours/day.
  2312.  
  2313.        To ask a question (or make a comment or suggestion), first prepare a
  2314.        file with the details of your question. Please be very specific, and
  2315.        include  any related information  on  your  hardware,  software, and
  2316.        operating environment.  Then call the bulletin board  and choose the
  2317.        upload question  option.  XMODEM file  transfer protocol is required
  2318.        for this.  Your question will be assigned  a number (such as 1015) -
  2319.        remember this number. An answer file (with the assigned number) will
  2320.        be posted, usually within 24 hours.
  2321.  
  2322.        To get  an answer,  call  the  bulletin board,  choose  the download
  2323.        option,  then  the answer option, and then enter the  answer number.
  2324.        XMODEM is also required for downloading answers.
  2325.  
  2326.        All question and answer files are public.
  2327.  
  2328.        The    latest versions of Ravitz Editor and PrintGL are available from
  2329.        the bulletin  board.  These are  packed  in .ZIP  format and may  be
  2330.        downloaded with XMODEM or YMODEM (1K XMODEM).
  2331.  
  2332.        Anyone  may use the bulletin board, however priority may be given to
  2333.        registered users of PrintGL and RE.
  2334.  
  2335.        You may send questions to Compuserve - 70431,32  Cary Ravitz.
  2336.  
  2337.        You may send questions by mail to:
  2338.  
  2339.          Ravitz Software Inc.
  2340.          P.O. Box 25068
  2341.          Lexington, KY  40524-5068
  2342.          USA
  2343.  
  2344.        Please send    a diskette  (360K, 1.2M, 720K,    or 1.44M, 720K is best)
  2345.        with your question  so that example    files or newer    versions of the
  2346.        software may  be  included  with the  response.  Return  postage  is
  2347.        appreciated.
  2348.                                           
  2349.