1 EXTENDEDEVEPLUS

   The commands listed below and described in the guide "User Guide to EVEPlus"
   and "User Guide to Extended_EVEPlus" are available to the user by
   setting up the foreign command:
   EVE :== EDIT/TPU/SEC=pub:Extended_EVEPlus/COM=pub:local_init
    or
   EVE :== EDIT/TPU/SEC=pub:Extended_EVEPlus/COM=pub:rainbow_init
    for VT2xx and Rainbow terminals respectively.

2 COMMANDS

 Extended EVEPlus COMMANDS
                        
 Describe Key          Pce_erase_to_end_of_buffer       Print buffer         
 Destroy buffer        Pce_erase_to_start_of_buffer     Print file           
 Display character     Pce_gki                          Print ff             
 Eliminate tabs        Pce_goto_line_number             Print range          
 EXTENDED EVEPLUS      Pce_help                         Print screen         
 Fix crlfs             Pce_one_window                   Release buffers      
 List buffers          Pce_record_length                Search               
 List commands         Pce_reg_window                   Set eag window keys  
 Number lines          Pce_show_columns                 Set flashing         
 Pce_capitalize_word   Pce_standard_keys                Set mapping          
 Pce_cc_line           Pce_toggle_betwn_bufrs           Set matching         
 Pce_center_line       Pce_two_files                    Set write            
 Pce_change_case       Pce_undelete_last_item_deleted   Set rectangular      
 Pce_define_key        Pce_vt100_key_definitions        Set vms line editing 
 Pce_delete_character  Pce_vt200_key_definitions        Sort buffer          
 Pce_delete_line       Pce_wide_window                  Status line          
 Pce_erase_bol                                          Trim buffer          
 Pce_erase_eol                                          What line            
                                                                             
2 APPEND

    This command either accepts a file name or prompts for a file name to
    append to the end of the current buffer.

2 DESCRIBE KEY

    This command requests a key and then returns a one_line description of
    the key (if one exists).

2 DESTROY BUFFER

    This command will destroy the contents of a  buffer,  and  the  buffer
    itself.   If  the  buffer you are destroying has been modified or is a
    system buffer, you will be asked to confirm the operation.
    The DESTROY BUFFER command is useful when you no longer wish to have a
    buffer in your editing session.

2 DIRECTORY

    Runs the DCL DIRECTORY command and puts the results in the DCL BUFFER.
    All currently valid qualifiers are accepted.

2 DISPLAY CHARACTER

    When the EVE editor  cannot  display  a  character  (e.g.,  a  control
    character)  it substitutes a reverse question mark in its place.  This
    command will interpret the character the cursor is on, and  produce  a
    readable version.  Information about the character includes its octal,
    decimal, and hexidecimal values.

2 ELIMINATE TABS

    This command will remove tabs from your file and substitute the proper
    number of spaces to keep the appearance of the document the same.  The
    ELIMINATE TABS command assumes tabs are set every 8 positions.

2 FIX CRLFS

    This command removes  carriage  returns  and  linefeeds  from  buffers
    (e.g., if you are reading a file generated by Runoff).

2 LIST commands

3 LIST BUFFERS

    This command will produce a list of buffers currently in use.  If  you
    specify  ALL  buffers,  then  both system and user buffers are listed,
    otherwise only user buffers are  listed.   The  LIST  BUFFERS  command
    produces the following display:


         Buffer name            Lines  Attributes

          $LOCAL$INI$             4                      System
          CHOICES                 0  Modified  No-write  System
          COMMANDS                5  Modified  No-write  System
          DCL                     0            No-write  System
          HELP                    0            No-write  System
          INSERT HERE             0            No-write  System
          LIST BUFFER            12  Modified  No-write  System
          MAIL_20E00748.TMP      17  Modified
          MESSAGES               11  Modified  No-write  System
          PROMPTS                 0            No-write  System
          SHOW                    0            No-write  System


    After you issue the command, the Select and Remove keys  change  their
    function  (see table below).  When you leave the buffer containing the
    buffer listing (e.g., via the BUFFER, GET FILE, or GOTO commands)  the
    keys are restored to their original function.

        Function Key   Operation

        <Select>        Performs a BUFFER command for the  buffer  listed
                       in the current line.

        <Remove>        Performs a DESTROY BUFFER command for the  buffer
                       listed in the current line.

3 LIST COMMANDS

    Lists all the EVE (and Extended_EVEPlus) commands in  alphabetical  order.
    If there  are  a large number of commands, the LIST COMMANDS command will
    not be instantaneous.

2 LOAD

    The LOAD command creates a new buffer  and  fills  it  with  the words  in
    the  user dictionary.  If no user dictionary is found the buffer is filled
    with a default set of words.  After filling the  new  buffer,  the buffer
    may be edited (changed) to reflect the users current needs.

2 MAIL

    Runs the MAIL utility in a sub-process.

2 NUMBER LINES

    This command will insert line numbers at the beginning of each line of
    the current editing buffer (a 6-digit number followed by 2 spaces).

                                  Warning

           This command modifies your  buffer  and  there  is  no
           EVEPlus procedure to remove the line numbers that this
           command inserts into the buffer.

                                   NOTE:

    *****  There is now ... see the UNNUMBER LINES command for more info *****

2 PCE commands

3 PCE_CAPITALIZE_WORD

    Changes the case of the current word where the first character is
    capitalized and all other characters are lower case.

3 PCE_CC_LINE

    Changes the case of every character on the line the cursor is
    currently positioned on (current_line).  For example, let's suppose
    you are positioned on the following line:

    tHIS iS a tEST!  tRY iT yOU'LL lIKE iT.  test TEST test ...

    Press <PF1><KP9>  ("SHIFT KP9"/"GOLD KP9")
    The line now appears as:

    This Is A Test!  Try It You'll Like It.  TEST test TEST ...

3 PCE_CENTER_LINE

    By pressing <PF1><KP4> you will center the current line between
    the left and right margins.  This command is dependant upon the
    settings of the left and right margins.  See SET MARGIN command
    in the VAXTPU manual.

3 PCE_CHANGE_CASE

    Pressing the <KP9> key you will invert the case of the current
    character and the cursor will be moved to the next character on
    the line.  If you are currently positioned at the end of a line
    then the cursor will move to the beginning of the following line.

3 PCE_CHANGE_SCROLLING

    Pressing the <SHIFT><K> keys you will change the scrolling mode
    between standard and alternate modes.

3 PCE_COLUMN_XCHANGE

    By pressing the <SHIFT><KP6> keys you may edit columns of data.
    You will be prompted first for the start and end columns and then
    for the old and new strings.  '@' may be used as a wildcard match
    for the old string (this matches anything and everything).  A '^'
    (caret) for the old string and a space for the new string will
    cause everything within the set columns to be set to upper case.
    A '~' (tilde) for the old string and a space for the new string will
    set everything to lower case.  Depending upon which mode, insert or
    overstrike, the user is in this procedure will either insert the
    new string before the beginning column or replace the old string
    with the new string beginning in the start column.

3 PCE_DCL_WINDOW

    This procedure functions just like the VPW DCL window.  It is
    quite a bit more functional than the VAXTPU DCL command.

3 PCE_DELETE_CHARACTER

    Pressing the <PERIOD> key will delete the current character from
    the buffer causing the next character to the right to become the
    current character.  If you are postioned at the end of the current
    line then the following line will be concatenated with the current
    line, i.e. this command includes a line wrap feature.

3 PCE_DELETE_LINE

    Pressing the <SHIFT><PERIOD> keys will delete the current line.

3 PCE_ERASE_BOL

    Pressing <F17> causes all characters from the current character
    to the beginning of the line to be erased (deleted) from the buffer.
    The current character becomes the new beginning of the line
    (position 1).

3 PCE_ERASE_EOL

    Pressing <F18> causes all of the characters from the current
    character to the end of the line, inclusive, to be deleted from
    the buffer.  This procedure does not delete the EOL marker, i.e.
    no line wrap occurs.

3 PCE_ERASE_TO_END_OF_BUFFER

    This procedure is bound to the <SHIFT><F18> key. This causes
    everything from the current character position to the end of the
    current buffer to be deleted.  BE CAREFUL.  There is NO way to
    recover from the action of this procedure.

3 PCE_ERASE_TO_START_OF_BUFFER

    This procedure is bound to the <SHIFT><F17> key. This causes
    everything from the beginning of the current buffer to the current
    character position to be deleted.  BE CAREFUL. There is NO way to
    recover from the action of this procedure.

3 PCE_EXEC_CMD_FILE

    This procedure will request the name of a file, that has either
    a set of TPU commands or a TPU procedure in it, from the user,
    read the file, compile the buffer, and then execute the commands.

3 PCE_GKI

    This procedure will return information about the key the user
    requests information on, including the definition and comments
    associated with that key.  If the key is undefined then that
    information will be displayed.  Use <KP7> to execute this function.

3 PCE_GOTO_LINE_NUMBER

    After pressing <PF3> the user will be prompted for the line number
    to go to.  The user may enter any positive number from 1 thru ???.
    Any number entered that will cause the cursor to be positioned
    beyond the end of the current buffer will be ignored and the cursor
    will be positioned to the end of the current buffer.

3 PCE_HELP

    This will display the keypad diagram for the terminal you are currently
    using.  <KP3> performs this function.

3 PCE_INSERT_PAGE_MARKS

    This routine allows the user to paginate a file (i.e. insert form
    feeds into column 1).

3 PCE_ONE_WINDOW

    <SHIFT><KP8> causes the screen to go from split screen editing,
    invoked by using <KP8> (see pce_two_files), to one full screen.
    The buffer displayed after performing this procedure will be the
    one in which the cursor is currently positioned.

3 PCE_PAGE

    This will move the cursor to the next page in the file (next form
    feed in column 1). using.  <COMMA> performs this function.

3 PCE_RECORD_LENGTH

    Returns the length, in characters, of the current line that the
    cursor is positioned upon.

3 PCE_REG_WINDOW

    Sets the screen width to 80 columns.  Use <KP1>.

3 PCE_REMOVE_PAGE_MARKS

    This routine removes all form feeds found in column 1.

3 PCE_SHOW_COLUMNS

    Toggles the status line to show column numbers for either 80 or
    132 column mode.

3 PCE_STANDARD_KEYS

    This procedure defines the keys necessary for use by the 'tab'
    routines.  The user need not use this routine unless he/she
    redefines the <MINUS> or <COMMA> keys for some strange and unusual
    reason.  If this package is set up according to the instructions
    in Appendix A then the user will probably never need to worry about
    this procedure.

3 PCE_TOGGLE_BETWN_BUFRS

    Key <F19> will, when the user is in split screen mode,
    (see pce_two_files) toggle the position of the cursor between the
    top and bottom windows.

3 PCE_TRANSLATE_CONTROLS

    Should you have a file that contains control and/or non-printing
    characters, this procedure can be run to translate and display
    the file in a readable manner.

3 PCE_TWO_FILES

    The user will be prompted for the name of the file to use for the
    second (top) window/buffer after pressing <KP8>.  To exit at this
    time (abort) type CTRL-Z, otherwise enter the name of the file
    use wish to use OR enter a <RETURN> and the top buffer will default
    to the same file you are currently editing.

3 PCE_TYPE_ALL

    This procedure will search for all occurances of a string and
    display each line in the message buffer.

3 PCE_UNDELETE_LAST_ITEM_DELETED

    Pressing the <ENTER> key will cause the editor to "undelete" the
    last item deleted.  NOTE:  This will only undelete the last item
    deleted, whether it was a character or a line.  See pce_delete_line
    and pce_delete_character above.

3 PCE_VIEW_CONTROLS

    Translates a buffer that contains control characters / escape sequences
    into a readable buffer (TRANSLATION buffer).

3 PCE_VT100_KEY_DEFINITIONS

    Contains the key definitions for VT100-type terminals (Rainbows) that
    are used with this package.

3 PCE_VT200_KEY_DEFINITIONS

    Contains the key definitions for VT200-type terminals that are used
    with this package.

3 PCE_WIDE_WINDOW

    Pressing <SHIFT><KP1> puts the editor into 132 column mode.

2 PHONE

    Runs the PHONE utility in a sub-process.

2 PRINT

3 PRINT BUFFER

    Sends the contents of the  current  editing  buffer  to  a  designated
    printer queue (default is Sys$Print).  Embedded control characters are
    translated to a readable form (e.g., the BEL character will be printed
    as <BEL>).

3 PRINT FILE

    Prints the  specified  file  on  a  printer  attached  to  the  user's
    terminal.

3 PRINT FF

    Prints a form feed on a printer attached to the user's terminal.  This
    will cause the printer to place the paper at the top of a page.

3 PRINT RANGE

    Prints the the contents of the  current  select  range  on  a  printer
    attached  to  the user's terminal.  If there is no select range active
    when you issue the command, the contents of the entire current  buffer
    are printed.

3 PRINT SCREEN

    Prints the contents of the current screen on a printer attached to the
    user's terminal.

2 RELEASE BUFFERS

    This command will write out all writable, modified  user  buffers  and
    delete  all remaining buffers for the session.  This command is useful
    if you run EVE as a "kept" editor and wish to "clean house".

2 SEARCH

    This command is an enhanced version of the default searching mechanism
    built  into  the  Eve  editor.   The SEARCH command allows wild-carded
    searches.

        Meta     Operation/Matches
        ---------------------------
        *        Multi-character wildcard, do not cross record boundaries
        %        Single-character wildcard
        «        Beginning of line
        »        End of line
        #        Multi-character wildcard, cross record boundaries
        \        Quote next character
        ^        Next character is a control character

2 SET commands

3 SET EAG WINDOW KEYS

    This command establishes an alternate windowing environment to the one
    supplied by the Eve editor.  Features of EAG windowing are:

        o  Quick or continuous display of all non-system buffer names.

        o  Swift, two-keystroke  access  to  (a  maximum  of)  9  editing
           buffers.

        o  Function keys for reading and writing files.

    If you enable the EAG window environment, you get the following keypad
    assignments:
        Keystroke Sequence       Operation
        -----------------------------------
        <Gold> n                 n = 1 to 9 is  equivalent  to  the  EVE
                                   BUFFER  command  for  that buffer. n = 0
                                   displays buffers.
        <Enter>                  Get a file and map to a buffer.
        <Gold> <Enter>           Write  file  associated  with  current
                                   buffer.
        <Gold> <KP,>             Write a named file.
        <KP3>                    Other window.
        <Gold> <KP3>             Toggle between 1 and 2 windows.
        <Gold> <_^_>             Scroll message window up one line.
        <Gold> <_V_>             Scroll message window down one line.
        <Gold> -->               Shift current window to the right.
        <Gold> <--               Shift current window to the left.

    The symbol <Gold> in the above table refers to  your  current  "shift"
    key.  This is established with the SET SHIFT KEY command.

    A subsetted version of the EAG windowing keys is available via the SET
    MAPPING command.

3 SET FLASHING

    This  command  locates  corresponding  characters  in  a  buffer   and
    "flashes"  them  whenever you type the character given in the command.
    The line with the matching  character  is  displayed  in  the  message
    window.

    For example, this command can be used to make the editor display which
    "(" matches which ")" in a program with the command SET FLASHING ).

    The following characters can be  used  to  flash  their  corresponding
    character:

    ) } > » ' "

3 SET MAPPING

    This command provides a subset of the features supplied by the SET EAG
    WINDOWS  command.  In particular, the SET MAPPING command provides the
    two-keystroke access to (a maximum of) 9 editing buffers.

    The following  keypad  assignments  are  made  with  the  SET  MAPPING
    command:

        Keystroke Sequence       Operation
        -----------------------------------
        <Gold> n                 n = 1 to 9 is  equivalent  to  the  EVE
                                   BUFFER command for that buffer.
        <Gold> 0                 Displays the user buffer list.

    The symbol <Gold> in the above table refers to  your  current  "shift"
    key.  This is established with the SET SHIFT KEY command.

3 SET MATCHING

    This command will automatically insert a corresponding character  into
    a  buffer.   For  example,  if  you type a "(", a matching ")" is also
    placed in the buffer.  The cursor  is  positioned  so  that  the  next
    character typed will be between the matched characters.

    The  following  characters  will  generate   a   corresponding   match
    character:

    ( { < « ` ' "

3 SET WRITE

    When  EVE  creates  a  buffer,  it  normally  considers  it  writable.
    Sometimes,  it is convenient to mark the buffer as non-writable.  This
    command lets you change current buffer's writable status.  If you  set
    the  buffer  to  "No  Write"  EVE will not automatically write out the
    buffer when you exit the editing session even if you modify  it.   The
    status  line  will indicate buffers that have been marked NO WRITE (by
    bolding and underlining) when the buffer is mapped to a window.

3 SET RECTANGULAR

    This command turns rectangular cut-and-paste on or off.  When the  SET
    RECTANGULAR  command  is  issued,  the SELECT, REMOVE, and INSERT HERE
    keys are redefined to perform rectangular cut and paste operations.
    Rectangles  are  formed  by  positioning  the  cursor  to  where   the
    upper-left  corner  of  the  rectangle  will be and pressing <Select>.
    Then move the cursor to where the lower-right corner should be.  Press
    <Remove>.

    Rectangular pasting is accomplished (after  cutting  a  rectangle)  by
    positioning the cursor to where the upper-lefthand corner is to appear
    and pressing <Insert Here>.

    The rectangular mode also lets you  draw  boxes  very  easily.   After
    forming  a  rectangle,  press  <Do>  and  enter the command:  DRAW BOX
    followed by <Return>.  A  box  (formed  with  ASCII  characters)  will
    surround  the  imaginary  rectangle  you  have formed.  If you plan on
    drawing a lot of boxes,  you  might  consider  binding  the  DRAW  BOX
    command to a key.

3 SET VMS LINE EDITING

    This command sets up the keyboard to act as VMS does for line-editing.
    You  can  reverse this condition by using the SET NO VMS LINE EDITING.
    The keys that this command changes are described in the table below:
        Function Key   New Operation
        -----------------------------
        <BS>            Move cursor to start of line.
        <F12>           Move cursor to start of line.
        <CTRL/H>        Move cursor to start of line.
        <CTRL/A>        Toggle between Insert and Overstrike mode.
        <CTRL/D>        Move cursor left 1 position.
        <CTRL/F>        Move cursor right 1 position.

2 SORT BUFFER

    This command sorts the contents of the named  buffer,  line  by  line.
    The sort algorithm is implemented entirely in TPU.

2 SPELL commands

3 SPELL BUFFER

    To spell check the entire buffer enter SPELL,  SPELL  BUFFER  or SPELL B.
    Every word in the buffer will be spell checked.  Words do not span across
    the end of line boundry.

3 SPELL PARAGRAPH

    To spell check the current paragraph enter  SPELL  PARAGRAPH  or SPELL  P.
    Paragraphs are delimited by blank lines, beginning or end of buffer.  Every
    word  in  the  paragraph  will  be  spell checked.  Words do not span
    across the end of line boundry.

3 SPELL C

    To spell check a  C  source  code  file  enter  SPELL  C.   Only comments
    are  spell  checked.  A comment is everything starting with "/*" and ending
    with "*/".

3 SPELL DCL

    To spell check a DCL command file enter SPELL DCL  or  SPELL  D. Only
    comments  are are spell checked.  A comments is everything after a "!" on a
    line.

3 SPELL FORTRAN

    To spell check a FORTRAN source code file enter SPELL FORTRAN or SPELL F.
    Only comments and character constants will be checked. A comment is any
    line with a 'C' in  column  one  or  everything after  a '!' on a line.  A
    string constant is anything delimited by single quote marks on a line. Two
    passes through the file are made.  The first checks comments and the second
    checks character constants.

3 SPELL MACRO

    To spell check a MACRO source code file  enter  SPELL  MACRO  or SPELL  M.
    Only  comments  are  spell checked.  A comment is is everything after a ";"
    on a single line.

3 SPELL RNO

    To spell check a RUNOFF source file enter SPELL RUNOFF or  SPELL R.   Spell
    checks every line except those with a period in column one.  Two passes
    are made from the current cursor position to the end of the file.  The
    second pass checks all lines that have a period in column one and a
    semi-colon somewhere on the line (e.g. .le;).

2 STATUS LINE

    This command allows you to toggle the presence of the EVE status line.
    This command is useful if you are making slides with EVE.

2 TRIM BUFFER

    This command will remove all trailing  whitespace  (spaces/tabs)  from
    each line in the current editing buffer.

2 UNNUMBER LINES

    This command will undo what the NUMBER LINES command did.

2 UPDATE

    The UPDATE command initialize the user dictionary and  fills  it with  the
    words  found  in  the  current  buffer.   If  no user dictionary exists one
    is created.  If one already exists  it  is over-written.   The  words are
    inserted into the user dictionary in lexical sort order.  If the current
    buffer was created by the LOAD  command  the user returns back to the
    previous buffer.  If an error occurs during the update step the user
    dictionary  may be left in an undefined state.  Stop and correct the
    problem.

2 WHAT LINE

    This command will display where you are (line number) in  the  current
    buffer.  Line number, total, and percentage is displayed.

