MH message sending programs use prompter for filling in the header and collecting text for the body of the draft (unless you specify another editor). It's hard to change the way that prompter works, though, unless you make versions of it.
For example, there's no way to tell a command like forw which prompter switches you want to use. If you want forw to edit your draft with prompter -noprepend, commands like this do not work:
% forw -noprepend forw: -noprepend unknown % forw -editor "prompter -noprepend" unable to exec prompter -noprepend: Permission deniedJust as bad, if you put the following entry in your MH profile, it will always be used for comp, repl, and dist, as well as forw:
prompter: -noprependHere's a version of prompter named prompter.nopre. It's nothing more than prompter -noprepend. But you can use this as an editor for some MH commands without affecting others. For example, after you set up prompter.nopre, the following entry in your MH profile will let you type a note after the message you're forwarding (instead of the default, before):
forw: -editor prompter.nopreTo set it up:
prompter.nopre: -noprepend
[Table of Contents] [Index] [Previous: Show MIME Message Parts with showpart] [Next: Version of send: push]
This file is from the third edition of the book MH & xmh: Email for Users & Programmers, ISBN 1-56592-093-7, by Jerry Peek. Copyright © 1991, 1992, 1995 by O'Reilly & Associates, Inc. This file is freely-available; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see the file copying.htm.
Suggestions are welcome: Jerry Peek <jerry@ora.com>
HIVE: All information for read only. Please respect copyright! |