Subject: Spellchecking with ^T and ispell

From: Nancy McGough <[email-masked]>
Date: Tue, 20 Dec 1994 16:36:49 -0800

I'm updating the spell checking section of the FAQ and I have some 
questions that I hope some of you can help me with.  First, here's 
what I've done for myself.  Note that I already use an alternate
editor so I can't use the very cool alternate-editor=ispell trick.

1] In my $HOME/Bin I've linked spell to ispell with:

     ln -s /usr/local/bin/ispell $HOME/Bin/spell

2] In my .login set the SPELL environment variable like this:

    setenv SPELL "$HOME/Bin/spell"

3] In my home directory create a file called ispell.words that
   contains my private dictionary of words that should pass the
   spell check.

The reason I've done these convolutions is that it seems like
Pine wants the name of the spellchecker to be ``spell'', i.e.,
just setting SPELL to ispell doesn't work.  Also, it doesn't seem
to work if I skip step 2 (and have $HOME/Bin first on my path).  So 
does anyone know of a better way to do this.

Thanks for any info,
Nancy

-- 
 /\_/\    Nancy McGough
( o.o )   Infinite Ink
 > ~ <    http://www.jazzie.com/ii/  -OR-  http://www.best.com/~ii/

---

From: Mike Ramey <[email-masked]>
Date: Wed, 21 Dec 1994 11:16:36 -0800

Note also that different implementations of 'ispell' use different user 
dictionary files:
	stein:	$HOME/.ispell_words
	saul:	$HOME/ispell.words
I have attempted a symbolic link from ispell.words->.ispell_words so that 
both programs would use the same file, ... but the symbolic link keeps 
disappearing!!!  Does anyone know why???  Thanks, -mr

---

From: [email-masked] (J. Kelly Cunningham)
Date: 22 Dec 94 12:24:12 CST

In article <[email-masked]>,
>does anyone know of a better way to do this.

I don't know if this is better, but I do something like this...

(1) point the alt-editor to myeditor

(2) put this script in ~/bin/myeditor (chmod 700 myeditor)

#!/bin/csh -f
set MYREALEDITOR = "whatever -whateverOptions"
set SPELLER = "ispell -x"
$MYREALEDITOR $1
$SPELLER $1

-- kc      prudence dictates a low profile -- Sandy Sandfort
         finger [email-masked] | pgp -fka +force
 finger [email-masked] | pgp -f | tee mkpgp.txt.uu | more