home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!olivea!gossip.pyramid.com!pyramid!infmx!helios!mdelaney
- From: mdelaney@informix.com (Dr. SPARC)
- Newsgroups: comp.windows.open-look
- Subject: Re: Spell Checker
- Message-ID: <mdelaney.724966194@helios>
- Date: 21 Dec 92 19:29:54 GMT
- References: <1992Dec17.172112.4750@cas.org> <1992Dec18.145301.15098@crd.ge.com>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 29
-
- In <1992Dec18.145301.15098@crd.ge.com> howie@sunny.dab.ge.com (J. Bruce Howie) writes:
-
- >So, I have a limited implimentation of a spell checker. I select ONLY one word.
- >and send it off to ispell. If I am quick, I can beat the timer and return the
- >corrected word back to the text window before the timer times out.
-
- To deal with the timeout, I added a "Swap" menu entry into my
- .text_extras_menu that looks like this:
-
- "Swap" cat /tmp/X_filter_file
- "Ispell" filter ispell
-
- And the filter script looks like:
-
- TEMP=/tmp/X_filter_file
- export TEMP
- cat > $TEMP
- shelltool $* $TEMP
- cat $TEMP
-
- This way, if I am not fast enough and the selected region times out, I
- can just reselect the region and choose "Swap" from my menu. OK, so
- it's a hack... so what, it works!
-
- - Mark
- --
- Mark A. Delaney mdelaney@informix.com
- [pyramid|uucp]!infmx!mdelaney
- #include <disclaimer> (415) 926-6369
-