home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / games / volume14 / umoria4 / part01 / INSTALL next >
Text File  |  1992-08-31  |  2KB  |  40 lines

  1.  
  2. First, you have to put every file in the 'source' directory, and every file
  3. in your machine/OS specific directory into a common directory.  If you are on
  4. a UNIX machine and running csh, the following works nicely if typed from this
  5. directory.
  6. ******
  7. foreach i (source/* unix/*)
  8. ln -s $i $i:t
  9. end
  10. ******
  11. (If you wish to build the program in a temporary directory, the same command
  12. will work, but you will have to give full pathnames for the source and
  13. unix directories.  If you build the program in a different filesystem than
  14. the one containing the sources, then 'ln -s' will only work if you have
  15. BSD or SYSVR4.    If the 'ln -s' fails, you can use 'ln' or 'cp' instead.)
  16.  
  17. To compile the program, edit the config.h file to change the
  18. names of the files the game uses.  Also, uncomment the appropriate
  19. line for the system you are compiling on. Type make (or build
  20. or whatever) to compile the game.  You may want to edit the 'files/hours' file
  21. to indicate during what hours people are allowed to play the game.  (The
  22. micro versions don't use this file.)
  23.  
  24. The game needs to be installed setuid on UNIX systems for the scoreboard
  25. to work.  Use the command 'chmod 4511 moria' to do this.
  26. The file scores should be mode 644 with the same owner as moria.
  27. The files hours and news must be publicly readable with mode 444.
  28. (Or just type 'make install' after setting BINDIR and LIBDIR in the
  29. Makefile to appropriate values.)
  30.  
  31. There are two choices for the key bindings, the original style and
  32. a rogue-like style.  You can choose which one is to be the default
  33. by changing the value of ROGUE_LIKE in config.h.
  34.  
  35. Moria only has partial support for SYS III.  It probably won't
  36. compile and run under this system without a bit of work.
  37.  
  38. If your compiler has a seven character identifier limit, the shortnam.sed
  39. file should solve the problem nicely.
  40.