home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / euphor10.zip / INSTALL.DOC < prev    next >
Text File  |  1993-07-07  |  3KB  |  77 lines

  1.         +------------------------------------------+
  2.     | How to install Euphoria from a .zip file |
  3.     +------------------------------------------+
  4.  
  5.  This installation procedure assumes that you have the file EUPHOR10.ZIP.
  6.  To set things up properly you should:
  7.  
  8.     mkdir c:\euphoria
  9.         copy euphor10.zip c:\euphoria
  10.         cd c:\euphoria
  11.         pkunzip euphor10
  12.  
  13.  Instead of "c:" you could use another drive, e.g. "d:" if you desire.
  14.  
  15.  If you have already unzipped in another directory, you can install there if 
  16.  you wish, or you can copy euphor10.zip to c:\euphoria and pkunzip it in
  17.  the euphoria directory, as expected by the automatic install program. 
  18.         
  19.  After unzipping, you will see about 80 files or so in your directory. These 
  20.  will be moved into newly-created subdirectories when you run install.bat.  
  21.  You can actually run some of the demo programs right away before installing 
  22.  -- just type "ex" followed by the name of the .ex file (e.g. ex mset, ex ttt,
  23.  ex lw, etc.). You should eventually run install.bat to get things set up 
  24.  properly.     
  25.  
  26.  A couple of small changes are needed in your autoexec.bat file. You can make 
  27.  these changes manually, or let "install.bat" do it for you. In either case all 
  28.  that happens is:
  29.     - C:\EUPHORIA\BIN is added to your autoexec.bat PATH command 
  30.     - the variable EUDIR is set to C:\EUPHORIA 
  31.  
  32.  --------------------------------------------------------------------------
  33.  Automatic Procedure
  34.  ===================
  35.  At the MS-DOS prompt (not Windows) type:
  36.  
  37.     install
  38.  
  39.  This will organize the files into subdirectories and
  40.  will show you the changes that it makes to your autoexec.bat file. 
  41.  
  42.  --------------------------------------------------------------------------
  43.  Manual Procedure
  44.  ================
  45.  We assume that you are going to use drive c:
  46.  
  47.  1.  In MS-DOS (not Windows) at the prompt, type:
  48.  
  49.     ex setupdir
  50.  
  51.      This will set up the Euphoria subdirectories. (install.bat does this
  52.      step automatically, if it hasn't been done yet).
  53.  
  54.  2.  In the file c:\autoexec.bat add  c:\euphoria\bin  to the list of 
  55.      directories in your PATH command.
  56.  
  57.  3.  In the same autoexec.bat file add a new line:
  58.  
  59.      set eudir=c:\euphoria
  60.  
  61.      The eudir environment variable indicates the full path to 
  62.      the main euphoria directory.
  63.  --------------------------------------------------------------------------
  64.  
  65.  Now press Control-Alt-Delete to reboot. 
  66.  This will define your new PATH and EUDIR environment variables
  67.  
  68.  If you now type 'ex' from any directory you should get a message 
  69.  from the Euphoria interpreter and a prompt. Type the name of a Euphoria 
  70.  .ex file to execute it, or simply type Enter to quit. The full-screen 
  71.  Euphoria editor 'ed' should also now be available. Type ed followed by a 
  72.  .e, .ex, or other text file name to view or edit the file.   
  73.  
  74.  You're all set! Files ending with .ex can now be run with the interpreter 
  75.  ex.exe. Check out the demo programs. Enjoy!
  76.  
  77.