📄 config.data
字号:
## $Revision: 1.40 $#### InterNetNews configuration file.## Note that if you leave a field blank, you must have the trailing tab!###### 1. MAKE CONFIG PARAMETERS## Where the DBZ sources are, from C News. INN has a (maybe old) copy.#### =()<DBZDIR @<DBZDIR>@>()=DBZDIR ../dbz## If you have a parallel make, set this to "&"#### =()<P @<P>@>()=P ## C pre-processor flags#### =()<DEFS @<DEFS>@>()=DEFS -I../include## C compiler#### =()<CC @<CC>@>()=CC cc## Does your compiler properly do "char const *"? Pick DO DONT or DUNNO#### =()<USE_CHAR_CONST @<USE_CHAR_CONST>@>()=USE_CHAR_CONST DUNNO## C compiler flags#### =()<CFLAGS @<CFLAGS>@>()=CFLAGS $(DEFS) -g## C compiler flags to use when compiling dbz#### =()<DBZCFLAGS @<DBZCFLAGS>@>()=DBZCFLAGS $(CFLAGS)## What flags to use if profiling; -p or -pg, e.g.#### =()<PROF @<PROF>@>()=PROF -pg## Flags for the "cc -o" line; e.g., -Bstatic on SunOS4.x while debugging.#### =()<LDFLAGS @<LDFLAGS>@>()=LDFLAGS -g## If you use the standard NNTP way of connecting, where is the library?#### =()<NNTPLIB @<NNTPLIB>@>()=NNTPLIB ## If you need to link in other libraries, add them here#### =()<LIBS @<LIBS>@>()=LIBS ## How to make a lint library; pick BSD, SYSV, or NONE.#### =()<LINTLIBSTYLE @<LINTLIBSTYLE>@>()=LINTLIBSTYLE NONE## Flags for lint. AIX wants "-wkD"; it and others don't want "-z".#### =()<LINTFLAGS @<LINTFLAGS>@>()=LINTFLAGS -b -h -z $(DEFS)## Some lints insist on putting out the filename and other crap.## Possible values:## LINTFILTER | sed -n -f ../sedf.aix## LINTFILTER | sed -n -f ../sedf.osx## LINTFILTER | sed -n -f ../sedf.sun## LINTFILTER | sed -n -f ../sedf.sysv## LINTFILTER #### =()<LINTFILTER @<LINTFILTER>@>()=LINTFILTER | sed -n -f ../sedf.sun## How to install manpages; pick SOURCE, NROFF-PACK, NROFF-PACK-SCO, or NONE.#### =()<MANPAGESTYLE @<MANPAGESTYLE>@>()=MANPAGESTYLE SOURCE## Where various manpages should go#### =()<MAN1 @<MAN1>@>()=MAN1 /usr/contrib/man/man1#### =()<MAN3 @<MAN3>@>()=MAN3 /usr/contrib/man/man3#### =()<MAN5 @<MAN5>@>()=MAN5 /usr/contrib/man/man5#### =()<MAN8 @<MAN8>@>()=MAN8 /usr/contrib/man/man8## Ranlib command. Use echo if you don't need ranlib.#### =()<RANLIB @<RANLIB>@>()=RANLIB ranlib## YACC (yet another config control?)#### =()<YACC @<YACC>@>()=YACC yacc## Ctags command. Use echo if you don't have ctags.#### =()<CTAGS @<CTAGS>@>()=CTAGS ctags -t -w#### 2. LOGGING LEVELS## Facility innd should log under.#### =()<LOG_INN_SERVER @<LOG_INN_SERVER>@>()=LOG_INN_SERVER LOG_NEWS## Facility all other programs should log under.#### =()<LOG_INN_PROG @<LOG_INN_PROG>@>()=LOG_INN_PROG LOG_NEWS## Flags to use in opening the logs; some programs add LOG_PID.#### =()<L_OPENLOG_FLAGS @<L_OPENLOG_FLAGS>@>()=L_OPENLOG_FLAGS (LOG_CONS | LOG_NDELAY)## Log a fatal error; program is about to exit.#### =()<L_FATAL @<L_FATAL>@>()=L_FATAL LOG_CRIT## Log an error that might mean one or more articles get lost.#### =()<L_ERROR @<L_ERROR>@>()=L_ERROR LOG_ERR## Informational notice, usually not worth caring about.#### =()<L_NOTICE @<L_NOTICE>@>()=L_NOTICE LOG_WARNING## A protocol trace.#### =()<L_TRACE @<L_TRACE>@>()=L_TRACE LOG_DEBUG## All incoming control commands (ctlinnd, etc).#### =()<L_CC_CMD @<L_CC_CMD>@>()=L_CC_CMD LOG_INFO#### 3. OWNERSHIPS AND FILE MODES## Owner of articles and directories and _PATH_INNDDIR#### =()<NEWSUSER @<NEWSUSER>@>()=NEWSUSER news## Group, for same purpose#### =()<NEWSGROUP @<NEWSGROUP>@>()=NEWSGROUP news## Who gets email about control messages? (Usually same as NEWSUSER)#### =()<NEWSMASTER @<NEWSMASTER>@>()=NEWSMASTER usenet## Who gets email on the Path line?#### =()<PATHMASTER @<PATHMASTER>@>()=PATHMASTER not-for-mail## Umask to set.#### =()<NEWSUMASK @<NEWSUMASK>@>()=NEWSUMASK 02## Mode that incoming articles are created under.#### =()<ARTFILE_MODE @<ARTFILE_MODE>@>()=ARTFILE_MODE 0664## Mode that batch files are created under.#### =()<BATCHFILE_MODE @<BATCHFILE_MODE>@>()=BATCHFILE_MODE 0664## Mode that directories are created under.#### =()<GROUPDIR_MODE @<GROUPDIR_MODE>@>()=GROUPDIR_MODE 0775#### 4. C LIBRARY DIFFERENCES## Use stdargs, varargs, or neither? Pick VARARGS STDARGS or NONE.## You need vfprintf and vfsprintf if not NONE.#### =()<VAR_STYLE @<VAR_STYLE>@>()=VAR_STYLE STDARGS## If you don't have <string.h>, set this to "mystring.h"#### =()<STR_HEADER @<STR_HEADER>@>()=STR_HEADER <string.h>## If you don't have <memory.h>, set this to "mymemory.h"#### =()<MEM_HEADER @<MEM_HEADER>@>()=MEM_HEADER <memory.h>## What is a file offset? Usually long or off_t. *Must be long for now!*#### =()<OFFSET_T @<OFFSET_T>@>()=OFFSET_T long## What is the type of an object size? Usually size_t or unsigned int.#### =()<SIZE_T @<SIZE_T>@>()=SIZE_T size_t## What is the type of a passwd uid and gid, for use in chown(2)?#### =()<UID_T @<UID_T>@>()=UID_T uid_t#### =()<GID_T @<GID_T>@>()=GID_T gid_t## Type of a pid, for use in kill(2).#### =()<PID_T @<PID_T>@>()=PID_T pid_t## Generic pointer, used by memcpy, malloc, etc. Usually char or void.#### =()<POINTER @<POINTER>@>()=POINTER void## Worst-case alignment, in order to shut lint up#### =()<ALIGNPTR @<ALIGNPTR>@>()=ALIGNPTR int## What should a signal handler return? Usually int or void.#### =()<SIGHANDLER @<SIGHANDLER>@>()=SIGHANDLER void## Type of variables can be modified in a signal handler? sig_atomic_t#### =()<SIGVAR @<SIGVAR>@>()=SIGVAR sig_atomic_t## Function that returns no value, and a pointer to it. Pick int or void#### =()<FUNCTYPE @<FUNCTYPE>@>()=FUNCTYPE void## Use BSD4.2 or Posix directory names? Pick DIRENT or DIRECT.#### =()<DIR_STYLE @<DIR_STYLE>@>()=DIR_STYLE DIRENT## Use flock, lockf, or nothing to lock files?## Pick FLOCK, LOCKF, FCNTL, or NONE#### =()<LOCK_STYLE @<LOCK_STYLE>@>()=LOCK_STYLE FLOCK## Do you have <unistd.h>? Pick DO or DONT#### =()<HAVE_UNISTD @<HAVE_UNISTD>@>()=HAVE_UNISTD DO## Do you have setbuffer? Pick DO or DONT.#### =()<HAVE_SETBUFFER @<HAVE_SETBUFFER>@>()=HAVE_SETBUFFER DO## Do you have gettimeofday? Pick DO or DONT.#### =()<HAVE_GETTIMEOFDAY @<HAVE_GETTIMEOFDAY>@>()=HAVE_GETTIMEOFDAY DO## Do you have fchmod? Pick DO or DONT.#### =()<HAVE_FCHMOD @<HAVE_FCHMOD>@>()=HAVE_FCHMOD DO## Do you have setsid()? Pick DO or DONT.#### =()<HAVE_SETSID @<HAVE_SETSID>@>()=HAVE_SETSID DONT## Does your (struct tm) have a tm_gmtoff field? Pick DO or DONT.#### =()<HAVE_TM_GMTOFF @<HAVE_TM_GMTOFF>@>()=HAVE_TM_GMTOFF DONT## Does your (struct stat) have a st_blksize field? Pick DO or DONT.#### =()<HAVE_ST_BLKSIZE @<HAVE_ST_BLKSIZE>@>()=HAVE_ST_BLKSIZE DO## Use waitpid instead of wait3? Pick DO or DONT.#### =()<HAVE_WAITPID @<HAVE_WAITPID>@>()=HAVE_WAITPID DO## Use "union wait" instead of int? Pick DO or DONT.#### =()<USE_UNION_WAIT @<USE_UNION_WAIT>@>()=USE_UNION_WAIT DONT## How to fork? Pick fork or vfork.#### =()<FORK @<FORK>@>()=FORK vfork## Do you have <vfork.h>? Pick DO or DONT.#### =()<HAVE_VFORK @<HAVE_VFORK>@>()=HAVE_VFORK DONT## Do you have symbolic links? Pick DO or DONT.#### =()<HAVE_SYMLINK @<HAVE_SYMLINK>@>()=HAVE_SYMLINK DO## Do you have Unix-domain sockets? Pick DO or DONT.#### =()<HAVE_UNIX_DOMAIN @<HAVE_UNIX_DOMAIN>@>()=HAVE_UNIX_DOMAIN DO## Does your AF_UNIX bind use sizeof for the socket size? Pick DO or DONT.#### =()<BIND_USE_SIZEOF @<BIND_USE_SIZEOF>@>()=BIND_USE_SIZEOF DONT## How should close-on-exec be done? Pick IOCTL or FCNTL.#### =()<CLX_STYLE @<CLX_STYLE>@>()=CLX_STYLE IOCTL## How should non-blocking I/O be done? Pick IOCTL or FCNTL.#### =()<NBIO_STYLE @<NBIO_STYLE>@>()=NBIO_STYLE FCNTL## How should resource-totalling be done? Pick RUSAGE or TIMES#### =()<RES_STYLE @<RES_STYLE>@>()=RES_STYLE RUSAGE## How to get number of available descriptors?## Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT.#### =()<FDCOUNT_STYLE @<FDCOUNT_STYLE>@>()=FDCOUNT_STYLE GETDTAB## If greater than -1, then use [gs]etrlimit to set that many descriptors.## If -1, then no [gs]etrlimit calls are done.#### =()<NOFILE_LIMIT @<NOFILE_LIMIT>@>()=NOFILE_LIMIT -1## Do you need <time.h> as well as <sys/time.h>? Pick DO or DONT.#### =()<NEED_TIME @<NEED_TIME>@>()=NEED_TIME DONT## What predicate, if any, the <ctype.h> macros need#### =()<CTYPE @<CTYPE>@>()=CTYPE (isascii((c)) && isXXXXX((c)))#CTYPE ((c) > 0 && isXXXXX((c)))#CTYPE isXXXXX((c))## What's the return type of abort? Usually int or void.#### =()<ABORTVAL @<ABORTVAL>@>()=ABORTVAL int## What's the return type of alarm? Usually int or unsigned int.#### =()<ALARMVAL @<ALARMVAL>@>()=ALARMVAL unsigned int## What's the return type of getpid? Usually int or unsigned int.#### =()<GETPIDVAL @<GETPIDVAL>@>()=GETPIDVAL pid_t## What's the return type of sleep? Usually int or unsigned int.#### =()<SLEEPVAL @<SLEEPVAL>@>()=SLEEPVAL unsigned int## What's the return type of qsort? Usually int or void.#### =()<QSORTVAL @<QSORTVAL>@>()=QSORTVAL int## What's the return type of lseek? Usually long or off_t.#### =()<LSEEKVAL @<LSEEKVAL>@>()=LSEEKVAL off_t## What's the return type of free? Usually int or void.#### =()<FREEVAL @<FREEVAL>@>()=FREEVAL int## What's the return type of exit? Usually int or void.## (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.)#### =()<EXITVAL @<EXITVAL>@>()=EXITVAL void## What's the return type of _exit? Usually int or void.#### =()<_EXITVAL @<_EXITVAL>@>()=_EXITVAL void#### 5. C LIBRARY OMISSIONS## Possible values:## MISSING_MAN strcasecmp.3 syslog.3## MISSING_SRC strcasecmp.c syslog.c strerror.c getdtab.c## MISSING_OBJ strcasecmp.o syslog.o strerror.o getdtab.c## getdtab has a getdtablesize() routine if you need it; see the lib## directory and Install.ms for others.## OSx systems should add $(OSXATTOBJ) to MISSING_OBJ.#### =()<MISSING_MAN @<MISSING_MAN>@>()=MISSING_MAN #### =()<MISSING_SRC @<MISSING_SRC>@>()=MISSING_SRC #### =()<MISSING_OBJ @<MISSING_OBJ>@>()=MISSING_OBJ #### 6. MISCELLANEOUS CONFIG DATA## Use read/write to update the active file, or mmap? Pick READ or MMAP.#### =()<ACT_STYLE @<ACT_STYLE>@>()=ACT_STYLE READ## Do clients use our NNTP-server-open routine, or the one in NNTP?## INND is nicer, but you must install inn.conf files everywhere; NNTP## is better if you already have lots of /usr/lib/news/server files.## Pick INND or NNTP.#### =()<REM_STYLE @<REM_STYLE>@>()=REM_STYLE INND## Should rnews save articles that the server rejects? Pick DO or DONT.#### =()<RNEWS_SAVE_BAD @<RNEWS_SAVE_BAD>@>()=RNEWS_SAVE_BAD DONT## Should rnews log articles innd already has? Pick SYSLOG, FILE, OR DONT.#### =()<RNEWS_LOG_DUPS @<RNEWS_LOG_DUPS>@>()=RNEWS_LOG_DUPS DONT## Look in _PATH_RNEWSPROGS for rnews unpackers? Pick DO or DONT.#### =()<RNEWSPROGS @<RNEWSPROGS>@>()=RNEWSPROGS DO## Should rnews try the local host? Pick DO or DONT.#### =()<RNEWSLOCALCONNECT @<RNEWSLOCALCONNECT>@>()=RNEWSLOCALCONNECT DO## Environment variable that has remote hostname for rnews.#### =()<_ENV_UUCPHOST @<_ENV_UUCPHOST>@>()=_ENV_UUCPHOST UU_MACHINE## Require posts to have under 50% inclusion (">") lines? Pick DO OR DONT.## (This is only for inews and nnrpd.)#### =()<CHECK_INCLUDED_TEXT @<CHECK_INCLUDED_TEXT>@>()=CHECK_INCLUDED_TEXT DO## Put hosts in the inews Path header? Pick DO or DONT.#### =()<INEWS_PATH @<INEWS_PATH>@>()=INEWS_PATH DO## Munge the gecos field of password entry? Pick DO or DONT.#### =()<MUNGE_GECOS @<MUNGE_GECOS>@>()=MUNGE_GECOS DO## How many times to try to fork before giving up#### =()<MAX_FORKS @<MAX_FORKS>@>()=MAX_FORKS 10## Largest acceptable article size; 0 allows any size#### =()<MAX_ART_SIZE @<MAX_ART_SIZE>@>()=MAX_ART_SIZE 1000000## Value of dbzincore(FLAG) call in innd. Pick 1 or 0.#### =()<INND_DBZINCORE @<INND_DBZINCORE>@>()=INND_DBZINCORE 1## Should sub-processes get a nice(2) value? Pick DO or DONT.#### =()<INND_NICE_KIDS @<INND_NICE_KIDS>@>()=INND_NICE_KIDS DONT## Value for nice(2) call in innd.#### =()<INND_NICE_VALUE @<INND_NICE_VALUE>@>()=INND_NICE_VALUE 10## Null-terminated list of unknown commands to not log to syslog.## INND_QUIET_BADLIST "xstream", "xfoo", NULL#### =()<INND_QUIET_BADLIST @<INND_QUIET_BADLIST>@>()=INND_QUIET_BADLIST NULL## Null-terminated set of illegal distribution patterns for local postings.#### =()<BAD_DISTRIBS @<BAD_DISTRIBS>@>()=BAD_DISTRIBS "*.*",NULL## Verify that the poster is the person doing the cancel? Pick DO or DONT.#### =()<VERIFY_CANCELS @<VERIFY_CANCELS>@>()=VERIFY_CANCELS DONT## Log "ctlinnd cancel" commands to syslog? Pick DO or DONT.#### =()<LOG_CANCEL_COMMANDS @<LOG_CANCEL_COMMANDS>@>()=LOG_CANCEL_COMMANDS DONT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -