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