Previous: Help Menu, Up: Menus


2.7 Other Shortcut Keys

Iconize
Pressing the i or c key iconizes XBoard. The graphical icon displays a white knight if it is White's move, or a black knight if it is Black's move. If your X window manager displays only text icons, not graphical ones, check its documentation; there is probably a way to enable graphical icons. If you get black and white reversed, we would like to hear about it; see Problems below for instructions on how to report this problem.

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.