/*
 * W-NEWS       A simple NEWS processing package.
 *
 *		Default Coherent configuration options.
 *		The same for both Coherent 3.X and 4.X
 *
 * Authors:     Fred N. van Kempen, <waltje@infomagic.com>
 *		Edvard Tuinder <ed@ow.org>
 *		Copyright 1988-1993 MicroWalt Corporation
 *		Copyright 1994,1995 Cistron Software C.V.
 *
 *		This program is free software; you can redistribute it and/or
 *		modify it under the terms of the GNU General Public License
 *		as published by the Free Software Foundation; either version
 *		2 of the License, or (at your option) any later version.
 */
#ifndef _WNEWS_CONFIG_H
#define _WNEWS_CONFIG_H


#define HAVE_LONGACT	0		/* 10 digits in active (32 bit!)*/
#define QUIET		1		/* don't log all articles	*/
#define INEWS_UNBATCH	0		/* Feed inews eats batches	*/
					/* instead of single articles	*/

#define HAVE_DBM	0		/* do we have a db library	*/
#define HAVE_SDBM	0		/* do we have the sdbm library	*/
#define HAVE_NDBM	0		/* do we have an ndbm library	*/

#define HAVE_WALT	1		/* are we standalone W-NEWS?	*/
#define HAVE_STDIO	1		/* do we have a full stdio(3)	*/
#define USE_STDARG	1		/* do we have ansi stdarg	*/
#define USE_VARARGS	0		/* do we have varargs		*/
#define HAVE_HIST	1		/* do we want the hist stuff?	*/
#define HAVE_ACCT	1		/* do we want the accounting?	*/
#define HAVE_AUTO	1		/* automatic control messages?	*/
#define HAVE_HOST	0		/* any gethostname(2) ??	*/
#define HAVE_DOM	0		/* any getdomainname(2)		*/
#define HAVE_UUHOST	"/etc/uucpname"	/* Hostname of the system.	*/
#define HAVE_UUDOM	"/etc/domain"	/* Domainname of this system.	*/
#define HAVE_LOCK	1		/* Have locking			*/
#define HAVE_FLOCK	0		/* Do flock locking		*/
#define HAVE_FCNTL	0		/* Do fcntl locking		*/
#define HAVE_LOCKF	0		/* Do lockf locking		*/
#define HAVE_FILE_LOCK	1		/* Do file locking		*/
#define PATH_VALID	0		/* valid/non valid path field	*/
#define HAVE_SYSSIGLIST	0		/* char *sys_siglist[] ??	*/
#define HAVE_SYSLOG	0		/* Do we have the syslog() func */
#define HAVE_STATFS	1		/* Do we have the statfs() func */

/* File names and paths. Adjust this to your setup! */
#define VERSION		"W-NEWS Release 4.52 for Coherent"
#define CONFDIR		"/usr/lib/news"		/* the system directory	*/
#define VARDIR		"/usr/lib/news"		/* Log & adm files	*/
#define BATCHDIR     	"/usr/spool/news/out.going"	/* where batches are	*/
#define SPOOLDIR     	"/usr/spool/news"	/* where articles are	*/
#define OLDNEWS		"/usr/spool/oldnews"	/* where expired articles go */
#define MAIL		"/bin/mail"		/* the local mailer	*/
#define RMAIL		"/bin/rmail"		/* the remote mailer	*/
#define UUX		"/usr/lib/uucp/uux -r -gd -"	/* UUX command line	*/
#define SHELL		"/bin/sh"		/* the shell		*/
#define SYS_CAT		"/bin/cat"		/* cat(1)		*/
#define SYS_RM		"/bin/rm"		/* rm(1)		*/
#define SYS_MKDIR	"/bin/mkdir"		/* mkdir(1)		*/
#define SYS_CHMOD	"/bin/chmod"		/* chmod(1)		*/
#define E_EDIT		"/bin/ed"		/* line editor		*/

/*
 * The next section probably doesn't need to be adjusted.
 * If you do, be very careful and recompile all files!
 */
#define MODERATORS	"moderators"
#define DISTRIBS	"distributions"	/* possible distributions       */
#define ERRLOG		"errlog"	/* NEWS "error log" file        */
#define INFOLOG		"log"		/* NEWS "system log" file       */
#define HISTFILE	"history"	/* NEWS "history" file          */
#define NWGROUPS	"newsgroups"	/* existing newsgroups          */
#define ORGANIZAT	"organization"	/* my organization name         */
#define SYSFILE		"sys"		/* NEWS "sys" file              */
#define FEEDSFILE	"newsfeeds"	/* NEWS "newsfeeds" file	*/
#define V_EDIT		"/usr/bin/vi"	/* screen editor		*/
#define LIBDIR		"/usr/lib/news"	/* the system directory		*/
#define BINDIR		"/usr/bin"	/* public binaries		*/
#undef MANDIR		"/usr/man"	/* Where manpages go		*/
#define SIGNATURE	".signature"	/* user signature file          */
#define DEADART		"dead.article"	/* user zombie article          */
#define NEWSRC		".newsrc"	/* news agenda                  */
#define ACCTFILE	"news.adm"	/* NEWS "resource accouting"    */
#define ACTIVE		"active"	/* NEWS "active" file           */
#define BATLOCK		"LCK..sendbatch"/* sendbatch is running         */
#define UNBLOCK		"LCK..unbatch"	/* unbatch is running           */
#define CONTROL		"control"	/* control messages             */
#define INCOMING	".rnews"	/* incoming news batches        */
#define JUNK		"junk"		/* disaster newsgroup           */

#endif	/* _WNEWS_CONFIG_H */
