|
From: Petr M. <mi...@ph...> - 2006-04-27 22:27:10
|
>> Does it work for the other interactive terminals as well? >> I thought your wish for the API was that gnuplot is not linked against Xlib. > > I would prefer that, yes. But during the course of this discussion I > have come to think there is no other way to correctly implement a > "raise console" function. It can only be done by the core code. > > But if are to make this change, let us at least try to do it as > cleanly as possible. It will definitely simplify the hot key > processing in gnuplot_x11, since it no longer needs to special > case these exceptions to the general key binding mechanism. > I am not familiar with the windows/pm code, but I would think > the same is true there. > > I am thinking that the cleanest way is to create a new core routine > raise_console(). All that is fine with me. Considering gnuplot under X11, the binary will have to be linked against -lX11, but as I can see it adds just 200 B of code, thus this is not an issue. --- PM |