* Carlos E. R. <robin.listas@telefonica.net> [02-28-08 15:18]:
I copied /etc/joe/jstarrc to .jstarrc, then modified it:
Ispell :def ispellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype :def ispellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\012';/bin/rm ispell.tmp",rtn,retype,nextword
Aspell :def aspellfile filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype :def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword
I comment out the first one by adding spaces, and then I get the following error when starting jstar:
There were errors in '/home/cer/.jstarrc'. Use it anyway (y,n)?
make sure that the lines didn't wrap when you edited. Inserting a space is correct, but you might save a copy and remove completely the references you do not want.
If I say "yes" spell does not work, it wants to use ispell, and ignores the installed aspell.
What now?
I'll have to try uninstalling ispell.
[..]
Now it complains that ispell is not found, ignoring aspell :-/
I can no longer use "ispell", because I'm used to the keys of aspell, for which "I" is "ignore all", and for ispell it means "insert" in the local dictionary. I can't use it!
And I don't know how to force jstar to use only aspell!
I use joe, not jstar, but I tested altering .joerc by adding a space at the line start to comment out and also by removing completely the references to aspell and both worked :^) -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org