whatnow cooks up strings for executing external commands, and then
[mmh] / man / comp.man
index 251619b..f771604 100644 (file)
@@ -9,7 +9,7 @@ comp \- compose a message
 .na
 .B comp 
 .RI [ +folder ]
-.RI [ msgs ]
+.RI [ msg ]
 .RB [ \-form
 .IR formfile ]
 .RB [ \-use " | " \-nouse ]
@@ -33,6 +33,8 @@ comp \- compose a message
 .IR address ]
 .RB [ \-fcc
 .IR +folder ]
+.RB [ \-subject
+.IR text ]
 .RB [ \-whatnowproc
 .IR program ]
 .RB [ \-nowhatnowproc ]
@@ -49,7 +51,7 @@ is given, in which case the initial edit is suppressed).
 .PP
 The default message template \*(lqcomponents\*(rq will direct
 .B comp
-to construct the messgage draft as follows:
+to construct the message draft as follows:
 .PP
 .RS 5
 .nf
@@ -57,7 +59,7 @@ From: {from switch} or <Local-Mailbox> or <username@hostname>
 To: {to switch} or blank
 cc: {cc switch} or blank
 Fcc: {fcc switch} or +outbox
-Subject:
+Subject: {subject switch} or blank
 --------
 .fi
 .RE
@@ -115,9 +117,11 @@ switch says to use the named file as the message draft.
 .PP
 Forms that are selected via the
 .B \-form
-switch are processed via the mh template system; see 
+switch are processed via the
+.B nmh
+template system; see 
 .BR mh\-format (5)
-for details.  Drafts constructed from another mssage or with the
+for details.  Drafts constructed from another message or with the
 .B \-use
 or
 .B \-file
@@ -127,7 +131,6 @@ switchs will NOT be processed with
 In addition to the standard
 .BR mh\-format (5)
 escapes,
-.B comp
 the following
 .I component
 escapes are either new or have an alternate meaning:
@@ -135,11 +138,12 @@ escapes are either new or have an alternate meaning:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape       Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 from   string  Any addresses specified with `\-from\ address'
 to     string  Any addresses specified with `\-to\ address'
 cc     string  Any addresses specified with `\-cc\ address'
+subject        string  Any text specified with `\-subject\ text'
 .fi
 .RE
 .PP
@@ -159,8 +163,16 @@ profile entry or a system default email address.  This default can be
 overridden by using the
 .B \-from
 .I address
+switch.  The default mailbox in the \*(lqFcc:\*(rq field is
+.IR +outbox .
+This can be overridden by the
+.B \-fcc
 switch.
 .PP
+Any text you give to the
+.B \-subject
+switch will be placed in the \*(lqSubject:\*(rq field in the draft.
+.PP
 If the draft already exists,
 .B comp
 will ask you as to the disposition