X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fcomp.man;h=4a7152d33dd29a809c9cf713784da721c4f7309d;hb=df31d2abe4d453eaef9a818a83bae42e80a1e67b;hp=643c056435603a78645ae414897eb7c29d10fc22;hpb=4877596410e850f2295f1015738bd8ca6e86ee0f;p=mmh diff --git a/man/comp.man b/man/comp.man index 643c056..4a7152d 100644 --- a/man/comp.man +++ b/man/comp.man @@ -23,6 +23,18 @@ comp \- compose a message .RB [ \-editor .IR editor ] .RB [ \-noedit ] +.RB [ \-width +.IR columns ] +.RB [ \-from +.IR address ] +.RB [ \-to +.IR address ] +.RB [ \-cc +.IR address ] +.RB [ \-fcc +.IR +folder ] +.RB [ \-subject +.IR text ] .RB [ \-whatnowproc .IR program ] .RB [ \-nowhatnowproc ] @@ -37,11 +49,18 @@ the draft (unless .B \-noedit is given, in which case the initial edit is suppressed). .PP -The default message form contains the following elements: +The default message template \*(lqcomponents\*(rq will direct +.B comp +to construct the messgage draft as follows: .PP .RS 5 .nf -%components% +From: {from switch} or or +To: {to switch} or blank +cc: {cc switch} or blank +Fcc: {fcc switch} or +outbox +Subject: {subject switch} or blank +-------- .fi .RE .PP @@ -107,6 +126,48 @@ or switchs will NOT be processed with .BR mh\-format (5). .PP +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: +.PP +.RS 5 +.nf +.ta \w'Escape 'u +\w'Returns 'u +.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 +By default the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty. You may +add addresses to these fields with the +.B \-to +.I address +and +.B \-cc +.I address +switches. You may give these switches multiple times to add multiple +addresses. +.PP +By default the \*(lqFrom:\*(rq field has either the value of the +.B Local\-Mailbox +profile entry or a system default email address. This default can be +overridden by using the +.B \-from +.I address +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