From b6823062c9806496b39ff12bf1fbe43ae127c96c Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Wed, 13 Apr 2016 21:36:29 +0300 Subject: [PATCH] Fix spelling and encoding errors in manpages and an error message --- man/mh-draft.man7 | 6 +++--- man/mh-format.man5 | 2 +- man/mhbuild.man1 | 6 +++--- man/mhstore.man1 | 2 +- man/prompter.man1 | 4 ++-- man/repl.man1 | 6 +++--- man/show.man1 | 8 ++++---- man/sortm.man1 | 2 +- uip/spost.c | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/man/mh-draft.man7 b/man/mh-draft.man7 index a779488..65ae938 100644 --- a/man/mh-draft.man7 +++ b/man/mh-draft.man7 @@ -76,7 +76,7 @@ Or, if more editing was required, the draft could be edited with .PP .RS 5 .nf -comp -use +comp \-use .fi .RE .PP @@ -92,7 +92,7 @@ to do the work: .PP .RS 5 .nf -comp -use `pick +drafts -to nmh-workers` +comp \-use `pick +drafts \-to nmh-workers` .fi .RE .PP @@ -100,7 +100,7 @@ or .PP .RS 5 .nf -send `pick +drafts -to nmh-workers` +send `pick +drafts \-to nmh-workers` .fi .RE .PP diff --git a/man/mh-format.man5 b/man/mh-format.man5 index 014a417..5fe3451 100644 --- a/man/mh-format.man5 +++ b/man/mh-format.man5 @@ -573,7 +573,7 @@ to have far more than 10000 messages. .\" process 200 messages a day and still get some real work .\" done." The authors apparently only planned to get .\" real work done for about 50 days per folder.) -Nontheless (as noted above) +Nonetheless (as noted above) the various scan format strings are inherited from older MH versions, and are generally hard-coded to 4 digits of message number before formatting problems diff --git a/man/mhbuild.man1 b/man/mhbuild.man1 index 98fb39d..304cbf2 100644 --- a/man/mhbuild.man1 +++ b/man/mhbuild.man1 @@ -104,7 +104,7 @@ For example, .PP .RS 5 .nf -#audio/basic |raw2audio -F < /usr/lib/sound/giggle.au +#audio/basic |raw2audio \-F < /usr/lib/sound/giggle.au .fi .RE .PP @@ -159,7 +159,7 @@ will complain. An example entry might be: .PP .RS 5 -mhbuild-compose-audio/basic: record | raw2audio -F +mhbuild-compose-audio/basic: record | raw2audio \-F .RE .PP Because commands like these will vary, depending on the display @@ -341,7 +341,7 @@ The second part will be text/enriched # This third part will be text/plain #audio/basic [silly giggle] \\ - |raw2audio -F < /usr/lib/sounds/giggle.au + |raw2audio \-F < /usr/lib/sounds/giggle.au #image/gif [photo of foobar] \\ /home/foobar/lib/picture.gif .fi diff --git a/man/mhstore.man1 b/man/mhstore.man1 index 281037a..4a821bf 100644 --- a/man/mhstore.man1 +++ b/man/mhstore.man1 @@ -232,7 +232,7 @@ Example profile entries might be: mhstore-store-text: %m%P.txt mhstore-store-text: +inbox mhstore-store-message/partial: + -mhstore-store-audio/basic: | raw2audio -e ulaw -s 8000 -c 1 > %m%P.au +mhstore-store-audio/basic: | raw2audio \-e ulaw \-s 8000 \-c 1 > %m%P.au mhstore-store-image/jpeg: %m%P.jpg mhstore-store-application/PostScript: %m%P.ps .fi diff --git a/man/prompter.man1 b/man/prompter.man1 index 4d701c6..e4738db 100644 --- a/man/prompter.man1 +++ b/man/prompter.man1 @@ -184,11 +184,11 @@ The user may wish to link .B prompter under several names (e.g., `rapid') and give appropriate switches in the profile entries -under these names (e.g., `rapid: -rapid'). This facilitates +under these names (e.g., `rapid: \-rapid'). This facilitates invoking prompter differently for different .B mmh commands (e.g., -`forw: -editor rapid'). +`forw: \-editor rapid'). .PP Former .B mutt diff --git a/man/repl.man1 b/man/repl.man1 index fcbeee4..7cc4110 100644 --- a/man/repl.man1 +++ b/man/repl.man1 @@ -256,7 +256,7 @@ the `>' character. If the switch .B \-nofilter is given, then the message -to which you are replying will not be formated and thus not included in +to which you are replying will not be formatted and thus not included in the body of the draft. (It may be added as MIME attachment with .B \-mime @@ -329,7 +329,7 @@ to be created, containing the draft message that would normally be presented to the user for editing. No .B whatnow -programm is invoked. +program is invoked. No mail is actually sent. .PP The @@ -353,7 +353,7 @@ switch. .ta \w'%etcdir%/ExtraBigFileName 'u ^%etcdir%/replcomps~^The standard reply template ^or $HOME/.mmh/replcomps~^Rather than the standard template -^%etcdir%/replgroupcomps~^The standard `reply -group' template +^%etcdir%/replgroupcomps~^The standard `reply \-group' template ^or $HOME/.mmh/replgroupcomps~^Rather than the standard template ^%etcdir%/mhl.reply~^The standard message filter ^or $HOME/.mmh/mhl.reply~^Rather than the standard filter diff --git a/man/show.man1 b/man/show.man1 index 5c47210..94bd33c 100644 --- a/man/show.man1 +++ b/man/show.man1 @@ -187,7 +187,7 @@ the file end in a specific suffix. For example, the command (part of the StarOffice package) can be used to display Microsoft Word content, but it uses the suffix to determine how to display the file. If no suffix is present, the file is not correctly loaded. -Similarily, older versions of the +Similarly, older versions of the .B gs command append a `.ps' suffix to the filename if one was missing. As a result, these cannot be used to read @@ -279,7 +279,7 @@ has the following default values: .PP .RS 5 .nf -mhshow-show-text/plain: %liconv -f +mhshow-show-text/plain: %liconv \-f mhshow-show-message/rfc822: %lshow \-file %F .fi .RE @@ -302,7 +302,7 @@ Example entries might be: .nf mhshow-show-audio/basic: raw2audio 2>/dev/null | play mhshow-show-image: xv %f -mhshow-show-application/PostScript: lpr -Pps +mhshow-show-application/PostScript: lpr \-Pps .fi .RE .PP @@ -335,7 +335,7 @@ the default display method converts the content automatically by piping it through: .PP .RS 5 -iconv -f '' +iconv \-f '' .RE .PP Note that if you have a custom `mhshow-show-*' display string, you diff --git a/man/sortm.man1 b/man/sortm.man1 index 72ee22d..29a067d 100644 --- a/man/sortm.man1 +++ b/man/sortm.man1 @@ -78,7 +78,7 @@ the sort is instead made textfield\-major, date\-minor. For example, to order a folder by date-major, subject-minor, use: .PP .RS 5 -sortm -textfield subject +folder +sortm \-textfield subject +folder .RE .SH FILES diff --git a/uip/spost.c b/uip/spost.c index aacb633..ce3e684 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -650,7 +650,7 @@ fcc(char *file, char *folders) fprintf(stderr, "Skipped %sFcc %s: unable to system().\n", msgstate == resent ? "Resent-" : "", folders); } else if (status != 0) { - fprintf(stderr, "%sFcc %s: Problems occured.\n", + fprintf(stderr, "%sFcc %s: Problems occurred.\n", msgstate == resent ? "Resent-" : "", folders); } } -- 1.7.10.4