|
From: Daniel J S. <dan...@ie...> - 2006-07-30 07:26:20
|
Daniel J Sebald wrote: > 1) The first thing that strikes me is that I get the instruction > "See 'help x11' for more details". However, how do I see the help >when I can't get to the program command line? So, this really >shouldn't be a critical error in my opinion. Yes, the x11 driver > should register an error, but in a graceful way from the command line. > > 2) As for gnuplot attempting to find gnuplot_x11 at start up. > Perhaps this should be delayed to the point of first trying to create a plot. I put a patch on SourceForge that will remove X11_init() from X11_options(). This solves the above problem. If gnuplot_x11 is missing, the command line behaves as: Terminal type set to 'x11' gnuplot> plot x Expected X11 driver: /usr/local/libexec/gnuplot/4.1/gnuplot_x11 Exec failed: No such file or directory See 'help x11' for more details Note that the exit is apparently re-routed back to the command line at this point in the program. So, after I hit return, then the command line prompt comes back. It isn't the as graceful as it could be, but I think it is good enough for the situation it addresses. What the ramification of removing that X11_init() is I'm not sure. Perhaps Ethan has a better feel for that. There aren't any font characteristics or something that gnuplot_x11 is needed for inside X11_options(), is there? Dan |