Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site inuxa.UUCP Path: utzoo!linus!philabs!seismo!harpo!eagle!mhuxl!ihnp4!inuxc!inuxa!rms From: rms@inuxa.UUCP (R Sachs) Newsgroups: net.general Subject: re: Running spell from VI Message-ID: <261@inuxa.UUCP> Date: Thu, 19-Jan-84 16:24:49 EST Article-I.D.: inuxa.261 Posted: Thu Jan 19 16:24:49 1984 Date-Received: Sat, 21-Jan-84 01:47:52 EST Organization: AT&T Consumer Products Div., Indianapolis Lines: 21 Many thanks to Jim Hogue for telling us how to implement "spell" while in vi. I followed his instructions on creating a shell program and then setting up two function keys for vi. I was able to get the second function key to work (the one that appends the list of misspelled words to your file). But the other key doesn't work for me and perhaps he or anyone else can explain what's happening. This key should spit out the string: Gi/\"add@a and should cause vi to jump to the last line of text (the last misspelled word), save it in register a, delete it, then do a search on contents of register a. I think I got the logical order right, but all I get when I press this key is a jump to the last line followed by a search on the string: \"add@a and of course vi cannot find this string. What did I do wrong? How does this command string work in detail? I understand what each piece does alone, but not how it works together to do the job. Thanks for your help. Rich Sachs