We expect BINDIR to be in PATH if one executes mmh programs.
*/
/*
-** This is the program to process MIME composition files
-*/
-char *buildmimeproc = NMHBINDIR"/mhbuild";
-
-/*
** This program is usually called directly by users, but it is
** also invoked by the spost program to process an "Fcc", or by
** comp/repl/forw/dist to refile a draft message.
** on any system.
*/
extern char *attach_hdr;
-extern char *buildmimeproc;
extern char *backup_prefix;
extern char *altmsglink;
extern char *components;
user wishes. The default values are given in the examples.
.RE
.PP
-.BR buildmimeproc :
-%bindir%/mhbuild
-.RS 5
-This is the program used by
-.B send
-to process MIME composition files, created from drafts which require
-MIME features.
-.RE
-.PP
.BR fileproc :
%bindir%/refile
.RS 5
{ "backup-prefix", &backup_prefix },
{ "draft-folder", &draftfolder },
{ "altmsg-link", &altmsglink },
- { "buildmimeproc", &buildmimeproc },
{ "fileproc", &fileproc },
{ "incproc", &incproc },
{ "lproc", &lproc },
{ "attachment-header", &attach_hdr },
{ "context", &context },
{ "mh-sequences", &mh_seq },
- { "buildmimeproc", &buildmimeproc },
{ "editor", &defaulteditor },
{ "fileproc", &fileproc },
{ "foldprot", &foldprot },
fclose(body_file);
/* Add a mhbuild MIME composition file line for the body */
- /* charset will be discovered/guessed by buildmimeproc */
+ /* charset will be discovered/guessed by mhbuild */
fprintf(composition_file, "#text/plain %s\n", body_file_name);
}
}
fclose(composition_file);
- /*
- ** We're ready to roll! Run mhbuild on the composition file.
- ** Note that mhbuild is in the context as buildmimeproc.
- */
- sprintf(buf, "%s %s", buildmimeproc, composition_file_name);
+ /* We're ready to roll! */
+ sprintf(buf, "mhbuild %s", composition_file_name);
if (system(buf) != 0) {
/* some problem */
clean_up_temporary_files();