Their paths are relative now, too.
char *sendproc = NMHBINDIR"/send";
/*
-** This is the path to the program used by "show"
-** to display non-text (MIME) messages.
-*/
-char *showmimeproc = NMHBINDIR"/mhshow";
-
-/*
-** This is the default program called by "show" to filter
-** and display standard text (non-MIME) messages. It can be
-** changed to a pager (such as "more" or "less") if you prefer
-** that such message not be filtered in any way.
-*/
-char *showproc = NMHBINDIR"/mhl";
-
-/*
** This is the program (mhl) used to filter messages. It is
** used by mhshow to filter and display the message headers of
** MIME messages. It is used by repl (with -filter)
extern char *seq_prev;
extern char *seq_unseen;
extern char *seq_neg;
-extern char *showmimeproc;
-extern char *showproc;
extern char *usequence;
extern char *version_num;
extern char *version_str;
to actually send the message
.RE
.PP
-.BR showmimeproc :
-%bindir%/mhshow
-.RS 5
-This is the program used by
-.B show
-to process and display non-text (MIME) messages.
-.RE
-.PP
-.BR showproc :
-%bindir%/mhl
-.RS 5
-This is the program used by
-.B show
-to filter and display text (non-MIME) messages.
-.RE
-.PP
.BR whatnowproc :
%bindir%/whatnow
.RS 5
.ta \w'ExtraBigProfileName 'u
^Path:~^To determine the user's mail storage
^Current\-Folder:~^To find the default current folder
-^showproc:~^Program to show non-MIME messages
-^showmimeproc:~^Program to show MIME messages
.fi
.SH "SEE ALSO"
-show(1), prev(1)
+show(1), prev(1), mhshow(1)
.SH DEFAULTS
.nf
.ta \w'ExtraBigProfileName 'u
^Path:~^To determine the user's mail storage
^Current\-Folder:~^To find the default current folder
-^showproc:~^Program to show non-MIME messages
-^showmimeproc:~^Program to show MIME messages
.fi
.SH "SEE ALSO"
-show(1), next(1)
+show(1), next(1), mhshow(1)
.SH DEFAULTS
.nf
shown. See the
.BR mhl (1)
manual page for the details about this
-command. This default can be changed by defining the
-.I showproc
-profile component. Any switches not recognized by
+command. Any switches not recognized by
.B show
are
-passed along to that program. To override the default and the
-.I showproc
-profile component, use the
+passed along to that program. To override the default, use the
.B \-showproc
.I program
switch. For example,
.I more
will cause the
.B more
-program to list the messages with no reformatting. Normally, this
-program is specified as the
-.I showproc
-in the user's profile,
-rather than using a command line switch.
+program to list the messages with no reformatting.
.PP
By default, non-text messages (MIME messages with multi-media
contents) are processed and displayed by the
See the
.BR mhshow (1)
manual page for details
-about this command. This default can changed by defining the
-.I showmimeproc
-profile component. Any switches not recognized
+about this command.
+Any switches not recognized
by
.B show
are passed along to that program. To override this
-default and the
-.B showmimeproc
-profile component, use the
+default, use the
.B \-showmimeproc
.I program
switch.
.B show
to
test if any of the messages to be displayed are non-text (MIME)
-messages. If any are non-text, they are displayed by the program
+messages. If any are non-text, they are displayed by the
.IR showmimeproc ,
-else they are displayed by the program
-.IR showproc .
+else they are displayed by the
+.BR showproc .
The option
.B \-nocheckmime
disables this test and instructs
^Path:~^To determine the user's mail storage
^Current\-Folder:~^To find the default current folder
^Unseen\-Sequence:~^To name sequences denoting unseen messages
-^showproc:~^Program to show text (non-MIME) messages
-^showmimeproc:~^Program to show non-text (MIME) messages
.fi
.SH "SEE ALSO"
{ "rmmproc", &rmmproc },
{ "sendmail", &sendmail },
{ "sendproc", &sendproc },
- { "showmimeproc", &showmimeproc },
- { "showproc", &showproc },
{ "whatnowproc", &whatnowproc },
{ NULL, NULL }
};
{ "rmmproc", &rmmproc },
{ "sendmail", &sendmail },
{ "sendproc", &sendproc },
- { "showmimeproc", &showmimeproc },
- { "showproc", &showproc },
{ "version", &version_num },
{ "whatnowproc", &whatnowproc },
{ "etcdir", &mhetcdir },
#define NEXT 1
#define PREV 2
+char *showproc = "mhl";
+char *showmimeproc = "mhshow";
int
main(int argc, char **argv)