|
|
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 beta 3/9/83";
14: /* SCCS ID @(#)defs.dist 2.14 3/9/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 2163 /* uid of person allowed to cancel anything */
21: #endif
22: #define N_UMASK 022 /* mask for umask call, 022 for secure system */
23: #define DFLTEXP 3*WEEKS /* default no. of seconds to expire in */
24: #define DFLTSUB "general,all.general" /* default subscription list */
25: #define TMAIL "/b3/smb/bin/mail" /* Mail program that understands -T */
26: #define ADMSUB "general" /* Mandatory subscription list */
27: #define PAGE "/usr/ucb/more" /* Default pager */
28: #define INEWS "/usr/lbin/inews" /* inews for recnews to fork */
29: #define FOLLOWUP INEWS /* What followup commmand should use */
30: #define RNEWS "/usr/lbin/rnews" /* rnews for uurec to fork */
31: /* If you change rnews, see Makefile too*/
32: #define NOTIFY "usenet" /* Tell him about certain ctl messages */
33: /* Default xmit command - remove -z if */
34: #define DFTXMIT "uux - -r -n %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/ucb/vi" /* Default editor, see also postnews. */
37: /* #define UUNAME @@ /* omit for uuname, put in LIBDIR */
38: #define MANUALLY /* Don't execute rmgroups, just notify. */
39: /* #define BATCH @@ /* Allow batch input: name of unbatcher */
40: /* BATCH: SEE SECURITY WARNING IN */
41: /* ifuncs.c BEFORE YOU TURN THIS ON. */
42: /* #define BERKNAME @@ /* name of local host on Berknet */
43: /* #define LOCALNAME /* There is no full name database. */
44: /* #define INTERNET /* Internet mail works locally */
45: #define MYDOMAIN ".UUCP" /* Local domain */
46: #define AUTONEWNG /* Believe new unrecognized newsgroups */
47: /* #define CHEAP /* don't chown files to news */
48: #define OLD /* Add extra headers for old neighbors */
49: #define UNAME /* If uname call is available. */
50: /* #define GHNAME /* If gethostname call is available. */
51: #define V7MAIL /* Local mail format is V7 ("From ") */
52: #define MYORG "Bell Labs, 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 90 /* 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 "/usr/fbin:/usr/lbin:/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 */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.