> The only annoying thing for me is that 'plot()' is not interruptible, so
> neither Ctrl-C nor the window manager can stop a plot once it has started -
> but I submitted a bug to fix this a long time ago. If I use the keyboard to
> close the window while a plot is being drawn, then it has to
>From my rusty memory of X11 hacking, this should be elementary at
the X11 end of things -- something along the lines of adding key
event handling and responding to the Ctrl-W event.
There may be no need for this for X11, though, as the normal X11
way is to have the window manager manage such
I use keyboard shortcuts to interact with my window manager. One of those
shortcuts closes the currently focused window. This is on Linux.
The only annoying thing for me is that 'plot()' is not interruptible, so
neither Ctrl-C nor the window manager can stop a plot once it has started - but
I
Does anyone have any idea how hard it would be/where to start if one
wanted to hack/patch R to allow X11 graphics windows that had keyboard
focus to be closed with standard keyboard shortcuts (e.g. Ctrl-W to
close on Linux)? Has this been suggested/tried before?
cheers
Ben