]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/repl.1
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / repl.1
1 .TH REPL 1 RAND
2 .SH NAME
3 repl \- reply to a message
4 .SH SYNOPSIS
5 \fBrepl\fR \%[+folder] \%[msg] \%[\fB\-editor\fR\ editor]
6 \%[\fB\-inplace\fR] \%[\fB\-annotate\fR]
7 \%[\fB\-help\fR] \%[\fB\-noinplace\fR]
8 \%[\fB\-noannotate\fR]
9 .SH DESCRIPTION
10 \fIRepl\fR aids a user in producing a reply to an existing
11 message.
12 In its simplest form (with no arguments), it will set up
13 a message-form skeleton in reply to the current message in the
14 current folder, invoke the editor, and send the composed
15 message if so directed.
16 The composed message is constructed as
17 follows:
18
19 .nf
20 .in 1i
21 To: <Reply-To> or <From>
22 cc: <cc>, <To>
23 Subject: Re: <Subject>
24 In-reply-to: Your message of <Date>
25 .ti +\w'In-reply-to: 'u
26 <Message-Id>
27 .in .5i
28 .fi
29
30 where field names enclosed in angle brackets (< >) indicate the
31 contents of the named field from the message to which the reply
32 is being made.
33 Once the skeleton is constructed, an editor is
34 invoked (as in \fIcomp\fR, \fIdist\fR, and \fIforw\fR).
35 While in the editor,
36 the message being replied to is available through a link named
37 ``@''.
38
39 .B NOTE:
40 .I repl
41 invokes the editor with two file arguments.
42 The second is the filename of the message being
43 replied to, and is intended
44 to be used as an `alternate' file within the editor.
45 If the editor used doesn't have this feature, it must
46 ignore the extra file argument and edit the first
47 file argument.
48
49 As in \fIcomp\fR, \fIdist\fR, and \fIforw\fR, the user will be queried
50 before the message is sent.
51 If `\-annotate' is
52 specified, the replied-to message will be annotated with the
53 single line
54
55 .ti +.5i
56 Replied: \*(<<Date\*(>>.
57
58 The command
59 ``comp \-use'' may be used to pick up interrupted editing, as in
60 \fIdist\fR and \fIforw\fR; the `\-inplace' switch annotates the message in place,
61 so that all folders with links to it will see the annotation.
62
63 See \fIcomp(1)\fR for a description of the `\-editor' switch and for options
64 upon exiting from the editor.
65 .SH FILES
66 .ta 2.4i
67 $HOME/\*.mh\(ruprofile The user profile
68 .br
69 <mh-dir>/draft The constructed message file
70 .br
71 /usr/bin/send To send the composed message
72 .SH PROFILE COMPONENTS
73 Path: To determine the user's MH directory
74 .br
75 Editor: To override the default editor
76 .br
77 Current-Folder: To find the default current folder
78 .SH DEFAULTS
79 `+folder' defaults to current
80 .br
81 `msgs' defaults to cur
82 .br
83 `\-editor' defaults to /bin/ned
84 .br
85 `\-noannotate'
86 .br
87 `\-noinplace'
88 .SH SEE ALSO
89 comp(1),dist(1), forw(1)
90 .SH CONTEXT
91 If a `+folder' is specified, it will become the current
92 folder, and the current message will be set to the replied-to
93 message.
94 .sp 2