You can add or remove shortcut keys using the X resources
form.translations
. Here is an example of what would go in your
.Xresources file:
XBoard*form.translations: \ Shift<Key>?: AboutGameProc() \n\ <Key>y: AcceptProc() \n\ <Key>n: DeclineProc() \n\ <Key>i: NothingProc()
Binding a key to NothingProc
makes it do nothing, thus removing
it as a shortcut key. The XBoard commands that can be bound to keys
are:
AbortProc, AboutGameProc, AboutProc, AcceptProc, AdjournProc, AlwaysQueenProc, AnalysisModeProc, AnalyzeFileProc, AnimateDraggingProc, AnimateMovingProc, AutobsProc, AutoflagProc, AutoflipProc, AutoraiseProc, AutosaveProc, BackwardProc, BlindfoldProc, BookProc, CallFlagProc, CopyGameProc, CopyPositionProc, DebugProc, DeclineProc, DrawProc, EditCommentProc, EditGameProc, EditPositionProc, EditTagsProc, EnterKeyProc, FlashMovesProc, FlipViewProc, ForwardProc, GetMoveListProc, HighlightLastMoveProc, HintProc, Iconify, IcsAlarmProc, IcsClientProc, IcsInputBoxProc, InfoProc, LoadGameProc, LoadNextGameProc, LoadNextPositionProc, LoadPositionProc, LoadPrevGameProc, LoadPrevPositionProc, LoadSelectedProc, MachineBlackProc, MachineWhiteProc, MailMoveProc, ManProc, MoveNowProc, MoveSoundProc, NothingProc, OldSaveStyleProc, PasteGameProc, PastePositionProc, PauseProc, PeriodicUpdatesProc, PonderNextMoveProc, PopupExitMessageProc, PopupMoveErrorsProc, PremoveProc, QuietPlayProc, QuitProc, ReloadCmailMsgProc, ReloadGameProc, ReloadPositionProc, RematchProc, ResetProc, ResignProc, RetractMoveProc, RevertProc, SaveGameProc, SavePositionProc, ShowCoordsProc, ShowGameListProc, ShowThinkingProc, StopExaminingProc, StopObservingProc, TestLegalityProc, ToEndProc, ToStartProc, TrainingProc, TruncateGameProc, and TwoMachinesProc.