ab61bb6705f7b2c274e8fdaab93f1b2d1fe9f602
[xboard.git] / manual / html_node / Keys.html
1 <html lang="en">
2 <head>
3 <title>Keys - XBoard</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="XBoard">
6 <meta name="generator" content="makeinfo 4.12">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="up" href="Menus.html#Menus" title="Menus">
9 <link rel="prev" href="Help-Menu.html#Help-Menu" title="Help Menu">
10 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
11 <meta http-equiv="Content-Style-Type" content="text/css">
12 <style type="text/css"><!--
13   pre.display { font-family:inherit }
14   pre.format  { font-family:inherit }
15   pre.smalldisplay { font-family:inherit; font-size:smaller }
16   pre.smallformat  { font-family:inherit; font-size:smaller }
17   pre.smallexample { font-size:smaller }
18   pre.smalllisp    { font-size:smaller }
19   span.sc    { font-variant:small-caps }
20   span.roman { font-family:serif; font-weight:normal; } 
21   span.sansserif { font-family:sans-serif; font-weight:normal; } 
22 --></style>
23 </head>
24 <body>
25 <div class="node">
26 <p>
27 <a name="Keys"></a>
28 Previous:&nbsp;<a rel="previous" accesskey="p" href="Help-Menu.html#Help-Menu">Help Menu</a>,
29 Up:&nbsp;<a rel="up" accesskey="u" href="Menus.html#Menus">Menus</a>
30 <hr>
31 </div>
32
33 <h3 class="section">2.7 Other Shortcut Keys</h3>
34
35 <p><a name="index-Keys-109"></a><a name="index-Shortcut-keys-110"></a>
36      <dl>
37 <dt>Iconize<dd>Pressing the <kbd>i</kbd> or <kbd>c</kbd> key iconizes XBoard. The graphical\r
38 icon displays a white knight if it is White's move, or a black knight\r
39 if it is Black's move. If your X window manager displays only text\r
40 icons, not graphical ones, check its documentation; there is probably\r
41 a way to enable graphical icons.  If you get black and white reversed,\r
42 we would like to hear about it; see <a href="Problems.html#Problems">Problems</a> below for\r
43 instructions on how to report this problem.\r
44 </dl>
45    \r
46 You can add or remove shortcut keys using the X resources\r
47 <code>form.translations</code>. Here is an example of what would go in your\r
48 <samp><span class="file">.Xresources</span></samp> file:\r
49 \r
50 <pre class="example">     XBoard*form.translations: \\r
51        Shift&lt;Key&gt;?: AboutGameProc() \n\\r
52        &lt;Key&gt;y: AcceptProc() \n\\r
53        &lt;Key&gt;n: DeclineProc() \n\\r
54        &lt;Key&gt;i: NothingProc()\r
55 </pre>
56    <p class="noindent">Binding a key to <code>NothingProc</code> makes it do nothing, thus removing\r
57 it as a shortcut key. The XBoard commands that can be bound to keys\r
58 are:\r
59 \r
60 <pre class="example">     AbortProc, AboutGameProc, AboutProc, AcceptProc, AdjournProc,\r
61      AlwaysQueenProc, AnalysisModeProc, AnalyzeFileProc,\r
62      AnimateDraggingProc, AnimateMovingProc, AutobsProc, AutoflagProc,\r
63      AutoflipProc, AutoraiseProc, AutosaveProc, BackwardProc,\r
64      BlindfoldProc, BookProc, CallFlagProc, CopyGameProc, CopyPositionProc,\r
65      DebugProc, DeclineProc, DrawProc, EditCommentProc, EditGameProc,\r
66      EditPositionProc, EditTagsProc, EnterKeyProc, FlashMovesProc,\r
67      FlipViewProc, ForwardProc, GetMoveListProc, HighlightLastMoveProc,\r
68      HintProc, Iconify, IcsAlarmProc, IcsClientProc, IcsInputBoxProc,\r
69      InfoProc, LoadGameProc, LoadNextGameProc, LoadNextPositionProc,\r
70      LoadPositionProc, LoadPrevGameProc, LoadPrevPositionProc,\r
71      LoadSelectedProc, MachineBlackProc, MachineWhiteProc, MailMoveProc,\r
72      ManProc, MoveNowProc, MoveSoundProc, NothingProc, OldSaveStyleProc,\r
73      PasteGameProc, PastePositionProc, PauseProc, PeriodicUpdatesProc,\r
74      PonderNextMoveProc, PopupExitMessageProc, PopupMoveErrorsProc,\r
75      PremoveProc, QuietPlayProc, QuitProc, ReloadCmailMsgProc,\r
76      ReloadGameProc, ReloadPositionProc, RematchProc, ResetProc,\r
77      ResignProc, RetractMoveProc, RevertProc, SaveGameProc,\r
78      SavePositionProc, ShowCoordsProc, ShowGameListProc, ShowThinkingProc,\r
79      StopExaminingProc, StopObservingProc, TestLegalityProc, ToEndProc,\r
80      ToStartProc, TrainingProc, TruncateGameProc, and TwoMachinesProc.\r
81 </pre>
82    <p>\r
83
84    </body></html>
85