home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / d / elvis / Docs / README < prev    next >
Encoding:
Text File  |  1990-01-09  |  2.4 KB  |  79 lines

  1.                     E L V I S
  2.  
  3. Elvis is a clone of vi/ex.  It boasts about 97% of the vi commands and about
  4. 92% of the ex commands.  It is generally quite fast.  It can edit files that
  5. are larger than a single process' data space.  Elvis also has a few features
  6. that the real vi lacks.  Several related programs are included, too.
  7.  
  8. Elvis runs under BSD/SysV UNIX, Minix-ST, and (almost certainly) Minix-PC.
  9. Elvis should be fairly easy to port to any OS that has the termcap functions.
  10.  
  11. It is being posted in eight parts.  Each part is a uuencoded compressed tar
  12. archive.  Each is about 32k bytes long.
  13.  
  14. Okay, now let's compile it...
  15.  
  16. Each "step" below includes a general description of what you should do next,
  17. followed by an explicit list of shell commands.  The shell commands should be
  18. viewed as one example of how the step might be accomplished on somebody else's
  19. system -- *NOT* the exact commands that you will need on YOUR system.
  20.  
  21. On Minix systems, you should be logged in as "root" as you do this.
  22.  
  23. STEP 1:
  24.     Make a subdirectory called "elvis" somewhere, and unpack the source
  25.     files into it.
  26.  
  27.         # mkdir /usr/src/commands/elvis
  28.         # cd /usr/src/commands/elvis
  29.         # mv ~/News/elvis* .
  30.         # for i in *
  31.         > do
  32.         >    uudecode $i
  33.         > done
  34.         # uncompress *.Z
  35.         # for i in *.tar
  36.         > do
  37.         >    tar x $i    <-- on BSD systems, try "tar xf $i"
  38.         > done
  39.         # rm *.Z *.tar
  40.  
  41. STEP 2:
  42.     Makefiles are included for Minix-ST, Minix-PC, and BSD Unix.  The
  43.     BSD Makefile will probably work for System-V; if it doesn't, try
  44.     adding "-DM_SYSV" to the CFLAGS line.
  45.  
  46.     The Minix-PC Makefile hasn't been tested yet.  If it doesn't work
  47.     right, please fix it and send me a working version.
  48.  
  49.     Anyway, copy the appropriate "Makefile.XXX" to "Makefile".
  50.  
  51.         # cp Makefile.st Makefile
  52.  
  53. STEP 3:
  54.     Make the executables.  You should see no warnings during compilation
  55.     from the standard UNIX or Minix compilers.  ANSI compilers may give
  56.     you a lot of warnings, but they shouldn't give you any errors.
  57.  
  58.         # make
  59.  
  60.     (Note: for UNIX systems, STOP HERE!  Minix users continue...)
  61.  
  62. STEP 4:
  63.     To install the current version of elvis (and related programs) in
  64.     "/usr/bin", use "make install".
  65.  
  66.         # make install
  67.  
  68. STEP 5:
  69.     Remove all unnecessary files from the "elvis" directory.
  70.  
  71.         # make clobber
  72.  
  73. STEP 6:
  74.     Create a directory called "/usr/tmp".  It must be readable/writable
  75.     by everybody.  Elvis will use this directory to hold temporary files.
  76.  
  77.         # mkdir /usr/tmp
  78.         # chmod 777 /usr/tmp
  79.