1 .TH PROMPTER 1 "3 August 1983"
4 prompter \- prompting editor front end
7 [ \-erase chr ] [ \-kill chr ] [ \-help ]
9 This program is not called directly but takes the place
10 of an editor and acts as an editor front end.
11 \fIPrompter\fR is an editor which allows rapid composition of
13 It is particularly useful to network and low-speed
14 (less than 2400 baud) users of MH.
15 It is an MH program in that
16 it can have its own profile entry with switches, but it can't
17 be invoked directly as all other MH commands can; it is an editor
18 in that it is invoked by an \*(lq\-editor prompter\*(rq switch or by the
19 profile entry \*(lqEditor: prompter\*(rq, but functionally it is merely
20 a text-collector and not a true editor.
22 \fIPrompter\fR expects to be called from \fIcomp\fR, \fIrepl\fR, \fIdist\fR, or
23 \fIforw\fR, with a draft file as an argument.
24 For example, \*(lqcomp
25 \-editor prompter\*(rq will call \fIprompter\fR with the file \*(lqdraft\*(rq already set
26 up with blank components.
27 For each blank component it finds in
28 the draft, it prompts the user and accepts a response.
29 A <RETURN> will cause the whole component to be left out.
31 preceding a <RETURN> will continue the response on the next line,
32 allowing for multiline components.
34 Any component that is non-blank will be copied and echoed to the
37 The start of the message body is prompted by a line of
39 If the body is non-blank, the prompt is
40 \*(lq--------Enter additional text\*(rq.
41 Message-body typing is terminated with
42 a <CTRL-D> (or <OPEN>).
43 Control is returned to the calling
44 program, where the user is asked \*(lqWhat now?\*(rq.
48 The line editing characters for kill and erase may be
49 specified by the user via the arguments \*(lq\-kill chr\*(rq and \*(lq\-erase
50 chr\*(rq, where chr may be a character; or \*(lq\\nnn\*(rq, where nnn is the
51 octal value for the character.
52 (Again, these may come from the
53 default switches specified in the user's profile.)
55 A <DEL> during message-body typing is equivalent to
56 <CTRL-D> for compatibility with NED.
58 component typing will abort the command that invoked
60 .SH "PROFILE COMPONENTS"
62 .ta \w'prompter-next: 'u
63 prompter-next: editor to be used on exit from \fIprompter\fR