home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume1 / cent / install.doc < prev    next >
Text File  |  1987-07-01  |  1KB  |  29 lines

  1. You should have the files:
  2. install.doc - This file
  3. cent.doc - A file describing how to play.
  4. sys_dep.c - A C file with system dependent constants.
  5. sys_dep.h - A C header file with definitions of default movement commands
  6. makefile - The makefile for compilation
  7.  
  8. Other source files:
  9. cent.h cent.c extern.c input.c interrupts.c la.c move.c options.c 
  10. save.c score.c shoot.c stuff.c
  11.  
  12.  
  13. You should look at sys_dep.{c,h} and modify the constants there to suit
  14. your system. Then just run make to compile the program.
  15.  
  16. Note: the score file should be protected 666, and it is assumed that
  17. the file exists when the program is run. Hence you should create an empty
  18. file under the name given in sys_dep.c initially.
  19.  
  20. One way to insure that there will be no tampering with the score file
  21. is to make a directory which is protected 711, giving only execute access.
  22. Within this directory make another subdirectory with protection 777, and in
  23. here put the score file, and define (in sys_dep.c) the lockfile to be a file
  24. in here. The lockfile is assumed not to exist at the beginning. The purpose
  25. of the lockfile is to ensure exclusive access to the scorefile. (E.g.,
  26. /usr/games/lib/cdir is protected 711, and contains other subdirectories,
  27. one containing a score file, one for the lockfiles. This directory could
  28. also contain cent.doc.)
  29.