From f33f12af33361e5d688cd1700c1ee03af5988fd9 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Thu, 22 Mar 2012 11:58:31 +0100 Subject: [PATCH 1/1] s/lproc/listproc/ --- config/config.c | 4 ++-- h/mh.h | 2 +- man/mh-profile.man5 | 4 ++-- man/whatnow.man1 | 2 +- sbr/readconfig.c | 2 +- uip/mhparam.c | 2 +- uip/show.c | 2 +- uip/whatnow.c | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/config/config.c b/config/config.c index 94c0760..c02243d 100644 --- a/config/config.c +++ b/config/config.c @@ -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 9324330..ef4ca62 100644 --- 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; diff --git a/man/mh-profile.man5 b/man/mh-profile.man5 index 4113a76..9ffa117 100644 --- a/man/mh-profile.man5 +++ b/man/mh-profile.man5 @@ -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 diff --git a/man/whatnow.man1 b/man/whatnow.man1 index 759bac4..70b921b 100644 --- a/man/whatnow.man1 +++ b/man/whatnow.man1 @@ -159,7 +159,7 @@ information. ^\-next:~^To name an editor to be used after exit ^~^from ^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 diff --git a/sbr/readconfig.c b/sbr/readconfig.c index 2350b24..d418731 100644 --- a/sbr/readconfig.c +++ b/sbr/readconfig.c @@ -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 }, diff --git a/uip/mhparam.c b/uip/mhparam.c index 1440dc3..64ee5d7 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -39,7 +39,7 @@ static struct proc procs [] = { { "editor", &defaulteditor }, { "fileproc", &fileproc }, { "foldprot", &foldprot }, - { "lproc", &lproc }, + { "listproc", &listproc }, { "mailproc", &mailproc }, { "mhlproc", &mhlproc }, { "mimetypequeryproc", &mimetypequeryproc }, diff --git a/uip/show.c b/uip/show.c index 70df693..2b53141 100644 --- a/uip/show.c +++ b/uip/show.c @@ -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 diff --git a/uip/whatnow.c b/uip/whatnow.c index bd1a3d5..3d97716 100644 --- a/uip/whatnow.c +++ b/uip/whatnow.c @@ -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; -- 1.7.10.4