Situation: Running on win32 (NT), and have Lingua::Ispell installed, as well as aspell present. Trying to make a spell checker.
Problem: Substituting aspell.exe for ispell.exe in ispell compatibility mode (switch -a) with Lingua:Ispell.
Assumptions: path is setup correctly, aspell works right. Problem is not in configuration.
Problem:
Need to modify Ispell.pm slightly. Working with this snippet of code:
$Lingua::Ispell::pid = open2(
*Reader,
*Writer,
$Lingua::Ispell::path,
"-a", "-S",
);
This works right, however... when the call to aspell.exe is made, aspell then waits for input. This presents a problem, because this is in an _init() function, and the rest of the code cannot continue. If I ctrl-c it, it will then bypass the waiting, and run the rest of the program correctly.
So, in summary, I am wondering if there is a way to run the call to aspell.exe, then jump out, but maintaining the *Reader and *Writer. Either that, or if there is a cleaner, better way to get spell checking capabilities under the win32 platform. I am honestly surprised there is almost nothing to do this.
At present, we have looked at most every way of doing spell checking, and have encountered problems with almost every one. We have dl'd a copy of ispell.exe that should work on Win32, but encountered a "No DPMI-server FPU support error".
Suggestions?