help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-nano] Aspell pain


From: Paul Fotheringham
Subject: Re: [Help-nano] Aspell pain
Date: Tue, 3 Jun 2003 22:30:10 +0000
User-agent: KMail/1.4.3

> Indeed, thanks for trying anyway.  Does anyone know what the error even
> indicates?  (ie. that aspell terminated with an error code?  that the
> command couldn't be found?).

Well the first thing, as far as I can see, is that aspell is not the problem
since you say it doesn't work with the default choice.

Having had a look at the source (and applying what primitive skills I have in
that area!) it seems that the 'Error invoking "spell"' message is returned if
the child process spawned for the spell program exits abnormally. This still
seems to leave the two possibilities of an abnormal exit of the spell program
itself or problem finding the executable.

Not helping much here am I? :)

The child process is spawned with execlp() which uses your $PATH variable to
locate the executable. The default is simply specified in the call to execlp
as "spell" which on my system is resolved to /usr/bin/spell and everything
works fine.

The only things I can suggest at the moment (until my programming skills
improve) are

1. What shell are you invoking it from and what is $PATH in that shell?

2. Can you invoke "spell" from the command line?

3. Do both spell (if it is there) and aspell work without exiting abnormally
if run from the command line independently of nano?

Paul.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]