[imp] ispell not working

Chris grooveman at comcast.net
Mon Jan 9 16:13:15 PST 2006


Oh, yes.  The result is the same for both.   It is a tty problem of some
sort or another.

Yes, it works swimmingly outside of the jail.  Here is what I copied
into the jail:
============================================================
# ls -R
lib     libexec local

./lib:
libc.so.38.2        libncurses.so.10.0  libutil.so.11.0

./libexec:
getty ld.so

./local:
bin lib man

./local/bin:
buildhash defmt-sh  icombine  ispell    tryaffix
defmt-c   findaffix ijoin     munchlist uspell

./local/lib:
american.hash       english.aff         ispell
americanmed.hash    english.hash        libtermcap.so.10.0

./local/lib/ispell:
american.aff        americanmed+.hash   british.hash        default.aff
american.hash       british.aff         britishxlg.hash     default.hash

./local/man:
man1 man5

./local/man/man1:
buildhash.1  ispell.1     sq.1         unsq.1
findaffix.1  munchlist.1  tryaffix.1

./local/man/man5:
english.5 ispell.5
============================================================

Then I likewise tried making a tty device as well in /var/www/dev. 
Still didn't work.

I don't know much about php... so I would need a little more if I am to
hack a file...

Thanks.

Chris


Szókovács Róbert wrote:

>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