PROMPTER(1MH) COMMAND REFERENCE PROMPTER(1MH)
NAME
prompter - prompts the editor front end
SYNOPSIS
This program is not called directly but takes the place of
an editor and acts as an editor front end.
prompter [ -erase c ] [ -kill c ] [ -editor editor ]
[ -noeditor ] [ -help ] draftfile
DESCRIPTION
Prompter is an editor for rapidly composing mail messages.
It is an MH program in that it can have its own profile
entry with switches, but it can't be invoked directly as all
other MH commands can.
Prompter is normally called from comp, repl, dist, or forw,
with a draft file as an argument. For example:
comp -editor prompter
calls prompter with the file draft already set up with blank
components (such as To:, Cc:, etc). For each blank
component prompter finds in the draft, it prompts you to
enter a value for the component and accepts your response.
Pressing <RETURN> causes the whole component to be left out
of the message.
A '\' preceding a <RETURN> continues the response on the
next line, allowing for multiline components. An ESC causes
the component to be left in the output file, but to have an
empty value. Any component that is non-blank is copied and
echoed to your terminal.
If you don't specify any switches, prompter uses the editor
specified by your EDIT environment variable, or if that is
not set, /bin/xed to edit the mail message.
Your .mh_profile can contain the following entries:
prompter-next:
To name the editor to be used on exit from prompter
Prompter has the following defaults:
-noeditor
OPTIONS
-editor editor
Printed 10/17/86 1
PROMPTER(1MH) COMMAND REFERENCE PROMPTER(1MH)
Enter editor after the components are entered.
-erase c
Use c as the erase character.
-help
Display a synopsis of the prompter command.
-kill c
Use c as the kill character.
-noeditor
Don't use an editor. You enter the message following
the line of dashes and end it with an <ESC> or a <Ctrl-
D>. If the body is non-blank, the prompt is '--------
Enter additional text'.
SEE ALSO
comp(1mh), folder(1mh), forw(1mh), inc(1mh), mail(1mh),
next(1mh), pick(1mh), prev(1mh), prompter(1mh), refile(1mh),
repl(1mh), rmf(1mh), rmm(1mh), scan(1mh), send(1mh),
show(1mh).
Printed 10/17/86 2
%%index%%
na:72,75;
sy:147,607;
de:754,1869;
op:2623,124;2891,687;
se:3578,516;
%%index%%000000000103