 |
NAIUA: OpenROAD SIG
|
Elvis 2
About Elvis 2
Elvis 2 is a text-based code editor designed to assist the developer in
producing well formatted and commented source code. Elvis 2 is based on the
standard Unix editor vi, and is compatible with vi and so provides an easy
migration path for users who have come to rely on it. Elvis has all the powerful
text manipulation features familiar to vi users, as well as a number of
enhancements.
The version of Elvis available here is Apertus Elvis, which has been further
enhanced by Apertus Systems Limited to incorporate features specifically aimed
at Ingres developers.
Features of Elvis 2
With Elvis you can:
- set Elvis as your system OpenROAD editor and compile viewer
- use syntax colouring for key words
- use abbreviations which expand to code fragments
- perform lookups on W4GL constants
- find matching W4GL flow control keywords
- paste online code templates which you can customize
- use pre-canned macros (supplied) for code layout and comment formatting
- command history for ex commands (: commands)
- edit multiple files within split windows
Download Elvis 2
Click Elvis 2 to download your copy.
Installation Instructions
Apertus Systems Limited
Apertus Elvis 2.1
Windows 3.11 Installation Instructions :
The following instructions will allow you to install and run the Apertus
Elvis 2.1 editor.
- Before commencing the installation, ensure that the directory c:\elvis
does not exist or is empty. If you already have an earlier version of Apertus
Elvis this can be retained by renaming c:\elvis directory to say c:\elvisold,
otherwise delete the c:\elvis directory and all its subdirectories and files.
- Run the self extracting executable elvinst.exe from File Manager by
double clicking on the file. You will then be prompted for the directory
you would like Apertus Elvis to be installed. The install directory by
default
is c:\elvis. When you press Unzip, the installation directory will be
created for you, if it does not exist.
- From the directory where you have installed Apertus Elvis 2 double click
on
elvsetup.bat to set the required file and directory attributes.
Note : If you install Apertus Elvis to a directory other than c:\elvis, then
the following
lines in the \installdirectory\elvis.rc file will need to be changed :
templatefile="drive:\installdirectory\lib\template\w4gl_02a.htm"
set backupdir="drive:\temp"
- Edit your autoexec.bat PATH to include the elvis directory :
For example :
PATH=c:\elvis;%PATH%
Note : If you had a previous version of Apertus Elvis this would have
included
c:\elvis\exe on the PATH; you can now delete this from the PATH.
- If you are using Apertus Elvis to edit OpenROAD code files, edit your
OpenROAD config.ing file in "OpenROAD directory"\ingres\files and
change or add
the following lines :
II_WINDOWEDIT=c:\elvis\elvis.exe %f
II_WINDOWVIEW=c:\elvis\view.bat %f
- If you wish to use Apertus Elvis as the default browser for compilation
errors in
preference to another editor (say Microsoft Write), which cannot handle
larger
files, add or change your config.ing to include the following :
II_W4GL_COMPILEEDITOR=TRUE
II_W4GL_SYSTEMEDITOR=TRUE
- Check that any current Elvis icons on your Windows desktop have the
correct working directory, this should point to where the executable
(elvis.exe) file is located.
The Apertus Elvis 2 editor is now available for use from Windows and
OpenROAD.
For on-line help press F1 from within the Apertus Elvis editor.
Windows NT Installation Instructions :
The following instructions will allow you to install and run the Apertus
Elvis 2.1 editor.
- Before commencing the installation, ensure that the directory c:\elvis
does not exist or is empty. If you already have an earlier version of Apertus
Elvis this can be retained by renaming c:\elvis directory to say c:\elvisold,
otherwise delete the c:\elvis directory and all its subdirectories and files.
-
Run the self extracting executable elvinst.exe from Windows NT Explorer
by double clicking on the file. You will then be prompted for the directory
you would like Apertus Elvis to be installed. The install directory by
default
is c:\elvis. When you press Unzip, the installation directory will be created
for you, if it does not exist.
From the directory where you have installed Apertus Elvis, double click on
elvsetup.bat to set the required file and directory attributes.
Note : If you install Apertus Elvis to a directory other than c:\elvis, then
the
following lines in the \installdirectory\elvis.rc file will need to be
changed :
templatefile="drive:\installdirectory\lib\template\w4gl_02a.htm"
set backupdir="drive:\temp"
-
Edit the System Properties variables, in "My Computer",
"Control Panel", "System", and
select the Environment tab. The PATH variable can be set in two places. This
first as a
System Variable which requires the user to be logged on as Administrator or
as a member
of the Administrators group. The second place as a User Variable which would
only apply
to the user logged on entering the variable.
Click over the System Variable or User Variables for User variables windows.
Make sure
the Variable and Value fields are blank, then type the following within the
respective fields.
Within Variable type : PATH
Within Value type : %PATH%;drive\elvis;
-
If you are using Apertus Elvis to edit OpenROAD code files, edit the
System
Environment variables, in "My Computer", "Control Panel",
"System", and selecting
the Environment tab and add or change the following lines within User
Variables if logged
on as a user other than Administrator. If logged on as user Administrator
then they can
be set within System Variables.
II_WINDOWEDIT=c:\elvis\elvis.exe %f
II_WINDOWVIEW=c:\elvis\view.bat %f
LFN=N
Note : Setting LFN=N may prevent the use of long file names with some C
compilers.
-
If you wish to use Apertus Elvis as the default browser for compilation
errors in
preference to another editor (say Microsoft Write), which cannot handle
larger
files, also add :
II_W4GL_COMPILEEDITOR=TRUE
II_W4GL_SYSTEMEDITOR=TRUE
Note : When points 5 and 6 are entered when logged on as user Administrator,
the System
Variables apply then to all subsequent users who log on to that workstation.
However
if entered within Environment variables as any other user not Administrator
or not
part of the Administrator group, the variables will only apply to that
particular user
who entered them.
-
Check that any current Apertus Elvis icons on your Windows NT desktop have
the correct
working directory, this should point to where the executable (elvis.exe) file
is located.
To do this, right click over the icon and select the Program tab, and change
the
Working directory accordingly.
-
Enter Windows NT Explorer, go to the directory where Apertus Elvis has
been installed.
Right click over the Elvis executable, select "Properties", then
the Program tab and make
sure the Close On Exit checkbox has a tick in it. This is to ensure the
Apertus Elvis
Window closes when you have exited.
The Apertus Elvis 2 editor is now available for use from Windows NT and
OpenROAD. For on-line help press F1 from within the Apertus Elvis editor.
Windows 95 Installation Instructions :
The following instructions will allow you to install and run the Apertus
Elvis 2.1 editor.
- Before commencing the installation, ensure that the directory c:\elvis
does not exist or is empty. If you already have an earlier version of Apertus
Elvis this can be retained by renaming c:\elvis directory to say c:\elvisold,
otherwise delete the c:\elvis directory and all its subdirectories and files.
-
Run the self extracting executable elvinst.exe from Windows Explorer by
double clicking on the file. You will then be prompted for the directory
you would like Apertus Elvis to be installed. The install directory by
default
is c:\elvis. When you press Unzip, the installation directory will be
created for you, if it does not exist.
-
From the directory where you have installed Apertus Elvis 2 double click
on
elvsetup.bat to set the required file and directory attributes.
Note : If you install Apertus Elvis to a directory other than c:\elvis, then
the following
lines in the \installdirectory\elvis.rc file will need to be changed :
templatefile="drive:\installdirectory\lib\template\w4gl_02a.htm"
set backupdir="drive:\temp"
-
Edit your autoexec.bat PATH to include the elvis directory and set the use
of long file
names to N :
For example :
PATH=c:\elvis;%PATH%
Note : If you had a previous version of Apertus Elvis this would have
included
c:\elvis\exe on the PATH; you can now delete this from the PATH.
SET LFN=N
Note : Setting LFN=N may prevent the use of long file names with some C
compilers.
-
If you are using Apertus Elvis to edit OpenROAD code files, edit your
OpenROAD config.ing file in "OpenROAD directory"\ingres\files and
change or add
the following lines :
II_WINDOWEDIT=c:\elvis\elvis.exe %f
II_WINDOWVIEW=c:\elvis\view.bat %f
-
If you wish to use Apertus Elvis as the default browser for compilation
errors in
preference to another editor (say Microsoft Write), which cannot handle
larger
files, add or change your config.ing to include the following :
II_W4GL_COMPILEEDITOR=TRUE
II_W4GL_SYSTEMEDITOR=TRUE
-
Check that any current Apertus Elvis icons on your Windows 95 desktop have
the correct
working directory, this should point to where the executable (elvis.exe) file
is located.
To do this, right click over the icon and select the Program tab, and change
the
Working directory accordingly.
-
Enter Windows Explorer, go to the directory where Apertus Elvis has been
installed.
Right click over the Elvis executable, select "Properties", then
the Program tab and make
sure the Close On Exit checkbox has a tick in it. This is to ensure the
Apertus Elvis
Window closes when you have exited.
The Apertus Elvis 2 editor is now available for use from Windows 95 and
OpenROAD. For on-line help press F1 from within the Apertus Elvis editor.
Please send comments or corrections
About these pages to web_liaison@naiua.org