]> git.marmaro.de Git - mmh/commitdiff
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 94c0760f922f07975aeccae876339528833517bb..c02243d43cdd9c56ceb120c7601df94bd33e0955 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
-** 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.
diff --git a/h/mh.h b/h/mh.h
index 932433027c9122c906a5f86bb508c002493af873..ef4ca62ec959b7041cfb81eeb8548a8ee92708d9 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 *lproc;
+extern char *listproc;
 extern char *mhetcdir;
 extern char *mailproc;
 extern char *mailspool;
index 4113a76e980bebbf988a54f37e94a50365a214ef..9ffa1170a1ee54675f9b0c0c644de5193d2eae8d 100644 (file)
@@ -412,8 +412,8 @@ response to the
 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
index 759bac40205daacdc2e9ffe0742fd351ba32aa42..70b921ba1fad82a91febe143e1d8809b3ea029fe 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
-^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
 
index 2350b24bd166f488351828f32f6814bdfb57516c..d41873118897d3112be318a16b045a7b44463dd7 100644 (file)
@@ -23,7 +23,7 @@ static struct procstr procs[] = {
        { "draft-folder",  &draftfolder },
        { "altmsg-link",   &altmsglink },
        { "fileproc",      &fileproc },
-       { "lproc",         &lproc },
+       { "listproc",      &listproc },
        { "mailproc",      &mailproc },
        { "mhlproc",       &mhlproc },
        { "postproc",      &postproc },
index 1440dc32752e5ba0ec0e48c804a8df6b10cab51b..64ee5d77a7b878973b68c643f6c70c079bc6ae14 100644 (file)
@@ -39,7 +39,7 @@ static struct proc procs [] = {
        { "editor",        &defaulteditor },
        { "fileproc",      &fileproc },
        { "foldprot",      &foldprot },
-       { "lproc",         &lproc },
+       { "listproc",      &listproc },
        { "mailproc",      &mailproc },
        { "mhlproc",       &mhlproc },
        { "mimetypequeryproc", &mimetypequeryproc },
index 70df6935553878a81cabfb917e81bd7915981c39..2b53141a80d919e05b0ef15f64093fac6fdc25e3 100644 (file)
@@ -26,7 +26,7 @@ static struct swit switches[] = {
 #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
index bd1a3d5501500b92b7f9261bb8f853fbd24de470..3d97716c1646aa5cab803f3108c0d616e0afeb46 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'",
-                                               lproc, msgnam);
+                                               listproc, msgnam);
                                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 */
-                       snprintf(buf, sizeof buf, "%s '%s'", lproc, drft);
+                       snprintf(buf, sizeof buf, "%s '%s'", listproc, drft);
                        system(buf);
                        break;