/* config.c - master MH configuration file */
static char ident
[] = "@(#)$Id: config.c,v 1.11 1993/09/01 22:29:10 jromine Exp $";
/* This file is automatically generated. Do not edit! */
#define binpath(file) "/usr/contrib/mh-6.8/bin/"#file
#define etcpath(file) "/usr/contrib/mh-6.8/lib/"#file
#define binpath(file) "/usr/contrib/mh-6.8/bin/file"
#define etcpath(file) "/usr/contrib/mh-6.8/lib/file"
static char Config
[] = "@(#)Config: MH.bsd44";
char *options
[] = {"BIND", "BPOP", "BSD42", "BSD43", "BSD44", "DBMPWD", "GCOS_HACK", "MHE", "MHRC", "MIME", "MORE='\"/usr/bin/more\"'", "NNTP", "NORUSERPASS", "NTOHLSWAP", "OVERHEAD", "POP", "POP2", "POPSERVICE='\"pop3\"'", "POSIX", "RPOP", "SENDMTS", "SMTP", "SPRINTFTYPE=int", "SYS5DIR", "TYPESIG=void", "UNISTD", "VSPRINTF", "WAITINT", "WHATNOW", "ZONEINFO", NULL
};
struct passwd
*getpwnam ();
static char lpath
[BUFSIZ
];
if (cp
= index (pp
= file
+ 1, '/'))
(void) sprintf (lpath
, "%s/%s", pp
, cp
? cp
: "");
if (access (lpath
, 04) != NOTOK
)
return lpath
; /* else fall */
if (access ((cp
= m_mailpath (file
)), 04) != NOTOK
)
(void) sprintf (lpath
, etcpath (%s
), file
);
return (access (lpath
, 04) != NOTOK
? lpath
: file
);
* Standard yes/no switches structure
char *components
= "components";
char *digestcomps
= "digestcomps";
char *distcomps
= "distcomps";
char *forwcomps
= "forwcomps";
char *mh_defaults
= etcpath (mh
.profile
);
char *mh_profile
= ".mh_profile";
char *mhlformat
= "mhl.format";
char *mhlforward
= "mhl.forward";
char *nsequence
= "Sequence-Negation";
char *pfolder
= "Current-Folder";
char *psequence
= "Previous-Sequence";
char *rcvdistcomps
= "rcvdistcomps";
char *replcomps
= "replcomps";
char *usequence
= "Unseen-Sequence";
char *mhlibdir
= "/usr/contrib/mh-6.8/lib"; /* NB: this will change */
char *context
= "context";
char *mh_seq
= ".mh_sequences";
char ctxflags
; /* status of user's context */
char *invo_name
; /* pgm invocation name */
char *mypath
; /* user's $HOME */
char *defpath
; /* pathname of user's profile */
char *ctxpath
; /* pathname of user's context */
struct node
*m_defs
; /* profile/context structure */
* mhl runs this program as a visual-end.
* This program is usually called directly by users, but it is
* also invoked by the post program to process an "fcc".
char *fileproc
= binpath (refile
);
* This program is called to incorporate messages into a folder.
char *incproc
= binpath (inc
);
* When a user runs an MH program for the first time, this program
* is called to create his MH profile, and mail directory.
char *installproc
= etcpath (install
-mh
);
* This is the program invoked by a "list" response to "What now?"
* whereas, showproc is the program invoked by show, next, prev.
char *lproc
= "/usr/ucb/more";
* This is the path for the Bell equivalent mail program.
char *mailproc
= binpath (mhmail
);
* mhl runs this program as a front-end.
char *moreproc
= "/usr/ucb/more";
* This program is mhl - the nifty message lister
char *mhlproc
= etcpath (mhl
);
* This is the super handy BBoard reading program, which is really just the MH
char *mshproc
= binpath (msh
);
* This program is called to pack a folder.
char *packproc
= binpath (packf
);
* This is the delivery program called through send to
* actually deliver mail to users. This is the interface to
#if BERK && SENDMTS && !SMTP
char *postproc
= etcpath (spost
);
char *postproc
= etcpath (post
);
* This program is called to remove a folder.
char *rmfproc
= binpath (rmf
);
* This program is called to remove a message by rmm or refile -nolink.
* It's usually empty, which means to rename the file to a backup name.
* This program is usually called by the user's whatnowproc, but it
* may also be called directly to send a message previously composed.
char *sendproc
= binpath (send
);
* This program is called to list messages by the show program.
* By setting showproc to mhl, the user can run mhl instead.
char *showproc
= "/usr/ucb/more";
* This program is called under stand-alone MH to deliver a message to
* a local user. Under other MTS's it can be used to emulate a
* MMDF-II .maildelivery mechanism.
char *slocalproc
= etcpath (slocal
);
* This program is called by vmh as the back-end to the window management
char *vmhproc
= binpath (msh
);
* This program is called after comp, et. al., have built a draft
char *whatnowproc
= binpath (whatnow
);
* This program is called to list/validate the addresses in a message.
char *whomproc
= binpath (whom
);
* This is the editor invoked by the various message composition
* programs. It SHOULD be a 2-D scope editor, such as Rand's ned
* or Berkeley's ex, but any editor will work. We use prompter as
* the default, since with -prepend it works just fine with forw.
char *sysed
= "prompter";
* This is the MH alias file.
char *AliasFile
= etcpath (MailAliases
);
* Folders (directories) are created with this protection (mode)
#endif /* not FOLDPROT */
char *foldprot
= FOLDPROT
;
* Every NEW message will be created with this protection. When a
* message is filed it retains its protection, so this only applies
* to messages coming in through inc.