Annotation of researchv10no/cmd/netnews/defs.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * defs.h - defines for news-related programs.
        !             3:  *
        !             4:  * If you remove any lines here or in your Makefile, make the change
        !             5:  * to localize.sh so you won't have to redo it for each news release.
        !             6:  *
        !             7:  * If TMAIL is undefined, the -M option will be disabled.
        !             8:  *
        !             9:  * By convention, the version of the software you are running is taken
        !            10:  * to be news_version below.
        !            11:  */
        !            12: 
        !            13: static char *news_version = "B 2.10.1 6/24/83";
        !            14: /* SCCS ID @(#)defs.dist       2.23 (hand edited)      5/3/83 */
        !            15: 
        !            16: #define DAYS   (60L*60L*24L)
        !            17: #define WEEKS  (7*DAYS)
        !            18: /* Things that very well may require local configuration */
        !            19: #ifndef HOME
        !            20: #define        ROOTID  659     /* uid of person allowed to cancel anything     */
        !            21: #endif
        !            22: #define        N_UMASK 002     /* mask for umask call, 022 for secure system   */
        !            23: #define DFLTEXP        2*WEEKS /* default no. of seconds to expire in          */
        !            24: #define DFLTSUB "general"      /* default subscription list    */
        !            25: #define TMAIL  "/usr/bin/Mail" /* Mail program that understands -T     */
        !            26: #define        ADMSUB  "general"       /* Mandatory subscription list          */
        !            27: #define PAGE   "/usr/bin/more" /* Default pager                        */
        !            28: #define INEWS  "/usr/bin/inews"/* inews for recnews to fork    */
        !            29: #define FOLLOWUP INEWS
        !            30: #define RNEWS  "/usr/bin/rnews"/* rnews for uurec to fork      */
        !            31:                                /* If you change rnews, see Makefile too*/
        !            32: #define NOTIFY "alb"   /* Tell him about certain ctl messages  */
        !            33:                                /* Default xmit command - remove -z if  */
        !            34: #define DFTXMIT        "uux - %s!rnews < %s" /* your uux can't do it   */
        !            35: /* #define UXMIT       "uux -r -z -c %s!rnews '<' %s" /* If uux -c is ok       */
        !            36: #define DFTEDITOR "/usr/bin/ex"                /* Default editor, see also postnews.   */
        !            37: /* #define UUPROG "euuname"    /* omit for uuname, put in LIBDIR       */
        !            38: /* #define MANUALLY            /* Don't execute rmgroups, just notify. */
        !            39: /* #define BATCH "/usr/lib/news/unbatch"       /* name of unbatcher            */
        !            40: /* #define BATCHDIR "/usr/spool/batch" /* dir all batching files are in*/
        !            41: /* #define BERKNAME "ARPAVAX"  /* name of local host on Berknet        */
        !            42: #define LOCALNAME              /* There is no full name database.      */
        !            43: /* #define INTERNET            /* Internet mail works locally          */
        !            44: #define MYDOMAIN ".UUCP"       /* Local domain                         */
        !            45: /* #define AUTONEWNG           /* Believe new unrecognized newsgroups  */
        !            46: /* #define CHEAP               /* don't chown files to news            */
        !            47: #define OLD                    /* Add extra headers for old neighbors  */
        !            48: #define UNAME          /* If uname call is available.          */
        !            49: /* #define GHNAME              /* If gethostname call is available.    */
        !            50: #define NOCOLON                /* Don't do :.  Will go away in 2.11.   */
        !            51: #define V7MAIL                 /* Local mail format is V7 ("From ")    */
        !            52: #define MYORG "AT&T Bell Laboratories, Murray Hill"    /* My organization.  Please     */
        !            53:                                /* include your city (and state, and    */
        !            54:                                /* country, if not obvious) in MYORG,   */
        !            55:                                /* and please keep it short.            */
        !            56: 
        !            57: /* Things you might want to change */
        !            58: #define NEWSRC  ".newsrc"      /* name of .newsrc file (in home dir)   */
        !            59: #define LINES  512     /* maximum no. of lines in .newsrc              */
        !            60: #define NEGCHAR        '!'     /* newsgroup negation character                 */
        !            61: #define DEADTIME 45    /* no. of seconds to wait on deadlock           */
        !            62: #define FMETA  '%'     /* file meta-character for c option             */
        !            63: #ifdef pdp11
        !            64: # define BUFLEN        128     /* standard buffer size                         */
        !            65: #else
        !            66: # define BUFLEN        256     /* standard buffer size                         */
        !            67: #endif
        !            68: #define LBUFLEN 1024   /* big buffer size                              */ 
        !            69: #define SYSPATH        "PATH=/local/bin:/bin:/usr/bin" /* default, secure, vanilla path */
        !            70: #define LNCNT  16      /* Articles with > LNCNT lines go through pager */
        !            71: 
        !            72: /* Things you probably won't want to change */
        !            73: #define PATHLEN 512    /* length of longest source string              */
        !            74: #define        DATELEN 64      /* length of longest allowed date string        */
        !            75: #define        NAMELEN 64      /* length of longest possible message ID        */
        !            76: #define        SNLN    8       /* max significant characters in sysname        */
        !            77: #define        PROTO   'A'     /* old protocol name                            */
        !            78: #define NETCHRS        "!:.@^%"/* Punct. chars used for various networks       */
        !            79: #define        TRUE    1       /* boolean true                                 */
        !            80: #define        FALSE   0       /* boolean false                                */
        !            81: #define NGFSIZ  5000   /* legal newsgroup file size                    */
        !            82: #define        NGDELIM ','     /* delimit character in news group line         */

unix.superglobalmegacorp.com

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