[opensuse] spell check in joe
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, joe can spell check using ispell or aspell if found. Mine defaults to ispell in English and aspell in Spanish. How can I tell it to use aspell always? Or to change the speller? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHxrMOtTMYHG2NR9URAvkoAJ4tzWKFO8veoP4EAJXr0lQPrpGQdACfTmaZ RO9x58tbxLNYeRxTDEqV58A= =w/1i -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R. <robin.listas@telefonica.net> [02-28-08 08:14]:
joe can spell check using ispell or aspell if found. Mine defaults to ispell in English and aspell in Spanish. How can I tell it to use aspell always? Or to change the speller?
try editing ~/.joerc and commenting out the ispell macro. If you don't have a ~/.joerc, make one by copying /etc/joerc. -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-02-28 at 08:20 -0500, Patrick Shanahan wrote:
try editing ~/.joerc and commenting out the ispell macro. If you don't have a ~/.joerc, make one by copying /etc/joerc.
Which is the comment char? An space perhaps? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHxtbvtTMYHG2NR9URAhvXAJ9b2L5vr+88FfTbdxr6qCRET6fpBwCfeYac Cgn8L1GhvfoHJOuoet4IVjY= =Opqh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-02-28 at 16:44 +0100, Carlos E. R. wrote:
try editing ~/.joerc and commenting out the ispell macro. If you don't have a ~/.joerc, make one by copying /etc/joerc.
Which is the comment char? An space perhaps?
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)? 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! - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHxxbotTMYHG2NR9URAhT5AJ9sYmnm0MI/ol52Dtnxwm8QcKpTiwCghpP1 0NUtp3+e8+e+6ENymSsMWMs= =7YYO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Feb 28, 2008 at 9:17 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Thursday 2008-02-28 at 16:44 +0100, Carlos E. R. wrote:
try editing ~/.joerc and commenting out the ispell macro. If you don't have a ~/.joerc, make one by copying /etc/joerc.
Which is the comment char? An space perhaps?
I copied /etc/joe/jstarrc to .jstarrc, then modified it:
a comment is a hash # # is the default way to tell a program to ignore that rule. I am sure it applies to bash scripting and most configuration files (even the kernel configuration files in BSD). Neil -- There are two kinds of people: 1. People who start their arrays with 1. 1. People who start their arrays with 0. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Neil <hok.krat@gmail.com> [02-28-08 17:15]:
a comment is a hash # # is the default way to tell a program to ignore that rule. I am sure it applies to bash scripting and most configuration files (even the kernel configuration files in BSD).
the only commands contained in the jedrc file that are active is those starting at the beginning of a line, ie: no space. -- 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
* 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-02-28 at 17:41 -0500, Patrick Shanahan wrote:
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.
No, it didn't wrap.
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 :^)
Hold on! What I want is to use aspell, not ispell. You are trying the other way round. Here it doesn't. Somehow it doesn't detect aspell and wants to use ispell. If the ispell macro is commented out it complains of bad resource file; if I uninstall ispell it complains of no ispell in the system. No way I can win :-( Somehow it thinks that aspell is not installed :-( I have been trying with: strace -ff -o jstar.strace jstar pp and I can't find any reference to "aspell" in any of the log traces. It is not even trying! - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHx1oatTMYHG2NR9URAiX+AJ4+kkX9tVcIyC+taiqDuDXGpWSjlwCeM6vh tSR4WGWuqc8hGG/4ezVZOGA= =xQ0f -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R. <robin.listas@telefonica.net> [02-28-08 20:06]:
The Thursday 2008-02-28 at 17:41 -0500, Patrick Shanahan wrote:
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 :^)
Hold on! What I want is to use aspell, not ispell. You are trying the other way round.
ok, I commented out and then removed ispell from ~/.joerc and both actions worked successfully ???
Here it doesn't. Somehow it doesn't detect aspell and wants to use ispell. If the ispell macro is commented out it complains of bad resource file; if I uninstall ispell it complains of no ispell in the system. No way I can win :-(
Somehow it thinks that aspell is not installed :-(
I have been trying with:
strace -ff -o jstar.strace jstar pp
and I can't find any reference to "aspell" in any of the log traces. It is not even trying!
I do not know :^( -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-02-28 at 21:57 -0500, Patrick Shanahan wrote:
* Carlos E. R. <> [02-28-08 20:06]:
The Thursday 2008-02-28 at 17:41 -0500, Patrick Shanahan wrote:
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 :^)
Hold on! What I want is to use aspell, not ispell. You are trying the other way round.
ok, I commented out and then removed ispell from ~/.joerc and both actions worked successfully ???
Argh!
Here it doesn't. Somehow it doesn't detect aspell and wants to use ispell. If the ispell macro is commented out it complains of bad resource file; if I uninstall ispell it complains of no ispell in the system. No way I can win :-(
Somehow it thinks that aspell is not installed :-(
I have been trying with:
strace -ff -o jstar.strace jstar pp
and I can't find any reference to "aspell" in any of the log traces. It is not even trying!
I do not know :^(
Oh, well... thanks anyway. Maybe I'll have to check the source code, one day that I'm bored. Maybe recompile without ispell devel in the system, so that it is forced to use aspell. But I have other things in the queue line before that. Do we have the same version? I have joe-3.5-64 on suse 10.3 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHx+TLtTMYHG2NR9URAsb6AJ9scRWycuvakRKXJowu2pmtayxSkwCfeZ6R VnPEn//yP4gts9dImnveLfA= =pPxr -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R. (robin.listas@telefonica.net) [20080229 11:56]:
Argh!
Did you remember to also change the definition in the global resource file /etc/joe/jstarrc ? If you remove the definition from your local configuration, the global one takes its place. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-02-29 at 13:09 +0100, Philipp Thomas wrote:
* Carlos E. R. () [20080229 11:56]:
Argh!
Did you remember to also change the definition in the global resource file /etc/joe/jstarrc ? If you remove the definition from your local configuration, the global one takes its place.
No, I didn't... but just did now. I get this error: There were errors in '/etc/joe/jstarrc'. Use it anyway (y,n)? If I say yes, spell check does not work at all. If I leave the original resource file, but uninstall ispell from the system, leaving aspell installed, it insists and complains there is no ispell. I can't convince it to use the system aspell :-/ - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHyAG+tTMYHG2NR9URAp0OAJsFLxXBWuVsHVTCb2+sZ8c2bfZL0gCfUYGa p1g4YJel84JPg/As5w8jzmI= =8WMu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-02-29 at 13:09 +0100, Philipp Thomas wrote:
* Carlos E. R. () [20080229 11:56]:
Argh!
Did you remember to also change the definition in the global resource file /etc/joe/jstarrc ? If you remove the definition from your local configuration, the global one takes its place.
No, I didn't... but just did now.
I get this error:
There were errors in '/etc/joe/jstarrc'. Use it anyway (y,n)?
I'll send you a copy of mine. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-02-29 at 08:16 -0500, Banning someone out of personal spite is uncalled for fascism wrote:
No, I didn't... but just did now.
I get this error:
There were errors in '/etc/joe/jstarrc'. Use it anyway (y,n)?
I'll send you a copy of mine.
Same error. Worst: I can not quit, I had to kill jstar. As to the symlink, that's inadvisable: the user interface of both programs is different and leads to user error. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHyBTvtTMYHG2NR9URAn9CAJ9F3DlI5SCwUNYhohh2hvZnbTdVdwCfdQEK +sZc3vIt1G23VldfJhz70XU= =x9lL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-02-29 at 13:09 +0100, Philipp Thomas wrote:
* Carlos E. R. () [20080229 11:56]:
Argh!
Did you remember to also change the definition in the global resource file /etc/joe/jstarrc ? If you remove the definition from your local configuration, the global one takes its place.
No, I didn't... but just did now.
I get this error:
There were errors in '/etc/joe/jstarrc'. Use it anyway (y,n)?
If I say yes, spell check does not work at all.
If I leave the original resource file, but uninstall ispell from the system, leaving aspell installed, it insists and complains there is no ispell.
I can't convince it to use the system aspell :-/
This is ugly, but after removing ispell, have you tried this: # cd /usr/bin/ && ln -s aspell ispell -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R. <robin.listas@telefonica.net> [02-29-08 05:58]:
Do we have the same version? I have joe-3.5-64 on suse 10.3
no, but I doubt that is the problem: joe-3.5-47.1 on 10.1 -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-02-29 at 09:12 -0500, Patrick Shanahan wrote:
* Carlos E. R. <> [02-29-08 05:58]:
Do we have the same version? I have joe-3.5-64 on suse 10.3
no, but I doubt that is the problem: joe-3.5-47.1 on 10.1
I think that could be it. It is comming bugzilla time. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHyBQytTMYHG2NR9URAmKKAKCRInm7c5GbL6vYPyqRnAF4yEtx7ACdFN10 TXjGhuXdzCECxS6pW75zFDk= =ZEEj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R. <robin.listas@telefonica.net> [02-28-08 10:47]:
Which is the comment char? An space perhaps?
yes -- 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
On Thursday 28 February 2008 05:11:32 am Carlos E. R. wrote:
Hi,
joe can spell check using ispell or aspell if found. Mine defaults to ispell in English and aspell in Spanish. How can I tell it to use aspell always? Or to change the speller?
Not sure what you mean. Both Joes I see on this list appear to be using Thunderrbird. You appear to be using a variant of Pine. How would you compare spell checks? -- kai www.filesite.org || www.4thedadz.com || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-02-28 at 05:32 -0800, Kai Ponte wrote:
joe can spell check using ispell or aspell if found. Mine defaults to ispell in English and aspell in Spanish. How can I tell it to use aspell always? Or to change the speller?
Not sure what you mean.
Both Joes I see on this list appear to be using Thunderrbird.
X'-) It's a program, an editor. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHxtcbtTMYHG2NR9URAhYWAJ9d18G5ci0Z1VGhSiGRTIhN1aDmbgCdG6hm DPwEpw5TByYSBw00fcMDx8k= =k0us -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Banning someone out of personal spite is uncalled for fascism
-
Carlos E. R.
-
Kai Ponte
-
Neil
-
Patrick Shanahan
-
Philipp Thomas