home *** CD-ROM | disk | FTP | other *** search
- /* config.h 1.1 (c) copyright 1986 (Dan Heller) */
-
- /* Default names and locations for files */
- #define MAILRC ".mushrc"
- #define ALTERNATE_RC ".mailrc"
- #define DEFAULT_RC "/usr/lib/Mushrc"
- #define ALT_DEF_RC "/usr/lib/Mail.rc"
- #define COMMAND_HELP "/usr/lib/cmd_help"
- #ifdef SUNTOOL
- # define TOOL_HELP "/usr/lib/tool_help"
- #endif /* SUNTOOL */
- #define ALTERNATE_HOME "/tmp" /* Path must be read/write to EVERYONE */
- #define EDFILE ".edXXXXXX" /* file/pathname added to user's "home" */
-
- /*
- * Define INTERNAL_MALLOC and recompile if you have trouble with mush
- * core-dumping due to malloc/free errors. Also, if you run a System 5
- * variant, you might notice a performance improvement if you define this
- * variable. It uses the malloc distributed by Larry Wall for perl v2.
- */
- /* #define INTERNAL_MALLOC /**/
-
- /*
- * Define TIMEZONE if your system has neither the SysV external variable
- * tzname nor the BSD timezone() function. The example below is for
- * Gould BSD4.3 systems; others should define it as a string, e.g. "PST"
- * If TIMEZONE is defined, DAYLITETZ can also be defined, e.g. "PDT"
- */
- /* #define TIMEZONE T->tm_zone /**/
-
- /* mail delivery system macros and defines... */
-
- /*
- * If you are using MMDF, define MMDF here.
- */
- /* #define MMDF /**/
- #ifdef MMDF
- /*
- * If MMDF delivers mail the user's home directory, define HOMEMAIL.
- * Also check the definition of the delivery file name MAILFILE, below.
- */
- /* #define HOMEMAIL /**/
- #define MAIL_DELIVERY "exec /usr/mmdf/bin/submit -mlnr"
- #define VERBOSE_ARG "Ww"
- #define MTA_EXIT 9 /* exit status for successful submit */
- #else /* MMDF */
- /*
- * If you are not using MMDF, check these definitions.
- */
- #define MAIL_DELIVERY "/usr/lib/sendmail -i" /* "-i" works like "-oi" */
- #define VERBOSE_ARG "-v" /* undef if none exists */
- #define METOO_ARG "-m" /* man sendmail for more info. */
- #define MTA_EXIT 0 /* exit status for successful mail delivery */
- #endif /* MMDF */
-
- /* If your mail transfer agent uses something *besides* "From " to separate
- * adjacent messages in a folder, define MSG_SEPARATOR to be this string.
- * If that string is 4 ^A's, then the string would be "\001\001\001\001".
- * With the exception of MMDF, below, you should OMIT a trailing newline
- * from the setting of MSG_SEPARATOR.
- * If you don't know what any of this means, leave it alone.
- */
- /* #define MSG_SEPARATOR "From " /**/
- #ifdef MMDF
- /*
- * These values should be identical (respectively) to the contents of
- * delim1 and delim2 in MMDFSRC/conf/yoursite/conf.c (sans newline).
- */
- #define MSG_SEPARATOR "\001\001\001\001\n"
- #define END_MSG_SEP "\001\001\001\001\n"
- /*
- * You only need to define LCKDFLDIR if you have MMDF configured to use the
- * locking routines in lib/util/lk_lock.c (ie., link(2)-based locking).
- * Most of you WILL NOT need this, since you probably use one of the more
- * sophisticated locking modules provided with MMDF. Remember to alter the
- * Makefile so as to access the MMDF library at the link step.
- */
- /* #define LCKDFLDIR "/usr/spool/mmdf/lockfiles" /* (for example) */
- #else /* !MMDF */
- #ifdef M_XENIX
- #define DOT_LOCK /* DOT_LOCK should be used for SCO Xenix */
- #endif /* M_XENIX */
- #endif /* MMDF */
-
- /* If your mailer does not understand commas between addresses, you should
- * define NO_COMMAS. This includes pre-3.0 smail and default MTAs used on
- * xenix, and sys-v systems.
- * This does NOT apply to MMDF or sendmail.
- */
- /* #define NO_COMMAS /**/
-
- /*
- * Most RFC822 compliant mailers (sendmail) will add the headers From:
- * and Date: on outgoing mail. If the user or UA sends these headers,
- * most MTAs will not append them automatically. However, there are
- * certain MTAs which will not allow this -- these "picky mailers" will
- * precede such headers with a '>' and make the headers very ugly and
- * somewhat redundant or contradictory. It is advisable to set this
- * *UNLESS* your MTA is not RFC822 compiant -- therefore you should NOT
- * set this (xenix, sys-v).
- */
- /* #define PICKY_MAILER /**/
-
- /* Headers that will NOT be included when forwarding mail */
- #define IGNORE_ON_FWD "status" /* comma or space separated list */
-
- #define MAXMSGS 1000 /* maximum number of messages we can read */
- #define HDRSIZ BUFSIZ /* This should not be < BUFSIZ! (but can be >) */
-
- /* If your system supports the vprintf() functions, True for sys-v and
- * later sun versions (3.0+ ?). Typically not true for BSD systems, but
- * that will probably change in the future.
- */
- #if defined(SYSV) || defined(sun)
- #define VPRINTF
- #endif /* SYSV || sun */
-
- #define LS_COMMAND "ls"
- #define FORTUNE "/usr/games/fortune"
- #define LPR "lpr"
- #define SIGNATURE ".signature"
- #ifdef HOMEMAIL
- #define MAILFILE "Mailbox" /* or whatever */
- #else /* HOMEMAIL */
- #define MAILDIR "/usr/spool/mail"
- #endif /* HOMEMAIL */
-
- /* default settings for some variable strings */
- #define DEF_PROMPT "Msg %m of %t: "
- #define DEF_PAGER "more" /* set to "internal" to use internal pager */
- #define DEF_SHELL "csh"
- #define DEF_EDITOR "vi"
- #define DEF_FOLDER "~/Mail" /* default Mail folder */
- #define DEF_MBOX "~/mbox" /* default mbox */
- #define DEF_INDENT_STR "> " /* indent included mail */
- #define DEF_PRINTER "lp"
- #define DEF_ESCAPE "~"
- #define DEF_HDR_FMT "%25f %7d (%l/%c) \"%s\"" /* default hdr_format */
- #define DEF_CURSES_HELP \
- "display save mail reply next-msg back-msg screen-next screen-back"
-