X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..b0aa8cdb1c264e42d4931ca24968689c73381278:/man/whatnow.man diff --git a/man/whatnow.man b/man/whatnow.man index 4fca2cd2..819bf4cd 100644 --- a/man/whatnow.man +++ b/man/whatnow.man @@ -1,13 +1,15 @@ +.TH WHATNOW %manext1% "January 17, 2014" "%nmhversion%" .\" .\" %nmhwarning% .\" -.TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME whatnow \- prompting front-end for sending messages .SH SYNOPSIS .HP 5 .na .B whatnow +.RB [ \-help ] +.RB [ \-version ] .RB [ \-draftfolder .IR +folder ] .RB [ \-draftmessage @@ -19,13 +21,9 @@ whatnow \- prompting front-end for sending messages .RB [ \-prompt .IR string ] .RI [ file ] -.RB [ \-version ] -.RB [ \-help ] -.RB [ \-attach -.IR header-field-name ] .ad .SH DESCRIPTION -.B Whatnow +.B whatnow is the default program that queries the user about the disposition of a composed draft. It is normally automatically invoked by one of the @@ -107,8 +105,11 @@ print the working directory for attachment files .B ls [ls-options] list files in the attachment working directory using the ls command .TP \w'refilezzzzfolderz'u -.B attach files -add the named files to the draft as MIME attachments +.B attach [-v] files +add the named files to the message as MIME attachments; -v displays +the mhbuild directive that +.IR send (1) +will use .TP \w'refilezzzzfolderz'u .B alist [-ln] list the MIME attachments, either short, long [-l] or numbered [-n] @@ -129,7 +130,7 @@ For the and .B push responses, any valid switch to -.BR send (1) +.IR send (1) is valid (as .B push merely invokes @@ -141,7 +142,7 @@ option). For the .B whom response, any valid switch to -.BR whom (1) +.IR whom (1) is valid. .PP For the @@ -166,7 +167,7 @@ to the message). .PP See -.BR mh\-profile (5) +.IR mh\-profile (5) for further information about how editors are used by .BR nmh . @@ -192,18 +193,28 @@ the .B nmh draft folder facility. This is an advanced (and highly useful) feature. Consult the -.BR mh-draft (5) +.IR mh-draft (5) man page for more information. - +.PP +If your +.B nmh +was configured with readline enabled, you'll be able to use filename +completion and other readline features at the prompt. These are +particularly useful with the +.BR cd , +.BR ls , +.BR attach , +and +.B detach +commands for managing MIME attachments. .SH FILES .fc ^ ~ .nf -.ta \w'%etcdir%/ExtraBigFileName 'u +.ta \w'%nmhetcdir%/ExtraBigFileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile ^/draft~^The draft file .fi - .SH "PROFILE COMPONENTS" .fc ^ ~ .nf @@ -214,40 +225,25 @@ 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 ^whomproc:~^Program to determine who a message would go to .fi - .SH "SEE ALSO" -send(1), whom(1) - +.IR send (1), +.IR whom (1) .SH DEFAULTS .nf .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq" .fi - -.SH CONTEXT -None - .SH BUGS -The argument to the -.B \-prompt -switch must be interpreted as a single -token by the shell that invokes -.BR whatnow . -Therefore, one must -usually place the argument to this switch inside double\-quotes. -.PP If the initial edit fails, .B whatnow deletes your draft (by renaming -it with a leading comma); failure of a later edit preserves the draft. +it with a site-dependent prefix (usually a comma); +failure of a later edit preserves the draft. .PP If the .I buildmimeproc