home *** CD-ROM | disk | FTP | other *** search
- /* config.h
- * This file was produced by running the Configure script.
- * Feel free to modify any of this as the need arises.
- * Hand-modified for DOS. jbrown 11/17/90
- */
-
- #ifdef __TURBOC__
- #define msdos
- #endif
-
- #ifdef MSDOS
- #define msdos
- #endif
-
- #ifdef msdos
- #include "version.h"
- #endif
-
- /* name of the site. May be overridden by gethostname, uname, etc. */
- #ifdef msdos
- /* Not used */
- #endif /* msdos */
- #define SITENAME "anony.uucp"
-
- /* name of the organization, may be a file name */
- #ifdef msdos
- /* used only if not present in config file */
- #endif /* msdos */
- #define ORGNAME "/usr/lib/news/orgname"
-
- /* login name of news administrator, if any. */
- #undef NEWSADMIN /* "usenet" */
-
- /* news library, may use only ~ and %l expansion */
- #ifdef msdos
- /* used only if not present in config file */
- #endif /* msdos */
- #define LIB "/usr/lib/news" /* NEEDSWORK */
-
- /* rn private library, may use ~ expansion, %x and %l */
- #define RNLIB "%x/rn"
-
- /* location of the news spool directory, may use ~ expansion, %x and %l */
- #ifdef msdos
- /* used only if not present in config file */
- #endif /* msdos */
- #define SPOOL "/usr/spool/news"
-
- /* location of the active file, may use ~ expansion, %x and %l */
- /* Under UUPC/extended, actually processed elsewhere */
- #ifndef ACTIVE
- #define ACTIVE "%x/active"
- #endif
-
- /* location of spooled mail */
- #define MAILFILE "c:/usr/mail/%L" /* NEEDSWORK */
-
- /* directory for temp files */
- #ifdef msdos
- /* used only if not present in config file */
- #endif /* msdos */
- #define TMP "/tmp"
-
- /* default shell--ok to be a slow shell like csh */
- #define PREFSHELL "command"
-
- /* default editor */
- #define DEFEDITOR "vi" /* NEEDSWORK */
-
- /* root uid */
- #define ROOTID 0
-
- /* what is the first character of a mailbox? */
- #define MBOXCHAR '\001'
-
- /* how to cancel an article */
- #define CANCEL "$inews -h <%h" /* NEEDSWORK */
-
- /* distribution groups */
- #undef LOCDIST /* "$locpref" */
- #undef ORGDIST /* "$orgpref" */
- #define CITYDIST "la"
- #define STATEDIST "ca"
- #define CNTRYDIST "usa"
- #define CONTDIST "na"
-
- #define index strchr /* cultural */
- #define rindex strrchr /* differences? */
- #undef void /* int /* is void to be avoided? */
- #define vfork fork /* is vfork too virtual? */
- #undef EUNICE /* no linking? */
- #undef VMS /* not currently used, here just in case */
- #define GETCWD /* do we have getcwd()? */
- #undef USENDIR /* include ndir.c? */
- #undef LIBNDIR /* include /usr/include/ndir.h? */
- #define DIRTYPE dirent
- #ifndef USENDIR
- #define DIRINC <direct.h>
- #endif
- #define MININACT /* include 2.10.2 optimization? */
- #define PORTABLE /* do we do extra lookups to start up? */
- #undef PASSNAMES /* do names come from the passwd file? */
- /* (undef to take name from ~/.fullname) */
- #undef BERKNAMES /* if so, are they Berkeley format? */
- /* (that is, ":name,stuff:") */
- #undef USGNAMES /* or are they USG format? */
- /* (that is, ":stuff-name(stuff):") */
- #undef WHOAMI /* should we include whoami.h? */
- #undef RDCHK /* do we have rdchk()? */
- #undef TERMIO /* is this a termio system? */
- #define FCNTL /* should we include fcntl.h? */
- #undef IOCTL /* are ioctl args all defined in one place? */
- #define NORMSIG /* use signal rather than sigset? */
- #undef SIGBLOCK /* use sigblock and sigsetmask */
- #define SIGRET int /* what does signal() return? */
- #undef HAVETERMLIB /* do we have termlib-style routines? */
- #undef GETUIDGID /* allow setuid (if possible) */
- #undef GETPWENT /* should we include getpwent? */
- #define INTERNET /* does our mailer do INTERNET addressing? */
- #define GETHOSTNAME /* do we have a gethostname function? */
- #undef DOUNAME /* do we have a uname function? */
- #undef PHOSTNAME /* "$hostcmd" /* how to get host name with popen */
- #define NORELAY /* 2.10.3 doesn't have Relay-Version line */
- #undef SERVER /* rrn server code */
- #undef SERVER_FILE /* "$serverfile" */
- #define MKDIR /* We have mkdir() */
-
- /* path to fastest starting shell */
- #define SH "command"
-
- /* location of macro file */
- #ifndef RNMACRO
- # ifdef PUSHBACK
- # define RNMACRO "%./rnmac"
- # endif
- #endif
-
- /* location of full name */
- #ifndef FULLNAMEFILE
- # ifndef PASSNAMES
- # define FULLNAMEFILE "%./fullname"
- # endif
- #endif
-
- /* virtual array file name template */
- #ifndef VARYNAME /* % and ~ */
- # define VARYNAME "%J/rnvary.%$"
- #endif
-
- /* file to pass header to followup article poster */
- #ifndef HEADNAME /* % and ~ */
- #define HEADNAME "%J/rnhead.%$"
- #endif
-
- /* location of newsrc file */
- #ifndef RCNAME /* % and ~ */
- # define RCNAME "%./newsrc"
- #endif
-
- /* temporary newsrc file in case we crash while writing out */
- #ifndef RCTNAME /* % and ~ */
- # define RCTNAME "%./newsrc.new"
- #endif
-
- /* newsrc file at the beginning of this session */
- #ifndef RCBNAME /* % and ~ */
- # define RCBNAME "%./newsrc.old"
- #endif
-
- /* if existent, contains process number of current or crashed rn */
- #ifndef LOCKNAME /* % and ~ */
- # define LOCKNAME "%./rnlock"
- #endif
-
- /* information from last invocation of rn */
- #ifndef LASTNAME /* % and ~ */
- # define LASTNAME "%./rnlast"
- #endif
-
- /* file with soft pointers into the active file */
- #ifndef SOFTNAME /* % and ~ */
- # define SOFTNAME "%./rnsoft"
- #endif
-
- /* list of article numbers to mark as unread later (see M and Y cmmands) */
- #ifndef RNDELNAME /* % and ~ */
- # define RNDELNAME "%./rndelay"
- #endif
-
- /* command to submit a followup article */
- #ifndef NEWSPOSTER /* % and ~ */
- # define NEWSPOSTER "Pnews -h %h"
- #endif
-
- /* command to send a reply */
- #ifndef MAILPOSTER /* % and ~ */
- # define MAILPOSTER "rnmail -h %h"
- #endif
-
- #define chdir(s) CHDIR(s)
- #ifndef msdos
- #define stripcr(s) /* nothing */
- #endif /* msdos */
-
- #define MBOXSAVER "%X/mboxsavr %P %c %a %B %b"
-
- #define NORMSAVER "%X/normsavr %P %c %a %B %b"
-
-
- #define NEWSHEADER "Newsgroups: %(%F=^$?%C:%F)\n"
- #define NEWSHEADER2 "Subject: %(%S=^$?%\"\n\nSubject: \":Re: %S)\nSummary: \n"
- #define NEWSHEADER3 "%(%R=^$?:References: %R\n)"
- #define NEWSHEADER4 "Followup-To: \nDistribution: %(%i=^$?%\"Distribution: \":%D)\n"
- #define NEWSHEADER5 "Organization: %o\nKeywords: %[keywords]\n\n"
-