if (folder && !file)
m_putenv("mhfolder", folder);
- /*
- ** For backward compatibility, if the "proc" is mhn,
- ** then add "-show" option. Add "-file" if showing
- ** file.
- */
- if (strcmp(mhbasename(proc), "mhn") == 0) {
- if (file) {
- vec[vecp] = vec[vecp - 1];
- vec[vecp - 1] = "-file";
- vecp++;
- }
- vec[vecp++] = "-show";
- vec[vecp] = NULL;
- }
-
/* If the "proc" is "mhshow", add "-file" if showing file. */
if (strcmp(mhbasename(proc), "mhshow") == 0 && file ) {
vec[vecp] = vec[vecp - 1];
/*
** If you are not using a nmh command as your "proc", then
- ** add the path to the message names. Currently, we are just
- ** checking for mhn here, since we've already taken care of mhl.
+ ** add the path to the message names.
*/
if (strcmp(mhbasename(proc), "mhl")==0
&& !file