stevea@uiucdcs.UUCP (stevea ) (01/16/84)
#R:uiucuxc:3300045:uiucdcs:9700081:000:1385 uiucdcs!stevea Jan 14 06:06:00 1984 This is what I use... It came from ccvaxa!bobvan, I believe. 1) In a directory in your search path, place the following file "vispell": tee /tmp/vis$$ echo SpellingList spell /tmp/vis$$ rm /tmp/vis$$ 2) In your .exrc or EXINIT place the following macros. "^[" stands for escape in the macro at that point. Remember that you'll need to prefix the escape with a control-V so that it doesn't prematurely terminate the map command. These macros clobber buffer z. map #1 GI/\<^[A\>^["zdd@z map #2 1G!Gvispell^[ To use -- a) edit your submission/file... b) hit #2 (or function key 2 if your terminal has it) c) a list of misspelled words is tacked on to the end of your file d) to eliminate valid words, such as "stevea" & "ARPAnet", go to the end of the file, and back up, deleting valid words as you go. d) hit #1 (function key 1) to go to the first occurrence of that word. e) correct it if necessary -- if you think you may have misspelled it twice, hit "/" to find the next occurrence, etc. f) hit #1 until you are searching for "SpellingList" - this means you have corrected all of the words in the list... g) rejoice in your 99% error-free article Hope this helps... Steve Alexander University of Illinois at Urbana-Champaign ...!{parsec,pur-ee,ihnp4}!uiucdcs!stevea CSnet: stevea@Uiuc ARPAnet: stevea.Uiuc@Rand-Relay
ags@pucc-k (Seaman) (01/16/84)
One way to run 'spell' on your current edit file is to use the 'ex' command :%!spell which replaces your edit file with the 'spell' output. After you have examined the list of misspelled words, use the 'undo' command to retrieve the original file. -- Dave Seaman ..!pur-ee!pucc-k:ags
tynor@uiucuxc.UUCP (01/17/84)
#R:uiucuxc:3300045:uiucuxc:3300046:000:47 uiucuxc!tynor Jan 16 12:22:00 1984 Thanks to all who replied.... steve
mark@elsie.UUCP (01/18/84)
I have the following alias in my .login file: alias Spell "spell \!^ >> \!^; vi + \!^" Now, typeing "Spell filename" appends the output of spell to the end of "filename". Next vi is run starting at the bottom of the list of "misspelled" words. You can use string searches or globals to fix the misspellings. ..elsie!mark -- UUCP: decvax!harpo!seismo!rlgvax!cvl!elsie!mark Phone: (301) 496-5688