1: /*
   2:  *	This software is Copyright (c) 1986 by Rick Adams.
   3:  *
   4:  *	Permission is hereby granted to copy, reproduce, redistribute or
   5:  *	otherwise use this software as long as: there is no monetary
   6:  *	profit gained specifically from the use or reproduction or this
   7:  *	software, it is not sold, rented, traded or otherwise marketed, and
   8:  *	this copyright notice is included prominently in any copy
   9:  *	made.
  10:  *
  11:  *	The author make no claims as to the fitness or correctness of
  12:  *	this software for any use whatsoever, and it is provided as is.
  13:  *	Any use of this software is at the user's own risk.
  14:  *
  15:  */
  16: 
  17: /*	@(#)defs.dist	2.49	3/19/86 */
  18: 
  19: /*
  20:  * defs.h - defines for news-related programs.
  21:  *
  22:  * If you remove any lines here or in your Makefile, make the change
  23:  * to localize.sh so you won't have to redo it for each news release.
  24:  *
  25:  * If TMAIL is undefined, the -M option will be disabled.
  26:  *
  27:  * By convention, the version of the software you are running is taken
  28:  * to be news_version below.
  29:  */
  30: 
  31: #define NEWS_VERSION   "B 2.10.3 BETA 3/19/86"
  32: 
  33: #define DAYS    (60L*60L*24L)
  34: #define WEEKS   (7*DAYS)
  35: /* Things that very well may require local configuration */
  36: #ifndef HOME
  37: #define ROOTID  10  /* uid of person allowed to cancel anything	*/
  38: #endif
  39: #define N_UMASK 002 /* mask for umask call, 022 for secure system	*/
  40: #define DFLTEXP 2*WEEKS /* default no. of seconds to expire in		*/
  41: #define HISTEXP 4*WEEKS /* default no. of seconds to forget in		*/
  42: #define DFLTSUB "general,all.announce"  /* default subscription list	*/
  43: #define TMAIL   "/usr/ucb/Mail" /* Mail program that understands -T	*/
  44: #define ADMSUB  "general,all.announce"  /* Mandatory subscription list	*/
  45: #define PAGE    "/usr/ucb/more" /* Default pager			*/
  46: #define NOTIFY  "usenet"    /* Tell him about certain ctl messages	*/
  47:                 /* Default xmit command - remove -z if	*/
  48: #define DFTXMIT "uux - -r -z -gd %s!rnews < %s" /* your uux can't do it	*/
  49: #define UXMIT   "uux -r -z -gd -c %s!rnews '<' %s" /* If uux -c is ok	*/
  50: #define DFTEDITOR "vi"      /* Default editor, see also postnews.	*/
  51: /* #define UUPROG "euuname"	/* omit for uuname, put in LIBDIR	*/
  52: #define MANUALLY        /* Don't execute rmgroups, just notify.	*/
  53: /* #define NONEWGROUPS		/* Don't create new groups, just notify.*/
  54: #define BATCH "unbatch"     /* name of unbatcher 		*/
  55: /* #define SPOOLNEWS		/* Spool incoming news, don't process	*/
  56: /* #define LOCALNAME 		/* There is no full name database. 	*/
  57: #define INTERNET        /* Internet mail works locally		*/
  58: #define MYDOMAIN ".UUCP"    /* Local domain				*/
  59: /* #define CHEAP		/* don't chown files to news		*/
  60: /* #define OLD			/* Add extra headers for old neighbors	*/
  61: /* #define UNAME		/* If uname call returns your nodename  */
  62: #define GHNAME      /* If gethostname call is available.	*/
  63: /* #define UUNAME		/* If your nodename is in /etc/uucpname */
  64: #define V7MAIL          /* Local mail format is V7 ("From ")	*/
  65: #define SORTACTIVE      /* if you want news presented in the order of the .newsrc */
  66: #define ZAPNOTES        /* if you want old style notes headers moved into the headers */
  67: #define DIGPAGE         /* allow digestifying in vnews */
  68: #define DOXREFS     /* Generate xref line for rn to use */
  69: /* #define MULTICAST		/* If you want to be able to multicast news */
  70: #define BSD4_2      /* If you are running 4.2  or 4.3 BSD	*/
  71: /* #define BSD4_1C		/* If you are running 4.1C BSD		*/
  72: #define SENDMAIL "/usr/lib/sendmail" /* command line to run "sendmail" if you have it	*/
  73: /* #define MMDF	"/usr/mmdf/submit"	/* command line to run mmdf if you have it */
  74: #define MYORG "Frobozz Inc., St. Louis" /* My organization.  Please	*/
  75:                 /* include your city (and state, and	*/
  76:                 /* country, if not obvious) in MYORG,	*/
  77:                 /* and please keep it short.		*/
  78: /* #define HIDDENNET "frooz"	/* if you have a local network and want */
  79:                 /* The mail address to look like it came */
  80:                 /* from one machine */
  81: /* #define NICENESS	4	/* does a nice(NICENESS) in rnews */
  82: /* #define FASCIST	"all,!all.all"	/* only permit posting to certain groups */
  83:                 /* see installation guide for details */
  84: /* #define SMALL_ADDRESS_SPACE	/* If your machine can't address > 32767 */
  85: /* #define ORGDISTRIB	"froozum"	/* For organization wide control message handling */
  86: 
  87: /* Things you might want to change */
  88: #define NEWSRC  ".newsrc"   /* name of .newsrc file (in home dir)	*/
  89: #define LINES   512 /* maximum no. of lines in .newsrc		*/
  90: #define NEGCHAR '!' /* newsgroup negation character			*/
  91: #define DEADTIME 45 /* no. of seconds to wait on deadlock		*/
  92: #define FMETA   '%' /* file meta-character for c option		*/
  93: #if defined(pdp11) || defined(SMALL_ADDRESS_SPACE)
  94: # define BUFLEN 128 /* standard buffer size				*/
  95: #else
  96: # define BUFLEN 256 /* standard buffer size				*/
  97: #endif
  98: #define LBUFLEN 1024    /* big buffer size				*/
  99: #define SBUFLEN 32  /* small buffer size (for system names, etc)	*/
 100: #define SYSPATH "PATH=/local/bin:/bin:/usr/bin" /* default, secure, vanilla path */
 101: #define LNCNT   14  /* Articles with > LNCNT lines go through pager */
 102: 
 103: /* Things you probably won't want to change */
 104: #define PATHLEN 512 /* length of longest source string		*/
 105: #define DATELEN 64  /* length of longest allowed date string	*/
 106: #define NAMELEN 64  /* length of longest possible message ID	*/
 107: #define SNLN    8   /* max significant characters in sysname	*/
 108: #define PROTO   'A' /* old protocol name				*/
 109: #define NETCHRS "!:@^%"/* Punct. chars used for various networks	*/
 110: #define TRUE    1   /* boolean true					*/
 111: #define FALSE   0   /* boolean false				*/
 112: #define PERHAPS 2   /* indeterminate boolean value			*/
 113: #define NGDELIM ',' /* delimit character in news group line		*/

Defined macros

ADMSUB defined in line 44; used 3 times
BATCH defined in line 54; used 3 times
BUFLEN defined in line 96; used 166 times
DATELEN defined in line 105; used 1 times
DAYS defined in line 33; used 6 times
DEADTIME defined in line 91; used 2 times
DFLTEXP defined in line 40; used 1 times
DFTXMIT defined in line 48; used 2 times
DIGPAGE defined in line 67; used 7 times
GHNAME defined in line 62; used 1 times
HISTEXP defined in line 41; used 3 times
LNCNT defined in line 101; used 2 times
MANUALLY defined in line 52; used 1 times
MYORG defined in line 74; used 2 times
NAMELEN defined in line 106; used 2 times
NEGCHAR defined in line 90; used 2 times
NEWS_VERSION defined in line 31; used 1 times
PERHAPS defined in line 112; used 3 times
PROTO defined in line 108; used 1 times
SBUFLEN defined in line 99; used 6 times
SENDMAIL defined in line 72; used 4 times
SYSPATH defined in line 100; never used
UXMIT defined in line 49; used 2 times
V7MAIL defined in line 64; used 4 times
WEEKS defined in line 34; used 2 times
ZAPNOTES defined in line 66; used 1 times

Usage of this include

Last modified: 1986-05-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1056
Valid CSS Valid XHTML 1.0 Strict