|
From: Ethan M. <merritt@u.washington.edu> - 2006-04-26 19:27:55
|
On Wednesday 26 April 2006 10:27 am, Timoth=C3=A9e Lecomte wrote: > I have found another poor alternative : using xterm control sequences. > [...] the "<esc>[5t" as "raise the window" when xterm is in VT100 mode= =20 > (Does it mean that it won't work if xterm is in a different mode ? Correct. It does not work if you switch to Tek mode. Probably no one uses Tek mode any more, but then again not everyone is using a vt100-style xterm in the first place. The KDE and Gnome terminals may be more common. =20 > On the short-run, I may let it in the wxWidgets terminal as it is > currently : has to be linked with Xlib (or gdk, as it is already needed > for raise_plot_window_but_don_t_give_it_the_focus ), or Windows.h (not a > problem), or os2.h (not a problem either). It is of course OK for an outboard (external) terminal driver to link against its own support libraries. =20 > Any other idea ? Give up on the whole idea of a generic mechanism for raising the console. It was not well thought out to begin with, and in fact is not even a well-defined operation. =2D-=20 Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |