]> diplodocus.org Git - nmh/blobdiff - man/whatnow.man
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / man / whatnow.man
index b25f006cdfeff56da1b0e7e975701b2787388ffa..b80031e84e7f5fe7dea8c881b75e65a6255c8ae7 100644 (file)
@@ -1,4 +1,4 @@
-.TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
+.TH WHATNOW %manext1% "January 17, 2014" "%nmhversion%"
 .\"
 .\" %nmhwarning%
 .\"
@@ -8,6 +8,8 @@ whatnow \- prompting front-end for sending messages
 .HP 5
 .na
 .B whatnow
+.RB [ \-help ]
+.RB [ \-version ]
 .RB [ \-draftfolder
 .IR +folder ]
 .RB [ \-draftmessage
@@ -19,11 +21,6 @@ whatnow \- prompting front-end for sending messages
 .RB [ \-prompt
 .IR string ]
 .RI [ file ]
-.RB [ \-version ]
-.RB [ \-help ]
-.RB [ \-attach
-.IR header-field-name ]
-.RB [ \-noattach ]
 .ad
 .SH DESCRIPTION
 .B Whatnow
@@ -108,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]
@@ -196,10 +196,22 @@ useful) feature.  Consult the
 .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
 ^<mh\-dir>/draft~^The draft file
 .fi
@@ -213,9 +225,6 @@ information.
 ^Editor:~^To override the default editor
 ^<lasteditor>\-next:~^To name an editor to be used after exit
 ^~^from <lasteditor>
-^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
@@ -228,19 +237,8 @@ information.
 .SH DEFAULTS
 .nf
 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
-.RB ` \-attach "' defaults to \*(lqNmh-Attachment\*(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 quotes.
-.PP
 If the initial edit fails,
 .B whatnow
 deletes your draft (by renaming