/* * This file was produced by running the config.h.SH script, which * gets its values from config.sh, which is generally produced by * running Configure. * * Feel free to modify any of this as the need arises. Note, however, * that running config.h.SH again will wipe out any changes you've made. * For a more permanent change edit config.sh and rerun config.h.SH. * * $Id: Config_h.U,v 3.0.1.2 1993/08/24 12:13:20 ram Exp $ */ /* Configuration time: Tue Oct 17 02:39:05 EDT 2000 * Configured by: kolya * Target system: */ #ifndef _config_h_ #define _config_h_ /* EUNICE: * This symbol, if defined, indicates that the program is being compiled * under the EUNICE package under VMS. The program will need to handle * things like files that don't go away the first time you unlink them, * due to version numbering. It will also need to compensate for lack * of a respectable link() command. */ /* VMS: * This symbol, if defined, indicates that the program is running under * VMS. It is currently only set in conjunction with the EUNICE symbol. */ /*#define EUNICE *//**/ /*#define VMS *//**/ /* HAS_GETPWENT: * This symbol, if defined, indicates that the getpwent() routine * should be used instead of the getpw() routine. */ #define HAS_GETPWENT /**/ /* HAS_TERMLIB: * This symbol, when defined, indicates that termlib-style routines * are available. There is nothing to include. */ #define HAS_TERMLIB /**/ /* INTERNET: * This symbol, if defined, indicates that there is a mailer available * which supports internet-style addresses (user@site.domain). */ #define INTERNET /**/ /* HAS_MEMCMP: * This symbol, if defined, indicates that the memcmp routine is available * to compare blocks of memory. */ #define HAS_MEMCMP /**/ /* HAS_MEMCPY: * This symbol, if defined, indicates that the memcpy routine is available * to copy blocks of memory. */ #define HAS_MEMCPY /**/ /* HAS_MEMSET: * This symbol, if defined, indicates that the memset routine is available * to set blocks of memory. */ #define HAS_MEMSET /**/ /* NEWS_ADMIN: * This symbol, if defined, contains the login name of the news * administrator. */ #define NEWS_ADMIN "news" /**/ /* NOLINEBUF: * This symbol, if defined, indicates that stdout is not buffered, so that * the program can call setbuf() or setlinebuf() for efficiency. */ /*#define NOLINEBUF *//**/ /* NORMSIG: * This symbol, if defined, indicates that normal signal handling routines * should be used, as opposed to the ones in 4.1bsd (sigset, etc.). */ #define NORMSIG /**/ /* HAS_RDCHK: * This symbol, if defined, indicates that the rdchk routine is available * to find out if there is input pending on an IO channel. Generally * the routine is used only if FIONREAD and O_NDELAY aren't available. */ /*#define HAS_RDCHK *//**/ /* HAS_RENAME: * This symbol, if defined, indicates that the rename routine is available * to rename files. Otherwise you should do the unlink(), link(), unlink() * trick. */ #define HAS_RENAME /**/ /* HAS_SIGBLOCK: * This symbol, if defined, indicates that the sigblock routine is * available to block signal reception. */ #define HAS_SIGBLOCK /**/ /* HAS_SIGHOLD: * This symbol, if defined, indicates that the sighold routine is * available to hold signals. */ /*#define HAS_SIGHOLD *//**/ /* HAS_STRCASECMP: * This symbol, if defined, indicates that the strcasecmp() routine is * available for case-insensitive string compares. */ #define HAS_STRCASECMP /**/ /* HAS_VFORK: * This symbol, if defined, indicates that vfork() exists. */ #define HAS_VFORK /**/ /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare * a signal handler using "Signal_t (*handler)()", and define the * handler using "Signal_t handler(sig)". */ #define Signal_t void /* Signal handler's return type */ /* DEFEDITOR: * This symbol contains the full pathname of the default editor. */ #define DEFEDITOR "/usr/athena/bin/emacs" /**/ /* I_DIRENT: * This symbol, if defined, indicates to the C program that it should * include . Using this symbol also triggers the definition * of the Direntry_t define which ends up being 'struct dirent' or * 'struct direct' depending on the availability of . */ #define I_DIRENT /**/ #ifdef I_DIRENT #define Direntry_t struct dirent #else #define Direntry_t struct direct #endif /* I_STDLIB: * This symbol, if defined, indicates that exists and should * be included. */ #define I_STDLIB /**/ /* I_STRING: * This symbol, if defined, indicates to the C program that it should * include (USG systems) instead of (BSD systems). */ #define I_STRING /**/ /* I_SYS_DIR: * This symbol, if defined, indicates to the C program that it should * include . */ #define I_SYS_DIR /**/ /* I_SYS_IOCTL: * This symbol, if defined, indicates that exists and should * be included. Otherwise, include or . */ /* I_SYS_FILIO: * This symbol, if defined, indicates that exists and * should be included instead of . */ #define I_SYS_IOCTL /**/ #define I_SYS_FILIO /**/ /* I_SYS_NDIR: * This symbol, if defined, indicates to the C program that it should * include . */ /*#define I_SYS_NDIR *//**/ /* I_TERMIO: * This symbol, if defined, indicates that the program should include * rather than . There are also differences in * the ioctl() calls that depend on the value of this symbol. */ /* I_TERMIOS: * This symbol, if defined, indicates that the program should include * the POSIX termios.h rather than sgtty.h or termio.h. * There are also differences in the ioctl() calls that depend on the * value of this symbol. */ /* I_SGTTY: * This symbol, if defined, indicates that the program should include * rather than . There are also differences in * the ioctl() calls that depend on the value of this symbol. */ /*#define I_TERMIO *//**/ #define I_TERMIOS /**/ /*#define I_SGTTY *//**/ /* I_UNISTD: * This symbol, if defined, indicates to the C program that it should * include . */ #define I_UNISTD /**/ /* I_VFORK: * This symbol, if defined, indicates to the C program that it should * include vfork.h. */ /*#define I_VFORK *//**/ /* MAILFILE: * This symbol contains the interpretable name of the mail spool file * for the current user. The program must be prepared to substitute * the HOME directory for %~, and the login id for %L. */ #define MAILFILE "%~/msgbox" /**/ /* MBOXCHAR: * This symbol contains a character which will match the beginning * of a mailbox file. */ #define MBOXCHAR 'F' /**/ /* PASSNAMES: * This symbol, if defined, indicates that full names are stored in * the /etc/passwd file. */ /* BERKNAMES: * This symbol, if defined, indicates that full names are stored in * the /etc/passwd file in Berkeley format (name first thing, everything * up to first comma, with & replaced by capitalized login id, yuck). */ #define PASSNAMES /* (undef to take name from ~/.fullname) */ #define BERKNAMES /* (that is, ":name,stuff:") */ /* ORGNAME: * This symbol contains either the organizaton name or the full pathname * of a file containing the organization name, which the program must * be prepared to open and substitute the contents of. */ #define ORGNAME "/mit/sipb/share/trn/organization" /**/ /* PREFSHELL: * This symbol contains the full name of the preferred user shell on this * system. Usual values are /bin/csh, /bin/ksh, /bin/sh. */ #define PREFSHELL "/bin/athena/tcsh" /**/ /* ROOTID: * This symbol contains the uid of root, normally 0. */ #define ROOTID 0 /**/ /* ACTIVE: * The name of the active file for the news system. This file contains * the list of active newsgroups. The name may have ~ on the front. */ /* ACTIVE_TIMES: * The name of the active.times file for the news system. */ #define ACTIVE "none" /**/ #define ACTIVE_TIMES "nntp" /**/ /* HAS_FTIME: * This symbol, if defined, indicates that the ftime() routine exists. * It is basically a sub-second accuracy clock, but is less accurate * than gettimeofday(2) anyway. The type "Timeval" should be used to * refer to "struct timeb". */ /*#define HAS_FTIME *//**/ /* HAS_GETHOSTNAME: * This symbol, if defined, indicates that the C program may use the * gethostname() routine to derive the host name. See also HAS_UNAME * and PHOSTCMD. */ /* HAS_UNAME: * This symbol, if defined, indicates that the C program may use the * uname() routine to derive the host name. See also HAS_GETHOSTNAME * and PHOSTCMD. */ /* PHOSTCMD: * This symbol, if defined, indicates that the C program may use the * contents of PHOSTCMD as a command to feed to the popen() routine * to derive the host name. See also HAS_GETHOSTNAME and HAS_UNAME. * Note that the command uses a fully qualified path, so that it is safe * even if used by a process with super-user privileges. */ /*#define HAS_GETHOSTNAME *//**/ /*#define HAS_UNAME *//**/ /*#define PHOSTCMD "" *//* How to get the host name */ /* HAS_GETWD: * This symbol, if defined, indicates that the getwd routine is * available to get the working directory. */ /* HAS_GETCWD: * This symbol, if defined, indicates that the getcwd routine is * available. This is never defined if getwd is found first. */ #define HAS_GETWD /**/ /*#define HAS_GETCWD *//**/ /* IGNOREORG: * This symbol, if defined, indicates that the ORGANIZATION environment * variable does not contain an organization name. */ /*#define IGNOREORG *//**/ /* MIMESHOW: * This symbol points to the program to run to show a mime article. */ /* MIMESTORE: * This symbol points to the program to run to store a mime article. */ #define MIMESHOW "/bin/athena/attachandrun mime metamail metamail -e -p -m trn %A" /**/ /*#define MIMESTORE "none" *//**/ /* USE_NNTP: * This symbol, if defined, indicates that NNTP should be used. */ /* USE_GENAUTH: * This symbol, if defined, indicates that authinfo generic * authentication is to be supported. */ /* SERVER_NAME: * When using NNTP, this symbol indicates the server name or a * file to open to read the server name. */ /* USE_XTHREAD: * This symbol, if defined, indicates that .thread files can be * gotten via NNTP. It is never defined if USE_NNTP is undefined. */ /* USE_XOVER: * This symbol, if defined, indicates that .overview files can be * gotten via NNTP. It is never defined if USE_NNTP is undefined. */ #define USE_NNTP /**/ /*#define USE_GENAUTH *//**/ #define SERVER_NAME "news.mit.edu" /**/ #define USE_XTHREAD /**/ #define USE_XOVER /**/ /* void: * This symbol is used for void functions. On implementations which * support void appropriately, its value is "void". Otherwise, its * value should be set to "int". */ /*#define void int *//**/ /* size_t: * This symbol is defined as an int if no size_t definition exists. */ /*#define size_t int *//**/ /* HAS_STRCHR: * This symbol is defined to indicate that the strchr()/strrchr() * functions are available for string searching. If not, try the * index()/rindex() pair. */ #define HAS_STRCHR /**/ /* HAS_STRFTIME: * This symbol, if defined, indicates that the strftime routine is * available to format locale-specific times. */ #define HAS_STRFTIME /**/ /* EMULATE_NDIR: * This symbol, if defined, indicates that the program should compile * the ndir.c code provided with the package. */ /* I_NDIR: * This symbol, if defined, indicates that the program should include the * system's version of ndir.h, rather than the one with this package. */ /*#define EMULATE_NDIR *//**/ /*#define I_NDIR *//**/ /* I_PTEM: * This symbol, if defined, indicates to the C program that it should * include ptem.h. */ /*#define I_PTEM *//**/ /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include . */ /* I_SYS_TIME: * This symbol, if defined, indicates to the C program that it should * include . */ /*#define I_TIME *//**/ #define I_SYS_TIME /**/ /* NEWSLIB: * This symbol contains the name of the directory serving as the news * library. The program must be prepared to do ~ expansion on it. */ #define NEWSLIB "/tmp" /**/ /* NEWSSPOOL: * This symbol contains the directory name where news articles are * spooled. The program must be prepared to do ~ expansion on it. */ #define NEWSSPOOL "/tmp" /**/ /* PHOSTNAME: * This symbol contains the posting host's name or a file from which * to read its name. */ #define PHOSTNAME "MIT.EDU" /**/ /* PRIVLIB: * This symbol contains the name of the private library for this package. * The library is private in the sense that it needn't be in anyone's * execution path, but it should be accessible by the world. The program * should be prepared to do ~ expansion. */ #define PRIVLIB "/mit/sipb/lib/trn" /**/ /* THREAD_DIR: * This symbol indicates where the thread files go. */ /* OVERVIEW_DIR: * This symbol indicates where the overview files go. */ /* USE_MT: * This symbol indicates if thread file support is desired. */ /* USE_OV: * This symbol indicates if overview file support is desired. */ #define THREAD_DIR "/tmp" /**/ #define OVERVIEW_DIR "/tmp" /**/ /*#define USE_MT *//**/ #define USE_OV /**/ /* THREAD_INIT: * This symbol indicates we act like trn no matter what our name is. */ /* SELECT_INIT: * This symbol indicates we default to the selector for group entry. */ #define THREAD_INIT FALSE #define SELECT_INIT TRUE /*#define LONG_THREAD_NAMES *//**/ #define CANCEL "/mit/sipb/bin/inews -h <%h" #define SPEED_OVER_MEM /* use more memory to run faster */ /*#define ANCIENT_NEWS *//* if your B news system is <= 2.10.1 */ #endif