From: Petr M. <mi...@ph...> - 2007-06-01 14:17:45
|
> >>> 'q' and ' ' should work as they are. It is sufficient and a very clean > >>> way > >>> to switch them on/off by a term->xxxx() command I proposed earlier. > >> > >>> Then you mean that "bind" command should work always to all screen > >>> terminals. Then it seems to be even more easily coded: > >> > >> There is a problem with moving ' ' or 'q' into the general "bind" > >> mechanism, and the same problem applies to extending "bind all" > >> to handle multiple active terminal types. > > > > I proposed this bind mechanism for the 2 hotkeys: > > - on -- the current built-in: gnuplot_x11 or gnupmdrv.exe etc. execute the > > 'q' and ' ' > > - off -- planned: these hotkeys will be passed from gnuplot_x11 etc into > > gnuplot as all the other keys > > > > I doubt it's the right fix: > > 1) It already exists in the form of the ctrl-q option in x11 and wxt > 2) This is doomed to be completely opaque to the user, as is the current > ctrl-q solution in my opinion My proposal is different from ctrl-q. It describes the inner way of gnuplot code, not a user interface/option. This must be hidden from the user; user does not care about the implementation of built-in bindings. > 3) It doesn't really fix the problem (again, this problem is that we > cannot listen to events coming from different terminals at the same time > in the current design), but only workaround it with a new option... I comment only on how to enable / disable ' ' and 'q' for binding, not what happens after a 'set term'. --- PM |