[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Single Page
Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 06.01 What to do with "Problems with edit - draft removed".
Next Document: 06.03 What to do with "bad address 'xxx' - no at-sign after local-part".
-
Search the FAQ Archives
Single Page
Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 06.01 What to do with "Problems with edit - draft removed".
Next Document: 06.03 What to do with "bad address 'xxx' - no at-sign after local-part".
06.02 Can I run my message through a program (e.g., ispell) before sending?
Date: Fri, 1 Mar 1991 13:03:15 -0800
It's pretty simple. If your speller is called myspell, use:
What now? edit myspell
MH will actually execute:
myspell /your-mail-draft-directory/draftfile
and give the entire draft message to your speller. The header will
probably be "misspelled," of course, though you might be able to
tell the speller to ignore it--or you could hack up a little shell
script to run the speller on just the message body, then tack the
corrected body back onto the header before sending.
You can automate this some more. For example, if you want your
speller to run after your first edit with "prompter" and also after
you leave the "vi" editor, add these lines to your MH profile:
prompter-next: myspell
vi-next: myspell
Then, at the "What now?" prompt:
What now? e
your speller will run. For more info, see the mh-profile(5) man page
or section 7.2.1 (6.2.1) of the MH book, or the URL:
http://rand-mh.sourceforge.net/book/mh/chaedi.html#Edi
Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 06.01 What to do with "Problems with edit - draft removed".
Next Document: 06.03 What to do with "bad address 'xxx' - no at-sign after local-part".
Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
Bill Wohler <wohler@newt.com>
Last Update October 22 2009 @ 05:26 AM