** This is the default program invoked by a "list" or "display" response
** at the "What now?" prompt. It will be given the absolute pathname of
** the message to show. The string ``show -file'' is most likely what you
-** want to be you lproc.
+** want to be you listproc.
*/
-char *lproc = NMHBINDIR"/show -file";
+char *listproc = "show -file";
/*
** This is the path for the Bell equivalent mail program.
extern char *foldprot;
extern char *forwcomps;
extern char *inbox;
-extern char *lproc;
+extern char *listproc;
extern char *mhetcdir;
extern char *mailproc;
extern char *mailspool;
directive at the \*(lqWhat now?\*(rq prompt.
.RE
.PP
-.BR lproc :
-show -file
+.BR listproc :
+show \-file
.RS 5
This program is used to list the contents of a message in response
to the
^<lasteditor>\-next:~^To name an editor to be used after exit
^~^from <lasteditor>
^fileproc:~^Program to refile the message
-^lproc:~^Program to list the contents of a message
+^listproc:~^Program to list the contents of a message
^sendproc:~^Program to use to send the message
.fi
{ "draft-folder", &draftfolder },
{ "altmsg-link", &altmsglink },
{ "fileproc", &fileproc },
- { "lproc", &lproc },
+ { "listproc", &listproc },
{ "mailproc", &mailproc },
{ "mhlproc", &mhlproc },
{ "postproc", &postproc },
{ "editor", &defaulteditor },
{ "fileproc", &fileproc },
{ "foldprot", &foldprot },
- { "lproc", &lproc },
+ { "listproc", &listproc },
{ "mailproc", &mailproc },
{ "mhlproc", &mhlproc },
{ "mimetypequeryproc", &mimetypequeryproc },
#define SHOWMIMESW 6
{ "showmimeproc program", 0 },
#define FILESW 7
- { "file file", -4 }, /* interface from lproc (whatnow) */
+ { "file file", -4 }, /* interface from whatnow (listproc) */
#define VERSIONSW 8
{ "version", 0 },
#define HELPSW 9
/* display the msg being replied to or distributed */
if (msgnam) {
snprintf(buf, sizeof buf, "%s '%s'",
- lproc, msgnam);
+ listproc, msgnam);
system(buf);
} else {
advise(NULL, "no alternate message to display");
case LISTSW:
/* display the draft file */
- snprintf(buf, sizeof buf, "%s '%s'", lproc, drft);
+ snprintf(buf, sizeof buf, "%s '%s'", listproc, drft);
system(buf);
break;