|
From: Petr M. <mi...@ph...> - 2007-05-31 21:18:03
|
> > > I'll repeat myself, maybe you lost it in the noise of my message: The=
easy
> > > fix means a big regression; 'q' and ' ' would not always work anymore=
, but
> > > only when the terminal is the active one.
> >=20
> > 'q' and ' ' should work as they are. It is sufficient and a very clean =
way=20
> > to switch them on/off by a term->xxxx() command I proposed earlier.
>=20
> It is not as simple as you make it sound.
> Consider the example Timoth=C3=A9e already mentioned.
> You have an old x11 plot window open, but the current terminal
> is something else. Maybe wxt, maybe postscript, ... whatever.
Then you mean that "bind" command should work always to all screen=20
terminals. Then it seems to be even more easily coded:
for t in "all terminals"
if t is interactive
=09t->xxxx()
of even the hardcoded way (like managing menus, pauses etc.) (but many won'=
t=20
like it):
#if X11
x11_change_hotkey('q', 0);
#if PM
pm_change_hotkey('q', 0);
#if _Windows
#if wxt
---
PM |