I took this approach. Added to config: define('ASPELL_BIN','/local/pubwiki/common/aspell-wrapper'); and then in /local/pubwiki/common/aspell-wrapper: ----------------- #!/usr/bin/perl my $tfile = "/tmp/dummy.aspell.$$." . time . "." . rand(time); unlink($tfile); open(OUT, ">$tfile"); print OUT <STDIN>; close(OUT); close(STDIN); open(STDIN, "<$tfile"); unlink($tfile); exec("/usr/bin/aspell", @ARGV); ------------------- Yes, I should have used tmpname or similar. This was a quick hack. -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nneul@xxxxxxx University of Missouri - Rolla Phone: (573) 341-6679 UMR Information Technology Fax: (573) 341-4216 > -----Original Message----- > From: Mcginty, Patrick C [mailto:patrick.c.mcginty@xxxxxxxxx] > Sent: Wednesday, June 14, 2006 8:57 PM > To: Neulinger, Nathan > Subject: RE: [dokuwiki] Re: Spell Checker Hang > > Aspell is giving me an error that STDIN is not a terminal. Any ideas? > > My bash script is calling 'aspell -c filename dokuargs'. > > Regards, > - Casey > > -----Original Message----- > From: dokuwiki-bounce@xxxxxxxxxxxxx > [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] On Behalf Of Neulinger, Nathan > Sent: Wednesday, June 14, 2006 1:40 PM > To: dokuwiki@xxxxxxxxxxxxx > Subject: [dokuwiki] Re: Spell Checker Hang > > I reported this the other day... the code is not behaving properly for > pipe I/O. > > A simple fix is to wrap aspell with a tiny wrapper script > that writes to > a temp file, and then feeds that to aspell to avoid the pipe deadlock > issue. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger EMail: nneul@xxxxxxx > University of Missouri - Rolla Phone: (573) 341-6679 > UMR Information Technology Fax: (573) 341-4216 > > > > -----Original Message----- > > From: dokuwiki-bounce@xxxxxxxxxxxxx > > [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] On Behalf Of > Mcginty, Patrick C > > Sent: Tuesday, June 13, 2006 4:30 PM > > To: dokuwiki@xxxxxxxxxxxxx > > Subject: [dokuwiki] Spell Checker Hang > > > > When spell checking complicated pages (i.e. many lists or > > sample code) the spell checking feature fails to return any > > results and hangs the page. My system is running aspell > > 0.60.2 , PHP version 4.4.1 and Apache 1.3.29. > > > > > > > > Is this a known issue, or should I submit a bug? > > > > > > > > Regards, > > > > Casey McGinty > > > > > > -- > DokuWiki mailing list - more info at > http://wiki.splitbrain.org/wiki:mailinglist > > -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist