|
From: Bastian M. <bma...@we...> - 2006-04-28 09:34:50
|
Petr Mikulik wrote: >>> Does it work for the other interactive terminals as well? >>> I thought your wish for the API was that gnuplot is not linked=20 >>> 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(). >=20 > All that is fine with me. I agree. >=20 > Considering gnuplot under X11, the binary will have to be linked agains= t=20 > -lX11, but as I can see it adds just 200 B of code, thus this is not an= =20 > issue. >=20 For the standard OS/2 build we will have to leave out the linkage requirement against X11 though. Too many systems do not have X11 installe= d. Could we move the raise_console() code into a new executable instead? --=20 Bastian M=E4rkisch Physikalisches Institut, Universit=E4t Heidelberg |