X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=manual%2Fhtml_node%2FKeys.html;h=1c31e9d6de429a9c2677b52e8349c9c1dc86d20c;hb=a36b2aca1054f083cd50958eff7e347e8aa6bfc5;hp=ab61bb6705f7b2c274e8fdaab93f1b2d1fe9f602;hpb=6ef5a4594dc90cfd66cc24f806241eaaaa2eebe6;p=xboard.git diff --git a/manual/html_node/Keys.html b/manual/html_node/Keys.html index ab61bb6..1c31e9d 100644 --- a/manual/html_node/Keys.html +++ b/manual/html_node/Keys.html @@ -3,7 +3,7 @@ Keys - XBoard - + @@ -23,63 +23,51 @@
-

+

Previous: Help Menu, Up: Menus


-

2.7 Other Shortcut Keys

+

3.9 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. +
Show Last Move
By hitting Enter the last move will be re-animated. +
Load Next Game
Loads the next game from the last game record file you loaded. +The Alt+PgDn key triggers this action. +
Load Previous Game
Loads the previous game from the last game record file you +loaded. The Alt+PgUp key triggers this action. +Not available if the last game was loaded from a pipe. +
Reload Same Game
Reloads the last game you loaded. +Not available if the last game was loaded from a pipe. +Currently no keystroke is assigned to this ReloadGameProc. +
Reload Same Position
Reloads the last position you loaded. +Not available if the last position was loaded from a pipe. +Currently no keystroke is assigned to this ReloadPositionProc.
- -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.
+
+   

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.
+