Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!rex!ukma!seismo!dimacs.rutgers.edu!bcm!convex!mullins From: mullins@convex.com (Don Mullins) Newsgroups: comp.editors Subject: Re: Spell checking in vi Message-ID: Date: 17 Apr 91 02:07:52 GMT References: <1991Apr16.170158.26075@inel.gov> Sender: newsadm@convex.com (news access account) Organization: Convex Computer Corporation, Richardson, Tx. Lines: 22 Nntp-Posting-Host: starman.convex.com I use this for an interface to ispell. ispell is an interactive checker, thus the redirects in and out to /dev/tty. From my .exrc - this has been run thru 'cat -v' for mailing: " " write file, run ispell on file, re-edit file (k)sh version " map ^[i :w^M!!/usr/local/bin/ispell -x % /dev/tty 2>&1^M:e!^M " " write file, run ispell on file, re-edit file csh version. I think the " syntax is correct, it's been a while. " map ^[i :w^M!!/usr/local/bin/ispell -x % /dev/tty^M:e!^M " Don -- Don Mullins Convex Computer Corporation Richardson, Texas USA INTERNET: mullins@convex.COM -- UUCP: {uiucuxc, uunet, sun, ...}!convex!mullins