From: Hans-Bernhard B. <br...@ph...> - 2004-04-21 12:52:07
|
On Wed, 21 Apr 2004, Petr Mikulik wrote: > > As I recall, the objection was raised that Windows does not provide > > any reasonable place to print such a message. > > It would print it on screen. No, it wouldn't. Try it: wgnuplot c:\config.sys (or whatever text file you happen to have lying around that should be guaranteed to fail as a gnuplot script). You'll find that nothing gets printed anywhere. The problem is that wgnuplot runs its own "xterm" equivalent (the text window), and that vanishes as soon as the program exits, and isn't even made visible in non-interactive execution. > You mean stderr cannot be redirected to a file? There *is* no stderr to be redirected, in the full GUI versions for Windows. wgnuplot_pipe.exe might work, if run from a console window. > The message could use "set print" file. I don't think stderr goes there, and for a good reason, too. We'ld need a special 'set error' or so to redirect error messages to a file. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |