\documentstyle {report} 
%\addtolength{\textheight}{.2\textheight}
%\addtolength{\textwidth}{.3\textwidth} 
\title{The Customized EVEplus Editor}
\author{Allen A. Watson} 
\date{January 7, 1987} 
\setlength{\parindent}{0in}
\setlength{\parskip}{10pt} 
\pagestyle{headings} 
\begin{document} 
\maketitle
\tableofcontents
\chapter{How To Use EVEplus} 

The newly customized version of the EVE text editor is now available. This
document will briefly describe the special commands available in EVEplus,
including a keypad diagram. The {\bf Text Processing} manual of the VMS
documentation set (Volume 3B) and Chapter 3 of the {\bf Guide to Text
Processing on VAX/VMS} contain information about the basic editing commands
provided by Digital; this document describes only extensions or modifications
added to EVE to make EVEplus, and the keypad and key assignments I have
provided. 

\section{Highlights of the new editor}
\begin{itemize}
\item {\em EDT-like keypad layout for all terminals}

The new editor defines the auxiliary keypad very much like the old EDT
editor, for compatibility and ease of use for people moving from EDT to
EVE. A few seldom-used EDT keys have been redefined to take advantage of
more useful commands available in EVE.

The keypad layout is the same whether you are using a VT100 or VT200 terminal.
The VT200 users have the advantage of the ``gray keys'' on their keyboard.
Many of these are defined as well, if you have a VT200 terminal.

\item {\em Many functions included besides those in standard EVE or EDT}

Most of the editing procedures defined in the EVEplus editor from DECUS
have been included, as well as several dozen written by me. Only those most
frequently useful have been tied to specific keys. The full document on
our EVEplus will describe each of these procedures and how to use them,
as well as how to define single keys to access them.

\item {\em Multiple editing windows}

Basic EVE has only two editing windows; EVEplus allows up to eleven editing
windows on the screen.
\end{itemize}

\section{How To Access EVEplus}

To make this new editor your editor, you can choose one of two simple
techniques. Both involve adding a single line to the LOGIN.COM file that
is in your login directory. Without adding one of these lines to your LOGIN.COM
file, you will continue to access the copy of EVE that you are now using.
The standard EVE editor file, EVESECINI.GBL, has not been altered in any
way.
\subsection{Method One}

In your LOGIN.COM file, add the following line:
\begin{quote}
{\bf \$ define tpusecini common\_disk:[syslib]eveplus}
\end{quote}

When you wish to access the new editor after logging in, all you need to
do is enter the command:
\begin{quote}
{\bf \$ edit/tpu} {\em file-name}
\end{quote}

This part is optional: To make it even simpler, you can add a second line to
your LOGIN.COM like this: 
\begin{quote}
{\bf \$ tpu :== edit/tpu}
\end{quote}

Now you will be able to enter the editor with the command:
\begin{quote}
{\bf \$ tpu }{\em file-name}
\end{quote}

\subsection{Method Two}

Instead of Method One, you can use this, which combines both of the above
into a single line in your LOGIN.COM:
\begin{quote}
{\bf \$ tpu :== edit/tpu-\\
/section=common\_disk:[syslib]eveplus-\\
/command=sys\$com:tpuini.tpu}
\end{quote}

Now, to access the editor, just use the command:
\begin{quote}
{\bf \$ tpu }{\em file-name}
\end{quote}

This method gives you the option, if you wish, of accessing the standard
EVE editor via a simple {\bf EDIT/TPU} command, or of having a personal copy
of EVE that you access in that way. Users sophisticated enough to create
their own version of the editor will know what this means and how to do
it.

\subsection{Method Three -- Spawning}

If you wish, you can set up to use EVE in a spawned subprocess. This allows
you to keep your copy of EVE active while you exit out to your standard
parent process at the DCL level, and to use the ATTACH command to switch
back and forth between EVE and the DCL level. A command procedure has been
written to do this for you simply. It defines the F20 key on your VT200
type terminal as the Attach command; when in your parent process at DCL
level, F20 will attach to the EVE subprocess; when you are in EVE, F20 will
attach to the parent process.

To set up for keeping a spawned copy of EVE in a subprocess, use the following
definition:
\begin{quote}
{\bf \$ eve :== @sys\$com:spawneve}
\end{quote}

\chapter{EVEplus Defined Keys}

The following section briefly describes each of the functions that are
defined on keys in EVEplus. Users familiar with EDT will recognize most
of them. Where the EVEplus function differs in some way from the older EDT
function, I will explain the differences.

First I will describe the functions available through the auxiliary keypad.
Then I will discuss functions that are available on other keys using the
CTRL and GOLD keys.

\section{Arrow keys}

All four arrow keys function as in EDT, moving the cursor on the screen
up, down, left or right. The cursor will ``wrap'' when reaching end of line
to the next line below or above, depending on the direction of movement.
This is the way EDT functions; it differs from the behavior in the standard
EVE editor.

\section{GOLD key}

The key labelled PF1 is the EVEplus ``Gold'' key, a kind of special shift
key that allows two functions to be placed on every other keypad key. When
a function is said to be accessed by ``Gold KP7'', for example, it means that
you must strike the Gold Key (PF1), and then the ``7'' key on the keypad.
You press the keys one after the other, not simultaneously.

\section{HELP key}

The PF2 key will call up a keypad diagram similar to the one at the end
of this chapter, showing the functions of the various keys.

If you want help on particular EVE commands, use the Do Key (or Gold KP7)
and type ``help''.

\section{FIND and FNDNXT}

Like EDT, the FIND command is accessed via Gold PF3. It prompts for the
string to search for, and then locates the first occurance. FIND uses the
EVE Find Command, not the EDT version. It will search first in whatever
the current direction is for the buffer (shown as the last word in the status
line at the bottom of the window on the screen). If the word is not found
in that direction but {\em is} found in the opposite direction, it will ask
if you wish to change direction and go to that location.

The FNDNXT command (Find Next) is accessed via PF3. After a Find Command
has been executed, FNDNXT will find the next occurance of the same string.
It also uses the EVE Find.

The Find command can also be executed on VT200 terminals with the gray
key labelled ``Find''; striking the key twice will perform the equivalent
of Find Next.

\section{Delete Line and Undelete Line}

The PF4 key performs a Delete Line function. (The TPU code for this is
a version written by me.) Actually it deletes from the current location
of the cursor up to the end of line. If you hit Delete Line when the cursor
is on a blank line, it will delete the blank line.

Thus, to entirely delete one line, you should position the cursor at the
left end of the line (CTRL/A, CTRL/H, or Backspace will do this) and press
Delete Line (PF4) {\em twice}, once to delete the text on the line, and once
to delete the remaining blank line.

Gold PF4 performs Undelete Line, inserting the text last deleted by Delete
Line. 

{\bf Known bug:} Undelete Line has a peculiarity; sometimes you will find that
it inserts an extra blank line after the text being inserted. You can easily
delete this extra line; sorry I haven't had time to fix up this function
better.
 
\section{PAGE Command}

The KP7 key will perform a ``page'' function, searching ahead in the buffer
for the next occurance of a Form Feed character. This is useful only in
editing files output by Runoff or listing files generated by a computer
program.

\section{EVE COMMAND}

To execute an EVE command directly, you can use GOLD KP7. You will be prompted
for the EVE command you wish to execute.

{\em Please take note that this is a very different thing than the EDT
``Command'' function!} This key is equivalent to the ``DO'' key on a VT200, or
in normal EVE.  You can use it as you do in EDT to ``quit'' or to ``exit''. You
can also use it to access any of the commands listed by HELP when you access
help via this key and the ``HELP'' command. 

On the topic of exit, {\em one very important warning}. The CTRL/Z key, which
in EDT entered EDT command mode, will {\em exit from the EVEplus editor}.
You will not lose any files; anything modified will be written out (at your
option -- you will be asked if you want to write all but the current buffer,
which will be written automatically). But you could lose your place.

CTRL/Z is the simplest way to exit EVEplus, and the one I recommend using.

\section{Section Command}

You access the Section Command via the KP8 key.

Like EDT, Section is defined to move your cursor sixteen lines in the direction
of current movement. At the start, the direction of movement is ``forward'' from
the top of the file to the bottom. You can alter the direction of movement with
the Advance or Backup commands. Direction of movement can also be changed by
the Find Command if your search requires a change of direction.

There is no way to alter the definition of the number of lines moved by
Section.

If you have a VT200, you still have use of the Prev Screen and Next Screen
keys, which perform a function similar to Section but move in a predefined
direction. On any terminal, including VT100's, you can also access Prev Screen
with CTRL/P, and Next Screen with CTRL/N.

\section{Fill Command}

The Fill Command is accessed via Gold-KP8.

Fill performs a ``fill paragraph'' function, and is {\em not identical to the
EDT Fill command}, which filled a region defined with the Select key. It
recognizes the following paragraph delimiters: a blank line, or a Runoff or
\LaTeX\  command in column 1 (a line beginning with a period or backward slash).
Fill repaints the paragraph on the screen, adjusting the words on each line to
fit as many words as possible per line. Fill can be executed with the cursor
anywhere within the confines of the paragraph; when it completes, the cursor
will be at the end of the paragraph. (This version of Fill Paragraph was
written by me.) 

Indented lines are {\em not} recognized as a paragraph delimiter.  This
allows filling of paragraphs when the left margin is set to other than column
one.

\section{Append Command}

You access the Append Command via the KP9 key.

Append works in conjunction with the {\bf Cut} and {\bf Paste} commands (called
{\bf Remove} and {\bf Insert Here} in standard EVE). To use Append, you first
use the Select key to mark one end of a region, and move the cursor to the
other end of the region of text. The region will be defined in reverse video.

If you press Append at this point, the region you have defined will be removed
from the screen and {\em appended} to the current contents of the Paste Buffer.

The primary difference between Append and the Cut Command (Remove) is that Cut
clears the Paste Buffer and moves the defined text into it, while Append does
not clear the buffer, but {\em appends} the new section of text to that which is
already in the Paste Buffer. Functionally it is identical to Append in EDT. 

\section{Replace Command}

You access the Replace Command via the Gold-KP9 key.

The Replace function executed by this key is the EVE version of Replace;
it is not identical to EDT's Replace, but better. In EDT, finding one string
of text and replacing it with another required a complicated sequence of
commands involving Select, Replace, and Substitute. In EVEplus, Replace
is a self-contained function.

Replace will prompt you for the ``old string'' and the ``new string''. It uses
Find to locate the first occurance of ``old string'' and asks if you wish to
replace it. You have the option, each time Replace stops at a new occurance of
``old string'', to reply with Yes, No, All, Last, or Quit. The meaning of
{\em Yes} and {\em No} are obvious.  {\em All} instructs Replace to find and
replace all remaining occurances. {\em Last} says to do this replacement, and
then stop here. {\em Quit} says simply to stop here without replacing any more. 

Use of this version of Replace has eliminated the need for the Substitute
command, so that key is used for another purpose.

\section{Delete Word and Undelete Word}

You access Delete Word via the keypad Comma key, and Undelete Word via
Gold-Comma.

Again, there is a slight difference between EVE's Delete Word and EDT's.
EVE's version will delete the entire word the cursor is sitting on. EDT's
version required that you place the cursor on the first character of the
word to delete it all; otherwise it deleted from the cursor location to
the end of the word -- or the start of the word if the current direction
was reverse. The behavior in EVE is much more consistent.

The word deleted is kept in a special memory location (not an EVE buffer),
and can be recalled with Undelete Word. You can recall the word and insert
it anywhere in the buffer; it does not have to go back to the same place,
and can be inserted more than once.

{\em Warning}: in EDT, the storage areas for Delete Word and Delete Line
were separate areas. In the current EVEplus they are the same. Thus, if
you use Delete Word followed by Undelete {\em Line}, you will recall the word,
not the last line deleted. (Delete Character has its own single character
storage area.)

\section{The Advance and Backup Commands}

You access Advance via KP4, and Backup via KP5.

These two commands set the direction of movement within the current buffer.
The change is reflected in the status line at the bottom of the buffer;
Advance sets the status line to ``Forward'', and Backup sets it to ``Reverse''.

Commands that are affected by the direction of movement include the Line
and Word movement keys, Find, and Replace.

\section{The Bottom and Top Commands}

You access Bottom via the Gold-KP4 key, and Top via the Gold-KP5 key.

As in EDT or standard EVE, Bottom takes your cursor to the bottom of the
current editing buffer. Top takes you to the top, or beginning of the buffer.

\section{Cut and Paste Commands}

You access the Cut Command with KP6, and the Paste Command with Gold-KP6.

These commands function exactly as in EDT. To {\em cut} or remove an area of
text from the screen, you first define one end of it using the Select key
(Keypad Period or the gray key marked ``Select'' on VT200's), and then move the
cursor to the other end of the area. The defined region is highlighted in
reverse video. Pressing Cut (KP6) removes the defined text from your current
buffer and copies it into the Paste Buffer. 

The Paste Command will insert the current contents of the Paste Buffer at the
current location of the cursor. You can move the cursor anywhere before
inserting, even into other buffers. You can insert the text as often as you
wish. Thus, you can use Cut and Paste to move text from one part of a document
to another, or even to move it between documents.

See also the Append Command, described above, and the Copy Text Command,
described below. These commands also use the Paste Buffer.

On VT200 terminals, the Cut Command can be executed using the gray key
labelled ``Remove''; the Paste Command can be executed using the key labelled
``Insert Here''.

\section{Delete Character and Undelete Character}

You access Delete Character via the keypad Comma key, and Undelete Character
via Gold-Comma.

Delete Character will delete the character {\em on which the cursor is currently
resting}. This differs from the Delete key, which deletes the character to the
left of the cursor (the last character typed, usually). You can think of it
this way: the Delete Key will delete characters to the left of the cursor;
repeated taps on this key will delete toward the beginning of the line. The
Delete Character key, by contrast, deletes to the right of the cursor; repeated
taps will delete toward the end of the line. Also, the characters deleted
by the Delete Key are not saved. The Delete Character key always saves the
last character deleted so it can be restored if you wish.

Undelete Character will restore the last character deleted with Delete
Character. Sometimes this can be useful as a means of copying non-printing
characters such as Form Feeds or Escape characters.

\section{Word Command}

The Word Command can be accessed via KP1.

The Word Command moves the cursor forward or backward in the buffer (depending
on the direction of  movement currently set) by one word at a time. It is a
useful way to move quickly to the middle of a line, for example. It always
moves to the first character of a word. To change the direction of movement,
use the Advance or Backup command before using Word.

\section{Change Case}

You access Change Case via the Gold-KP1 key. 

Change case will invert the case (upper or lower) of all the text in any region
defined by the Select key. Lowercase letters will become uppercase, and vice
versa. {\em If no region of text has been selected} Change Case will change the
case of the single character at the current cursor location. 

Several other case-changing commands are also available as extensions.
Gold-C will capitalize a word, making the initial letter uppercase and all
other letters lowercase. Gold-U will make a word all uppercase; Gold-L will
make a word all lowercase.

\section{End Of Line (EOL)}

You access End of Line via the KP2 key.

End Of Line moves the cursor to the end (right end) of the current line. This
function can also be executed in EVEplus with the CTRL/E key.

\section{Delete To End Of Line (D EOL)}

You access Delete to End of Line via Gold KP2.

In EVEplus this is the same function that is executed by the PF4 (Delete
Line) key.

\section{Change Mode}

You access Change Mode via the KP3 key.

In EDT, KP3 performs a ``character'' function, moving the cursor one character
in the current direction. Since this is so easily accomplished with the
arrow keys, I have chosen to use this key for a function not available in
EDT: Change Mode.

Change Mode alters the way editing is performed in the current buffer.
Normally, you are in Insert Mode, similar to EDT. Characters you type on
the keyboard are inserted at the current location. If there are other
characters on the line they are moved over to make room for the new characters
being inserted.

The alternate mode is Overstrike Mode. In this mode, if you place the cursor on
an existing character and type new characters, the new characters replace those
already in the buffer. Overstrike Mode is very useful when editing fixed format
documents such as tables and lists, where you do not want to disturb the
relationship of the columns of numbers, for example.

The Change Mode key will alternate between modes. The current mode is
displayed in the status line of the buffer.

\section{Buffer}

You access the Buffer Command via Gold-KP3.

In EDT, this key executed the SpecIns command, which is not needed in EVE.
The equivalent function (to insert characters such as control characters)
can be performed with CTRL/V in EVEplus.

The Buffer Command allows you to change to another buffer, by name. Press this
key, type the name of the buffer you want (which is usually the same as the
name of the file you are editing in that buffer), and your screen or window
will clear and be replaced by the contents of the buffer you have named. 

To assist you in working with several buffers, a List Buffers command has been
created and defined on Gold-B. When the buffer list is displayed, you can move
the cursor up or down to the name of the buffer you want, and press Select (or
keypad Period) to select that buffer for editing. 

You can create a new buffer using the Buffer Command. Simply type the name of a
buffer that does not yet exist, and EVEplus will create it for you. The Get
File Command (see below) also creates a new buffer for each file you read in.

One nice convenience of the Buffer Command: you do not need to type the entire
name of the buffer you are looking for. For instance, if you have a buffer
called ``EVEplus\_BERGEN.RNO'', and no other buffer begins with the letters
``EVE'', then using the Buffer Command key and typing ``EVE'' for the buffer
name will move you to the EVEplus\_BERGEN.RNO buffer. If the fragment of a
buffer name you type is ambiguous (more than one buffer matches the string)
EVEplus will tell you so. 

\section{Get File}

You access Get File via the keypad Enter key.

In EDT the Enter key was used mainly as a command terminator; its use in
this way in unneeded in EVEplus, so I have assigned some useful commands
to it.

Get File allows you to read in files in addition to the one called up when
you first invoke the editor. These files are read into newly created buffers.
Each file has its own buffer, and all are available for editing. You can
use the Buffer or List Buffers command to move from one buffer to another.

EVEplus remembers which buffers have been modified, and when you exit the
editor it will always ask you if you want to write out the modified buffers.

Get File will prompt you for the name of the file to be read in. It will
always default to searching the device and directory that were your default
when EVEplus was started up. If you want a file from a different directory
you must include the directory name as part of the file specification you
type.

Sometimes when you are editing for a long time and using many files, you
may forget that you have read in a file and use Get File to read it again.
Get File always looks first to see if you have the file you requested in
a buffer already; if you do, it simply changes to that buffer and does not
read the file a second time.

\section{Write File}

You access Write File via the Gold-Enter key.

Write File will write out the contents of the current buffer into the file
associated with that buffer. It will write the buffer regardless of whether
or not it has been modified. Writing a buffer out changes the status of
that buffer to ``Not Modified''. (You can see the status of a buffer by using
the Do Key or EVE Command Key (Gold-PF7), and then typing ``SHOW''.)

If no file name has yet been associated with the buffer (say you created
it with the Buffer Command and just typed new text in it), Write File will
prompt for the file name to use in writing. 

If you want to write a file out under a {\em new name} you can do so. For
example, you read in a file A.TXT, alter it, and wish to create a new file
called B.TXT, rather than a new version of A.TXT. To do this, use the Do
command, and type ``WRITE FILE new-file-name''. The buffer will be written
out using the new name. Also, {\em the file name associated with the buffer
will be changed to the new name}; the name of the buffer itself, however,
will not change. In the example, the buffer would still be called A.TXT,
but the file associated with it would be B.TXT.

\section{Line Command}

You access the Line Command via the KP0 key.

This functions just like Line in EDT. It moves the cursor to the first
character of the next line in the direction of current movement.

\section{Open Line Command}

You access Open Line with Gold-KP0.

This functions very much like the EDT Open Line command. There is a
significant difference, however. Open Line cannot be used to split an existing
line in two, as can be done in EDT. With the cursor anywhere in a line,
Open Line will always insert a new, blank line {\em above} that line, and
move the cursor onto the left end of the new line. To split a line in two,
just use the Return key.

\section{Select Command}

You access the Select Command via the keypad Period key.

This functions just like Select in EDT or standard EVE. It marks the current
location as the beginning of a range. When you move the cursor, the characters
between the selected point and the cursor become highlighted in reverse
video. The region selected can then be operated on with commands such as
Cut, Append, or Change Case.

You can cancel a selected range by striking the Select key a second time.

The gray Select key on VT200's performs the identical function.

\section{DCL Command and Window Commands}

You access the DCL Command via Gold-Period.

In EDT this key executed the Reset command, which is not needed in EVEplus.

This command opens up a whole new world which was not available to EDT
users. By this commmand you can execute any DCL command that does not do
special screen control -- for example, you should not use it to execute
a program that displays menus and changes terminal characteristics. Most
DCL commands do not do this.

For instance, if you type Gold-Period and then ``DIR'' at the prompt, EVEplus
will split the screen into two windows and execute a DCL Directory command.
The output of the command, the directory listing, will appear in the second
window. You must use Gold-Period to enter each new DCL command; the output
of additional commands will be appended to the DCL buffer in the window.

The first time you do this you will probably start wondering how to move
your cursor from one window to another, or how to get rid of the DCL window
when you are done with it. There are several ways. I will present the most
basic one (part of standard EVE) here, leaving detailed discussion of windows
for the document on EVEplus Enhancements.

All of the following commands must be accessed by using the Do Key and
typing the command name. (On VT100's, use Gold-7 instead of Do.)

To move between the two windows, use the command ``Other Window''. The word
``other'' is enough to allow EVE to recognize the command.

To get rid of the DCL window, put the cursor in the window you wish to keep on
screen and use the ``One Window'' command. The word ``one'' is enough. The
window containing the cursor will become the only window on the screen. The DCL
buffer is not destroyed, and you can return to it using the Buffer Command and
the buffer name ``DCL''. If you perform another DCL Command later, the output
from it will be appended to the same DCL buffer. 

You can edit the DCL buffer if you desire. For instance, you can Cut parts
of the output from a DCL command and then Paste it into your text buffer
as part of a document. Typing into the DCL buffer {\em will not} cause what
you type to be executed by DCL; you must use the Gold-Period key to do that.

To complete the mini-set of window commands, if you want to have two editing
windows, the command ``Two Windows'' will split the screen into two windows.
The word ``two'' will suffice. You can use the two windows to view and edit
different parts of the same buffer (this is the default when you first create
the second window), or you can use the Buffer or Get File commands to read
a different file into the second window. 

\begin{quotation}\begin{bf}
This is the end of the functions available on the auxiliary keypad. The
remaining functions are accessed through use of the CTRL or GOLD keys plus
keys on the normal keyboard.
\end{bf}\end{quotation}

\section{Start of Line}

The Start of Line command moves the cursor to the beginning (left end)
of the current line.

It is available on the Backspace key of VT100's, the F12 key of VT200's
in VT100 mode, and the CTRL/A and CTRL/H keys of both types of terminals.

\section{Delete}

The Delete Command deletes the character to the left of the cursor. It
is accessed via the Delete Key (on VT200's the key legend is like this:
<X]).

\section{Erase Word}

The command is as discussed above, but can also be accessed by the Linefeed
Key on VT100's, or the F13 key on VT200's.

\section{Attach}

On VT200's only, the F20 key executes the EVE Attach command. This command,
if executed in a copy of EVEplus running in a sub-process, will attach your
terminal back to the parent process, leaving EVEplus running in the
sub-process. 

To generate a copy of EVEplus in a subprocess, at DCL level type
\begin{quote}
{\bf \$ spawn tpu} {\em file-name}\\
instead of\\
{\bf \$ tpu} {\em file-name}
\end{quote}
or you can use the SPAWNEVE procedure as described in Chapter One.

The Attach command can then be used to exit temporarily from EVE back to
DCL level in the parent process. When you wish to re-enter EVE, use the
DCL command ``ATTACH sub-process-name''. The name of the sub-process must
be supplied; usually it will be your user name plus ``\_1'', for example,
``ATTACH WATSON\_1''. (If you have used SPAWNEVE.COM the sub-process name
will be your username plus ``\_EVE'', for example ``WATSON\_EVE.'')

On VT100's, the EVE Attach command can be executed with the EVE Command
key (Gold-KP7) followed by the word ``attach''.

\section{Wildcard Search}

Wildcard Search is similar to Find, but is an extension of Find provided
with EVEplus. It allows for search strings containing wildcard characters.
For example, the search string ``abc*d'' will match any string beginning with
``abc'', followed by any number of other characters, and ending with ``d''.

The percent sign can be used as a single-character wildcard. {\em Wildcard
search is exact case sensitive}. Lowercase letters in the search string
match only lowercase letters. There are many other capabilities in this
extended search; they are described fully in the next chapter.

Wildcard search can be accessed via the CTRL/F key.

\section{Move By Line}

The standard EVE command Move By Line can be accessed on VT200's by the
F12 key, and on all terminals by CTRL/L. This command is similar to the
Line Command discussed earlier, except that when moving forward it moves
to the ends of lines, and when moving backward it moves to the beginnings
of lines. See the EVE manual for a complete description, or type ``Help Move
By Line'' at the Do Command prompt. (Incidentally, internal on-line help
is available for most if not all of the commands discussed here, including
the special command extensions.)

\section{Next Screen and Previous Screen}

As mentioned above, these commands are available on VT200's on the gray
keys so labelled, and on all terminals via CTRL/N and CTRL/P.

\section{Erase to Start of Line}

Erase to Start of Line is available on Gold-A and also on CTRL/U.

\section{List Buffers}

The List Buffers command is accessible through Gold-B. See the ``Buffer''
command above for its relation to that command.

List Buffers clears the current window and presents a list of text buffers
you have created, showing some status information about each one including
number of lines and modification status. When this buffer list is on screen,
the functions of the {\bf Select} and {\bf Remove} keys are altered. You
can use Up and Down Arrow keys to move the cursor to the line containing
the name of the buffer you want to affect.  Pressing {\bf Select} will call
that buffer into the current window.  Pressing {\bf Remove} will actually
delete the buffer and its contents from the memory of EVEplus. If the buffer
is a modified one, EVEplus will ask for verification before destroying it.

The keypad keys that correspond to the gray Select and Remove keys (KP Period
is Select; KP 6 is Remove) also perform these special functions in the List
Buffer buffer.

In addition, if you use the Do key and type the command {\bf List All Buffers},
the list generated will include {\em system} buffers, for instance, buffers
created automatically by EVEplus when you execute certain commands such as the
DCL command, the Message buffer, and the Command buffer. 

\section{Capitalize Word}

Capitalize Word is available through Gold-C.

\section{Lowercase Word}

Lowercase Word is available through Gold-L; it makes all letters in a word
lowercase, regardless of their prior case.

\section{Uppercase Word}

Uppercase Word is available through Gold-U; it makes all letters in a word
uppercase regardless of their prior case.

\section{Transpose Lines}

You access Transpose Lines via Gold-T.

Transpose Lines exchanges the position of the current line with the line
above it.

\section{Copy Text to Paste Buffer}

This command works just like the Cut Command {\em except that the defined
text is not removed from the current buffer.} This allows you to copy a
part of a file to the Paste Buffer for insertion elsewhere without altering
the file you are copying it from.

Copy Text is accessed via Gold-X and also Gold-Remove.

\section{Refresh Screen}

You access Refresh Screen via CTRL/W. Use this command to restore the actual
screen state when system messages or mail announcements intrude into your
editing session.

\section{Remember}

The Remember Command is used in conjunction with the Learn Command, which
can be executed only via the Do key. Remember is executed with CTRL/R. You
can use Learn and Remember to start and end a series of commands you wish
to execute repeatedly. Execute Learn first. Then do the commands you want
to have EVE ``learn''. When you have completed them, press CTRL/R. EVE will
ask what key you want to assign to the remembered sequence. I suggest using
Gold-M, with ``M'' standing for ``memory'' or ``macro''. You can use nearly any
key preceded by either CTRL or GOLD, or the unassigned Function keys on
VT200's. The sequence is remembered only for the duration of your editing
session unless you save this copy of EVE as a private version of the editor
-- a process I am not going to discuss here, as it is described very well
in the DEC documentation.

It is a good idea, before trying a learn sequence, to find an unused key, since
if you assign the sequence to a key already defined with a command, you will
replace that command definition with your learn sequence. To find out if a key
is defined or not, use the Describe Command. Press Do, and type ``desc'' plus
the Return key. You will be told to ``Press Key to Describe''. If you hit any
key, EVE will tell you what its function is (if defined), or else it will say
``Key Has No Function...'', meaning it is available to be defined as you wish. 

\chapter{Some Hints For Using EVEplus}

The following are just a few hints and miscellaneous information about
using the new EVE editor.

\section{Other Commands}

There are many commands available within EVEplus that are not assigned
to keys. You can see a fairly full command list by pressing Do and typing
``Help''. This is a list of commands for which help is available. For a complete
list, alphabetically sorted, press Do and type ``List Commands''. This takes
a fairly long time to execute since the command list is compiled and sorted
on the fly, but it tells you {\em everything} that is available. (It took
36 seconds to execute when I last tried it.) You can use movement keys to
scroll through the list. Any command listed here can be accessed through
the Do key if it is not assigned to any other key.

\section{Exiting}

The Exit Command exits EVE, writing the current buffer (if modified) and
asking for your choice on writing any other modified buffers. You can exit
with Do plus the word ``exit'', or you can use CTRL/Z.

If you use the Do key plus the word ``quit'', EVE will exit without writing
out modified buffers. It will always double-check with you to be sure that
is what you want to do.  There is no single-key ``quit'' command; you can
easily define your own if you wish.

\section{Interrupting Long Commands}

If you ever execute a command that is taking too long and want to abort
it, you can do so with the CTRL/C key. Normally CTRL/C has no effect, but
if you hit it during execution of a TPU (EVE) function, it will abort that
function. This can sometimes leave your terminal in a strange state; you
may need to use the Buffer or Get File command to get things back to a normal
state.

\section{Defining Your Own Keys}

If you find a command in the command list that you like to use a lot, that is
not yet assigned to any key, you can assign it there yourself. Use the Define
Key command. 

Define Key will prompt you for the name of the command you want to assign
to a key, and then will ask you to hit the key you want to assign it to.
Thereafter, during that editing session, the command will be assigned to
that key. (As suggested above, use Describe to check first to see if the
key you are thinking of using is free.)

If you want to make the assignment more or less permanent, there are a couple
of ways to do so. The easiest is to create a file called TPUINI.TPU in your
login directory and put the commands into that file. Another way is to save
your extended version of EVE for your personal use. Both of these methods are
described in the standard EVE manual.

\end{document}
