s/lproc/listproc/
authormarkus schnalke <meillo@marmaro.de>
Thu, 22 Mar 2012 10:58:31 +0000 (11:58 +0100)
committermarkus schnalke <meillo@marmaro.de>
Thu, 22 Mar 2012 10:58:31 +0000 (11:58 +0100)
config/config.c
h/mh.h
man/mh-profile.man5
man/whatnow.man1
sbr/readconfig.c
uip/mhparam.c
uip/show.c
uip/whatnow.c

index 94c0760..c02243d 100644 (file)
@@ -122,9 +122,9 @@ char *fileproc = NMHBINDIR"/refile";
 ** 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
 ** 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.
 
 /*
 ** This is the path for the Bell equivalent mail program.
diff --git a/h/mh.h b/h/mh.h
index 9324330..ef4ca62 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -301,7 +301,7 @@ extern char *fileproc;
 extern char *foldprot;
 extern char *forwcomps;
 extern char *inbox;
 extern char *foldprot;
 extern char *forwcomps;
 extern char *inbox;
-extern char *lproc;
+extern char *listproc;
 extern char *mhetcdir;
 extern char *mailproc;
 extern char *mailspool;
 extern char *mhetcdir;
 extern char *mailproc;
 extern char *mailspool;
index 4113a76..9ffa117 100644 (file)
@@ -412,8 +412,8 @@ response to the
 directive at the \*(lqWhat now?\*(rq prompt.
 .RE
 .PP
 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
 .RS 5
 This program is used to list the contents of a message in response
 to the
index 759bac4..70b921b 100644 (file)
@@ -159,7 +159,7 @@ information.
 ^<lasteditor>\-next:~^To name an editor to be used after exit
 ^~^from <lasteditor>
 ^fileproc:~^Program to refile the message
 ^<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
 
 ^sendproc:~^Program to use to send the message
 .fi
 
index 2350b24..d418731 100644 (file)
@@ -23,7 +23,7 @@ static struct procstr procs[] = {
        { "draft-folder",  &draftfolder },
        { "altmsg-link",   &altmsglink },
        { "fileproc",      &fileproc },
        { "draft-folder",  &draftfolder },
        { "altmsg-link",   &altmsglink },
        { "fileproc",      &fileproc },
-       { "lproc",         &lproc },
+       { "listproc",      &listproc },
        { "mailproc",      &mailproc },
        { "mhlproc",       &mhlproc },
        { "postproc",      &postproc },
        { "mailproc",      &mailproc },
        { "mhlproc",       &mhlproc },
        { "postproc",      &postproc },
index 1440dc3..64ee5d7 100644 (file)
@@ -39,7 +39,7 @@ static struct proc procs [] = {
        { "editor",        &defaulteditor },
        { "fileproc",      &fileproc },
        { "foldprot",      &foldprot },
        { "editor",        &defaulteditor },
        { "fileproc",      &fileproc },
        { "foldprot",      &foldprot },
-       { "lproc",         &lproc },
+       { "listproc",      &listproc },
        { "mailproc",      &mailproc },
        { "mhlproc",       &mhlproc },
        { "mimetypequeryproc", &mimetypequeryproc },
        { "mailproc",      &mailproc },
        { "mhlproc",       &mhlproc },
        { "mimetypequeryproc", &mimetypequeryproc },
index 70df693..2b53141 100644 (file)
@@ -26,7 +26,7 @@ static struct swit switches[] = {
 #define SHOWMIMESW  6
        { "showmimeproc program", 0 },
 #define FILESW  7
 #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
 #define VERSIONSW  8
        { "version", 0 },
 #define HELPSW  9
index bd1a3d5..3d97716 100644 (file)
@@ -220,7 +220,7 @@ main(int argc, char **argv)
                        /* display the msg being replied to or distributed */
                        if (msgnam) {
                                snprintf(buf, sizeof buf, "%s '%s'",
                        /* 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");
                                system(buf);
                        } else {
                                advise(NULL, "no alternate message to display");
@@ -238,7 +238,7 @@ main(int argc, char **argv)
 
                case LISTSW:
                        /* display the draft file */
 
                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;
 
                        system(buf);
                        break;