[imp] ispell not working

Szókovács Róbert szo at ies.hu
Mon Jan 9 15:26:21 PST 2006


Chris wrote:

> I beg your pardon, szo.  But I do not think this is correct, or at least
> not complete.  I have moved ksh, sh and csh into my jail, and it is not
> enough to make it work.  There must be something else needed.  Could you
> tell me what it is?
> 
> I have likewise moved in a whole bunch of libriaries that it needed,
> eventhough they were not included in the ldd output.
> 
> I went so far as to go to the shell (in an ssh session), and did a
> "chroot /var/www /bin/ksh".  I executed ispell, and it craps out:
> 
> # ksh
> # set -o vi
> # chroot /var/www /bin/ksh
> /bin/ksh: No controlling tty (open /dev/tty: No such file or directory)
> /bin/ksh: warning: won't have full job control
> # cd /usr/local/bin
> # ls
> buildhash defmt-sh  icombine  ispell    tryaffix
> defmt-c   findaffix ijoin     munchlist uspell
> # ./ispell
> @(#) International Ispell Version 3.3.02 12 Jun 2005
> word: [1] + Stopped (tty input)  ./ispell
> 
> It then just hangs on me... won't even let me exit the shell:
> # exit
> You have stopped jobs
> 
> I even went so far as to make a tty under /var/www/dev/tty -- but it
> still does not work.  (mknod -m 666 /var/www/dev/tty c 1 0).
> 
> Can you tell me Szo, what is the trick to get this to work?
> 

I don't know, I never used ksh, I used bash as /bin/sh.
What I did was this: I modified the apropriate .php file in imp to print the
exit code when exec()-ing ispell, that could help.
Does ispell work outside the jail?

br

Szo



More information about the imp mailing list