SHELLERS for SYSCF, MacOS 10.5 hints file (trunk only)

Add SHELLERS - people allowed to use ! command with same syntax as WIZARDS.
Add new hints file for 10.5, since the rules and commands for groups changed
(new commands introduced in 10.4, old ones removed in 10.5; creating a new
user under 10.4 gave you a matching group, in 10.5 it doesn't).  Also move
shared build into roughly right place in file system when being installed
for root - don't use ~root.
Makefile.top - don't remove ./-p unless it exists (that's always annoyed me).
fix error invoking macosx.sh
This commit is contained in:
keni
2008-06-14 20:57:21 +00:00
parent 6a259a1464
commit b5d05b2bca
13 changed files with 324 additions and 41 deletions

View File

@@ -150,10 +150,11 @@
* If SYSCF is defined, the following configuration info is
* available in a global config space, with the compiled-in
* entries as defaults:
* WIZARD ( a value of * allows anyone to be wizard)
* WIZARDS ( a value of * allows anyone to be wizard)
* MAXPLAYERS (see MAX_NR_OF_PLAYERS above and nethack.sh)
* SUPPORT (how to get local support)(no default)
* RECOVER (how to recover a game at your site)(no default)
* SHELLERS (who can use !, syntax as WIZARDS)
*
* The following options select how the config space is stored:
* SYSCF_FILE in the named file

View File

@@ -2322,6 +2322,7 @@ E void NDECL(port_help);
# endif
E void FDECL(sethanguphandler, (void (*)(int)));
E boolean NDECL(authorize_wizard_mode);
E boolean FDECL(check_user_string, (char *));
#endif /* UNIX */
/* ### unixtty.c ### */

View File

@@ -13,6 +13,7 @@ struct sysopt {
char *support; /* local support contact */
char *recover; /* how to run recover - may be overridden by win port */
char *wizards;
char *shellers; /* like wizards, for ! command (-DSHELL) */
int maxplayers;
};
E struct sysopt sysopt;

View File

@@ -279,7 +279,9 @@
#endif
#define tgetch getchar
#define SHELL /* do not delete the '!' command */
#ifndef NOSHELL
# define SHELL /* do not delete the '!' command */
#endif
#include "system.h"