From 1b91fa72064a70b6ecf24c085cead38ff91fedb9 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 25 Jan 2012 00:04:05 +0100 Subject: [PATCH] Updated the man pages to the recent changes. --- man/forw.man1 | 33 +++---------------------- man/mh-profile.man5 | 15 +++--------- man/mhbuild.man1 | 68 +++++++++------------------------------------------ man/repl.man1 | 24 +++--------------- man/whatnow.man1 | 22 ----------------- 5 files changed, 21 insertions(+), 141 deletions(-) diff --git a/man/forw.man1 b/man/forw.man1 index 46dd70b..5f99bfa 100644 --- a/man/forw.man1 +++ b/man/forw.man1 @@ -183,36 +183,9 @@ To use the MIME rules for encapsulation, specify the .B \-mime switch. This directs .B forw -to generate an -.B mhbuild -composition file. Note that -.B nmh -will not invoke -.B mhbuild -automatically, unless you -add this line to your -.I .mmh/profile -file: -.PP -.RS 5 -.nf -automimeproc: 1 -.fi -.RE -.PP -Otherwise, you must specifically give the command -.PP -.RS 5 -.nf -What now? mime -.fi -.RE -.PP -prior to sending the draft. -.PP -Consult the -.BR mh-draft (7) -man page for more information. +to generate an attachment header field. +.B send +will care for everything else. .PP The .B \-editor diff --git a/man/mh-profile.man5 b/man/mh-profile.man5 index 38b8123..5ad243d 100644 --- a/man/mh-profile.man5 +++ b/man/mh-profile.man5 @@ -181,16 +181,6 @@ If you like to type a lot, name it `X-MH-Attachment'. (profile, default: `Attach') .RE .PP -.BR automimeproc : -.RS 5 -If defined and set to 1, then the -.B whatnow -program will automatically -invoke the buildmimeproc (discussed below) to process each message as a MIME -composition draft before it is sent. -(profile, no default) -.RE -.PP .BR Msg\-Protect : 644 .RS 5 @@ -378,8 +368,9 @@ user wishes. The default values are given in the examples. %bindir%/mhbuild .RS 5 This is the program used by -.B whatnow -to process drafts which are MIME composition files. +.B send +to process MIME composition files, created from drafts which require +MIME features. .RE .PP .BR fileproc : diff --git a/man/mhbuild.man1 b/man/mhbuild.man1 index 280782e..3d3260f 100644 --- a/man/mhbuild.man1 +++ b/man/mhbuild.man1 @@ -482,62 +482,18 @@ through mail gateways which involve the EBCDIC character encoding. .SS "Invoking mhbuild" Typically, .B mhbuild - is invoked by the -.B whatnow -program. This -command will expect the body of the draft to be formatted as an -.B mhbuild -composition file. Once you have composed this input file -using a command such as -.BR comp , -.BR repl , -or -.BR forw , -you invoke -.B mhbuild -at the \*(lqWhat now\*(rq prompt with -.PP -.RS 5 -What now? mime -.RE -.PP -prior to sending the draft. This will cause -.B whatnow -to execute -.B mhbuild -to translate the composition file into MIME format. -.PP -It is also possible to have the -.B whatnow -program invoke -.B mhbuild -automatically when a message is sent. To do this, you must add the line -.PP -.RS 5 -automimeproc: 1 -.RE -.PP -to your -.I .mmh/profile -file. -.PP -Finally, you should consider adding this line to your profile: -.PP -.RS 5 -lproc: show -.RE -.PP -This way, if you decide to -.B list -after invoking -.BR mime , -the command -.PP -.RS 5 -What now? list -.RE -.PP -will work as you expect. +is invoked by the +.B send +program. +It expects an +.B mhbuild +composition file, which +.B send +will create, from the draft file, if MIME features are requested. +This is the case with attachment headers. +.PP +In contrast to previous versions, the user does not need to care +for any special actions anymore. .SS "User Environment" Because the environment in which diff --git a/man/repl.man1 b/man/repl.man1 index accb38e..9f8cc8f 100644 --- a/man/repl.man1 +++ b/man/repl.man1 @@ -288,27 +288,9 @@ To use the MIME rules for encapsulation, specify the switch. This directs .B repl -to generate an -.B mhbuild -composition file. -Note that -.B nmh -will not invoke -.B mhbuild -automatically, unless you -add this line to your profile: -.PP -.RS 5 -automimeproc: 1 -.RE -.PP -Otherwise, you must specifically give the command -.PP -.RS 5 -What now? mime -.RE -.PP -prior to sending the draft. +to add an attachment header field, for which +.B send +will care. .PP If the .B \-annotate diff --git a/man/whatnow.man1 b/man/whatnow.man1 index 057c217..764234b 100644 --- a/man/whatnow.man1 +++ b/man/whatnow.man1 @@ -51,14 +51,6 @@ invoke for further editing .B refile +folder refile the draft into the given folder .TP \w'refilezzzzfolderz'u -.B mime -process the draft as MIME composition file using -the -.I buildmimeproc -command -.RB ( mhbuild -by default) -.TP \w'refilezzzzfolderz'u .B display list the message being distributed/replied\-to on the terminal @@ -184,10 +176,6 @@ information. ^Editor:~^To override the default editor ^\-next:~^To name an editor to be used after exit ^~^from -^automimeproc:~^If value is 1, and the draft is a MIME -^~^composition file, then automatically call -^~^buildmimeproc prior to sending. -^buildmimeproc:~^Program to translate MIME composition files ^fileproc:~^Program to refile the message ^lproc:~^Program to list the contents of a message ^sendproc:~^Program to use to send the message @@ -218,16 +206,6 @@ If the initial edit fails, deletes your draft (by renaming it with a leading comma); failure of a later edit preserves the draft. .PP -If the -.I buildmimeproc -fails (returns a nonzero status), -.B whatnow -simply prints a \*(lqWhat now?\*(rq prompt. -.B whatnow -depends on the -.I buildmimeproc -to tell the user that something went wrong. -.PP If .I whatnowproc is -- 1.7.10.4