#include <h/mh.h>
extern char *mhlibdir;
-extern char *mhetcdir;
static struct swit switches[] = {
#define COMPSW 0
{ "fileproc", &fileproc },
{ "foldprot", &foldprot },
{ "incproc", &incproc },
- { "installproc", &installproc },
{ "lproc", &lproc },
{ "mailproc", &mailproc },
{ "mhlproc", &mhlproc },
{ "moreproc", &moreproc },
{ "msgprot", &msgprot },
- { "packproc", &packproc },
{ "postproc", &postproc },
- { "rmfproc", &rmfproc },
{ "rmmproc", &rmmproc },
{ "sendmail", &sendmail },
{ "sendproc", &sendproc },
char *cp, buf[BUFSIZ], **argp;
char **arguments, *comps[MAXARGS];
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();