----- Original Message -----
From: "Chris Marshall" <[email protected]>
To: "Craig DeForest" <[email protected]>
Cc: <[email protected]>
Sent: Friday, January 27, 2012 5:49 AM
Subject: Re: [Perldl] PDL::Graphics::Gnuplot on Win32 Vista.
The basic command works on cygwin (which is what I
would expect since it acts like unix). However, the
same command fails on win32 with a message about
not talking to the gnuplot for 5sec so that is where the
IPC::Run (or is it open3) is a problem.
This is just IO::Select's can_read() method not working on windows. It
returns immediately, no matter what the timeout. (In a nutshell, we can't
make use of this method on Windows.)
You'll find that message occurs about half a second after the script starts
to execute. (Essentially, I've just been ignoring this message.)
Other things to watch for on Windows:
1) Each time you close the gnuplot.exe, it remains as a zombie. Every now
and then you'll want to kill off these zombies - which I've been doing with:
taskkill /F /IM gnuplot.exe
2) The following warning message was interfering with the way things ran:
Warning: The codepage of the graph window (1252) and that of the console
(850) differ. Use `set encoding` or `!chcp` if extended characters don't
display correctly.
If you get that warning message, you probably want to get rid of it (for the
time being, at least) - which I've been doing with:
mode CON codepage select=1252
I'm able to get gnuplots on Windows, though there's still a bit to be done.
I haven't tried zowie's latest yet - but I'd like to get back to it when I
get a chance.
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl