SYSCF for VMS (trunk only)

Enable SYSCF_FILE for VMS, and simplify option initialization
in the process.  I still need to put a template into the playground
directory during initial install, and the one in sys/unix/ probably
isn't appropriate.
This commit is contained in:
nethack.rankin
2011-04-23 01:51:01 +00:00
parent 4222d09874
commit 2228943015
4 changed files with 17 additions and 12 deletions

View File

@@ -43,12 +43,17 @@
# define WIZARD 1
# define WIZARD_NAME Local_WIZARD
#endif
#ifndef SYSCF
# define SYSCF
#endif
/* filenames require punctuation to avoid redirection via logical names */
#undef RECORD
#define RECORD "record;1" /* scoreboard file (retains high scores) */
#undef LOGFILE
#define LOGFILE "logfile;0" /* optional file (records all games) */
#undef SYSCF_FILE
#define SYSCF_FILE "sysconf;0"
#define HLOCK "perm;1" /* an empty file used for locking purposes */