]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/forw.1
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / forw.1
1 .TH FORW 1 RAND
2 .SH NAME
3 forw \- forward messages
4 .SH SYNOPSIS
5 forw \%[+folder] \%[msgs] \%[\-editor\ editor] \%[\-form\ formfile]
6 \%[\-annotate] \%[\-noannotate]
7 \%[\-inplace] \%[\-noinplace]
8 \%[\-help]
9 .SH DESCRIPTION
10 \fIForw\fR may be used to prepare a message containing other
11 messages.
12 It constructs the new message from the components file
13 or `\-form formfile' (see \fIcomp\fR), with a body composed of the
14 message(s) to be forwarded.
15 An editor is invoked as in \fIcomp\fR,
16 and after editing is complete, the user is prompted before the message
17 is sent.
18
19 If the `\-annotate' switch is given, each message being
20 forwarded will be annotated with the lines
21
22 Forwarded: \*(<<date\*(>>
23 Forwarded: To: names
24 Forwarded: cc: names
25
26 where each \*(lqTo:\*(rq and \*(lqcc:\*(rq list contains as many lines as required.
27 This annotation will be done only if the message is sent directly
28 from \fIforw\fR.
29 If the message is not sent immediately from \fIforw\fR,
30 \*(lqcomp \-use\*(rq may be used in a later session to re-edit and send
31 the constructed message, but the annotations won't take place.
32 The `\-inplace' switch permits annotating a message in place in
33 order to preserve its links.
34
35 See \fIcomp(1)\fR for a description of the `\-editor' switch and for options
36 upon exiting from the editor.
37 See \fImh-profile(5)\fR for further information
38 about the how editors are used by MH.
39 .SH FILES
40 .ta 2.4i
41 /etc/mh/components The message skeleton
42 .br
43 or <mh-dir>/components Rather than the standard skeleton
44 .br
45 $HOME/\*.mh\(ruprofile The user profile
46 .br
47 <mh-dir>/draft The default message file
48 .br
49 /usr/bin/send To send the composed message
50 .SH PROFILE COMPONENTS
51 Path: To determine the user's MH directory
52 .Ps
53 .br
54 Editor: To override the default editor
55 .Ps
56 .br
57 Current-Folder: To find the default current folder
58 .Ps
59 .br
60 <lasteditor>\-next: To name an editor to be used
61 after exit from <lasteditor>
62 .SH SEE ALSO
63 dist(1), send(1)
64 .SH DEFAULTS
65 `+folder' defaults to the current folder
66 .br
67 `msgs' defaults to cur
68 .br
69 `\-editor' defaults to /bin/ned
70 .br
71 `\-noannotate'
72 .br
73 `\-noinplace'
74 .SH CONTEXT
75 If a +folder is specified, it will become
76 the current folder, and the current message will be set to
77 the first message being forward