home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
progmisc
/
euphor10.zip
/
INSTALL.DOC
< prev
next >
Wrap
Text File
|
1993-07-07
|
3KB
|
77 lines
+------------------------------------------+
| How to install Euphoria from a .zip file |
+------------------------------------------+
This installation procedure assumes that you have the file EUPHOR10.ZIP.
To set things up properly you should:
mkdir c:\euphoria
copy euphor10.zip c:\euphoria
cd c:\euphoria
pkunzip euphor10
Instead of "c:" you could use another drive, e.g. "d:" if you desire.
If you have already unzipped in another directory, you can install there if
you wish, or you can copy euphor10.zip to c:\euphoria and pkunzip it in
the euphoria directory, as expected by the automatic install program.
After unzipping, you will see about 80 files or so in your directory. These
will be moved into newly-created subdirectories when you run install.bat.
You can actually run some of the demo programs right away before installing
-- just type "ex" followed by the name of the .ex file (e.g. ex mset, ex ttt,
ex lw, etc.). You should eventually run install.bat to get things set up
properly.
A couple of small changes are needed in your autoexec.bat file. You can make
these changes manually, or let "install.bat" do it for you. In either case all
that happens is:
- C:\EUPHORIA\BIN is added to your autoexec.bat PATH command
- the variable EUDIR is set to C:\EUPHORIA
--------------------------------------------------------------------------
Automatic Procedure
===================
At the MS-DOS prompt (not Windows) type:
install
This will organize the files into subdirectories and
will show you the changes that it makes to your autoexec.bat file.
--------------------------------------------------------------------------
Manual Procedure
================
We assume that you are going to use drive c:
1. In MS-DOS (not Windows) at the prompt, type:
ex setupdir
This will set up the Euphoria subdirectories. (install.bat does this
step automatically, if it hasn't been done yet).
2. In the file c:\autoexec.bat add c:\euphoria\bin to the list of
directories in your PATH command.
3. In the same autoexec.bat file add a new line:
set eudir=c:\euphoria
The eudir environment variable indicates the full path to
the main euphoria directory.
--------------------------------------------------------------------------
Now press Control-Alt-Delete to reboot.
This will define your new PATH and EUDIR environment variables
If you now type 'ex' from any directory you should get a message
from the Euphoria interpreter and a prompt. Type the name of a Euphoria
.ex file to execute it, or simply type Enter to quit. The full-screen
Euphoria editor 'ed' should also now be available. Type ed followed by a
.e, .ex, or other text file name to view or edit the file.
You're all set! Files ending with .ex can now be run with the interpreter
ex.exe. Check out the demo programs. Enjoy!