On Fri, Apr 25, 2008 at 04:34:17PM +0100, Marianne Promberger wrote: > On 04/25/08 08:05, Michael Elkins wrote: > > On Fri, Apr 25, 2008 at 08:57:59AM -0600, Michael wrote: > > > I need to open a file in the pager to edit and then send, but can't find > > > a command to do that. > > > I've looked at "attachments", "pager", "compose", etc, but missed it if > > > it is there. > > > Or even while typing an email, add a file to it (but not as an > > > attachment). > > > If not that, can I start mutt with a file in the pager to edit and send? > > > > I'm not sure what you mean by pager, since that is only used to view > > messages. If you would like to include a file in your editor, such as a > > template, you can use the -i command line option: > > > > mutt -i mytemplate.txt [EMAIL PROTECTED] > > While you're writing an e-mail, you are in fact using an external > editor. > > If that editor can do it, you can insert an external file. > > For example, in nano, Ctrl-R will do it. > In Emacs, C-x i. > > See what your editor is and look at that editor's documentation. > > m. >
Thanks for that :) Using vi here (default for OpenBSD), so will look at docs. me (my initials also) ;)