Annotation of researchv8dc/cmd/uucp/parms.h, revision 1.1

1.1     ! root        1: /*     %W%     */
        !             2: #ifndef lint
        !             3: static char    h_parms[] = "%W%";
        !             4: #endif
        !             5: 
        !             6: /* go through this carefully, configuring for your site */
        !             7: 
        !             8: /* One of the following four lines should not be commented out.
        !             9:  * The other three should be unless you are running a unique hybrid.
        !            10:  */
        !            11: 
        !            12: /* #define     ATTSV   /* System III or System V */
        !            13: /* #define     V7      /* Version 7 systems (32V, Berkeley 4BSD, 4.1BSD) */
        !            14: /* #define     BSD4_2  /* Berkeley 4.2BSD */
        !            15: #define        V8      /* Research Eighth Edition */
        !            16: 
        !            17: 
        !            18: /* Owner of setud files running on behalf of uucp.  Needed in case
        !            19:  * root runs uucp and euid is not honored by kernel.
        !            20:  * GID is needed for some chown() calls.
        !            21:  * Also used if guinfo() cannot find the current users ID in the
        !            22:  * password file.
        !            23:  */
        !            24: #define UUCPUID                48      /* */
        !            25: #define UUCPGID                1       /* */
        !            26: 
        !            27: /* define ATTSVKILL if your system has a kill(2) that accepts kill(0, pid)
        !            28:  * as a test for killability.  If ATTSV is defined this will automatically
        !            29:  * be defined anyway.
        !            30:  */
        !            31: #define ATTSVKILL      /* */
        !            32: 
        !            33: /*
        !            34:  * the next two lines control high resolution sleeps, called naps.
        !            35:  *
        !            36:  * most UNIX versions have no nap() system call; they want NONAP defined,
        !            37:  * in which case one is provided in the code.  this includes all standard
        !            38:  * versions of UNIX.
        !            39:  *
        !            40:  * some sites use a fast timer that reads a number of clock ticks and naps
        !            41:  * for that interval; they want NONAP defined, and FASTTIMER defined as
        !            42:  * the name of the device, e.g., /dev/ft.
        !            43:  *
        !            44:  * repeating, NONAP should be disabled *only* if your standard library has a
        !            45:  * function called nap.
        !            46:  */
        !            47: 
        !            48: 
        !            49: #define NONAP  /* nominal case -- no nap() in the standard library */
        !            50: /* #define FASTTIMER "/dev/ft"   /* identify the device used for naps */
        !            51: 
        !            52: /*
        !            53:  * we use ustat to decide whether there's enough space to receive a
        !            54:  * file.  if you're not ATTSV, you can use a setgid program to read the
        !            55:  * number of free blocks and free inodes directly off the disk.  if you
        !            56:  * choose this course, do not define NOUSTAT; rather, define V7USTAT to
        !            57:  * be the name of that program.  be sure it accepts 2 args, major and minor
        !            58:  * device numbers, and returns two numbers, blocks and inodes, in
        !            59:  * "%d %d" format, or you'll never receive another file.
        !            60:  */
        !            61: /* #define V7USTAT  "/usr/local/lib/ustat" /* */
        !            62: #define NOUSTAT  /* define NOUSTAT if you don't have ustat */
        !            63: 
        !            64: /* define GRPCHK if you want to restrict the ability to read */
        !            65: /* Systems file stuff by way of the DEBUG flags based on a group id range */
        !            66: /* ex: if (GRPCHK(getgid()) no_secrets(); */
        !            67: #define GRPMIN 2       /* */
        !            68: #define GRPMAX 4       /* */
        !            69: #define GRPCHK(gid)    ( gid >= GRPMIN && gid <= GRPMAX ? 1 : 0 )      /* */
        !            70: /* #define GRPCHK(gid) 1       /* Systems info is not protected from DEBUG */
        !            71: 
        !            72: #ifndef STANDALONE
        !            73: 
        !            74: /* definitions for the types of networks and dialers that are available */
        !            75: /*#define DATAKIT      /* define DATAKIT if datakit is available */
        !            76: /* #define UNET                /* define UNET if you have 3com ethernet software */
        !            77: /* #define TCP         /* TCP (bsd systems) */
        !            78: /* #define SYTEK       /* for sytek network */
        !            79: 
        !            80: #endif
        !            81: 
        !            82: #define MAXCALLTRIES   2       /* maximum call attempts per Systems file line */
        !            83: 
        !            84: /* #define DIAL801     /* 801/212-103 auto dialers */
        !            85: 
        !            86: /* #define X25 /* define X25 if you want to use the xio protocol */
        !            87: 
        !            88: /* define DUMB_DN if your dn driver (801 acu) is too dumb to handle '=' */
        !            89: /* #define DUMB_DN /*  */
        !            90: 
        !            91: /* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
        !            92: /* Systems file and Devices file allow Any */
        !            93: #define DEFAULT_BAUDRATE "9600"        /* */
        !            94: 
        !            95: /*define permission modes for the device uucico is calling the remote machine on */
        !            96: #define DEVICEMODE 0640
        !            97: 
        !            98: /* NO_MODEM_CTRL - define this if you have very old hardware
        !            99:  * that does not know how to correctly handle modem control
        !           100:  * Some old pdp/11 hardware such as dk, dl
        !           101:  * If you define this, and have DH devices for direct lines,
        !           102:  * the ports will often hang and be unusable.
        !           103: */
        !           104: /*#define NO_MODEM_CTRL                /* */
        !           105: 
        !           106: 
        !           107: /* UUSTAT_TBL - this is the maximum number of machines that
        !           108:  * status may be needed at any instant.
        !           109:  * If you are not concerned with memory for a seldom used program,
        !           110:  * make it very large.
        !           111:  * This number is also used in uusched for its machine table -- it has
        !           112:  * the same properties as the one in uustat.
        !           113:  */
        !           114: 
        !           115: /* #define UUSTAT_TBL 1000             /* big machine with lots of traffic */
        !           116: #define UUSTAT_TBL 200
        !           117: 
        !           118: /* define UNAME if uname() should be used to get uucpname
        !           119:  * This will be defined automatically if ATTSV is defined
        !           120:  */
        !           121: /* #define UNAME /*  */
        !           122: 
        !           123: /* initial wait time after failure before retry */
        !           124: #define RETRYTIME 300          /* 5 minutes */
        !           125: /* MAXRETRYTIME is for exponential backoff  limit.
        !           126:  * NOTE - this should not be 24 hours so that
        !           127:  * retry is not always at the same time each day
        !           128:  */
        !           129: #define MAXRETRYTIME 82800     /* 23 hours */
        !           130: #define ASSERT_RETRYTIME 86400 /* retry time for ASSERT errors */
        !           131: 
        !           132: /*  This is the path that will be used for uuxqt command executions */
        !           133: #define PATH   "PATH=/bin:/usr/bin " /* */
        !           134: /* #define PATH        "PATH=/bin:/usr/bin:/usr/lbin " /* */
        !           135: 
        !           136: /*  This is the set of default commands that can be executed */
        !           137: /*  if non is given for the system name in PERMISSIONS file */
        !           138: /*  It is a colon separated list as in PERMISSIONS file */
        !           139: #define DEFAULTCMDS    "rmail" /* standard default command list */
        !           140: 
        !           141: /* define HZ to be the number of clock ticks per second */
        !           142: #define HZ 60 /* not needed for ATTSV or above */
        !           143: 
        !           144: /*
        !           145:  * put in local uucp name of this machine if there is no "/etc/whoami"
        !           146:  * and no uname() (this is a last resort)
        !           147:  */
        !           148: #define MYNAME         "kilroy"        /* */
        !           149: 
        !           150: /* define NOSTRANGERS if you want to reject calls from systems which
        !           151:  * are not in your Systems file.   If defined, NOSTRANGERS should be the name
        !           152:  * of the program to execute when such a system dials in.  The argument
        !           153:  * to said program will be the name of said system.  Typically this is a shell
        !           154:  * procedure that sends mail to the uucp administrator informing them of an
        !           155:  * attempt to communicate by an unknown system.
        !           156:  * NOTE - if this is defined, it can be overridden by the administrator
        !           157:  * by making the command non-executable.  (It can be turned on and off
        !           158:  * by changing the mode of the command.)
        !           159:  */
        !           160: #define NOSTRANGERS    "/usr/lib/uucp/remote.unknown"  /* */
        !           161: 
        !           162: /* define LMTUUXQT to be the name of a file which contains the number
        !           163:  * (in ascii) of simultaneous uuxqt's which you will permit.  If it is
        !           164:  * not defined, there may be "many" uuxqt's running. 5 is reasonable number.
        !           165:  */
        !           166: #define LMTUUXQT       "/usr/lib/uucp/Maxuuxqts"       /* */
        !           167: 
        !           168: /* define LMTUUSCHED to be the name of a file which contains the number
        !           169:  * (in ascii) of simultaneous uusched's which you will permit.  If it is
        !           170:  * not defined, there may be "many"  uusched's running. 2 is reasonable number.
        !           171:  */
        !           172: #define LMTUUSCHED     "/usr/lib/uucp/Maxuuscheds"     /* */
        !           173: 
        !           174: /* define USRSPOOLLOCKS if you like your lock files in /usr/spool/locks
        !           175:  * be sure other programs such as 'cu' and 'ct' know about this
        !           176:  */
        !           177: /* #define USRSPOOLLOCKS  /* define to use /usr/spool/locks for LCK files */
        !           178: 
        !           179: /* define ASCIILOCKS if you like your lock files to contain ascii pids.
        !           180:  * rather than binary representations.  Rmemeber cu and ct and whatever
        !           181:  * else might lock devices need to understand this
        !           182:  */
        !           183: #define ASCIILOCKS  /* define for ascii lck pids */
        !           184: 
        !           185: /* define PKSPEEDUP if you want to try the recommended speedup in pkcget.
        !           186:  * this entails sleeping between reads at low baud rates.
        !           187:  */
        !           188: #define PKSPEEDUP      /* */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.