home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / elm / 1961 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsg.cb.att.com!mrtim
  3. From: mrtim@cbnewsg.cb.att.com (t.ihde)
  4. Subject: Re: how to use `ispell' with elm?
  5. Message-ID: <1992Jul22.125628.2576@cbfsb.cb.att.com>
  6. Sender: news@cbfsb.cb.att.com
  7. Organization: AT&T
  8. References: <1992Jul22.021346.14340@augean.eleceng.adelaide.edu.AU>
  9. Date: Wed, 22 Jul 1992 12:56:28 GMT
  10. Lines: 18
  11.  
  12. In article <1992Jul22.021346.14340@augean.eleceng.adelaide.edu.AU> jzhu@augean.eleceng.adelaide.edu.AU (Jihan Zhu) writes:
  13. >Is there a way to add a spell check option to elm, eg. to use ispell
  14. >within elm? With vmail or mh you certainly can, but I am not sure
  15. >how this can be done with elm. It seems all options are fixed.
  16.  
  17. I think a better option is to add ispell to your editor, where it will
  18. be available for all mailers and anything else that uses $EDITOR. Both
  19. vi and emacs provide macro facilities for doing things like this. 
  20. I think you're out of luck from ed though . . .
  21.  
  22. Here is the vi macro I have been using successfully (the ^M's are
  23. carriage returns):
  24.  
  25. map #i :!ispell -x %^M:n %^M^M
  26.  
  27. -- 
  28. Tim J. Ihde                                   | UNIX(R) System Laboratories
  29. tim@usl.com                    (908) 522-5571 | Systems Engineering Department
  30.