Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / doc / RCS / dist.rf,v
1 head     1.5;
2 branch   ;
3 access   ;
4 symbols  ;
5 locks    ; strict;
6 comment  @@;
7
8
9 1.5
10 date     90.04.05.15.12.30;  author sources;  state Exp;
11 branches ;
12 next     1.4;
13
14 1.4
15 date     90.03.22.11.31.03;  author sources;  state Exp;
16 branches ;
17 next     1.3;
18
19 1.3
20 date     90.03.20.19.41.40;  author sources;  state Exp;
21 branches ;
22 next     1.2;
23
24 1.2
25 date     90.03.20.17.35.58;  author sources;  state Exp;
26 branches ;
27 next     1.1;
28
29 1.1
30 date     90.03.20.17.20.47;  author sources;  state Exp;
31 branches ;
32 next     ;
33
34
35 desc
36 @@
37
38
39 1.5
40 log
41 @add ID
42 @
43 text
44 @.\"    @@(MHWARNING)
45 .\" @@(#)$Id:$
46 .SC DIST 1
47 .NA
48 dist \- redistribute a message to additional addresses
49 .SY
50 dist
51 \%[+folder] \%[msg] 
52 \%[\-annotate] \%[\-noannotate] 
53 \%[\-draftfolder\ +folder] \%[\-draftmessage\ msg] \%[\-nodraftfolder]
54 \%[\-editor\ editor] \%[\-noedit]
55 \%[\-form\ formfile] 
56 \%[\-inplace] \%[\-noinplace] 
57 \%[\-whatnowproc\ program] \%[\-nowhatnowproc]
58 \%[\-help]
59 .DE
60 \fIDist\fR is similar to \fIforw\fR.
61 It prepares the specified
62 message for redistribution to addresses that (presumably) are
63 not on the original address list.
64
65 The default message form contains the following elements:
66
67 .nf
68 .in +.5i
69 .ne 10
70 .eo
71 .so @@(MHETCPATH)/distcomps
72 .ec
73 .in -.5i
74 .fi
75
76 If the file named \*(lqdistcomps\*(rq exists in the user's MH directory,
77 it will be used instead of this form.
78 In either case, the file specified by `\-form\ formfile' will be
79 used if given.
80 The form used will be prepended to the message being resent.
81
82 If the draft already exists,
83 \fIdist\fR will ask you as to the disposition of the draft.
84 A reply of \fBquit\fR will abort \fIdist\fR, leaving the draft intact;
85 \fBreplace\fR will replace the existing draft with a blank skeleton;
86 and \fBlist\fR will display the draft.
87
88 Only those addresses in \*(lqResent\-To:\*(rq, \*(lqResent\-cc:\*(rq, and
89 \*(lqResent\-Bcc:\*(rq will be sent.
90 Also, a \*(lqResent\-Fcc:\ folder\*(rq will be honored (see \fIsend\fR\0(1)).
91 Note that with \fIdist\fR, the draft should contain only 
92 \*(lqResent\-xxx:\*(rq fields and no body.
93 The headers and the body of the original message are copied to the draft when
94 the message is sent.
95 Use care in constructing the headers for the redistribution.
96
97 If the `\-annotate' switch is given, the  message being
98 distributed will be annotated with the lines:
99
100      Resent:\ date
101      Resent:\ addrs
102
103 where each address list contains as many lines as required.
104 This annotation
105 will be done only if the message is sent directly from \fIdist\fR.
106 If the message is not sent immediately from \fIdist\fR,
107 \*(lqcomp \-use\*(rq may be used to re\-edit and send the constructed message,
108 but the annotations won't take place.
109 The '\-inplace' switch causes annotation to
110 be done in place in order to preserve links to the annotated message.
111
112 See \fIcomp\fR\0(1) for a description of the `\-editor' and `\-noedit'
113 switches.
114 Note that while in the editor,
115 the message being resent is available through a link named \*(lq@@\*(rq
116 (assuming the default \fIwhatnowproc\fR\0).
117 In addition, the actual pathname of the message is stored in the envariable
118 \fB$editalt\fR,
119 and the pathname of the folder containing the message is stored in the
120 envariable \fB$mhfolder\fR.
121
122 The `\-draftfolder\ +folder' and `\-draftmessage\ msg' switches invoke the
123 \fIMH\fR draft folder facility.
124 This is an advanced (and highly useful) feature.
125 Consult the \fBAdvanced Features\fR section of the \fIMH\fR manual for more
126 information.
127
128 Upon exiting from the editor,
129 \fIdist\fR will invoke the \fIwhatnow\fR program.
130 See \fIwhatnow\fR\0(1) for a discussion of available options.
131 The invocation of this program can be inhibited by using the `\-nowhatnowproc'
132 switch.
133 (In truth of fact,
134 it is the \fIwhatnow\fR program which starts the initial edit.
135 Hence, `\-nowhatnowproc' will prevent any edit from occurring.)
136 .Fi
137 ^@@(MHETCPATH)/distcomps~^The message skeleton
138 ^or <mh\-dir>/distcomps~^Rather than the standard skeleton
139 ^$HOME/\&.mh\(ruprofile~^The user profile
140 ^<mh\-dir>/draft~^The draft file
141 .Pr
142 ^Path:~^To determine the user's MH directory
143 .Ps
144 ^Current\-Folder:~^To find the default current folder
145 .Ps
146 ^Draft\-Folder:~^To find the default draft\-folder
147 .Ps
148 ^Editor:~^To override the default editor
149 .Ps
150 ^fileproc:~^Program to refile the message
151 .Ps
152 ^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
153 .Sa
154 comp(1), forw(1), repl(1), send(1), whatnow(1)
155 .De
156 `+folder' defaults to the current folder
157 .Ds
158 `msg' defaults to cur
159 .Ds
160 `\-noannotate'
161 .Ds
162 `\-nodraftfolder'
163 .Ds
164 `\-noinplace'
165 .Co
166 If a folder is given, it will become the current folder.
167 The message distributed will become the current message.
168 .Hi
169 \fIDist\fR originally used headers of the form \*(lqDistribute\-xxx:\*(rq
170 instead of \*(lqResent\-xxx:\*(rq.  In order to conform with the
171 ARPA Internet standard, RFC\-822,
172 the \*(lqResent\-xxx:\*(rq form is now used.
173 \fIDist\fR will recognize \*(lqDistribute\-xxx:\*(rq type headers and 
174 automatically convert them to \*(lqResent\-xxx:\*(rq.
175 .Bu
176 \fIDist\fR does not \fIrigorously\fR check the message being
177 distributed for adherence to the transport standard,
178 but \fIpost\fR called by \fIsend\fR does.
179 The \fIpost\fR program will balk (and rightly so) at poorly formatted messages,
180 and \fIdist\fR won't correct things for you.
181
182 If \fIwhatnowproc\fR is \fIwhatnow\fR,
183 then \fIdist\fR uses a built\-in \fIwhatnow\fR,
184 it does not actually run the \fIwhatnow\fR program.
185 Hence, if you define your own \fIwhatnowproc\fR,
186 don't call it \fIwhatnow\fR since \fIdist\fR won't run it.
187
188 If your current working directory is not writable,
189 the link named \*(lq@@\*(rq is not available.
190 .En
191 @
192
193
194 1.4
195 log
196 @put things back, do .NA stuff another way
197 @
198 text
199 @d2 1
200 @
201
202
203 1.3
204 log
205 @typo
206 @
207 text
208 @d2 2
209 a3 2
210 .TH DIST 1 @@(MHCENTERFOOT) @@(MHLEFTFOOT)
211 .SH .NA
212 d5 1
213 a5 1
214 .SH .SY
215 @
216
217
218 1.2
219 log
220 @fixup for makewhatis
221 @
222 text
223 @d2 1
224 a2 1
225 .TH DIST 1 [mh.6] MH
226 @
227
228
229 1.1
230 log
231 @Initial revision
232 @
233 text
234 @d2 2
235 a3 2
236 .SC DIST 1
237 .NA
238 d5 1
239 a5 1
240 .SY
241 @