Home | History | Annotate | Line # | Download | only in warp
config.h revision 1.2
      1 /* RDCHK:
      2  *	This symbol, if defined, indicates that the rdchk routine is available
      3  *	to find out if there is input pending on an IO channel.  Generally
      4  *	the routine is used only if FIONREAD and O_NDELAY aren't available.
      5  */
      6 #/*undef	RDCHK		/**/
      7 
      8 /* SCOREFULL:
      9  *	This symbol, if defined, indicates that any scoreboard kept by the
     10  *	program should be kept on the basis of the user's full name as opposed
     11  *	to the user's login name.  If the user can change his full name he
     12  *	can enter multiple scores if this is defined.
     13  */
     14 #/*undef	SCOREFULL	/**/
     15 
     16 /* SIGNEDCHAR:
     17  *	This symbol, if defined, indicates that characters are a signed type.
     18  *	If not defined, things declared as signed characters (and that make
     19  *	use of negative values) should probably be declared as shorts instead.
     20  */
     21 #define	SIGNEDCHAR	/**/
     22 
     23 /* TERMIO:
     24  *	This symbol, if defined, indicates that the program should include
     25  *	termio.h rather than sgtty.h.  There are also differences in the
     26  *	ioctl() calls that depend on the value of this symbol.
     27  */
     28 #/*undef	TERMIO		/**/
     29 
     30 /* USENDIR:
     31  *	This symbol, if defined, indicates that the program should compile
     32  *	the ndir.c code provided with the package.
     33  */
     34 /* LIBNDIR:
     35  *	This symbol, if defined, indicates that the program should include the
     36  *	system's version of ndir.h, rather than the one with this package.
     37  */
     38 #/*undef	USENDIR		/**/
     39 #/*undef	LIBNDIR		/**/
     40 #define LIBNDIR
     41 
     42 /* WHOAMI:
     43  *	This symbol, if defined, indicates that the program may include
     44  *	whoami.h.
     45  */
     46 #/*undef	WHOAMI		/**/
     47 
     48 /* HOSTNAME:
     49  *	This symbol contains name of the host the program is going to run on.
     50  *	The domain is not kept with hostname, but must be gotten from MYDOMAIN.
     51  *	The dot comes with MYDOMAIN, and need not be supplied by the program.
     52  *	If gethostname() or uname() exist, HOSTNAME may be ignored.
     53  */
     54 /* MYDOMAIN:
     55  *	This symbol contains the domain of the host the program is going to
     56  *	run on.  The domain must be appended to HOSTNAME to form a complete
     57  *	host name.  The dot comes with MYDOMAIN, and need not be supplied by
     58  *	the program.  If the host name is derived from PHOSTNAME, the domain
     59  *	may or may not already be there, and the program should check.
     60  */
     61 #define HOSTNAME "kazoo"		/**/
     62 #define MYDOMAIN ".uucp"		/**/
     63 
     64 /* PASSNAMES:
     65  *	This symbol, if defined, indicates that full names are stored in
     66  *	the /etc/passwd file.
     67  */
     68 /* BERKNAMES:
     69  *	This symbol, if defined, indicates that full names are stored in
     70  *	the /etc/passwd file in Berkeley format (name first thing, everything
     71  *	up to first comma, with & replaced by capitalized login id, yuck).
     72  */
     73 /* USGNAMES:
     74  *	This symbol, if defined, indicates that full names are stored in
     75  *	the /etc/passwd file in USG format (everything after - and before ( is
     76  *	the name).
     77  */
     78 #define	PASSNAMES /*  (undef to take name from ~/.fullname) */
     79 #define	BERKNAMES /* (that is, ":name,stuff:") */
     80 #/*undef	USGNAMES  /* (that is, ":stuff-name(stuff):") */
     81 
     82 /* PREFSHELL:
     83  *	This symbol contains the full name of the preferred user shell on this
     84  *	system.  Usual values are /bin/csh, /bin/ksh, /bin/sh.
     85  */
     86 #define PREFSHELL "/bin/csh"		/**/
     87 
     88 /* RANDBITS:
     89  *	This symbol contains the number of bits of random number the rand()
     90  *	function produces.  Usual values are 15, 16, and 31.
     91  */
     92 #define RANDBITS 15		/**/
     93 
     94 /* Reg1:
     95  *	This symbol, along with Reg2, Reg3, etc. is either the word "register"
     96  *	or null, depending on whether the C compiler pays attention to this
     97  *	many register declarations.  The intent is that you don't have to
     98  *	order your register declarations in the order of importance, so you
     99  *	can freely declare register variables in sub-blocks of code and as
    100  *	function parameters.  Do not use Reg<n> more than once per routine.
    101  */
    102 
    103 #define Reg1 register		/**/
    104 #define Reg2 register		/**/
    105 #define Reg3 register		/**/
    106 #define Reg4 		/**/
    107 #define Reg5 		/**/
    108 #define Reg6 		/**/
    109 #define Reg7 		/**/
    110 #define Reg8 		/**/
    111 #define Reg9 		/**/
    112 #define Reg10 		/**/
    113 #define Reg11 		/**/
    114 #define Reg12 		/**/
    115 #define Reg13 		/**/
    116 #define Reg14 		/**/
    117 #define Reg15 		/**/
    118 #define Reg16 		/**/
    119 
    120 /* ROOTID:
    121  *	This symbol contains the uid of root, normally 0.
    122  */
    123 #define ROOTID 0		/**/
    124 
    125 /* VOIDFLAGS:
    126  *	This symbol indicates how much support of the void type is given by this
    127  *	compiler.  What various bits mean:
    128  *
    129  *	    1 = supports declaration of void
    130  *	    2 = supports arrays of pointers to functions returning void
    131  *	    4 = supports comparisons between pointers to void functions and
    132  *		    addresses of void functions
    133  *
    134  *	The package designer should define VOIDUSED to indicate the requirements
    135  *	of the package.  This can be done either by #defining VOIDUSED before
    136  *	including config.h, or by defining defvoidused in Myinit.U.
    137  */
    138 #ifndef VOIDUSED
    139 #define VOIDUSED 7
    140 #endif
    141 #define VOIDFLAGS 7
    142 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
    143 #define void int		/* is void to be avoided? */
    144 #define M_VOID		/* Xenix strikes again */
    145 #endif
    146 
    147 /* warp private library, may use ~ expansion, %x and %l */
    148 #define PRIVLIB "/usr/share/games/warp"		/**/
    149