1 .TH PROMPTER %manext1% 1999-04-30 "%nmhversion%"
6 prompter \- nmh's prompting editor front-end
17 .RB [ \-prepend " | " \-noprepend ]
18 .RB [ \-rapid " | " \-norapid ]
19 .RB [ \-doteof " | " \-nodoteof ]
24 is an editor front-end for
26 which allows rapid composition of messages.
27 This program is not normally invoked directly by users but takes
28 the place of an editor and acts as an editor front-end.
29 It operates on an RFC 822-style message draft skeleton specified by
31 normally provided by the
41 is particularly useful when composing messages over slow
42 network or modem lines. It is an
44 program in that it can have its own profile entry with switches,
45 but it is not invoked directly by the user.
54 as an editor, either when invoked with
57 or by the profile entry \*(lqEditor:\ prompter\*(rq,
58 or when given the command
61 at the \*(lqWhat now?\*(rq prompt.
63 For each empty component
65 finds in the draft, the user is prompted for a response;
66 A <RETURN> will cause the whole component to be left out.
67 Otherwise, a `\\' preceding a <RETURN> will continue the
68 response on the next line, allowing for multiline components.
71 begin with a space or tab.
73 Each non-empty component is copied to the draft and displayed on the
76 The start of the message body is denoted by a blank line or a line
77 of dashes. If the body is non-empty, the prompt, which isn't written
81 --------Enter additional text
89 --------Enter initial text
92 Message-body typing is terminated with an end-of-file (usually
95 switch, a period on a line all by itself also signifies end-of-file.
96 At this point control is returned to the calling program,
97 where the user is asked \*(lqWhat now?\*(rq.
100 for the valid options to this query.
104 switch, the user can add type-in to the beginning of the message body
105 and have the rest of the body follow.
106 This is useful for the
112 switch, if the draft already contains text in the message-body, it is
113 not displayed on the user's terminal. This is useful for low-speed
116 The line editing characters for kill and erase may be specified by the
117 user via the arguments
125 may be a character; or `\\nnn', where \*(lqnnn\*(rq is the octal value for
128 An interrupt (usually CTRL-C) during component typing will abort
132 command that invoked it. An interrupt during message-body typing is
133 equivalent to CTRL-D, for historical reasons.
136 should finish up and exit.
138 The first non-flag argument to
140 is taken as the name of the draft file, and subsequent non-flag
141 arguments are ignored.
142 .\" (\fIrepl\fR invokes editors with two file arguments:
143 .\" the draft file name and the replied-to message file name.)
147 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
148 ^$HOME/.mh_profile~^The user profile
149 ^/tmp/prompter*~^Temporary copy of message
151 .SH "PROFILE COMPONENTS"
155 .ta \w'ExtraBigProfileName 'u
156 prompter\-next: To name the editor to be used on exit from .B prompter
157 ^Msg\-Protect:~^To set mode when creating a new draft
176 option is particularly useful with
184 The user may wish to link
186 under several names (e.g., \*(lqrapid\*(rq) and give appropriate
187 switches in the profile entries under these names
188 (e.g., \*(lqrapid: -rapid\*(rq). This facilitates
189 invoking prompter differently for different
192 \*(lqforw: -editor rapid\*(rq).
197 so it will lose if you edit files with nulls in them.