]> diplodocus.org Git - nmh/blobdiff - man/whatnow.man
Always check that mktemp()/mktemp2() succeeds before trying to
[nmh] / man / whatnow.man
index 1b4c2f2bcf79c68d043d61f606374a6b29f8cbb8..367a32678d08e769601bfb29d05cb77f08f6c830 100644 (file)
@@ -1,7 +1,7 @@
+.TH WHATNOW %manext1% "January 17, 2014" "%nmhversion%"
 .\"
 .\" %nmhwarning%
 .\"
 .\"
 .\" %nmhwarning%
 .\"
-.TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
 .SH NAME
 whatnow \- prompting front-end for sending messages
 .SH SYNOPSIS
 .SH NAME
 whatnow \- prompting front-end for sending messages
 .SH SYNOPSIS
@@ -108,8 +108,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 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]
 .TP \w'refilezzzzfolderz'u
 .B alist [-ln]
 list the MIME attachments, either short, long [-l] or numbered [-n]
@@ -130,7 +133,7 @@ For the
 and
 .B push
 responses, any valid switch to
 and
 .B push
 responses, any valid switch to
-.BR send (1)
+.IR send (1)
 is valid (as
 .B push
 merely invokes
 is valid (as
 .B push
 merely invokes
@@ -142,7 +145,7 @@ option).
 For the
 .B whom
 response, any valid switch to
 For the
 .B whom
 response, any valid switch to
-.BR whom (1)
+.IR whom (1)
 is valid.
 .PP
 For the
 is valid.
 .PP
 For the
@@ -167,7 +170,7 @@ to the
 message).
 .PP
 See
 message).
 .PP
 See
-.BR mh\-profile (5)
+.IR mh\-profile (5)
 for further information about how editors
 are used by
 .BR nmh .
 for further information about how editors
 are used by
 .BR nmh .
@@ -193,10 +196,21 @@ the
 .B nmh
 draft folder facility.  This is an advanced (and highly
 useful) feature.  Consult 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.
 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
 .SH FILES
 .fc ^ ~
 .nf
@@ -204,7 +218,6 @@ information.
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
 .fi
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
 .fi
-
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .nf
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .nf
@@ -224,32 +237,20 @@ information.
 ^sendproc:~^Program to use to send the message
 ^whomproc:~^Program to determine who a message would go to
 .fi
 ^sendproc:~^Program to use to send the message
 ^whomproc:~^Program to determine who a message would go to
 .fi
-
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-send(1), whom(1)
-
+.IR send (1),
+.IR whom (1)
 .SH DEFAULTS
 .nf
 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
 .RB ` \-attach "' defaults to \*(lqNmh-Attachment\*(rq"
 .fi
 .SH DEFAULTS
 .nf
 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
 .RB ` \-attach "' defaults to \*(lqNmh-Attachment\*(rq"
 .fi
-
-.SH CONTEXT
-None
-
 .SH BUGS
 .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
 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
 .PP
 If the
 .I buildmimeproc