|
From: Daniel J S. <dan...@ie...> - 2007-05-31 07:55:53
|
The ctrl-c copy was easy enough. Just replace "c" with "ctrl-c"...
Anyway, I see when typing 'h' for a plot to get the key bindings there are these
two at the very top (i.e., follow the button description):
Space raise gnuplot console window
q * close this X11 plot window
[snip]
* indicates this key is active from all plot windows
I'm assuming that by the use of term->(function) the mouse/keyboard interface is
meant to be very general and not restricted to X11. Is that right, i.e., maybe
it can be used on a different window environment and all the bindings behave the
same.
So, I'm wondering
1) Why use the word X11 in the documentation? (Would the user care?)
2) Why the footnote that this key is active for all plot windows? (Aren't all
keys active for all the plot windows? Or does this mean for all window-based
terminals?)
3) Why not simply put the 'q' in the regular list of bindings? It may be that
higher level code doesn't send a GE_keypress code to the mouse do_event() but
instead a GE_reset. However, if one simply binds the 'q' to a function that all
it does is return 'close plot window' for the documentation, it still makes
sense so long as the higher level code. If the user applies the -ctrlq option
the 'q' binding no longer makes sense, but that is still the case the way it
currently is in the documentation. Also, gnuplot shouldn't allow the user to
bind 'q' and 'space'. If I type
bind "q" 'print "great"'
the list of bindings shows
q * close this X11 plot window
[snip]
q `print "great"'
I guess all I'm saying is there doesn't seem to be a need for special
documenting for these so long as we expect in all GUI terminals that 'q' means
'close window' and 'space' means 'raise window'.
4) How does one change bindings for the current builtin-xxxxxx?
|