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.3 christos #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.3 christos #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.4 christos /* TERMIOS: 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.4 christos #define TERMIOS /**/ 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.3 christos #undef USENDIR /**/ 39 1.3 christos #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.3 christos #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.3 christos #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 /* ROOTID: 89 1.1 kamil * This symbol contains the uid of root, normally 0. 90 1.1 kamil */ 91 1.1 kamil #define ROOTID 0 /**/ 92 1.1 kamil 93 1.1 kamil /* VOIDFLAGS: 94 1.1 kamil * This symbol indicates how much support of the void type is given by this 95 1.1 kamil * compiler. What various bits mean: 96 1.1 kamil * 97 1.1 kamil * 1 = supports declaration of void 98 1.1 kamil * 2 = supports arrays of pointers to functions returning void 99 1.1 kamil * 4 = supports comparisons between pointers to void functions and 100 1.1 kamil * addresses of void functions 101 1.1 kamil * 102 1.1 kamil * The package designer should define VOIDUSED to indicate the requirements 103 1.1 kamil * of the package. This can be done either by #defining VOIDUSED before 104 1.1 kamil * including config.h, or by defining defvoidused in Myinit.U. 105 1.1 kamil */ 106 1.1 kamil #ifndef VOIDUSED 107 1.1 kamil #define VOIDUSED 7 108 1.1 kamil #endif 109 1.1 kamil #define VOIDFLAGS 7 110 1.1 kamil #if (VOIDFLAGS & VOIDUSED) != VOIDUSED 111 1.1 kamil #define void int /* is void to be avoided? */ 112 1.1 kamil #define M_VOID /* Xenix strikes again */ 113 1.1 kamil #endif 114 1.1 kamil 115 1.1 kamil /* warp private library, may use ~ expansion, %x and %l */ 116 1.2 kamil #define PRIVLIB "/usr/share/games/warp" /**/ 117