Updated date on sortm(1) man page.
[mmh] / man / comp.man
index aa0c184..bd0a762 100644 (file)
@@ -1,7 +1,7 @@
+.TH COMP %manext1% "May 21, 2012" "%nmhversion%"
 .\"
 .\" %nmhwarning%
 .\"
 .\"
 .\" %nmhwarning%
 .\"
-.TH COMP %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
 .SH NAME
 comp \- compose a message
 .SH SYNOPSIS
 .SH NAME
 comp \- compose a message
 .SH SYNOPSIS
@@ -9,7 +9,7 @@ comp \- compose a message
 .na
 .B comp 
 .RI [ +folder ]
 .na
 .B comp 
 .RI [ +folder ]
-.RI [ msgs ]
+.RI [ msg ]
 .RB [ \-form
 .IR formfile ]
 .RB [ \-use " | " \-nouse ]
 .RB [ \-form
 .IR formfile ]
 .RB [ \-use " | " \-nouse ]
@@ -33,6 +33,8 @@ comp \- compose a message
 .IR address ]
 .RB [ \-fcc
 .IR +folder ]
 .IR address ]
 .RB [ \-fcc
 .IR +folder ]
+.RB [ \-subject
+.IR text ]
 .RB [ \-whatnowproc
 .IR program ]
 .RB [ \-nowhatnowproc ]
 .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
 .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
 .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
 To: {to switch} or blank
 cc: {cc switch} or blank
 Fcc: {fcc switch} or +outbox
-Subject:
+Subject: {subject switch} or blank
 --------
 .fi
 .RE
 --------
 .fi
 .RE
@@ -89,7 +91,7 @@ argument.  The line of
 dashes or a blank line must be left between the header and the body of
 the message for the message to be identified properly when it is sent
 (see
 dashes or a blank line must be left between the header and the body of
 the message for the message to be identified properly when it is sent
 (see
-.BR send (1)).
+.IR send (1)).
 .PP
 The switch
 .B \-use
 .PP
 The switch
 .B \-use
@@ -115,19 +117,20 @@ switch says to use the named file as the message draft.
 .PP
 Forms that are selected via the
 .B \-form
 .PP
 Forms that are selected via the
 .B \-form
-switch are processed via the mh template system; see 
-.BR mh\-format (5)
-for details.  Drafts constructed from another mssage or with the
+switch are processed via the
+.B nmh
+template system; see 
+.IR mh\-format (5)
+for details.  Drafts constructed from another message or with the
 .B \-use
 or
 .B \-file
 switchs will NOT be processed with
 .B \-use
 or
 .B \-file
 switchs will NOT be processed with
-.BR mh\-format (5).
+.IR mh\-format (5).
 .PP
 In addition to the standard
 .PP
 In addition to the standard
-.BR mh\-format (5)
+.IR mh\-format (5)
 escapes,
 escapes,
-.B comp
 the following
 .I component
 escapes are either new or have an alternate meaning:
 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
 .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'
 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
 .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
 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
 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
 If the draft already exists,
 .B comp
 will ask you as to the disposition
@@ -195,7 +207,7 @@ switches invoke 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.
 .PP
 The
 man page for more information.
 .PP
 The
@@ -207,7 +219,7 @@ initial edit.  Upon exiting from the editor,
 will invoke the
 .B whatnow
 program.  See
 will invoke the
 .B whatnow
 program.  See
-.BR whatnow (1)
+.IR whatnow (1)
 for a discussion of
 available options.  The invocation of this program can be inhibited
 by using the
 for a discussion of
 available options.  The invocation of this program can be inhibited
 by using the
@@ -218,7 +230,6 @@ the
 program which starts the initial edit.  Hence,
 .B \-nowhatnowproc
 will prevent any edit from occurring.)
 program which starts the initial edit.  Hence,
 .B \-nowhatnowproc
 will prevent any edit from occurring.)
-
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
@@ -228,7 +239,6 @@ will prevent any edit from occurring.)
 ^$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
@@ -241,10 +251,13 @@ will prevent any edit from occurring.)
 ^fileproc:~^Program to refile the message
 ^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
 .fi
 ^fileproc:~^Program to refile the message
 ^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
 .fi
-
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-dist(1), forw(1), repl(1), send(1), whatnow(1), mh-profile(5)
-
+.IR dist (1),
+.IR forw (1),
+.IR repl (1),
+.IR send (1),
+.IR whatnow (1),
+.IR mh-profile (5)
 .SH DEFAULTS
 .nf
 .RB ` +folder "' defaults to the current folder"
 .SH DEFAULTS
 .nf
 .RB ` +folder "' defaults to the current folder"
@@ -252,10 +265,8 @@ dist(1), forw(1), repl(1), send(1), whatnow(1), mh-profile(5)
 .RB ` \-nodraftfolder '
 .RB ` \-nouse '
 .fi
 .RB ` \-nodraftfolder '
 .RB ` \-nouse '
 .fi
-
 .SH CONTEXT
 None
 .SH CONTEXT
 None
-
 .SH BUGS
 If
 .I whatnowproc
 .SH BUGS
 If
 .I whatnowproc