In the Xaw build of XBoard you can add or remove shortcut keys
using the X resources paneA.translations
.
Here is an example of what could go into your
.Xdefaults file:
XBoard*paneA.translations: \ Shift<Key>?: MenuItem(Help.About) \n\ Ctrl<Key>y: MenuItem(Action.Accept) \n\ Ctrl<Key>n: MenuItem(Action.Decline) \n\ Ctrl<Key>i: MenuItem(Nothing)
So the key should always be bound to the action 'MenuItem',
with the (hierarchical) name of the menu item as argument.
There are a few actions available for which no menu item exists:
Binding a key to Nothing
makes it do nothing, thus removing
it as a shortcut key. Other such functions that can be bound to keys
are:
AboutGame, DebugProc (switches the -debug option on or off), LoadNextGame, LoadPrevGame, ReloadGame, ReloadPosition.