[SCM] UNNAMED PROJECT branch, master, updated. debian/4.4.0.alpha6-1

Clint Adams schizo at debian.org
Tue Jun 23 00:28:59 UTC 2009


The following commit has been merged in the master branch:
commit 47d3586df10764bd4373271bfa7adee170547a71
Author: Clint Adams <schizo at debian.org>
Date:   Mon Jun 22 20:21:49 2009 -0400

    unix line endings in the .texi are necessary for a sane .info output

diff --git a/xboard.texi b/xboard.texi
index e26ff5c..07c569f 100644
--- a/xboard.texi
+++ b/xboard.texi
@@ -1,3042 +1,3042 @@
-\input texinfo	@c -*-texinfo-*-
- at c %**start of header
- at setfilename xboard.info
- at settitle XBoard
- at c %**end of header
-
- at include version.texi
-
- at ifinfo
- at format
-INFO-DIR-SECTION Games
-START-INFO-DIR-ENTRY
-* xboard: (xboard).         An X Window System graphical chessboard.
-END-INFO-DIR-ENTRY
- at end format
- at end ifinfo
-
- at titlepage
- at title XBoard
-
- at page
- at vskip 0pt plus 1filll
- at include copyright.texi
-
- at end titlepage
- at ifset man
-.TH xboard 6 "$Date: " "GNU"
-.SH NAME
-.PP
-xboard @- X graphical user interface for chess
-.SH SYNOPSIS
-.PP
-.B xboard [options]
-.br
-.B xboard -ics -icshost hostname [options]
-.br
-.B xboard -ncp [options]
-.br
-.B |pxboard
-.br
-.B cmail [options]
- at end ifset
-
- at node Top
- at top Introduction
- at cindex introduction
-
- at ifset man
-.SH DESCRIPTION
- at end ifset
-
-XBoard is a graphical chessboard that can serve as a
-user interface to chess engines (such as GNU Chess), the
-Internet Chess Servers,
-electronic mail correspondence chess, or your own collection of saved games.
-
-This manual documents version @value{VERSION} of XBoard.
-
- at menu
-* Major modes::     The main things XBoard can do.
-* Menus::           Menus, buttons, and keys.
-* Options::         Command options supported by XBoard.
-* Chess Servers::   Using XBoard with an Internet Chess Server (ICS).
-* Firewalls::       Connecting to a chess server through a firewall.
-* Environment::     Environment variables.
-* Limitations::     Known limitations and/or bugs.
-* Problems::        How and where to report any problems you run into.
-* Contributors::    People who have helped developing XBoard.
-* CMail::           Using XBoard for electronic correspondence chess.
-* Other programs::  Other programs you can use with XBoard.
- at ifnottex
-* Copyright::       Copyright notice for this manual.
- at end ifnottex
-* Copying::         The GNU General Public License.
-
-* Index::           Index of concepts and symbol names.
- at end menu
-
- at node Major modes
- at chapter Major modes
- at cindex Major modes
-
-XBoard always runs in one of four major modes.  You select the
-major mode from the command line when you start up XBoard.
-
- at table @asis
- at item xboard [options]
-As an interface to GNU Chess or another chess engine running on your
-machine, XBoard lets you play a game against the machine,
-set up arbitrary positions, force variations, watch a game between two
-chess engines, interactively analyze your stored games or set up and
-analyze arbitrary positions.  (Note: Not all chess engines support
-analysis.)
- at item xboard -ics -icshost hostname [options]
-As Internet Chess Server (ICS) interface, XBoard
-lets you play against other ICS users, observe games
-they are playing, or review games that have recently finished.  Most
-of the ICS "wild" chess variants are supported, including bughouse.
- at item xboard -ncp [options]
-XBoard can also be used simply
-as an electronic chessboard to play through games. It will read and
-write game files and allow you to play through variations
-manually. You can use it to browse games off the net or review games
-you have saved.  These features are also available in the other modes.
- at item |pxboard
-If you want to pipe games into XBoard, use the supplied shell
-script @file{pxboard}.  For example, from the news reader @file{xrn},
-find a message with one or more games in it, click the Save button,
-and type @samp{|pxboard} as the file name.
- at item cmail [options]
-As an interface to electronic mail correspondence chess, XBoard
-works with the cmail program. See @ref{CMail} below for
-instructions.
- at end table
-
- at node Menus
- at chapter Menus, buttons, and keys
- at cindex Menus
-
-To move a piece, you can drag it with the left mouse button, or you
-can click the left mouse button once on the piece, then once more on
-the destination square.  To drop a new piece on a square (when
-applicable), press the middle or the right mouse button over the
-square and select from the popup menu.  In cases where you can drop
-either a white or black piece, use the middle button (or shift+right)
-for white and the right button (or shift+middle) for black.  When you
-are playing a bughouse game on an Internet Chess Server, a list of the
-offboard pieces that each player has available is shown in the window
-title after the player's name; in addition, the piece menus show the
-number of pieces available of each type. From version 4.3.14 on, it is
-also possible in crazyhouse, bughouse or shogi to dag and drop pieces
-to the board from the holdings squares displayed next to the board.
-
-All other XBoard commands are available from the menu bar. The most
-frequently used commands also have shortcut keys or on-screen buttons.
-
-When XBoard is iconized, its graphical icon is a white knight if
-it is White's turn to move, a black knight if it is Black's turn.  See
-Iconize in @ref{Keys} below if you have problems getting this
-feature to work.
-
- at menu
-* File Menu::       Accessing external games and positions.
-* Mode Menu::       Selecting XBoard's mode.
-* Action Menu::     Talking to the chess engine or ICS opponents.
-* Step Menu::       Controlling the game.
-* Options Menu::    User preferences.
-* Help Menu::       Getting help.
-* Keys::            Other shortcut keys.
- at end menu
-
- at node File Menu
- at section File Menu
- at cindex File Menu
- at cindex Menu, File
- at table @asis
- at item New Game
- at cindex New Game, Menu Item
-Resets XBoard and the chess engine to the beginning of a new chess
-game. The @kbd{r} key is a keyboard equivalent. In Internet Chess
-Server mode, clears the current state of XBoard, then
-resynchronizes with the ICS by sending a refresh command. If you want to
-stop playing, observing, or examining an ICS game, use an
-appropriate command from the Action menu, not @samp{New Game}.
- at xref{Action Menu}.
- at item New Shuffle Game
- at cindex New Shuffle Game, Menu Item
-Similar to @samp{New Game}, but allows you to specify a particular initial position 
-(according to a standardized numbering system)
-in chess variants which use randomized opening positions (e.g. Chess960).
-The selected opening position will persistently be chosen on any following
-New Game command until you use this menu to select another. Selecting
-position number -1 will produce a newly randomized position on any new game.
-Using this menu item in variants that normally do not shuffle their opening position
-does cause these variants to become shuffle variants until you use the
- at samp{New Shuffle Game} menu to explicitly switch the randomization off,
-or select a new variant.
- at item New Variant
- at cindex New variant, Menu Item
-Allows you to select a new chess variant in non-ICS mode. 
-(In ICS play, the ICS is responsible for deciding which variant will be played,
-and XBoard adapts autmatically.) If you play with an engine, the engine must
-be able to play the selected variant, or the command will be ignored.
-XBoard supports all major variants, such as xiangqi, shogi, chess, chess960,
-Capablanca Chess, shatranj, crazyhous, bughouse.
- at item Load Game
- at cindex Load Game, Menu Item
-Plays a game from a record file. The @kbd{g} key is a keyboard equivalent.
-A popup dialog prompts you for the file name. If the file contains more
-than one game, a second popup dialog
-displays a list of games (with information drawn from their PGN tags, if
-any), and you can select the one you want. Alternatively, you can load the
-Nth game in the file directly, by typing the number @kbd{N} after the
-file name, separated by a space.
-
-The game file parser will accept PGN (portable game notation),
-or in fact almost any file that contains moves in algebraic
-notation. 
-Notation of the form @samp{P@@f7}
-is accepted for piece-drops in bughouse games;
-this is a nonstandard extension to PGN.
-If the file includes a PGN position (FEN tag), or an old-style
-XBoard position diagram bracketed by @samp{[--} and @samp{--]}
-before the first move, the game starts from that position. Text
-enclosed in parentheses, square brackets, or curly braces is assumed to
-be commentary and is displayed in a pop-up window. Any other
-text in the file is ignored. PGN variations (enclosed in
-parentheses) are treated as comments; XBoard is not able to walk
-variation trees.
-The nonstandard PGN tag [Variant "varname"] functions similarly to
-the -variant command-line option (see below), allowing games in certain chess
-variants to be loaded.  There is also a heuristic to 
-recognize chess variants from the Event tag, by looking for the strings
-that the Internet Chess Servers put there when saving variant ("wild") games.
- at item Load Next Game
- at cindex Load Next Game, Menu Item
-Loads the next game from the last game record file you loaded.
-The shifted @kbd{N} key is a keyboard equivalent.
- at item Load Previous Game
- at cindex Load Previous Game, Menu Item
-Loads the previous game from the last game record file you
-loaded.  The shifted @kbd{P} key is a keyboard equivalent.
-Not available if the last game was loaded from a pipe.
- at item Reload Same Game
- at cindex Reload Same Game, Menu Item
-Reloads the last game you loaded.
-Not available if the last game was loaded from a pipe.
- at item Save Game
- at cindex Save Game, Menu Item
-Appends a record of the current game to a file.
-A popup dialog
-prompts you for the file name. If the game did not begin with
-the standard starting position, the game file includes the
-starting position used. Games are saved in the PGN (portable
-game notation) format, unless the oldSaveStyle option is true,
-in which case they are saved in an older format that is specific
-to XBoard. Both formats are human-readable, and both can be
-read back by the @samp{Load Game} command.
-Notation of the form @samp{P@@f7}
-is accepted for piece-drops in bughouse games;
-this is a nonstandard extension to PGN.
- at item Copy Game
- at cindex Copy Game, Menu Item
-Copies a record of the current game to an internal clipboard in PGN
-format and sets the X selection to the game text.  The game can be
-pasted to another application (such as a text editor or another copy
-of XBoard) using that application's paste command.  In many X
-applications, such as xterm and emacs, the middle mouse button can be
-used for pasting; in XBoard, you must use the Paste Game command.
- at item Paste Game
- at cindex Paste Game, Menu Item
-Interprets the current X selection as a game record and loads it, as
-with Load Game.
- at item Load Position
- at cindex Load Position, Menu Item
-Sets up a position from a position file.  A popup dialog prompts
-you for the file name. If the file contains more than one saved
-position, and you want to load the Nth one, type the number N
-after the file name, separated by a space. Position files must
-be in FEN (Forsythe-Edwards notation), or in the format that the
-Save Position command writes when oldSaveStyle is turned on.
- at item Load Next Position
- at cindex Load Next Position, Menu Item
-Loads the next position from the last position file you loaded.
- at item Load Previous Position
- at cindex Load Previous Position, Menu Item
-Loads the previous position from the last position file you
-loaded.  Not available if the last position was loaded from a pipe.
- at item Reload Same Position
- at cindex Reload Same Position, Menu Item
-Reloads the last position you loaded.
-Not available if the last position was loaded from a pipe.
- at item Save Position
- at cindex Save Game, Menu Item
-Appends a diagram of the current position to a file.
-A popup dialog
-prompts you for the file name. Positions are saved in
-FEN (Forsythe-Edwards notation) format unless the @code{oldSaveStyle}
-option is true, in which case they are saved in an older,
-human-readable format that is specific to XBoard. Both formats
-can be read back by the @samp{Load Position} command.
- at item Copy Position
- at cindex Copy Position, Menu Item
-Copies the current position to an internal clipboard in FEN format and
-sets the X selection to the position text.  The position can be pasted
-to another application (such as a text editor or another copy of
-XBoard) using that application's paste command.  In many X
-applications, such as xterm and emacs, the middle mouse button can be
-used for pasting; in XBoard, you must use the Paste Position command.
- at item Paste Position
- at cindex Paste Position, Menu Item
-Interprets the current X selection as a FEN position and loads it, as
-with Load Position.
- at item Mail Move
- at itemx Reload CMail Message
- at cindex Mail Move, Menu Item
- at cindex Reload CMail Message, Menu Item
-See @ref{CMail}.
- at item Exit
- at cindex Exit, Menu Item
-Exits from XBoard. The shifted @kbd{Q} key is a keyboard equivalent.
- at end table
-
- at node Mode Menu
- at section Mode Menu
- at cindex Menu, Mode
- at cindex Mode Menu
- at table @asis
- at item Machine White
- at cindex Machine White, Menu Item
-Tells the chess engine to play White.
- at item Machine Black
- at cindex Machine Black, Menu Item
-Tells the chess engine to play Black.
- at item Two Machines
- at cindex Two Machines, Menu Item
-Plays a game between two chess engines.
- at item Analysis Mode
- at cindex Analysis Mode, Menu Item
-XBoard tells the chess engine to start analyzing the current game/position
-and shows you the analysis as you move pieces around.
-Note: Some chess engines do not support Analysis mode.
-
-To set up a position to analyze, you do the following:
-
-1. Select Edit Position from the Mode Menu
-
-2. Set up the position.  Use the middle and right buttons to
-bring up the white and black piece menus.
-
-3. When you are finished, click on either the Black or White
-clock to tell XBoard which side moves first.
-
-4. Select Analysis Mode from the Mode Menu to start the analysis.
-
-The analysis function can also be used when observing games on an ICS
-with an engine loaded (zippy mode); the engine then will analyse
-the positions as they occur in the observed game.
- at item Analyze File
- at cindex Analyze File, Menu Item
-This option lets you load a game from a file (PGN, XBoard format, etc.)
-and analyze it. When you select this menu item, a popup window appears
-and asks for a filename to load.
-If the file contains multiple games, another popup appears that lets
-you select which game you wish to analyze.
-After a game is loaded, use the XBoard arrow buttons to step
-forwards/backwards through the game and watch the analysis.
-Note: Some chess engines do not support Analysis mode.
- at item ICS Client
- at cindex ICS Client, Menu Item
-This is the normal mode when XBoard
-is connected to a chess server.  If you have moved into
-Edit Game or Edit Position mode, you can select this option to get out.
-
-To use xboard in ICS mode, run it in the foreground with the -ics
-option, and use the terminal you started it from to type commands and
-receive text responses from the chess server.  See
- at ref{Chess Servers} below for more information.
-
-XBoard activates some special position/game editing features when you
-use the @kbd{examine} or @kbd{bsetup} commands on ICS and you have
- at samp{ICS Client} selected on the Mode menu.  First, you can issue the
-ICS position-editing commands with the mouse.  Move pieces by dragging
-with mouse button 1.  To drop a new piece on a square, press mouse
-button 2 or 3 over the square.  This brings up a menu of white pieces
-(button 2) or black pieces (button 3).  Additional menu choices let
-you empty the square or clear the board.  Click on the White or Black
-clock to set the side to play.  You cannot set the side to play or
-drag pieces to arbitrary squares while examining on ICC, but you can
-do so in @kbd{bsetup} mode on FICS.  In addition, the menu commands
- at samp{Forward}, @samp{Backward}, @samp{Pause}, and @samp{Stop Examining}
-have special functions in this mode; see below.
- at item Edit Game
- at cindex Edit Game, Menu Item
-Allows you to make moves for both Black and White, and to change
-moves after backing up with the @samp{Backward} command. The clocks do
-not run.
-
-In chess engine mode, the chess engine continues to check moves for legality
-but does not participate in the game. You can bring the chess engine
-into the game by selecting @samp{Machine White}, @samp{Machine Black},
-or @samp{Two Machines}.
-
-In ICS mode, the moves are not sent to the ICS: @samp{Edit Game} takes
-XBoard out of ICS Client mode and lets you edit games locally.
-If you want to edit games on ICS in a way that other ICS users
-can see, use the ICS @kbd{examine} command or start an ICS match
-against yourself.
- at item Edit Position
- at cindex Edit Position, Menu Item
-Lets you set up an arbitrary board position.
-Use mouse button 1 to drag pieces to new squares, or to delete a piece
-by dragging it off the board or dragging an empty square on top of it.
-To drop a new piece on a square, press mouse button 2 or 3 over the
-square. This brings up a menu of white pieces (button 2) or
-black pieces (button 3). Additional menu choices let you empty the
-square or clear the board. You can set the side to play next by
-clicking on the word White or Black at the top of the screen.
-Selecting @samp{Edit Position} causes XBoard to discard
-all remembered moves in the current game.
-
-In ICS mode, changes made to the position by @samp{Edit Position} are
-not sent to the ICS: @samp{Edit Position} takes XBoard out of
- at samp{ICS Client} mode and lets you edit positions locally. If you want to
-edit positions on ICS in a way that other ICS users can see, use
-the ICS @kbd{examine} command, or start an ICS match against yourself.
-(See also the ICS Client topic above.)
- at item Training
- at cindex Training, Menu Item
-Training mode lets you interactively guess the moves of a game for one
-of the players. You guess the next move of the game by playing the
-move on the board. If the move played matches the next move of the
-game, the move is accepted and the opponent's response is autoplayed.
-If the move played is incorrect, an error message is displayed.  You
-can select this mode only while loading a game (that is, after
-selecting @samp{Load Game} from the File menu).  While XBoard is in 
- at samp{Training} mode, the navigation buttons are disabled.
- at item Show Game List
- at cindex Show Game List, Menu Item
-Shows or hides the list of games generated by the last @samp{Load Game}
-command.
- at item Show Move History
- at cindex Show Move History, Menu Item
-Shows or hides a list of moves of the current game.
-This list allows you to move the display to any earlier position in the game
-by clicking on the corresponding move.
- at item Show Engine Output
- at cindex Show Engine Output, Menu Item
-Shows or hides a window in which the thinking output of any loaded engines
-is displayed.
- at item Edit Tags
- at cindex Edit Tags, Menu Item
-Lets you edit the PGN (portable game notation)
-tags for the current game. After editing, the tags must still conform to
-the PGN tag syntax:
-
- at example
-<tag-section> ::= <tag-pair> <tag-section>
-                        <empty>
-<tag-pair> ::= [ <tag-name> <tag-value> ]
-<tag-name> ::= <identifier>
-<tag-value> ::= <string>
- at end example
- at noindent
-See the PGN Standard for full details. Here is an example:
-
- at example
-[Event "Portoroz Interzonal"]
-[Site "Portoroz, Yugoslavia"]
-[Date "1958.08.16"]
-[Round "8"]
-[White "Robert J. Fischer"]
-[Black "Bent Larsen"]
-[Result "1-0"]
- at end example
- at noindent
-Any characters that do not match this syntax are silently ignored. Note that
-the PGN standard requires all games to have at least the seven tags shown
-above. Any that you omit will be filled in by XBoard
-with @samp{?} (unknown value), or @samp{-} (inapplicable value).
- at item Edit Comment
- at cindex Edit Comment, Menu Item
-Adds or modifies a comment on the current position. Comments are
-saved by @samp{Save Game} and are displayed by @samp{Load Game},
- at samp{Forward}, and @samp{Backward}.
- at item ICS Input Box
- at cindex ICS Input Box, Menu Item
-If this option is set in ICS mode,
-XBoard
-creates an extra window that you can use for typing in ICS commands.
-The input box is especially useful if you want to type in something long or do
-some editing on your input, because output from ICS doesn't get mixed
-in with your typing as it would in the main terminal window.
- at item Pause
- at cindex Pause, Menu Item
-Pauses updates to the board, and if you are playing against a chess engine,
-also pauses your clock. To continue, select @samp{Pause} again, and the
-display will automatically update to the latest position.
-The @samp{P} button and keyboard @kbd{p} key are equivalents.
-
-If you select Pause when you are playing against a chess engine and
-it is not your move, the chess engine's clock
-will continue to run and it will eventually make a move, at which point
-both clocks will stop. Since board updates are paused, however,
-you will not see the move until you exit from Pause mode (or select Forward).
-This behavior is meant to simulate adjournment with a sealed move.
-
-If you select Pause while you are observing or examining a game on a
-chess server, you can step backward and forward in the current history
-of the examined game without affecting the other observers and
-examiners, and without having your display jump forward to the latest
-position each time a move is made. Select Pause again to reconnect
-yourself to the current state of the game on ICS.
-
-If you select @samp{Pause} while you are loading a game, the game stops
-loading. You can load more moves manually by selecting @samp{Forward}, or
-resume automatic loading by selecting @samp{Pause} again.
- at end table
-
- at node Action Menu
- at section Action Menu
- at cindex Menu, Action
- at cindex Action, Menu
- at table @asis
- at item Accept
- at cindex Accept, Menu Item
-Accepts a pending match offer. If there is more than one offer
-pending, you will have to type in a more specific command
-instead of using this menu choice.
- at item Decline
- at cindex Decline, Menu Item
-Declines a pending offer (match, draw, adjourn, etc.). If there
-is more than one offer pending, you will have to type in a more
-specific command instead of using this menu choice.
- at item Call Flag
- at cindex Call Flag, Menu Item
-Calls your opponent's flag, claiming a win on time, or claiming
-a draw if you are both out of time. You can also call your
-opponent's flag by clicking on his clock or by pressing the
-keyboard @kbd{t} key.
- at item Draw
- at cindex Draw, Menu Item
-Offers a draw to your opponent, accepts a pending draw offer
-from your opponent, or claims a draw by repetition or the 50-move
-rule, as appropriate. The @kbd{d} key is a keyboard equivalent.
- at item Adjourn
- at cindex Adjourn, Menu Item
-Asks your opponent to agree to adjourning the current game, or
-agrees to a pending adjournment offer from your opponent.
- at item Abort
- at cindex Abort, Menu Item
-Asks your opponent to agree to aborting the current game, or
-agrees to a pending abort offer from your opponent. An aborted
-game ends immediately without affecting either player's rating.
- at item Resign
- at cindex Resign, Menu Item
-Resigns the game to your opponent. The shifted @kbd{R} key is a
-keyboard equivalent.
- at item Stop Observing
- at cindex Stop Observing, Menu Item
-Ends your participation in observing a game, by issuing the ICS
-observe command with no arguments. ICS mode only.
- at item Stop Examining
- at cindex Stop Examining, Menu Item
-Ends your participation in examining a game, by issuing the ICS
-unexamine command. ICS mode only.
- at end table
-
- at node Step Menu
- at section Step Menu
- at cindex Step Menu
- at cindex Menu, Step
- at table @asis
- at item Backward
- at cindex Backward, Menu Item
- at cindex <, Button
-Steps backward through a series of remembered moves.
-The @samp{[<]} button and the @kbd{b} key are equivalents,
-as is turning the mouse wheel towards you.
-In addition, pressing the Control key steps back one move, and releasing
-it steps forward again.
-
-In most modes, @samp{Backward} only lets you look back at old positions;
-it does not retract moves. This is the case if you are playing against
-a chess engine, playing or observing a game on an ICS, or loading a game.
-If you select @samp{Backward} in any of these situations, you will not
-be allowed to make a different move. Use @samp{Retract Move} or
- at samp{Edit Game} if you want to change past moves.
-
-If you are examining an ICS game, the behavior of @samp{Backward}
-depends on whether XBoard is in Pause mode. If Pause mode is
-off, @samp{Backward} issues the ICS backward command, which backs up
-everyone's view of the game and allows you to make a different
-move. If Pause mode is on, @samp{Backward} only backs up your local
-view.
- at item Forward
- at cindex Forward, Menu Item
- at cindex >, Button
-Steps forward through a series of remembered moves (undoing the
-effect of @samp{Backward}) or forward through a game file. The
- at samp{[>]} button and the @kbd{f} key are equivalents,
-as is turning the mouse wheel away from you.
-
-If you are examining an ICS game, the behavior of Forward
-depends on whether XBoard is in Pause mode. If Pause mode is
-off, @samp{Forward} issues the ICS forward command, which moves
-everyone's view of the game forward along the current line. If
-Pause mode is on, @samp{Forward} only moves your local view forward,
-and it will not go past the position that the game was in when
-you paused.
- at item Back to Start
- at cindex Back to Start, Menu Item
- at cindex <<, Button
-Jumps backward to the first remembered position in the game.
-The @samp{[<<]} button and the shifted @kbd{B} key are equivalents.
-
-In most modes, Back to Start only lets you look back at old
-positions; it does not retract moves. This is the case if you
-are playing against a local chess engine, playing or observing a game on
-a chess server, or loading a game. If you select @samp{Back to Start} in any
-of these situations, you will not be allowed to make different
-moves. Use @samp{Retract Move} or @samp{Edit Game} if you want to change past
-moves; or use Reset to start a new game.
-
-If you are examining an ICS game, the behavior of @samp{Back to
-Start} depends on whether XBoard is in Pause mode. If Pause mode
-is off, @samp{Back to Start} issues the ICS @samp{backward 999999}
-command, which backs up everyone's view of the game to the start and
-allows you to make different moves. If Pause mode is on, @samp{Back
-to Start} only backs up your local view.
- at item Forward to End
- at cindex Forward to End, Menu Item
- at cindex >>, Button
-Jumps forward to the last remembered position in the game. The
- at samp{[>>]} button and the shifted @kbd{F} key are equivalents.
-
-If you are examining an ICS game, the behavior of @samp{Forward to
-End} depends on whether XBoard is in Pause mode. If Pause mode
-is off, @samp{Forward to End} issues the ICS @samp{forward 999999}
-command, which moves everyone's view of the game forward to the end of
-the current line. If Pause mode is on, @samp{Forward to End} only moves
-your local view forward, and it will not go past the position
-that the game was in when you paused.
- at item Revert
- at cindex Revert, Menu Item
-If you are examining an ICS game and Pause mode is off, issues
-the ICS command @samp{revert}.
- at item Truncate Game
- at cindex Truncate Game, Menu Item
-Discards all remembered moves of the game beyond the current
-position. Puts XBoard into @samp{Edit Game} mode if it was not there
-already.
- at item Move Now
- at cindex Move Now, Menu Item
-Forces the chess engine to move immediately. Chess engine mode only.
- at item Retract Move
- at cindex Retract Move, Menu Item
-Retracts your last move. In chess engine mode, you can do this only
-after the chess engine has replied to your move; if the chess engine is still
-thinking, use @samp{Move Now} first. In ICS mode, @samp{Retract Move}
-issues the command @samp{takeback 1} or @samp{takeback 2}
-depending on whether it is your opponent's move or yours.
- at item Adjudicate to White
- at itemx Adjudicate to Black
- at itemx Adjudicate Draw
- at cindex Adjudicate to White, Menu Item
- at cindex Adjudicate to Black, Menu Item
- at cindex Adjudicate Draw, Menu Item
-Terminate an ongoing game in Two-Machines mode (including match mode),
-with as result a win for white, for black, or a draw, repsectively.
-The PGN file of the game will accompany the result string
-by the comment "user adjudication".
- at end table
-
- at node Options Menu
- at section Options Menu
- at cindex Menu, Options
- at cindex Options Menu
- at table @asis
- at item Flip View
- at cindex Flip View, Menu Item
-Inverts your view of the chess board for the duration of the
-current game. Starting a new game returns the board to normal.
-The @kbd{v} key is a keyboard equivalent.
- at item Adjudications
- at cindex Adjudications, Menu Item
-Pops up a sub-menu where you can enable or disable various adjudications
-that XBoard can perform in engine-engine games.
-You can instruct XBoard to detect and terminate the game on checkmate
-or stalemate, even if the engines would not do so, to verify engine
-result claims (forfeiting engines that make false claims), rather than
-naively following the engine, to declare draw on posititions
-which can never be won for lack of mating material, (e.g. KBK),
-or which are impossble to win unless the opponent seeks its own demise 
-(e.g. KBKN).
-For these adjudications to work, @samp{Test Legality} should be switched on.
-It is also possible to insruct XBoard to enforce a 50-move or 3-fold-repeat
-rule and automtically declare draw (after a user-adjustable number of moves
-or repeats) even if the engines are prepared to go on.
-It is also possible to have XBoard declare draw on games that seem to drag on 
-forever, or adjudicate a loss if both engines agree (for 3 cosecutive moves) that one
-of them is behind more than a user-adjustable score threshold.
-For the latter adjudication to work, XBoard should be able to properly understand
-the engine's scores. To faclitate the latter, you can inform xboard here if
-the engines report scores from the viewpoint of white, or from that of their own color.
- at item Engine Settings
-Pops up a sub-menu where you can set some engine parameters common to most engines,
-such as hash-table size, tablebase cache size, maximum number of processors
-that SMP engines can use, and where to find the Polyglot adapter needed
-to run UCI engines under XBoard. The feature tht allows setting of these parameters on
-engines is new since XBoard 4.3.15, so not many WinBoard engines respond
-to it yet, but UCI engines should.
-It is also possible to specify a GUI opening book here, i.e. an opening
-book that XBoard consults for any position a playing engine gets in.
-It then forces the engine to play the book move, rather than to think up its own,
-if that position is found in the book.
-The book can switched on and off independently for either engine.
- at item Time Control
- at cindex Time Control, Menu Item
-Pops up a sub-menu where you can set the time-control parameters interactively.
-Allows you to select classical or incremental time controls,
-set the moves per session, session duration, and time increment.
-Also allows specification of time-odds factors for one or both engines.
-If an engine is given a time-odds factor N, all time quota it gets, 
-be it at the beginning of a session or through the time increment or
-fixed time per move, will be divided by N.
- at item Always Queen
- at cindex Always Queen, Menu Item
-If this option is off, XBoard brings up a dialog
-box whenever you move a pawn to the last rank, asking what piece
-you want to promote it to. If the option is true, your pawns are
-always promoted to queens. Your opponent can still underpromote.
- at item Animate Dragging
- at cindex Animate Dragging, Menu Item
-If Animate Dragging is on, while you are dragging a piece with the
-mouse, an image of the piece follows the mouse cursor.
-If Animate Dragging is off, there is no visual feedback while you are
-dragging a piece, but if Animate Moving is on, the move will be
-animated when it is complete. 
- at item Animate Moving
- at cindex Animate Moving, Menu Item
-If Animate Moving is on, all piece moves are animated.  An image of the
-piece is shown moving from the old square to the new square when the
-move is completed (unless the move was already animated by Animate Dragging).
-If Animate Moving is off, a moved piece instantly disappears from its
-old square and reappears on its new square when the move is complete.
- at item Auto Comment
- at cindex Auto Comment, Menu Item
-If this option is on, any remarks made on ICS while you are observing or
-playing a game are recorded as a comment on the current move.  This includes
-remarks made with the ICS commands @kbd{say}, @kbd{tell}, @kbd{whisper},
-and @kbd{kibitz}.
-Limitation: remarks that you type yourself are not recognized;
-XBoard scans only the output from ICS, not the input you type to it.
- at item Auto Flag
- at cindex Auto Flag, Menu Item
-If this option is on and one player runs out of time
-before the other,
-XBoard
-will automatically call his flag, claiming a win on time.
-In ICS mode, Auto Flag will only call your opponent's flag, not yours,
-and the ICS may award you a draw instead of a win if you have
-insufficient mating material.  In local chess engine mode,
-XBoard
-may call either player's flag and will not take material into account.
- at item Auto Flip View
- at cindex Auto Flip View, Menu Item
-If the Auto Flip View option is on when you start a game, the board
-will be automatically oriented so that your pawns move from the bottom
-of the window towards the top.
- at item Auto Observe
- at cindex Auto Observe, Menu Item
-If this option is on and you add a player to your @code{gnotify}
-list on ICS, XBoard will automatically observe all of that
-player's games, unless you are doing something else (such as
-observing or playing a game of your own) when one starts.
-The games are displayed 
-from the point of view of the player on your gnotify list; that is, his
-pawns move from the bottom of the window towards the top.
-Exceptions:  If both players in a game are on your gnotify list, if
-your ICS 
- at code{highlight}
-variable is set to 0, or if the ICS you are using does not 
-properly support observing from Black's point of view,
-you will see the game from White's point of view.
- at item Auto Raise Board
- at cindex Auto Raise Board, Menu Item
-If this option is on, whenever a new game begins, the chessboard window
-is deiconized (if necessary) and raised to the top of the stack of windows.
- at item Auto Save
- at cindex Auto Save, Menu Item
-If this option is true, at the end of every game XBoard prompts
-you for a file name and appends a record of the game to the file
-you specify. 
-Disabled if the @code{saveGameFile} command-line
-option is set, as in that case all games are saved to the specified file.
- at xref{Load and Save options}.
- at item Blindfold
- at cindex Blindfold, Menu Item
-If this option is on, XBoard displays the board as usual but does
-not display pieces or move highlights.  You can still move in the
-usual way (with the mouse or by typing moves in ICS mode), even though
-the pieces are invisible.
- at item Flash Moves
- at cindex Flash Moves, Menu Item
-If this option is on, whenever a move is completed, the moved piece flashes.
-The number of times to flash is set by the flashCount command-line
-option; it defaults to 3 if Flash Moves is first turned on from the menu.
-
-If you are playing a game on an ICS, the board is always
-oriented at the start of the game so that your pawns move from
-the bottom of the window towards the top. Otherwise, the starting
-orientation is determined by the @code{flipView} command line option;
-if it is false (the default), White's pawns move from bottom to top
-at the start of each game; if it is true, Black's pawns move from
-bottom to top. @xref{User interface options}.
- at item Get Move List
- at cindex Get Move List, Menu Item
-If this option is on, whenever XBoard
-receives the first board of a new ICS game (or a different game from
-the one it is currently displaying), it
-retrieves the list of past moves from the ICS.
-You can then review the moves with the @samp{Forward} and @samp{Backward}
-commands
-or save them with @samp{Save Game}.  You might want to
-turn off this option if you are observing several blitz games at once,
-to keep from wasting time and network bandwidth fetching the move lists over
-and over.
-When you turn this option on from the menu, XBoard
-immediately fetches the move list of the current game (if any).
- at item Highlight Last Move
- at cindex Highlight Last Move, Menu Item
-If Highlight Last Move is on, after a move is made, the starting and
-ending squares remain highlighted. In addition, after you use Backward
-or Back to Start, the starting and ending squares of the last move to
-be unmade are highlighted.
- at item Move Sound
- at cindex Move Sound, Menu Item
-If this option is on, XBoard alerts you by playing a sound
-after each of your opponent's moves (or after every
-move if you are observing a game on the Internet Chess Server).
-The sound is not played after moves you make or moves read from a
-saved game file. By default, the
-sound is the terminal bell, but on some systems you can change it
-to a sound file using the soundMove option; see below.
-
-If you turn on this option when using XBoard with the Internet
-Chess Server, you will probably want to give the
- at kbd{set bell 0}
-command to the ICS, since otherwise the ICS will ring the terminal bell
-after every move (not just yours). (The @file{.icsrc} file
-is a good place for this; see @ref{ICS options}.)
- at item ICS Alarm
- at cindex ICS Alarm, Menu Item
-When this option is on, an alarm sound is played when your clock
-counts down to the icsAlarmTime (by default, 5 seconds) in an ICS
-game.  For games with time controls that include an increment, the
-alarm will sound each time the clock counts down to the icsAlarmTime.
-By default, the alarm sound is the terminal bell, but on some systems
-you can change it to a sound file using the soundIcsAlarm option; see
-below.
- at item Old Save Style
- at cindex Old Save Style, Menu Item
-If this option is off, XBoard saves games in PGN
-(portable game notation) and positions in FEN (Forsythe-Edwards
-notation).  If the option is on, a save style that is compatible
-with older versions of XBoard is used instead.
-The old position style is more human-readable
-than FEN; the old game style has no particular advantages.
- at item Periodic Updates
- at cindex Periodic Updates, Menu Item
-If this option is off (or if
-you are using a chess engine that does not support periodic updates),
-the analysis window
-will only be updated when the analysis changes. If this option is
-on, the Analysis Window will be updated every two seconds.
- at item Ponder Next Move
- at cindex Ponder Next Move, Menu Item
-If this option is off, the chess engine will think only when it is on
-move.  If the option is on, the engine will also think while waiting
-for you to make your move.
- at item Popup Exit Message
- at cindex Popup Exit Message, Menu Item
-If this option is on, when XBoard wants to display a message just
-before exiting, it brings up a modal dialog box and waits for you to
-click OK before exiting.  If the option is off, XBoard prints the
-message to standard error (the terminal) and exits immediately.
- at item Popup Move Errors
- at cindex Popup Move Errors, Menu Item
-If this option is off, when you make an error in moving (such as
-attempting an illegal move or moving the wrong color piece), the
-error message is displayed in the message area.  If the option is
-on, move errors are displayed in small popup windows like other errors.
-You can dismiss an error popup either by clicking its OK button or by
-clicking anywhere on the board, including downclicking to start a move.
- at item Premove
- at cindex Premove, Menu Item
-If this option is on while playing a game on an ICS, you can register
-your next planned move before it is your turn.  Move the piece with
-the mouse in the ordinary way, and the starting and ending squares
-will be highlighted with a special color (red by default).  When it is
-your turn, if your registered move is legal, XBoard will send it to
-ICS immediately; if not, it will be ignored and you can make a
-different move.  If you change your mind about your premove, either
-make a different move, or double-click on any piece to cancel the move
-entirely.
- at item Quiet Play
- at cindex Quiet Play, Menu Item
-If this option is on, XBoard will automatically issue an ICS
- at kbd{set shout 0}
-command whenever you start a game and a
- at kbd{set shout 1}
-command whenever you finish one.  Thus, you will not be distracted
-by shouts from other ICS users while playing.
- at item Show Coords
- at cindex Show Coords, Menu Item
-If this option is on, XBoard displays algebraic coordinates
-along the board's left and bottom edges.
- at item Hide Thinking
- at cindex Hide Thinking, Menu Item
-If this option is off, the chess engine's notion of the score and best
-line of play from the current position is displayed as it is
-thinking. The score indicates how many pawns ahead (or if negative,
-behind) the chess engine thinks it is. In matches between two
-machines, the score is prefixed by @samp{W} or @samp{B} to indicate
-whether it is showing White's thinking or Black's, and only the thinking
-of the engine that is on move is shown.
- at item Test Legality
- at cindex Test Legality, Menu Item
-If this option is on, XBoard tests whether the moves you try to make
-with the mouse are legal and refuses to let you make an illegal move.
-Moves loaded from a file with @samp{Load Game} are also checked.  If
-the option is off, all moves are accepted, but if a local chess engine
-or the ICS is active, they will still reject illegal moves.  Turning
-off this option is useful if you are playing a chess variant with
-rules that XBoard does not understand.  (Bughouse, suicide, and wild
-variants where the king may castle after starting on the d file are
-generally supported with Test Legality on.)
- at end table
-
- at node Help Menu
- at section Help Menu
- at cindex Menu, Help
- at cindex Help Menu
- at table @asis
- at item Info XBoard
- at cindex Info XBoard, Menu Item
-Displays the XBoard documentation in info format.  For this feature to
-work, you must have the GNU info program installed on your system, and
-the file @file{xboard.info} must either be present in the current
-working directory, or have been installed by the @samp{make install}
-command when you built XBoard.
- at item Man XBoard
- at cindex Man XBoard, Menu Item
-Displays the XBoard documentation in man page format.  For this
-feature to work, the file @file{xboard.6} must have been installed by
-the @samp{make install} command when you built XBoard, and the
-directory it was placed in must be on the search path for your
-system's @samp{man} command.
- at item Hint
- at cindex Hint, Menu Item
-Displays a move hint from the chess engine.
- at item Book
- at cindex Book, Menu Item
-Displays a list of possible moves from the chess engine's opening
-book.  The exact format depends on what chess engine you are using.
-With GNU Chess 4, the first column gives moves, the second column
-gives one possible response for each move, and the third column shows
-the number of lines in the book that include the move from the first
-column. If you select this option and nothing happens, the chess
-engine is out of its book or does not support this feature.
- at item About XBoard
- at cindex About XBoard, Menu Item
-Shows the current XBoard version number.
- at end table
-
- at node Keys
- at section Other Shortcut Keys
- at cindex Keys
- at cindex Shortcut keys
- at table @asis
- at item Iconize
-Pressing the @kbd{i} or @kbd{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 @ref{Problems} below for
-instructions on how to report this problem.
- at end table
-
-You can add or remove shortcut keys using the X resources
- at code{form.translations}. Here is an example of what would go in your
- at file{.Xresources} file:
-
- at example
-XBoard*form.translations: \
-  Shift<Key>?: AboutGameProc() \n\
-  <Key>y: AcceptProc() \n\
-  <Key>n: DeclineProc() \n\
-  <Key>i: NothingProc()
- at end example
- at noindent
-Binding a key to @code{NothingProc} makes it do nothing, thus removing
-it as a shortcut key. The XBoard commands that can be bound to keys
-are:
-
- at example
-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.
- at end example
-
- at node Options
- at chapter Options
- at cindex Options
- at cindex Options
-
-This section documents the command-line options to XBoard.  You can
-set these options in two ways: by typing them on the shell command
-line you use to start XBoard, or by setting them as X resources
-(typically in your @file{.Xresources} file).  Many of the options
-cannot be changed while XBoard is running; others set the initial
-state of items that can be changed with the @ref{Options} menu.
-
-Most of the options have both a long name and a short name. To turn a
-boolean option on or off from the command line, either give its long
-name followed by the value true or false
-(@samp{-longOptionName true}), or give just the short name to turn the
-option on (@samp{-opt}), or the short name preceded by @samp{x} to
-turn the option off (@samp{-xopt}). For options that take strings or
-numbers as values, you can use the long or short option names
-interchangeably.
-
-Each option corresponds to an X resource with the same name, so
-if you like, you can set options in your @file{.Xresources} file
-or in a file named @file{XBoard} in your home directory.
-For options that have two names, the longer one is the name of
-the corresponding X resource; the short name is not recognized.
-To turn a boolean option on or off as an
-X resource, give its long name followed by the value
-true or false (@samp{XBoard*longOptionName: true}).
-
- at menu
-* Chess engine options::        Controlling the chess engine.
-* UCI + WB Engine Settings::    Setting some very common engine parameters
-* ICS options::                 Connecting to and using ICS.
-* Load and Save options::       Input/output options.
-* User interface options::      Look and feel options.
-* Adjudication Options::        Control adjudcation of engine-engine games.
-* Other options::               Miscellaneous.
- at end menu
-
- at node Chess engine options
- at section Chess Engine Options
- at cindex options, Chess engine
- at cindex Chess engine options
- at table @asis
- at item -tc or -timeControl minutes[:seconds]
- at cindex tc, option
- at cindex timeControl, option
-Each player begins with his clock set to the @code{timeControl} period.
-Default: 5 minutes.
-The additional options @code{movesPerSession} and @code{timeIncrement}
-are mutually exclusive.  
- at item -mps or -movesPerSession moves
- at cindex mps, option
- at cindex movesPerSession, option
-When both players have made @code{movesPerSession} moves, a
-new @code{timeControl} period is added to both clocks.  Default: 40 moves.
- at item -inc or -timeIncrement seconds
- at cindex inc, option
- at cindex timeIncrement, option
-If this option is specified, @code{movesPerSession} is ignored.
-Instead, after each player's move, @code{timeIncrement} seconds are
-added to his clock.  
-Use @samp{-inc 0} if you want to require the entire
-game to be played in one @code{timeControl} period, with no increment.
-Default: -1, which specifies @code{movesPerSession} mode.
- at item -clock/-xclock or -clockMode true/false
- at cindex clock, option
- at cindex clockMode, option
-Determines whether or not to display the chess clocks. If clockMode is
-false, the clocks are not shown, but the side that is to play next
-is still highlighted. Also, unless @code{searchTime}
-is set, the chess engine still keeps track of the clock time and uses it to
-determine how fast to make its moves.
- at item -st or -searchTime minutes[:seconds]
- at cindex st, option
- at cindex searchTime, option
-Tells the chess engine to spend at most the given amount of time
-searching for each of its moves. Without this option, the chess engine
-chooses its search time based on the number of moves and amount
-of time remaining until the next time control.
-Setting this option also sets clockMode to false.
- at item -depth or -searchDepth number
- at cindex sd, option
- at cindex searchDepth, option
-Tells the chess engine to look ahead at most the given number of moves
-when searching for a move to make. Without this option, the chess
-engine chooses its search depth based on the number of moves and
-amount of time remaining until the next time control.  With the option,
-the engine will cut off its search early if it reaches the specified depth.
- at item -firstNPS number
- at itemx -secondNPS number
- at cindex firstNPS, option
- at cindex secondNPS, option
-Tells the chess engine to use an internal time standard based on its node count, 
-rather then wall-clock time, to make its timing decisions. 
-The time in virtual seconds should be obtained by dividing the node count 
-through the given number, like the number was a rate in nodes per second. 
-Xboard will manage the clocks in accordance with this, relying on the number 
-of nodes reported by the engine in its thinking output. If the given number equals zero, 
-it can obviously not be used to convert nodes to seconds, and the time reported 
-by the engine is used to decrement the XBoard clock in stead. The engine is supposed to 
-report in CPU time it uses, rather than wall-clock time, in this mode. This option 
-can provide fairer conditions for engine-engine matches on heavily loaded machines, 
-or with very fast games (where the wall clock is too inaccurate). 
- at code{showThinking} must be on for this option to work. Default: -1 (off).
-Not many engines might support this yet!
- at item -firstTimeOdds factor
- at itemx -secondTimeOdds factor
- at cindex firstTimeOdds, option
- at cindex secondTimeOdds, option
-Reduces the time given to the mentioned engine by the given factor. 
-If pondering is off, the effect is indistinguishable from what would happen 
-if the engine was running on an n-times slower machine. Default: 1.
- at item -timeOddsMode mode
- at cindex timeOddsMode, option
-This option determines how the case is handled where both engines have a time-odds handicap. 
-If mode=1, the engine that gets the most time will always get the nominal time, 
-as specified by the time-control options, and its opponent's time is renormalized accordingly. 
-If mode=0, both play with reduced time. Default: 0.
- at item -hideThinkingFromHuman true/false
-Controls the Hide Thinking option. @xref{Options Menu}. Default: true.
-(Relaces the Show-Thinking option of older xboard versions.)
- at item -thinking/-xthinking or -showThinking true/false
- at cindex thinking, option
- at cindex showThinking, option
-Forces the engine to send thinking output to xboard. 
-Used to be the only way to control if thinking output was displayed 
-in older xboard versions,
-but as the thinking output in xboard 4.3 is also used for several other
-purposes (adjudication, storing in PGN file) the display of it is now controlled
-by the new option Hide Thinking. @xref{Options Menu}. Default: false.
-(But if xboard needs the thinking output for some purpose,
-it makes the engine send it despite the setting of this option.)
- at item -ponder/-xponder or -ponderNextMove true/false
- at cindex ponder, option
- at cindex ponderNextMove, option
-Sets the Ponder Next Move menu option. @xref{Options Menu}. Default: true.
- at item -smpCores number
-Specifies the maxmum nmber of CPUs an SMP engine is allowed to use.
-Only works for engines that support the WinBoard-protocol cores feature.
- at item -mg or -matchGames n
- at cindex mg, option
- at cindex matchGames, option
-Automatically runs an n-game match between two chess engines,
-with alternating colors.
-If the @code{loadGameFile} or @code{loadPositionFile} option is set,
-XBoard
-starts each game with the given opening moves or the given position;
-otherwise, the games start with the standard initial chess position.
-If the @code{saveGameFile} option is set, a move record for the
-match is appended to the specified file. If the @code{savePositionFile}
-option is set, the final position reached in each game of the match is appended
-to the specified file. When the match is over, XBoard
-displays the match score and exits. Default: 0 (do not run a match).
- at item -mm/-xmm or -matchMode true/false
- at cindex mm, option
- at cindex matchMode, option
-Setting @code{matchMode} to true is equivalent to setting
- at code{matchGames} to 1.
- at item -sameColorGames n
- at cindex sameColorGames, option
-Automatically runs an n-game match between two chess engines,
-without alternating colors.
-Otherwise the same applies as for the @samp{-matchGames} option,
-over which it takes precedence if both are specified. (See there.)
-Default: 0 (do not run a match).
- at item -fcp or -firstChessProgram program
- at cindex fcp, option
- at cindex firstChessProgram, option
-Name of first chess engine.
-Default: @file{Fairy-Max}.
- at item -scp or -secondChessProgram program
- at cindex scp, option
- at cindex secondChessProgram, option
-Name of second chess engine, if needed.
-A second chess engine is started only in Two Machines (match) mode.
-Default: @file{Fairy-Max}.
- at item -fb/-xfb or -firstPlaysBlack true/false
- at cindex fb, option
- at cindex firstPlaysBlack, option
-In games between two chess engines, firstChessProgram normally plays
-white.  If this option is true, firstChessProgram plays black.  In a
-multi-game match, this option affects the colors only for the first
-game; they still alternate in subsequent games.
- at item -fh or -firstHost host
- at itemx -sh or -secondHost host
- at cindex fh, option
- at cindex firstHost, option
- at cindex sh, option
- at cindex secondHost, option
-Hosts on which the chess engines are to run. The default for
-each is @file{localhost}. If you specify another host, XBoard
-uses @file{rsh} to run the chess engine there. (You can substitute a
-different remote shell program for rsh using the @code{remoteShell}
-option described below.)
- at item -fd or -firstDirectory dir
- at itemx -sd or -secondDirectory dir
- at cindex fd, option
- at cindex firstDirectory, option
- at cindex sd, option
- at cindex secondDirectory, option
-Working directories in which the chess engines are to be run.
-The default is "", which means to run the chess engine
-in the same working directory as XBoard
-itself.  (See the CHESSDIR environment variable.)
-This option is effective only when the chess engine is being run
-on the local host; it does not work if the engine is run remotely
-using the -fh or -sh option.
- at item -initString string
- at itemx -secondInitString string
- at cindex initString, option
- at cindex secondInitString, option
-The string that is sent to initialize each chess engine for a new game.
-Default:
-
- at example
-new
-random
- at end example
- at noindent
-Setting this option from the command line is tricky, because you must
-type in real newline characters, including one at the very end.
-In most shells you can do this by
-entering a @samp{\} character followed by a newline. It is easier to set
-the option from your @file{.Xresources} file; in that case you can
-include the character sequence @samp{\n} in the string, and it will
-be converted to a newline.
-
-If you change this option, don't remove the @samp{new} 
-command; it is required by all chess engines to
-start a new game.
-
-You can remove the @samp{random} command if you like; including it
-causes GNU Chess 4 to randomize its move selection slightly so that it
-doesn't play the same moves in every game.  Even without
- at samp{random}, GNU Chess 4 randomizes its choice of moves from its
-opening book.  Many other chess engines ignore this command entirely
-and always (or never) randomize.
-
-You can also try adding other commands to the initString; see the
-documentation of the chess engine you are using for details.
- at item -firstComputerString string
- at itemx -secondComputerString string
- at cindex firstComputerString, option
- at cindex secondComputerString, option
-The string that is sent to the chess engine if its opponent is another
-computer chess engine.  The default is @samp{computer\n}.  Probably the
-only useful alternative is the empty string (@samp{}), which keeps the
-engine from knowing that it is playing another computer.
- at item -reuse/-xreuse or -reuseFirst true/false
- at itemx -reuse2/-xreuse2 or -reuseSecond true/false
- at cindex reuse, option
- at cindex reuseFirst, option
- at cindex reuse2, option
- at cindex reuseSecond, option
-If the option is false,
-XBoard kills off the chess engine after every game and starts
-it again for the next game.  
-If the option is true (the default), 
-XBoard starts the chess engine only once
-and uses it repeatedly to play multiple games.
-Some old chess engines may not work properly when
-reuse is turned on, but otherwise games will start faster if it is left on.
- at item -firstProtocolVersion version-number
- at itemx -secondProtocolVersion version-number
- at cindex firstProtocolVersion, option
- at cindex secondProtocolVersion, option
-This option specifies which version of the chess engine communication
-protocol to use.  By default, version-number is 2.  In version 1, the
-"protover" command is not sent to the engine; since version 1 is a
-subset of version 2, nothing else changes.  Other values for
-version-number are not supported.
- at item -firstScoreAbs true/false
- at itemx -secondScoreAbs true/false
- at cindex firstScoreAbs, option
- at cindex secondScoreAbs, option
-If this option is set, the score reported by the engine is taken to be 
-that in favor of white, even when the engine plays black. 
-Important when XBoard uses the score for adjudications, or in PGN reporting. 
- at item -niceEngines priority
- at cindex niceEngines, option
-This option allows you to lower the priority of the engine processes, 
-so that the generally insatiable hunger for CPU time of chess engines does not interfere so much 
-with smooth operation of WinBoard (or the rest of your system). 
-Negative values could increase the engine priority, which is not recommended.
- at item -firstOptions string
- at itemx -secondOptions string
- at cindex firstOptions, option
- at cindex secondOptions, option
-The given string is a comma-separated list of (option name, option value) pairs, 
-like the following example: “style=Karpov,blunder rate=0”. 
-If the options announced by the engine at startup through the feature commands of WinBoard protocol 
-matches one of the option names (i.e. “style” or “blunder rate”), 
-it would be set to the given value (i.e. “Karpov” or 0) 
-through a corresponding option command to the engine. 
-This provided that the type of the value (text or numeric) matches as well.
- at item -firstNeedsNoncompliantFEN string
- at itemx -secondNeedsNoncompliantFEN string
- at cindex firstNeedsNoncompliantFEN, option
- at cindex secondNeedsNoncompliantFEN, option
-The castling rights and e.p. fields of the FEN sent to the mentioned engine 
-with the setboard command will be replaced by the given string. This can for 
-instance be used to run engines that do not understand Chess960 FENs in 
-variant fischerandom, to make them at least understand the opening position, 
-through setting the string to “KQkq -”. (Note you also have to give the e.p. field!) 
-Other possible applications are to provide work-arounds for engines that want to see 
-castling and e.p. fields in variants that do not have castling or e.p. 
-(shatranj, courier, xiangqi, shogi) so that WinBoard would normally omit them 
-(string = “- -“), or to add variant-specific fields that are not yet supported by WinBoard 
-(e.g. to indicate the number of checks in 3check).
- at end table
-
- at node UCI + WB Engine Settings
- at section UCI + WB Engine Settings
- at cindex Engine Settings
- at cindex Settings, Engine
- at table @asis
- at item -fUCI or -firstIsUCI true/false
- at itemx -sUCI or -secondIsUCI true/false
- at cindex fUCI, option
- at cindex sUCI, option
- at cindex firstIsUCI, option
- at cindex secondIsUCI, option
-Indicates if the mentioned engine executable file is an UCI engine, 
-and should be run with the aid of the Polyglot adapter rather than directly. 
-Xboard will then pass the other UCI options and engine name to Polyglot 
-through a .ini temporary file ceated for the purpose.
- at item -PolyglotDir filename
- at cindex PolyglotDir, option
-Gives the name of the directory in which the Polyglot adapter for UCI engines expects its files.
-Default: "/usr/local/share/polyglot".
- at item -usePolyglotBook true/false
- at cindex usePolyglotBook, option
-Specifies if the Polygot book should be used.
- at item -PolyglotBook filename
- at cindex PolyglotBook, option
-Gives the filename of the opening book that Polyglot should use. 
-From XBoard 4.3.15 on, native WinBoard engines will also use the opening book specified here, 
-provided the @code{usePolyglotBook} option is set to true,
-and the option @code{firstHasOwnBookUCI} or @code{secondHasOwnBookUCI} applying to the engine
-is set to false.
-The engine will be kept in force mode as long as the current position is in book, 
-and XBoard will select the book moves for it. Default "".
- at item -fNoOwnBookUCI or -firstXBook or -firstHasOwnBookUCI true/false
- at itemx -sNoOwnBookUCI or -secondXBook or -secondHasOwnBookUCI true/false
- at cindex fNoOwnBookUCI, option
- at cindex sNoOwnBookUCI, option
- at cindex firstHasOwnBookUCI, option
- at cindex secondHasOwnBookUCI, option
- at cindex firstXBook, option
- at cindex secondXBook, option
-Indicates if the mentioned engine has its own opening book it should play from,
-rather than using the external book through XBoard. Default: false.
- at item -defaultHashSize n
- at cindex defaultHashSize, option
-Sets the size of the hash table to n MegaBytes. Together with the EGTB cache size 
-this number is also used to calculate the memory setting of WinBoard engines, 
-for those that support the memory feature of WinBoard protocol. Default: 64.
- at item -defaultCacheSizeEGTB n
- at cindex defaultCacheSizeEGTB, option
-Sets the size of the EGTB cache to n MegaBytes. Together with the hash-table size 
-this number is also used to calculate the memory setting of WinBoard engines, 
-for those that support the memory feature of WinBoard protocol. Default: 4.
- at item -defaultPathEGTB filename
- at cindex defaultPathEGTB, option
-Gives the name of the directory where the end-game tablebases are installed, for UCI engines.
-Default: "/usr/local/share/egtb".
- at item -egtFormats string
- at cindex egtFormats, option
-Specifies which end-game tables are installed on the computer, and where. 
-The argument is a comma-separated list of format specifications, 
-each specification consisting of a format name, a colon, and a directory path name, 
-e.g. "nalimov:/usr/local/share/egtb". 
-If the name part matches that of a format that the engine requests through a feature command, 
-xboard will relay the path name for this format to the engine through an egtpath command. 
-One egtpath command for each matching format will be sent. 
-Popular formats are "nalimov" DTM tablebases and "scorpio" bitbases.
-Default: "".
- at end table
-
- at node ICS options
- at section ICS options
- at cindex ICS options
- at cindex Options, ICS
- at table @asis
- at item -ics/-xics or -internetChessServerMode true/false
- at cindex ics, option
- at cindex internetChessServerMode, option
-Connect with an Internet Chess Server to play chess against its
-other users, observe games they are playing, or review games
-that have recently finished. Default: false.
- at item -icshost or -internetChessServerHost host
- at cindex icshost, option
- at cindex internetChessServerHost, option
-The Internet host name or address of the chess server to connect
-to when in ICS mode. Default: @code{chessclub.com}.
-Another popular chess server to try is @code{freechess.org}.
-If your site doesn't have a working Internet name server, try
-specifying the host address in numeric form. 
-You may also need
-to specify the numeric address when using the icshelper option
-with timestamp or timeseal (see below).
- at item -icsport or -internetChessServerPort port-number
- at cindex icsport, option
- at cindex internetChessServerPort, option
-The port number to use when connecting to a chess server in ICS
-mode. Default: 5000.
- at item -icshelper or -internetChessServerHelper prog-name
- at cindex icshelper, option
- at cindex internetChessServerHelper, option
-An external helper program used to communicate with the chess server.
-You would set it to "timestamp" for ICC (chessclub.com) or
-"timeseal" for FICS (freechess.org), after
-obtaining the correct version of timestamp or timeseal for your
-computer.  See "help timestamp" on ICC and "help timeseal" on FICS.
-This option is shorthand for @code{-useTelnet -telnetProgram program}.
- at item -telnet/-xtelnet or -useTelnet true/false
- at cindex telnet, option
- at cindex useTelnet, option
-This option is poorly named; it should be called useHelper.
-If set to true, it instructs XBoard to run an external
-program to communicate with the Internet Chess Server. 
-The program to use is given by the telnetProgram option.
-If the option is
-false (the default), XBoard opens a TCP socket and uses its own
-internal implementation of the telnet protocol to communicate with the
-ICS. @xref{Firewalls}.
- at item -telnetProgram prog-name
- at cindex telnetProgram, option
-This option is poorly named; it should be called helperProgram.
-It gives the name of the telnet program to be used with
-the @code{gateway} and @code{useTelnet} options.  The default is
- at file{telnet}. The telnet program is invoked with the value of
- at code{internetChessServerHost} as its first argument and the value
-of @code{internetChessServerPort} as its second argument.
- at xref{Firewalls}.
- at item -gateway host-name
- at cindex gateway, option
-If this option is set to a host name, XBoard communicates with the
-Internet Chess Server by using @file{rsh} to run
-the @code{telnetProgram} on the given host,
-instead of using its own internal implementation
-of the telnet protocol. You can substitute a different remote shell
-program for @file{rsh} using the @code{remoteShell} option described below.
- at xref{Firewalls}.
- at item -internetChessServerCommPort or -icscomm dev-name
- at cindex internetChessServerCommPort, option
- at cindex icscomm, option
-If this option is set, XBoard communicates with the ICS through
-the given character I/O device instead of opening a TCP connection.
-Use this option if your system does not have any kind of
-Internet connection itself (not even a SLIP or PPP connection),
-but you do have dialup access (or a hardwired terminal line) to
-an Internet service provider from which you can telnet to the ICS.
-
-The support for this option in XBoard is minimal. You need to
-set all communication parameters and tty modes before you enter
-XBoard.
-
-Use a script something like this:
-
- at example
-stty raw -echo 9600 > /dev/tty00
-xboard -ics -icscomm /dev/tty00
- at end example
-
-Here replace @samp{/dev/tty00} with the name of the device that your
-modem is connected to. You might have to add several more
-options to these stty commands. See the man pages for @file{stty}
-and @code{tty} if you run into problems. Also, on many systems stty
-works on its standard input instead of standard output, so you
-have to use @samp{<} instead of @samp{>}.
-
-If you are using linux, try starting with the script below.
-Change it as necessary for your installation.
-
- at example
-#!/bin/sh -f
-# configure modem and fire up XBoard
-
-# configure modem
-(
-  stty 2400 ; stty raw ; stty hupcl ; stty -clocal
-  stty ignbrk ; stty ignpar ; stty ixon ; stty ixoff
-  stty -iexten ; stty -echo
-) < /dev/modem
-xboard -ics -icscomm /dev/modem
- at end example
- at noindent
-After you start XBoard in this way, type whatever commands are
-necessary to dial out to your Internet provider and log in.
-Then telnet to ICS, using a command like
- at kbd{telnet chessclub.com 5000}.
-Important: See the paragraph below about extra echoes, 
-in @ref{Limitations}.
- at item -icslogon or -internetChessServerLogonScript file-name
- at cindex icslogon, option
- at cindex internetChessServerLogonScript, option
- at cindex .icsrc
-Whenever XBoard connects to the Internet Chess Server,
-if it finds a file with the name given in this option, it feeds the
-file's contents to the ICS as commands. The default file name
-is @file{.icsrc}.
-Usually the first two lines of the file should be
-your ICS user name and password.
-The file can be either in $CHESSDIR, in XBoard's working
-directory if CHESSDIR is not set, or in your home directory.
- at item -msLoginDelay delay
- at cindex msLoginDelay, option
-If you experience trouble logging on to an ICS when using the
- at code{-icslogon} option, inserting some delay between characters
-of the logon script may help. This option adds @code{delay}
-milliseconds of delay between characters. Good values to try
-are 100 and 250.
- at item -icsinput/-xicsinput or -internetChessServerInputBox true/false
- at cindex icsinput, option
- at cindex internetChessServerInputBox, option
-Sets the ICS Input Box menu option. @xref{Mode Menu}. Default: false.
- at item -autocomm/-xautocomm or -autoComment true/false
- at cindex autocomm, option
- at cindex autoComment, option
-Sets the Auto Comment menu option. @xref{Options Menu}. Default: false.
- at item -autoflag/-xautoflag or -autoCallFlag true/false
- at cindex autoflag, option
- at cindex autoCallFlag, option
-Sets the Auto Flag menu option.  @xref{Options Menu}. Default: false.
- at item -autobs/-xautobs or -autoObserve true/false
- at cindex autobs, option
- at cindex autoObserve, option
-Sets the Auto Observe menu option.  @xref{Options Menu}. Default: false.
- at item -autoKibitz
- at cindex autoKibitz, option
-Enables kibitzing of the engines last thinking output (depth, score, time, speed, PV) 
-before it moved
-to the ICS, in zippy mode. The option @code{showThinking} must be switched on for 
-this option to work.
-Also diverts similar kibitz information of an opponent engine that is playing you 
-through the ICS to the engine-output window, as if the engine was playing locally.
- at item -moves/-xmoves or -getMoveList true/false
- at cindex moves, option
- at cindex getMoveList, option
-Sets the Get Move List menu option.  @xref{Options Menu}.  Default: true.
- at item -alarm/-xalarm or -icsAlarm true/false
- at cindex alarm, option
- at cindex icsAlarm, option
-Sets the ICS Alarm menu option.  @xref{Options Menu}. Default: true.
- at item -icsAlarmTime ms
- at cindex icsAlarmTime, option
-Sets the time in milliseconds for the ICS Alarm menu option. 
- at xref{Options Menu}. Default: 5000.
- at item -pre/-xpre \fRor\fB -premove true/false
- at cindex pre, option
- at cindex premove, option
-Sets the Premove menu option. @xref{Options Menu}. Default: true.
- at item -quiet/-xquiet or -quietPlay true/false
- at cindex quiet, option
- at cindex quietPlay, option
-Sets the Quiet Play menu option.  @xref{Options Menu}.  Default: false.
- at item -colorizeMessages or -colorize
- at cindex Colors
- at cindex colorize, option
-Setting colorizeMessages
-to true tells XBoard to colorize the messages received from
-the ICS.  Colorization works only if your xterm 
-supports ISO 6429 escape sequences for changing text colors.
- at item -colorShout foreground,background,bold
- at itemx -colorSShout foreground,background,bold
- at itemx -colorChannel1 foreground,background,bold
- at itemx -colorChannel foreground,background,bold
- at itemx -colorKibitz foreground,background,bold
- at itemx -colorTell foreground,background,bold
- at itemx -colorChallege foreground,background,bold
- at itemx -colorRequest foreground,background,bold
- at itemx -colorSeek foreground,background,bold
- at itemx -colorNormal foreground,background,bold
- at cindex Colors
- at cindex colorShout, option
- at cindex colorSShout, option
- at cindex colorChannel1, option
- at cindex colorChannel, option
- at cindex colorKibitz, option
- at cindex colorTell, option
- at cindex colorChallenge, option
- at cindex colorRequest, option
- at cindex colorSeek, option
- at cindex colorNormal, option
-These options set the colors used when colorizing ICS messages.
-All ICS messages are grouped into one of these categories:
-shout, sshout, channel 1, other channel, kibitz, tell, challenge, 
-request (including abort, adjourn, draw, pause, and takeback), or
-normal (all other messages).  
-
-Each foreground or background argument can be one of the following:
-black, red, green, yellow, blue, magenta, cyan, white, or default.
-Here ``default'' means the default foreground or background color of
-your xterm.  Bold can be 1 or 0.  If background is omitted, ``default''
-is assumed; if bold is omitted, 0 is assumed.
-
-Here is an example of how to set the colors in your @file{.Xresources} file.
-The colors shown here are the default values; you will get
-them if you turn @code{-colorize} on without specifying your own colors.
-
- at example
-xboard*colorizeMessages: true	
-xboard*colorShout: green
-xboard*colorSShout: green, black, 1
-xboard*colorChannel1: cyan
-xboard*colorChannel: cyan, black, 1
-xboard*colorKibitz: magenta, black, 1
-xboard*colorTell: yellow, black, 1
-xboard*colorChallenge: red, black, 1
-xboard*colorRequest: red
-xboard*colorSeek: blue
-xboard*colorNormal: default
- at end example
- at item -soundProgram progname
- at cindex soundProgram, option
- at cindex Sounds
-If this option is set to a sound-playing program that is installed and
-working on your system, XBoard can play sound files when certain
-events occur, listed below.  The default program name is "play".  If
-any of the sound options is set to "$", the event rings the terminal
-bell by sending a ^G character to standard output, instead of playing
-a sound file.  If an option is set to the empty string "", no sound is
-played for that event.
- at item -soundShout filename
- at itemx -soundSShout filename
- at itemx -soundChannel filename
- at itemx -soundKibitz filename
- at itemx -soundTell filename
- at itemx -soundChallenge filename
- at itemx -soundRequest filename
- at itemx -soundSeek filename
- at cindex soundShout, option
- at cindex soundSShout, option
- at cindex soundChannel, option
- at cindex soundKibitz, option
- at cindex soundTell, option
- at cindex soundChallenge, option
- at cindex soundRequest, option
- at cindex soundSeek, option
-These sounds are triggered in the same way as the colorization events
-described above.  They all default to "", no sound.  They are played
-only if the colorizeMessages is on.
- at item -soundMove filename
- at cindex soundMove, option
-This sound is used by the Move Sound menu option.  Default: "$".
- at item -soundIcsAlarm filename
- at cindex soundIcsAlarm, option
-This sound is used by the ICS Alarm menu option.  Default: "$".
- at item -soundIcsWin filename
- at cindex soundIcsWin, option
-This sound is played when you win an ICS game.  Default: "" (no sound).
- at item -soundIcsLoss filename
- at cindex soundIcsLoss, option
-This sound is played when you lose an ICS game.  Default: "" (no sound).
- at item -soundIcsDraw filename
- at cindex soundIcsDraw, option
-This sound is played when you draw an ICS game.  Default: "" (no sound).
- at item -soundIcsUnfinished filename
- at cindex soundIcsUnfinished, option
-This sound is played when an ICS game that you are participating in is
-aborted, adjourned, or otherwise ends inconclusively.  Default: "" (no
-sound).
-
-Here is an example of how to set the sounds in your @file{.Xresources} file:
-
- at example
-xboard*soundShout: shout.wav
-xboard*soundSShout: sshout.wav
-xboard*soundChannel1: channel1.wav
-xboard*soundChannel: channel.wav
-xboard*soundKibitz: kibitz.wav
-xboard*soundTell: tell.wav
-xboard*soundChallenge: challenge.wav
-xboard*soundRequest: request.wav
-xboard*soundSeek: seek.wav
-xboard*soundMove: move.wav
-xboard*soundIcsWin: win.wav
-xboard*soundIcsLoss: lose.wav
-xboard*soundIcsDraw: draw.wav
-xboard*soundIcsUnfinished: unfinished.wav
-xboard*soundIcsAlarm: alarm.wav
- at end example
- at end table
-
- at node Load and Save options
- at section Load and Save options
- at cindex Options, Load and Save
- at cindex Load and Save options
- at table @asis
- at item -lgf or -loadGameFile file
- at itemx -lgi or -loadGameIndex index
- at cindex lgf, option
- at cindex loadGameFile, option
- at cindex lgi, option
- at cindex loadGameIndex, option
-If the @code{loadGameFile} option is set, XBoard loads the specified
-game file at startup. The file name @file{-} specifies the standard
-input. If there is more than one game in the file, XBoard
-pops up a menu of the available games, with entries based on their PGN 
-(Portable Game Notation) tags.
-If the @code{loadGameIndex} option is set to @samp{N}, the menu is suppressed
-and the N th game found in the file is loaded immediately.
-The menu is also suppressed if @code{matchMode} is enabled or if the game file
-is a pipe; in these cases the first game in the file is loaded immediately.
-Use the @file{pxboard} shell script provided with XBoard if you
-want to pipe in files containing multiple games and still see the menu.
-If the loadGameIndex specifies an index -1, this triggers auto-increment
-of the index in @code{matchMode}, which means that after every game the
-index is incremented by one, causing each game of the match to be played
-from the next game in the file. Similarly, specifying an index value of -2
-causes the index to be incremented every two games, so that each game
-in the file is used twice (with reversed colors).
-The @code{rewindIndex} option causes the index to be reset to the
-first game of the file when it has reached a specified value.
- at item -rewindIndex n
-Causes a position file or game file to be rewound to its beginning after n
-positions or games in auto-increment @code{matchMode}. 
-See @code{loadPositionIndex} and @code{loadGameIndex}.
-default: 0 (no rewind).
- at item -td or -timeDelay seconds
- at cindex td, option
- at cindex timeDelay, option
-Time delay between moves during @samp{Load Game}. Fractional seconds
-are allowed; try @samp{-td 0.4}. A time delay value of -1 tells
-XBoard not to step through game files automatically. Default: 1
-second.
- at item -sgf or -saveGameFile file
- at cindex sgf, option
- at cindex saveGameFile, option
-If this option is set, XBoard appends a record of every game
-played to the specified file. The file name @file{-} specifies the
-standard output.
- at item -autosave/-xautosave or -autoSaveGames true/false
- at cindex autosave, option
- at cindex autoSaveGames, option
-Sets the Auto Save menu option.  @xref{Options Menu}.  Default: false.
-Ignored if @code{saveGameFile} is set.
- at item -lpf or -loadPositionFile file
- at itemx -lpi or -loadPositionIndex index
- at cindex lpf, option
- at cindex loadPositionFile, option
- at cindex lpi, option
- at cindex loadPositionIndex, option
-If the @code{loadPositionFile} option is set, XBoard loads the
-specified position file at startup. The file name @file{-} specifies the
-standard input. If the @code{loadPositionIndex} option is set to N,
-the Nth position found in the file is loaded; otherwise the
-first position is loaded.
-If the loadPositionIndex specifies an index -1, this triggers auto-increment
-of the index in @code{matchMode}, which means that after every game the
-index is incremented by one, causing each game of the match to be played
-from the next position in the file. Similarly, specifying an index value of -2
-causes the index to be incremented every two games, so that each position
-in the file is used twice (with the engines playing opposite colors).
-The @code{rewindIndex} option causes the index to be reset to the
-first position of the file when it has reached a specified value.
- at item -spf or -savePositionFile file
- at cindex spf, option
- at cindex savePositionFile, option
-If this option is set, XBoard appends the final position reached
-in every game played to the specified file. The file name @file{-}
-specifies the standard output.
- at item -pgnExtendedInfo true/false
- at cindex pgnExtendedInfo, option`
-If this option is set, WinBoard saves depth, score and time used for each 
-move that the engine found as a comment in the PGN file.
-Default: false.
- at item -pgnEventHeader string
- at cindex pgnEventHeader, option`
-Sets the name used in the PGN event tag to string. 
-Default: "Computer Chess Game".
- at item -saveOutOfBookInfo true/false
- at cindex saveOutOfBookInfo, option`
-Include the information on how the engine(s) game out of its opening book in a special 'annotator' tag with the PGN file.
- at item -oldsave/-xoldsave or -oldSaveStyle true/false
- at cindex oldsave, option
- at cindex oldSaveStyle, option
-Sets the Old Save Style menu option.  @xref{Options Menu}.  Default: false.
- at item -gameListTags string
- at cindex gameListTags, option
-The character string lists the PGN tags that should be printed in the
-Game List, and their order. The meaning of the codes is e=event,
-s=site, d=date, o=round, p=players, r=result, w=white Elo, b=black Elo,
-t=time control, v=variant, a=out-of-book info.
-Default: "eprd"
- at end table
-
- at node User interface options
- at section User interface options
- at cindex User interface options
- at cindex Options, User interface
- at table @asis
- at item -display
- at itemx -geometry
- at itemx -iconic
- at cindex display, option
- at cindex geometry, option
- at cindex iconic, option
-These and most other standard Xt options are accepted.
- at item -noGUI
- at cindex noGUI, option
-Suppresses all GUI functions of XBoard 
-(to speed up automated ultra-fast engine-engine games, which you don’t want to watch). 
-There will be no board or clock updates, no printing of moves, 
-and no update of the icon on the task bar in this mode.
- at item -movesound/-xmovesound or -ringBellAfterMoves true/false
- at cindex movesound, option
- at cindex bell, option
- at cindex ringBellAfterMoves, option
-Sets the Move Sound menu option.  @xref{Options Menu}.  Default: false.
-For compatibility with old XBoard versions, -bell/-xbell are also 
-accepted as abbreviations for this option.
- at item -exit/-xexit or -popupExitMessage true/false
- at cindex exit, option
- at cindex popupExitMessage, option
-Sets the Popup Exit Message menu option.  @xref{Options Menu}. Default: true.
- at item -popup/-xpopup or -popupMoveErrors true/false
- at cindex popup, option
- at cindex popupMoveErrors, option
-Sets the Popup Move Errors menu option.  @xref{Options Menu}. Default: false.
- at item -queen/-xqueen or -alwaysPromoteToQueen true/false
- at cindex queen, option
- at cindex alwaysPromoteToQueen, option
-Sets the Always Queen menu option.  @xref{Options Menu}.  Default: false.
- at item -legal/-xlegal or -testLegality true/false
- at cindex legal, option
- at cindex testLegality, option
-Sets the Test Legality menu option.  @xref{Options Menu}.  Default: true.
- at item -size or -boardSize (sizeName | n1,n2,n3,n4,n5,n6,n7)
- at cindex size, option
- at cindex boardSize, option
- at cindex board size
-Determines how large the board will be, by selecting the pixel size
-of the pieces and setting a few related parameters.
-The sizeName can be one of: Titanic, giving 129x129 pixel pieces,
-Colossal 116x116, Giant 108x108, Huge 95x95, Big 87x87, Large 80x80, Bulky 72x72,
-Medium 64x64, Moderate 58x58, Average 54x54, Middling 49x49, Mediocre
-45x45, Small 40x40, Slim 37x37, Petite 33x33, Dinky 29x29, Teeny 25x25,
-or Tiny 21x21.
-Pieces of all these sizes are built into XBoard.
-Other sizes can
-be used if you have them; see the pixmapDirectory and bitmapDirectory
-options.
-The default depends on the size of your screen; it is approximately the
-largest size that will fit without clipping.
-
-You can select other sizes or vary other layout parameters by providing
-a list of comma-separated values (with no spaces) as the argument.
-You do not need to provide all the values; for any you omit from the
-end of the list, defaults are taken from the nearest built-in size.
-The value @code{n1} gives the piece size, @code{n2} the width of the
-black border
-between squares, @code{n3} the desired size for the 
-clockFont, @code{n4} the desired size for the coordFont,
- at code{n5} the desired size for the default font,
- at code{n6} the smallLayout flag (0 or 1), 
-and @code{n7} the tinyLayout flag (0 or 1).  
-All dimensions are in pixels.
-If the border between squares is eliminated (0 width), the various
-highlight options will not work, as there is nowhere to draw the highlight.
-If smallLayout is 1 and @code{titleInWindow} is true, 
-the window layout is rearranged to make more room for the title.
-If tinyLayout is 1, the labels on the menu bar are abbreviated
-to one character each and the buttons in the button bar are made narrower.
- at item -coords/-xcoords or -showCoords true/false
- at cindex coords, option
- at cindex showCoords, option
-Sets the Show Coords menu option.  @xref{Options Menu}.  Default: false.
-The @code{coordFont} option specifies what font to use.
- at item -autoraise/-xautoraise or -autoRaiseBoard true/false
- at cindex autoraise, option
- at cindex autoRaiseBoard, option
-Sets the Auto Raise Board menu option.  @xref{Options Menu}.  Default: true.
- at item -autoflip/-xautoflip or -autoFlipView true/false
- at cindex autoflip, option
- at cindex autoFlipView, option
-Sets the Auto Flip View menu option.  @xref{Options Menu}.  Default: true.
- at item -flip/-xflip or -flipView true/false
- at cindex flip, option
- at cindex flipView, option
-If Auto Flip View is not set, or if you are observing but not participating
-in a game, then the positioning of the board at the start of each game
-depends on the flipView option.  If flipView is false (the default),
-the board is positioned so that the white pawns move from the bottom to the
-top; if true, the black pawns move from the bottom to the top.
-In any case, the Flip menu option (see @ref{Options Menu})
-can be used to flip the board after
-the game starts.
- at item -title/-xtitle or -titleInWindow true/false
- at cindex title, option
- at cindex titleInWindow, option
-If this option is true, XBoard displays player names (for ICS
-games) and game file names (for @samp{Load Game}) inside its main
-window. If the option is false (the default), this information is
-displayed only in the window banner. You probably won't want to
-set this option unless the information is not showing up in the
-banner, as happens with a few X window managers.
- at item -buttons/-xbuttons or -showButtonBar True/False
- at cindex buttons, option
- at cindex showButtonBar, option
-If this option is False, xboard omits the [<<] [<] [P] [>] [>>] button
-bar from the window, allowing the message line to be wider.  You can
-still get the functions of these buttons using the menus or their keyboard
-shortcuts.  Default: true.
- at item -mono/-xmono or -monoMode true/false
- at cindex mono, option
- at cindex monoMode, option
-Determines whether XBoard displays its pieces and squares with
-two colors (true) or four (false). You shouldn't have to
-specify @code{monoMode}; XBoard will determine if it is necessary.
- at item -flashCount count
- at itemx -flashRate rate
- at itemx -flash/-xflash
- at cindex flashCount, option
- at cindex flashRate, option
- at cindex flash, option
- at cindex xflash, option
-These options enable flashing of pieces when they
-land on their destination square.
- at code{flashCount}
-tells XBoard how many times to flash a piece after it
-lands on its destination square.
- at code{flashRate}
-controls the rate of flashing (flashes/sec).
-Abbreviations:
- at code{flash}
-sets flashCount to 3.
- at code{xflash}
-sets flashCount to 0.
-Defaults:  flashCount=0 (no flashing), flashRate=5.
- at item -highlight/-xhighlight or -highlightLastMove true/false
- at cindex highlight, option
- at cindex highlightLastMove, option
-Sets the Highlight Last Move menu option. @xref{Options Menu}. Default: false.
- at item -blind/-xblind or -blindfold true/false
- at cindex blind, option
- at cindex blindfold, option
-Sets the Blindfold menu option.  @xref{Options Menu}.  Default: false.
- at item -clockFont font
- at cindex clockFont, option
- at cindex Font, clock
-The font used for the clocks. If the option value is a pattern
-that does not specify the font size, XBoard tries to choose an
-appropriate font for the board size being used.
-Default: -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*.
- at item -coordFont font
- at cindex coordFont, option
- at cindex Font, coordinates
-The font used for rank and file coordinate labels if @code{showCoords}
-is true. If the option value is a pattern that does not specify
-the font size, XBoard tries to choose an appropriate font for
-the board size being used.
-Default: -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*.
- at item -font font
- at cindex font, option
- at cindex Font
-The font used for popup dialogs, menus, comments, etc.
-If the option value is a pattern that does not specify
-the font size, XBoard tries to choose an appropriate font for
-the board size being used.
-Default: -*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*.
- at item -fontSizeTolerance tol
- at cindex fontSizeTolerance, option
-In the font selection algorithm, a nonscalable font will be preferred
-over a scalable font if the nonscalable font's size differs
-by @code{tol} pixels
-or less from the desired size.  A value of -1 will force
-a scalable font to always be used if available; a value of 0 will
-use a nonscalable font only if it is exactly the right size; 
-a large value (say 1000) will force a nonscalable font to always be
-used if available.  Default: 4.
- at item -bm or -bitmapDirectory dir
- at itemx -pixmap or -pixmapDirectory dir
- at cindex bm, option
- at cindex bitmapDirectory, option
- at cindex pixmap, option
- at cindex pixmapDirectory, option
-These options control what piece images xboard uses.  The XBoard
-distribution includes one set of pixmap pieces in xpm format, in the
-directory @file{pixmaps}, and one set of bitmap pieces in xbm format,
-in the directory @file{bitmaps}.  Pixmap
-pieces give a better appearance on the screen: the white pieces have
-dark borders, and the black pieces have opaque internal details.  With
-bitmaps, neither piece color has a border, and the internal details
-are transparent; you see the square color or other background color
-through them.
-
-If XBoard is configured and compiled on a system that includes libXpm,
-the X pixmap library, the xpm pixmap pieces are compiled in as the
-default.  A different xpm piece set can be selected at runtime with
-the @code{pixmapDirectory} option, or a bitmap piece set can be selected
-with the @code{bitmapDirectory} option.
-
-If XBoard is configured and compiled on a system that does not include
-libXpm (or the @code{--disable-xpm} option is given to the configure
-program), the bitmap pieces are compiled in as the default.  It is not
-possible to use xpm pieces in this case, but pixmap pieces in another
-format called "xim" can be used by giving the @code{pixmapDirectory} option.
-Or again, a different bitmap piece set can be selected with the
- at code{bitmapDirectory} option.
-
-Files in the @code{bitmapDirectory} must be named as follows:
-The first character of a piece bitmap name gives the piece it 
-represents (@samp{p}, @samp{n}, @samp{b}, @samp{r}, @samp{q}, or @samp{k}),
-the next characters give the size in pixels, the
-following character indicates whether the piece is
-solid or outline (@samp{s} or @samp{o}),
-and the extension is @samp{.bm}.
-For example, a solid 80x80 knight would be named @file{n80s.bm}.
-The outline bitmaps are used only in monochrome mode.
-If bitmap pieces are compiled in and the bitmapDirectory is missing
-some files, the compiled in pieces are used instead.
-
-If the bitmapDirectory option is given,
-it is also possible to replace xboard's icons and menu checkmark,
-by supplying files named @file{icon_white.bm}, @file{icon_black.bm}, and
- at file{checkmark.bm}.
-
-For more information about pixmap pieces and how to get additional
-sets, see @ref{zic2xpm} below.
- at item -whitePieceColor color
- at itemx -blackPieceColor color
- at itemx -lightSquareColor color
- at itemx -darkSquareColor color
- at itemx -highlightSquareColor color
- at cindex Colors
- at cindex whitePieceColor, option
- at cindex blackPieceColor, option
- at cindex lightSquareColor, option
- at cindex darkSquareColor, option
- at cindex highlightSquareColor, option
-Colors to use for the pieces, squares, and square highlights.
-Defaults:
-
- at example
--whitePieceColor       #FFFFCC
--blackPieceColor       #202020
--lightSquareColor      #C8C365
--darkSquareColor       #77A26D
--highlightSquareColor  #FFFF00
--premoveHighlightColor #FF0000
- at end example
-
-On a grayscale monitor you might prefer:
-
- at example
--whitePieceColor       gray100
--blackPieceColor       gray0
--lightSquareColor      gray80
--darkSquareColor       gray60
--highlightSquareColor  gray100
--premoveHighlightColor gray70
- at end example
- at item -drag/-xdrag or -animateDragging true/false
- at cindex drag, option
- at cindex animateDragging, option
-Sets the Animate Dragging menu option. @xref{Options Menu}.  Default: true.
- at item -animate/-xanimate or -animateMoving true/false
- at cindex animate, option
- at cindex animateMoving, option
-Sets the Animate Moving menu option. @xref{Options Menu}.  Default: true.
- at item -animateSpeed n
- at cindex -animateSpeed, option
-Number of milliseconds delay between each animation frame when Animate
-Moves is on.
- at end table
-
- at node Adjudication Options
- at section Adjudication Options
- at cindex Options, adjudication
- at table @asis
- at item -adjudicateLossThreshold n
- at cindex adjudicateLossThreshold, option
-If the given value is non-zero, XBoard adjudicates the game as a loss 
-if both engines agree for a duration of 6 consecutive ply that the score 
-is below the given score threshold for that engine. Make sure the score 
-is interpreted properly by XBoard, 
-using @code{-firstScoreAbs} and @code{-secondScoreAbs} if needed. 
-Default: 0 (no adjudiction)
- at item -adjudicateDrawMoves n
- at cindex adjudicateDrawMoves, option
-If the given value is non-zero, XBoard adjudicates the game as a draw 
-if after the given number of moves it was not yet decided. Defaut: 0 (no adjudication)
- at item -checkMates true/false
- at cindex checkMates, option
-If this option is set, XBoard detects all checkmates and stalemates, 
-and ends the game as soon as they occur. 
-Legality-testing must be switched on for this option to work.
-Default: true
- at item -testClaims true/false
- at cindex testClaims, option
-If this option is set, XBoard verifies all result claims made by engines, 
-and those who send false claims will forfeit the game because of it. 
-Legality-testing must be switched on for this option to work. Default: true
- at item -materialDraws true/false
- at cindex materialDraws, option
-If this option is set, XBoard adjudicates games as draws when there is 
-no sufficient material left to inflict a checkmate. 
-This applies to KBKB with like bishops (any number, actually), and to KBK, KNK and KK. 
-Legality-testing must be switched on for this option to work. Default: true
- at item -trivialDraws true/false
- at cindex trivialDraws, option
-If this option is set, XBoard adjudicates games as draws that cannot be 
-usually won without opponent cooperation. This applies to KBKB with unlike bishops, 
-and to KBKN, KNKN, KNNK, KRKR and KQKQ. The draw is called after 6 ply into these end-games, 
-to allow quick mates that can occur in some exceptional positions to be found by the engines. 
-KQKQ does not really belong in this category, and might be taken out in the future. 
-(When bitbase-based adjudications are implemented.) 
-Legality-testing must be on for this option to work. Default: false
- at item -ruleMoves n
- at cindex ruleMoves, option
-If the given value is non-zero, XBoard adjudicates the game as a draw after the given 
-number of consecutive reversible moves. Engine draw claims are always accepted after 50 moves, 
-irrespective of the given value of n.
- at item -repeatsToDraw n
-If the given value is non-zero, xboard adjudicates the game as a draw if a position 
-is repeated the given number of times. Engines draw claims are always accepted after 3 repeats, 
-(on the 3rd occurrence, actually), irrespective of the value of n. 
-Beware that positions that have different castling or en-passant rights do not count 
-as repeats, XBoard is fully e.p. and castling aware!
- at end table
-
- at node Other options
- at section Other options
- at cindex Options, miscellaneous
- at table @asis
- at item -ncp/-xncp or -noChessProgram true/false
- at cindex ncp, option
- at cindex noChessProgram, option
-If this option is true, XBoard acts as a passive chessboard; it
-does not start a chess engine at all. Turning on this option
-also turns off clockMode. Default: false.
- at item -mode or -initialMode modename
- at cindex mode, option
- at cindex initalMode, option
-If this option is given, XBoard selects the given modename
-from the Mode menu after starting and (if applicable) processing the
-loadGameFile or loadPositionFile option. Default: "" (no selection). 
-Other supported values are 
-MachineWhite, MachineBlack, TwoMachines, Analysis, 
-AnalyzeFile, EditGame, EditPosition, and Training.
- at item -variant varname
- at cindex variant, option
-Activates preliminary, partial support for playing chess variants
-against a local engine or editing variant games.  This flag is not
-needed in ICS mode.  Recognized variant names are:
-
- at example
-normal        Normal chess
-wildcastle    Shuffle chess, king can castle from d file
-nocastle      Shuffle chess, no castling allowed
-fischerandom  Fischer Random shuffle chess
-bughouse      Bughouse, ICC/FICS rules
-crazyhouse    Crazyhouse, ICC/FICS rules
-losers        Lose all pieces or get mated (ICC wild 17)
-suicide       Lose all pieces including king (FICS)
-giveaway      Try to have no legal moves (ICC wild 26)
-twokings      Weird ICC wild 9
-kriegspiel    Opponent's pieces are invisible
-atomic        Capturing piece explodes (ICC wild 27)
-3check        Win by giving check 3 times (ICC wild 25)
-shatranj      An ancient precursor of chess (ICC wild 28)
-xiangqi       Chinese Chess (on a 9x10 board)
-shogi         Japanese Chess (on a 9x9 board & piece drops) 
-capablanca    Capablanca Chess (10x8 board, with Archbishop 
-              and Chancellor pieces)
-gothic        similar, with a better initial position
-caparandom    An FRC-like version of Capablanca Chess (10x8) 
-janus         A game with two Archbishops (10x8 board)
-courier       Medieval intermedite between shatranj and 
-              modern Chess (on 12x8 board) 
-falcon        Patented 10x8 variant with two Falcon pieces
-berolina      Pawns capture straight ahead, and move diagonal 
-cylinder      Pieces wrap around the board edge
-knightmate    King moves as Knight, and vice versa 
-super         Superchess (shuffle variant with 4 exo-pieces)
-fairy         A catchall variant in which all piece types 
-              known to XBoard can participate (8x8)
-unknown       Catchall for other unknown variants
- at end example
-
-In the shuffle variants, XBoard now does shuffle the pieces, although
-you can still do it by hand using Edit Position.  Some variants are
-supported only in ICS mode, including bughouse, and
-kriegspiel.  The winning/drawing conditions in crazyhouse (offboard
-interposition on mate), losers, suicide, giveaway, atomic, and 3check
-are not fully understood.  
-Berolina and cylinder chess can only be played with legality testing off.
-In crazyhouse, XBoard now does keep
-track of offboard pieces.  In shatranj it does implement the baring
-rule when mate detection is switched on.
- at item -boardHeight N
- at cindex boardHeight, option
-Allows you to set a non-standard number of board ranks in any variant. 
-If the height is given as -1, the default height for the variant is used.
-Default: -1
- at item -boardWidth N
- at cindex boardWidth, option
-Allows you to set a non-standard number of board files in any variant. 
-If the width is given as -1, the default width for the variant is used. 
-With a non-standard width, the initial position will always be an empty board, 
-as the usual opening array will not fit.
-Default: -1
- at item -holdingsSize N
- at cindex holdingsSize, option
-Allows you to set a non-standard size for the holdings in any variant. 
-If the size is given as -1, the default holdings size for the variant is used. 
-The first N piece types will go into the holdings on capture, and you will be 
-able to drop them on the board in stead of making a normal move. If size equals 0, 
-there will be no holdings.
-Default: -1
- at item -defaultFrcPosition N
- at cindex defaultFrcPosition, option
-Specifies the number of the opening position in shuffle games like Chess960. 
-A value of -1 means the position is randomly generated by XBoard
-at the beginning of every game.
-Default: -1
- at item -pieceToSquareTable string
- at cindex pieceToSquareTable, option
-The characters that are used to represent the piece types XBoard knows in FEN 
-diagrams and SAN moves. The string argument has to have an even length 
-(or it will be ignored), as white and black pieces have to be given separately 
-(in that order). The last letter for each color will be the King. 
-The letters before that will be PNBRQ and then a whole host of fairy pieces 
-in an order that has not fully crystallized yet (currently FEACWMOHIJGDVSLU, 
-F=Ferz, Elephant, A=Archbishop, C=Chancellor, W=Wazir, M=Commoner, O=Cannon, 
-H=Nightrider). You should list at least all pieces that occur in the variant 
-you are playing. If you have less than 44 characters in the string, the pieces 
-not mentioned will get assigned a period, and you will not be able to distinguish 
-them in FENs. You can also explicitly assign pieces a period, in which case they 
-will not be counted in deciding which captured pieces can go into the holdings.
-A tilde '~' as a piece name does mean this piece is used to represent a promoted 
-Pawn in crazyhouse-like games, i.e. on capture it turns back onto a Pawn. 
-A '+' similarly indicates the piece is a shogi-style promoted piece, that should 
-revert to its non-promoted version on capture (rather than to a Pawn).
-Note that promoted pieces are represented by pieces 11 further in the list.
-You should not have to use this option often: each variant has its own default 
-setting for the piece representation in FEN, which should be sufficient in normal use.
-Default: ""
- at item -debug/-xdebug or -debugMode true/false
- at cindex debug, option
- at cindex debugMode, option
-Turns on debugging printout.
- at item -debugFile filename or -nameOfDebugFile filename
- at cindex debugFile, option
- at cindex nameOfDebugFile, option
-Sets the name of the file to which WinBoard saves debug information 
-(including all communication to and from the engines).
- at item -engineDebugOutput number
- at cindex engineDebugOutput, option
-Specifies how WinBoard should handle unsolicited output from the engine, 
-with respect to saving it in the debug file. 
-The output is further (hopefully) ignored. 
-If number=0, WinBoard refrains from writing such spurious output to the debug file. 
-If number=1, all engine output is written faithfully to the debug file. 
-If number=2, any protocol-violating line is prefixed with a ‘#’ character, 
-as the engine itself should have done if it wanted to submit info for inclusion in the debug file.
-This option is provided for the benefit of applications that use the debug file 
-as a source of information, such as the broadcaster of live games TLCV / TLCS. 
-Such applications can be protected from spurious engine output that might otherwise confuse them.
- at item -rsh or -remoteShell shell-name
- at cindex rsh, option
- at cindex remoteShell, option
-Name of the command used to run programs remotely. The default
-is @file{rsh} or @file{remsh}, determined when XBoard is
-configured and compiled.
- at item -ruser or -remoteUser user-name
- at cindex ruser, option
- at cindex remoteUser, option
-User name on the remote system when running programs with the
- at code{remoteShell}. The default is your local user name.
- at item -userName username
- at cindex userName, option
-Name under which the Human player will be listed in the PGN file. 
-Default is the login name on your local computer.
- at item -delayBeforeQuit number
- at itemx -delayAfterQuit number
- at cindex delayBeforeQuit, option
- at cindex delayAfterQuit, option
-These options specify how long WinBoard has to wait before sending a termination signal to rogue engine processes, that do not want to react to the ‘quit’ command. The second one determines the pause after killing the engine, to make sure it dies.
-
- at end table
-
- at node Chess Servers
- at chapter Chess Servers
- at cindex ICS
- at cindex ICS, addresses
- at cindex Internet Chess Server
-An @dfn{Internet Chess Server}, or @dfn{ICS}, is a place on the
-Internet where people can get together to play chess, watch other
-people's games, or just chat.  You can use either @code{telnet} or a
-client program like XBoard to connect to the server.  There are
-thousands of registered users on the different ICS hosts, and it is
-not unusual to meet 200 on both chessclub.com and freechess.org.
-
-Most people can just type @kbd{xboard -ics} to start XBoard as an ICS
-client.  Invoking XBoard in this way connects you to the Internet
-Chess Club (ICC), a commercial ICS.  You can log in there as a guest
-even if you do not have a paid account.  To connect to the largest
-Free ICS (FICS), use the command @kbd{xboard -ics -icshost freechess.org}
-instead, or substitute a different host name to connect to your
-favorite ICS.
-For a full description of command-line options that control 
-the connection to ICS and change the default values of ICS options, see
- at ref{ICS options}.  
-
-While you are running XBoard as an ICS client,
-you use the terminal window that you started XBoard from
-as a place to type in commands and read information that is
-not available on the chessboard.
-
-The first time you need to use the terminal is to enter your login name
-and password, if you are a registered player. (You don't need to do
-this manually; the @code{icsLogon} option can do it for you.
- at pxref{ICS options}.)  If you are not registered, 
-enter @kbd{g} as your name, and the server will pick a
-unique guest name for you.
-
-Some useful ICS commands
-include
- at table @kbd
- at item help <topic>
- at cindex help, ICS command
-to get help on the given <topic>. To get a list of possible topics type
- at dfn{help} without topic.  Try the help command before you ask other
-people on the server for help.
-
-For example @kbd{help register} tells you how to become a registered
-ICS player.
- at item who <flags>
- at cindex who, ICS command
-to see a list of people who are logged on.  Administrators
-(people you should talk to if you have a problem) are marked
-with the character @samp{*}, an asterisk. The <flags> allow you to
-display only selected players: For example, @kbd{who of} shows a
-list of players who are interested in playing but do not have
-an opponent.
- at item games
- at cindex games, ICS command
-to see what games are being played
- at item match <player> [<mins>] [<inc>]
-to challenge another player to a game. Both opponents get <mins> minutes
-for the game, and <inc> seconds will be added after each move.
-If another player challenges you, the server asks if you want to
-accept the challenge; use the @kbd{accept} or @kbd{decline} commands
-to answer.
- at item accept
- at itemx decline
- at cindex accept, ICS command
- at cindex decline, ICS command
-to accept or decline another player's offer. 
-The offer may be to start a new game, or to agree to a 
- at kbd{draw}, @kbd{adjourn} or @kbd{abort} the current game. @xref{Action Menu}.
-
-If you have more than one pending offer (for example, if more than one player
-is challenging you, or if your opponent offers both a draw and to adjourn the
-game), you have to supply additional information, by typing something
-like @kbd{accept <player>}, @kbd{accept draw}, or @kbd{draw}.
- at item draw
- at itemx adjourn
- at itemx abort
- at cindex draw, ICS command
- at cindex adjourn, ICS command
- at cindex abort, ICS command
-asks your opponent to terminate a game by mutual agreement. Adjourned
-games can be continued later. 
-Your opponent can either @kbd{decline} your offer or accept it (by typing the
-same command or typing @kbd{accept}).  In some cases these commands work
-immediately, without asking your opponent to agree.  For example, you can
-abort the game unilaterally if your opponent is out of time, and you can claim
-a draw by repetition or the 50-move rule if available simply by typing 
- at kbd{draw}.
- at item finger <player>
- at cindex finger, ICS command
-to get information about the given <player>. (Default: yourself.)
- at item vars
- at cindex vars, ICS command
-to get a list of personal settings
- at item set <var> <value>
- at cindex set, ICS command
-to modify these settings
- at item observe <player>
- at cindex observe, ICS command
-to observe an ongoing game of the given <player>.
- at item examine
- at itemx oldmoves
- at cindex examine, ICS command
- at cindex oldmoves, ICS command
-to review a recently completed game
- at end table
-
-Some special XBoard features are activated when you are
-in examine mode on ICS.  See the descriptions of the menu commands
- at samp{Forward}, @samp{Backward}, @samp{Pause}, @samp{ICS Client}, 
-and @samp{Stop Examining} on the @ref{Step Menu}, @ref{Mode Menu}, and
- at ref{Options Menu}.
-
- at node Firewalls
- at chapter Firewalls
-By default, XBoard communicates with an Internet Chess Server
-by opening a TCP socket directly from the machine it is running on
-to the ICS. If there is a firewall between your machine and the ICS,
-this won't work. Here are some recipes for getting around common
-kinds of firewalls using special options to XBoard.
-Important: See the paragraph in the below about extra echoes, in
- at ref{Limitations}.
-
-Suppose that you can't telnet directly to ICS, but you can telnet
-to a firewall host, log in, and then telnet from there to ICS.
-Let's say the firewall is called @samp{firewall.example.com}. Set
-command-line options as follows:
-
- at example
-xboard -ics -icshost firewall.example.com -icsport 23
- at end example
- at noindent
-Or in your @file{.Xresources} file:
-
- at example
-XBoard*internetChessServerHost: firewall.example.com
-XBoard*internetChessServerPort: 23
- at end example
- at noindent
-Then when you run XBoard in ICS mode, you will be prompted
-to log in to the firewall host. This works because port 23 is the
-standard telnet login service. Do so, then telnet to ICS, using a
-command like @samp{telnet chessclub.com 5000}, or whatever command
-the firewall provides for telnetting to port 5000.
-
-If your firewall lets you telnet (or rlogin) to remote hosts but
-doesn't let you telnet to port 5000, you may be able to connect to the
-chess server on port 23 instead, which is the port the telnet program
-uses by default.  Some chess servers support this (including
-chessclub.com and freechess.org), while some do not.
-
-If your chess server does not allow connections on port 23 and your
-firewall does not allow you to connect to other ports, you may be able
-to connect by hopping through another host outside the firewall that
-you have an account on.  For instance, suppose you have a shell
-account at @samp{foo.edu}. Follow the recipe above, but instead of
-typing @samp{telnet chessclub.com 5000} to the firewall, type
- at samp{telnet foo.edu} (or @samp{rlogin foo.edu}), log in there, and
-then type @samp{telnet chessclub.com 5000}.
-
-Suppose that you can't telnet directly to ICS, but you can use rsh
-to run programs on a firewall host, and that host can telnet to ICS.
-Let's say the firewall is called @samp{rsh.example.com}. Set
-command-line options as follows:
-
- at example
-xboard -ics -gateway rsh.example.com -icshost chessclub.com
- at end example
-
- at noindent
-Or in your @file{.Xresources} file:
-
- at example
-XBoard*gateway: rsh.example.com
-XBoard*internetChessServerHost: chessclub.com
- at end example
-
-Then when you run XBoard in ICS mode, it will connect to
-the ICS by using @file{rsh} to run the command
- at samp{telnet chessclub.com 5000} on host @samp{rsh.example.com}.
-
-Suppose that you can telnet anywhere you want, but you have to
-run a special program called @file{ptelnet} to do so.
-
-First, we'll consider the easy case, in which
- at samp{ptelnet chessclub.com 5000} gets you to the chess server.
-In this case set command line options as follows:
-
- at example
-xboard -ics -telnet -telnetProgram ptelnet
- at end example
-
- at noindent
-Or in your @file{.Xresources} file:
-
- at example
-XBoard*useTelnet: true
-XBoard*telnetProgram: ptelnet
- at end example
-
- at noindent
-Then when you run XBoard in ICS mode, it will issue the
-command @samp{ptelnet chessclub.com 5000} to connect to the ICS.
-
-Next, suppose that @samp{ptelnet chessclub.com 5000} doesn't work;
-that is, your @file{ptelnet} program doesn't let you connect to
-alternative ports. As noted above, your chess server may allow you to
-connect on port 23 instead.  In that case, just add the option
- at samp{-icsport ""} to the above command, or add
- at samp{XBoard*internetChessServerPort:} to your @file{.Xresources} file.
-But if your chess server doesn't let you connect on port 23, you will have
-to find some other host outside the firewall and hop through it. For
-instance, suppose you have a shell account at @samp{foo.edu}. Set
-command line options as follows:
-
- at example
-xboard -ics -telnet -telnetProgram ptelnet -icshost foo.edu -icsport ""
- at end example
-
- at noindent
-Or in your @file{.Xresources} file:
-
- at example
-XBoard*useTelnet: true
-XBoard*telnetProgram: ptelnet
-XBoard*internetChessServerHost: foo.edu
-XBoard*internetChessServerPort:
- at end example
-
- at noindent
-Then when you run XBoard in ICS mode, it will issue the
-command @samp{ptelnet foo.edu} to connect to your account at
- at samp{foo.edu}. Log in there, then type @samp{telnet chessclub.com 5000}.
-
-ICC timestamp and FICS timeseal do not work through some
-firewalls.  You can use them only if your firewall gives a clean TCP
-connection with a full 8-bit wide path.  If your firewall allows you
-to get out only by running a special telnet program, you can't use
-timestamp or timeseal across it.  But if you have access to a
-computer just outside your firewall, and you have much lower netlag
-when talking to that computer than to the ICS, it might be worthwhile
-running timestamp there.  Follow the instructions above for hopping
-through a host outside the firewall (foo.edu in the example),
-but run timestamp or timeseal on that host instead of telnet.
-
-Suppose that you have a SOCKS firewall that will give you a clean
-8-bit wide TCP connection to the chess server, but only after you
-authenticate yourself via the SOCKS protocol.  In that case, you could
-make a socksified version of XBoard and run that.  If you are using
-timestamp or timeseal, you will to socksify it, not XBoard; this may
-be difficult seeing that ICC and FICS do not provide source code for
-these programs.  Socksification is beyond the scope of this document,
-but see the SOCKS Web site at http://www.socks.permeo.com/.
-If you are missing SOCKS, try http://www.funbureau.com/.
-
- at node Environment
- at chapter Environment variables
- at cindex Environment variables
- at cindex CHESSDIR
-Game and position files are found in a directory named by the
- at code{CHESSDIR} environment variable. If this variable is not set, the
-current working directory is used. If @code{CHESSDIR} is set,
-XBoard actually changes its working directory to
- at code{$CHESSDIR}, so any files written by the chess engine
-will be placed there too.
-
- at node Limitations
- at chapter Limitations and known bugs
- at cindex Limitations
- at cindex Bugs
-There is no way for two people running copies of XBoard to play
-each other without going through an Internet Chess Server.
-
-Under some circumstances, your ICS password may be echoed when you log on.
-
-If you are connecting to the ICS by running telnet on an Internet
-provider or firewall host, you may find that each line you type is
-echoed back an extra time after you hit @key{Enter}. If your Internet
-provider is a Unix system, you can probably turn its echo off by
-typing @kbd{stty -echo} after you log in, and/or typing
- at key{^E}@key{Enter} (Ctrl+E followed by the Enter key) to the telnet
-program after you have logged into ICS.  It is a good idea to do this
-if you can, because the extra echo can occasionally confuse XBoard's
-parsing routines.
-
-The game parser recognizes only algebraic notation.
-
-Many of the following points used to be limitations in XBoard 4.2.7 and earlier, 
-but are now fixed:
-The internal move legality tester in XBoard 4.3.xx does look at the game history, 
-and is fully aware of castling or en-passant-capture rights. It permits castling with 
-the king on the d file because this is possible in some "wild 1" games on ICS. 
-The piece-drop menu does not check piece drops in bughouse to see if you actually hold 
-the piece you are trying to drop. But this way of dropping pieces should be considered 
-an obsolete feature, now that pieces can be dropped by dragging them from the holdings 
-to the board. Anyway, if you would attempt an illegal move when using a chess engine or the ICS, 
-WinBoard will accept the error message that comes back, undo the move, and let you try another.
-FEN positions saved by XBoard do include correct information about whether castling or 
-en passant are legal, and also handle the 50-move counter.
-The mate detector does not understand that non-contact mate is not really mate in bughouse. 
-The only problem this causes while playing is minor: a "#" (mate indicator) character will 
-show up after a non-contact mating move in the move list. XBoard will not assume the game 
-is over at that point, not even when the option Detect Mates is on.
-Edit Game mode always uses the rules of the selected variant, 
-which can be a variant that uses piece drops.  
-You can load and edit games that contain piece drops. 
-The (obsolete) piece menus are not active, 
-but you can perform piece drops by dragging pieces from the holdings.
-Edit Position mode does not allow you to edit the crazyhouse holdings properly. 
-You cannot drag pieces to the holding, and using the popup menu to put pieces 
-there does not adapt the holding counts and leads to an inconsistent state. 
-Set up crazyhouse positions by loading / pasting a bFEN, from there you can set the holdings.
-Fischer Random castling is fully understood. 
-You can enter castlings by dragging the King on top of your Rook. 
-You can probably also play Fischer Random successfully on ICS by typing 
-castling moves into the ICS Interaction window.
-
-The menus may not work if your keyboard is in Caps Lock or Num Lock mode.
-This seems to be a problem with the Athena menu widget,
-not an XBoard bug.
-
-Also see the ToDo file included with the distribution for many other
-possible bugs, limitations, and ideas for improvement that have been
-suggested.
- at node Problems
- at chapter Reporting problems
- at cindex Bugs
- at cindex Bug reports
- at cindex Reporting bugs
- at cindex Problems
- at cindex Reporting problems
-
-Report bugs and problems with XBoard to @code{<bug-xboard@@gnu.org>}.
-
-Please use the @file{script} program to start a typescript, run 
-XBoard with the @samp{-debug} option, and include the typescript
-output in your message.
-Also tell us what kind of machine and what operating system version
-you are using.  The command @samp{uname -a} will often tell you this.
-Here is a sample of approximately what you should type:
-
- at example
-script
-uname -a
-./configure
-make
-./xboard -debug
-exit
-mail bug-xboard@@gnu.org
-Subject: Your short description of the problem
-Your detailed description of the problem
-~r typescript
-.
- at end example
-
-The WinBoard / XBoard 4.3 line is being developed by H.G. Muller 
-independently of the GNU Savannah xboard project. 
-Bug reports on this version, and suggestions for improvements and additions, 
-are best posted in the WinBoard forum, 
-WinBoard-development section (http://www.open-aurec.com/wbforum). 
-
-If you improve XBoard, please send a message about your changes,
-and we will get in touch with you about merging them in
-to the main line of development.
-Also see our Web site at http://savannah.gnu.org/projects/xboard/.
-
- at node Contributors
- at chapter Authors and contributors
- at cindex Authors
- at cindex Contributors
-
-Tim Mann has been responsible for XBoard versions 1.3 and beyond, and
-for WinBoard, a port of XBoard to Microsoft Win32 (Windows NT and
-Windows 95). H.G.Muller is responsible for version 4.3.
-
-Mark Williams contributed the initial (WinBoard-only) implementation
-of many new features added to both XBoard and WinBoard in version
-4.1.0, including copy/paste, premove, icsAlarm, autoFlipView, training
-mode, auto raise, and blindfold.  Ben Nye contributed X copy/paste
-code for XBoard.
-
-Hugh Fisher added animated piece movement to XBoard, and Henrik Gram
-(henrikg@@funcom.com) added it to WinBoard.  Frank McIngvale added
-click/click moving, the Analysis modes, piece flashing, ZIICS import,
-and ICS text colorization to XBoard.  Jochen Wiedmann ported XBoard to
-the Amiga, creating AmyBoard, and converted the documentation to
-texinfo.  Elmar Bartel contributed the new piece bitmaps introduced in
-version 3.2.  John Chanak contributed the initial implementation of
-ICS mode.  The color scheme and the old 80x80 piece bitmaps were taken
-from Wayne Christopher's @code{XChess} program.
-
-Chris Sears and Dan Sears wrote the original XBoard.  They were
-responsible for versions 1.0 through 1.2.
-
-Evan Welsh wrote @code{CMail}.  Patrick Surry helped in designing,
-testing, and documenting CMail.
-
-Allessandro Scotti added many elements to the user interface of WinBoard, 
-including the board textures and font-based rendering, the evaluation-graph, 
-move-history and engine-output window. 
-He was also responsible for adding the UCI support. 
-
-H.G. Muller made WinBoard castling- and e.p.-aware, 
-added variant support with adjustable board sizes, 
-the crazyhouse holdings, and the fairy pieces. 
-In addition he added most of the adjudication options, 
-made WinBoard more robust in dealing with buggy and crashing engines, 
-and extended time control with a time-odds and node-count-based modes.
-Most of the options that initially wre WinBoard only have now been back-ported to XBoard.
-
-Michel van den Bergh provided the code for reading Polyglot opening books.
-
-Arun Persaud worked with H.G. Muller to combine all the features of the never-released WinBoard 4.2.8 
-of the Savannah project (mainly by Daniel Mehrmann), 
-and the never-released 4.3.16 into a unified WinBoard 4.4, 
-which is now available both from the Savannah web site and the WinBoard forum.
- at node CMail
- at chapter CMail
- at cindex cmail
-The @file{cmail} program can help you play chess by email with opponents of
-your choice using XBoard as an interface.
-
-You will usually run @file{cmail} without giving any options.
-
- at menu
-* CMail options::    Invoking CMail.
-* CMail game::       Starting a CMail game.
-* CMail answer::     Answering a move.
-* CMail multi::      Multiple games in one message.
-* CMail completion:: Completing a game.
-* CMail trouble::    Known CMail problems.
- at end menu
-
- at node CMail options
- at section CMail options
- at table @asis
- at item -h
-Displays @file{cmail} usage information.
- at item -c
-Shows the conditions of the GNU General Public License.
- at xref{Copying}.
- at item -w
-Shows the warranty notice of the GNU General Public License.
- at xref{Copying}.
- at item -v
- at itemx -xv
-Provides or inhibits verbose output from @file{cmail} and XBoard,
-useful for debugging. The
- at code{-xv}
-form also inhibits the cmail introduction message.
- at item -mail
- at itemx -xmail
-Invokes or inhibits the sending of a mail message containing the move.
- at item -xboard
- at itemx -xxboard
-Invokes or inhibits the running of XBoard on the game file.
- at item -reuse
- at itemx -xreuse
-Invokes or inhibits the reuse of an existing XBoard to display the
-current game.
- at item -remail
-Resends the last mail message for that game. This inhibits running
-XBoard.
- at item -game <name>
-The name of the game to be processed.
- at item -wgames <number>
- at itemx -bgames <number>
- at itemx -games <number>
-Number of games to start as White, as Black or in total. Default is 1 as
-white and none as black. If only one color is specified then none of the
-other color is assumed. If no color is specified then equal numbers of
-White and Black games are started, with the extra game being as White if an
-odd number of total games is specified.
- at item -me <short name>
- at itemx -opp <short name>
-A one-word alias for yourself or your opponent.
- at item -wname <full name>
- at itemx -bname <full name>
- at itemx -name <full name>
- at itemx -oppname <full name>
-The full name of White, Black, yourself or your opponent.
- at item -wna <net address>
- at itemx -bna <net address>
- at itemx -na <net address>
- at itemx -oppna <net address>
-The email address of White, Black, yourself or your opponent.
- at item -dir <directory>
-The directory in which @file{cmail} keeps its files. This defaults to the
-environment variable @code{$CMAIL_DIR} or failing that, @code{$CHESSDIR},
- at file{$HOME/Chess} or @file{~/Chess}. It will be created if it does not exist.
- at item -arcdir <directory>
-The directory in which @file{cmail} archives completed games. Defaults to
-the environment variable @code{$CMAIL_ARCDIR} or, in its absence, the same
-directory as cmail keeps its working files (above).
- at item -mailprog <mail program>
-The program used by cmail to send email messages. This defaults to the
-environment variable @code{$CMAIL_MAILPROG} or failing that
- at file{/usr/ucb/Mail}, @file{/usr/ucb/mail} or @file{Mail}. You will need
-to set this variable if none of the above paths fit your system.
- at item -gamesFile <file>
- at cindex .cmailgames
-A file containing a list of games with email addresses. This defaults to
-the environment variable @code{$CMAIL_GAMES} or failing that
- at file{.cmailgames}.
- at item -aliasesFile <file>
- at cindex .cmailaliases
-A file containing one or more aliases for a set of email addresses. This
-defaults to the environment variable @code{$CMAIL_ALIASES} or failing
-that @file{.cmailaliases}.
- at item -logFile <file>
-A file in which to dump verbose debugging messages that are invoked with
-the @samp{-v}
-option.
- at item -event <event>
-The PGN Event tag (default @samp{Email correspondence game}).
- at item -site <site>
-The PGN Site tag (default @samp{NET}).
- at item -round <round>
-The PGN Round tag (default @samp{-}, not applicable).
- at item -mode <mode>
-The PGN Mode tag (default @samp{EM}, Electronic Mail).
- at item Other options
-Any option flags not listed above are passed through to XBoard.
-Invoking XBoard through CMail changes the default values of two XBoard
-options: The default value for @samp{-noChessProgram} is changed to
-true; that is, by default no chess engine is started.  The default
-value for @samp{-timeDelay} is changed to 0; that is, by default
-XBoard immediately goes to the end of the game as played so far,
-rather than stepping through the moves one by one.  You can still set
-these options to whatever values you prefer by supplying them on
-CMail's command line.  @xref{Options}.
- at end table
-
- at node CMail game
- at section Starting a CMail Game
-Type @file{cmail} from a shell to start a game as white. After an opening
-message, you will be prompted for a game name, which is optional---if you
-simply press @key{Enter}, the game name will take the form
- at samp{you-VS-opponent}. You will next be prompted for the short name
-of your opponent. If you haven't played this person before, you will also
-be prompted for his/her email address. @file{cmail} will then invoke
-XBoard in the background. Make your first move and select
- at samp{Mail Move} from the @samp{File} menu. @xref{File Menu}. If all is well,
- at file{cmail} will mail a copy of the move to your opponent. If you select
- at samp{Exit} without having selected @samp{Mail Move} then no move will be
-made.
-
- at node CMail answer
- at section Answering a Move
-When you receive a message from an opponent containing a move in one of
-your games, simply pipe the message through @file{cmail}. In some mailers
-this is as simple as typing @kbd{| cmail} when viewing the message, while in
-others you may have to save the message to a file and do @kbd{cmail < file}
-at the command line. In either case @file{cmail} will display the game using
-XBoard. If you didn't exit XBoard when you made your first move
-then @file{cmail} will do its best to use the existing XBoard instead
-of starting a new one. As before, simply make a move and select
- at samp{Mail Move} from the @samp{File} menu. @xref{File Menu}. @file{cmail}
-will try to use the
-XBoard that was most recently used to display the current game. This
-means that many games can be in progress simultaneously, each with its own
-active XBoard.
-
-If you want to look at the history or explore a variation, go ahead, but
-you must return to the current position before XBoard will allow you
-to mail a move. If you edit the game's history you must select
- at samp{Reload Same Game} from the @samp{File} menu to get back to the original
-position, then make the move you want and select @samp{Mail Move}.
-As before, if you decide you aren't ready to make a move just yet you can
-either select @samp{Exit} without sending a move or just leave
-XBoard running until you are ready.
-
- at node CMail multi
- at section Multi-Game Messages
-
-It is possible to have a @file{cmail} message carry more than one game.
-This feature was implemented to handle IECG (International Email Chess
-Group) matches, where a match consists of one game as white and one as black,
-with moves transmitted simultaneously. In case there are more general uses,
- at file{cmail} itself places no limit on the number of black/white games
-contained in a message; however, XBoard does.
-
- at node CMail completion
- at section Completing a Game
-Because XBoard can detect checkmate and stalemate, @file{cmail}
-handles game termination sensibly. As well as resignation, the
- at samp{Action} menu allows draws to be offered and accepted for
- at file{cmail} games.
-
-For multi-game messages, only unfinished and just-finished games will be
-included in email messages. When all the games are finished, they are
-archived in the user's archive directory, and similarly in the opponent's
-when he or she pipes the final message through @file{cmail}. The archive
-file name includes the date the game was started.
-
- at node CMail trouble
- at section Known CMail Problems
-It's possible that a strange conjunction of conditions may occasionally
-mean that @file{cmail} has trouble reactivating an existing
-XBoard. If this should happen, simply trying it again should work.
-If not, remove the file that stores the XBoard's PID
-(@file{game.pid}) or use the @samp{-xreuse} option to force
- at file{cmail} to start a new XBoard.
-
-Versions of @file{cmail} after 2.16 no longer understand the old file format
-that XBoard used to use and so cannot be used to correspond with
-anyone using an older version.
-
-Versions of @file{cmail} older than 2.11 do not handle multi-game messages,
-so multi-game correspondence is not possible with opponents using an older
-version.
-
- at node Other programs
- at chapter Other programs you can use with XBoard
- at cindex Other programs
-
-Here are some other programs you can use with XBoard
-
- at menu
-* GNU Chess::        The GNU Chess engine.
-* Fairy-Max::        The Fairy-Max chess engine.
-* HoiChess::         The HoiChess chess engine.
-* Crafty::           The Crafty chess engine.
-* zic2xpm::          The program used to import chess sets from ZIICS.
- at end menu
-
- at node GNU Chess
- at section GNU Chess
-
-The GNU Chess engine is available from:
-
-ftp://ftp.gnu.org/gnu/gnuchess/
-
-You can use XBoard to play a game against GNU Chess, or to
-interface GNU Chess to an ICS.
-
- at node Fairy-Max
- at section Fairy-Max
-
-Fairy-Max is a derivative from the World's smallest Chess program micro-Max,
-which measures only about 100 lines of source code.
-The main difference with micro-Max is that Fairy-Max loads its move-generator
-tables from a file, so that the rules for piece movement can be easily configured
-to implement unorthodox pieces.
-Fairy-Max can therefore play a lage number of variants, normal Chess being one of those.
-In addition it plas Knightmate, Capablanca and Gothic Chess, Shatranj, Courier Chess,
-Cylinder chess, Berolina Chess, while the user can easily define new variants.
-It can be obtained from:
-
-http://home.hccnet.nl/h.g.muller/dwnldpage.html
-
- at node HoiChess
- at section HoiChess
-
-HoiChess is a not-so-very-strong Chess engine, which comes with a derivative HoiXiangqi,
-able to play Chinese Chess. It can be obtained from the standard Linux repositories
-through:
-
-sudo apt-get install hoichess
-
- at node Crafty
- at section Crafty
-
-Crafty is a chess engine written by Bob Hyatt.
-You can use XBoard to play a game against Crafty, hook Crafty up
-to an ICS, or use Crafty to interactively analyze games and positions
-for you.
-
-Crafty is a strong, rapidly evolving chess program. This rapid
-pace of development is good, because it means Crafty is always
-getting better.  This can sometimes cause problems with
-backwards compatibility, but usually the latest version of Crafty
-will work well with the latest version of XBoard.
-Crafty can be obtained from its author's FTP site:
-ftp://ftp.cis.uab.edu/hyatt/.
-
-To use Crafty with XBoard, give the -fcp and -fd options as follows, where
-<crafty's directory> is the directory in which you installed Crafty
-and placed its book and other support files.
-
- at node zic2xpm
- at section zic2xpm
-
-The ``zic2xpm'' program is used to import chess sets from the ZIICS(*)
-program into XBoard. ``zic2xpm'' is part of the XBoard distribution.
-ZIICS is available from:
-
-ftp://ftp.freechess.org/pub/chess/DOS/ziics131.exe
-
-To import ZIICS pieces, do this:
- at table @asis
- at item 1. Unzip ziics131.exe into a directory:
-
- at example
-unzip -L ziics131.exe -d ~/ziics
- at end example
- at item 2. Use zic2xpm to convert a set of pieces to XBoard format.
-
-For example, let's say you want to use the
-FRITZ4 set. These files are named ``fritz4.*'' in the ZIICS distribution.
-
- at example
-mkdir ~/fritz4
-cd ~/fritz4
-zic2xpm ~/ziics/fritz4.*
- at end example
- at item 3. Give XBoard the ``-pixmap'' option when starting up, e.g.:
-
- at example
-xboard -pixmap ~/fritz4
- at end example
-
-Alternatively, you can add this line to your @file{.Xresources} file:
-
- at example
-xboard*pixmapDirectory: ~/fritz4
- at end example
- at end table
-
-(*) ZIICS is a separate copyrighted work of Andy McFarland.
-The ``ZIICS pieces'' are copyrighted works of their respective
-creators. Files produced by ``zic2xpm'' are for PERSONAL USE ONLY
-and may NOT be redistributed without explicit permission from
-the original creator(s) of the pieces.
-
- at ifnottex
- at node Copyright
- at unnumbered Copyright
- at include copyright.texi
- at end ifnottex
-
- at node Copying
- at unnumbered GNU GENERAL PUBLIC LICENSE
- at include gpl.texinfo
-
- at c noman
- at node Index
- at unnumbered Index
-
- at printindex cp
- at contents
- at c end noman
-
- at bye
+\input texinfo	@c -*-texinfo-*-
+ at c %**start of header
+ at setfilename xboard.info
+ at settitle XBoard
+ at c %**end of header
+
+ at include version.texi
+
+ at ifinfo
+ at format
+INFO-DIR-SECTION Games
+START-INFO-DIR-ENTRY
+* xboard: (xboard).         An X Window System graphical chessboard.
+END-INFO-DIR-ENTRY
+ at end format
+ at end ifinfo
+
+ at titlepage
+ at title XBoard
+
+ at page
+ at vskip 0pt plus 1filll
+ at include copyright.texi
+
+ at end titlepage
+ at ifset man
+.TH xboard 6 "$Date: " "GNU"
+.SH NAME
+.PP
+xboard @- X graphical user interface for chess
+.SH SYNOPSIS
+.PP
+.B xboard [options]
+.br
+.B xboard -ics -icshost hostname [options]
+.br
+.B xboard -ncp [options]
+.br
+.B |pxboard
+.br
+.B cmail [options]
+ at end ifset
+
+ at node Top
+ at top Introduction
+ at cindex introduction
+
+ at ifset man
+.SH DESCRIPTION
+ at end ifset
+
+XBoard is a graphical chessboard that can serve as a
+user interface to chess engines (such as GNU Chess), the
+Internet Chess Servers,
+electronic mail correspondence chess, or your own collection of saved games.
+
+This manual documents version @value{VERSION} of XBoard.
+
+ at menu
+* Major modes::     The main things XBoard can do.
+* Menus::           Menus, buttons, and keys.
+* Options::         Command options supported by XBoard.
+* Chess Servers::   Using XBoard with an Internet Chess Server (ICS).
+* Firewalls::       Connecting to a chess server through a firewall.
+* Environment::     Environment variables.
+* Limitations::     Known limitations and/or bugs.
+* Problems::        How and where to report any problems you run into.
+* Contributors::    People who have helped developing XBoard.
+* CMail::           Using XBoard for electronic correspondence chess.
+* Other programs::  Other programs you can use with XBoard.
+ at ifnottex
+* Copyright::       Copyright notice for this manual.
+ at end ifnottex
+* Copying::         The GNU General Public License.
+
+* Index::           Index of concepts and symbol names.
+ at end menu
+
+ at node Major modes
+ at chapter Major modes
+ at cindex Major modes
+
+XBoard always runs in one of four major modes.  You select the
+major mode from the command line when you start up XBoard.
+
+ at table @asis
+ at item xboard [options]
+As an interface to GNU Chess or another chess engine running on your
+machine, XBoard lets you play a game against the machine,
+set up arbitrary positions, force variations, watch a game between two
+chess engines, interactively analyze your stored games or set up and
+analyze arbitrary positions.  (Note: Not all chess engines support
+analysis.)
+ at item xboard -ics -icshost hostname [options]
+As Internet Chess Server (ICS) interface, XBoard
+lets you play against other ICS users, observe games
+they are playing, or review games that have recently finished.  Most
+of the ICS "wild" chess variants are supported, including bughouse.
+ at item xboard -ncp [options]
+XBoard can also be used simply
+as an electronic chessboard to play through games. It will read and
+write game files and allow you to play through variations
+manually. You can use it to browse games off the net or review games
+you have saved.  These features are also available in the other modes.
+ at item |pxboard
+If you want to pipe games into XBoard, use the supplied shell
+script @file{pxboard}.  For example, from the news reader @file{xrn},
+find a message with one or more games in it, click the Save button,
+and type @samp{|pxboard} as the file name.
+ at item cmail [options]
+As an interface to electronic mail correspondence chess, XBoard
+works with the cmail program. See @ref{CMail} below for
+instructions.
+ at end table
+
+ at node Menus
+ at chapter Menus, buttons, and keys
+ at cindex Menus
+
+To move a piece, you can drag it with the left mouse button, or you
+can click the left mouse button once on the piece, then once more on
+the destination square.  To drop a new piece on a square (when
+applicable), press the middle or the right mouse button over the
+square and select from the popup menu.  In cases where you can drop
+either a white or black piece, use the middle button (or shift+right)
+for white and the right button (or shift+middle) for black.  When you
+are playing a bughouse game on an Internet Chess Server, a list of the
+offboard pieces that each player has available is shown in the window
+title after the player's name; in addition, the piece menus show the
+number of pieces available of each type. From version 4.3.14 on, it is
+also possible in crazyhouse, bughouse or shogi to dag and drop pieces
+to the board from the holdings squares displayed next to the board.
+
+All other XBoard commands are available from the menu bar. The most
+frequently used commands also have shortcut keys or on-screen buttons.
+
+When XBoard is iconized, its graphical icon is a white knight if
+it is White's turn to move, a black knight if it is Black's turn.  See
+Iconize in @ref{Keys} below if you have problems getting this
+feature to work.
+
+ at menu
+* File Menu::       Accessing external games and positions.
+* Mode Menu::       Selecting XBoard's mode.
+* Action Menu::     Talking to the chess engine or ICS opponents.
+* Step Menu::       Controlling the game.
+* Options Menu::    User preferences.
+* Help Menu::       Getting help.
+* Keys::            Other shortcut keys.
+ at end menu
+
+ at node File Menu
+ at section File Menu
+ at cindex File Menu
+ at cindex Menu, File
+ at table @asis
+ at item New Game
+ at cindex New Game, Menu Item
+Resets XBoard and the chess engine to the beginning of a new chess
+game. The @kbd{r} key is a keyboard equivalent. In Internet Chess
+Server mode, clears the current state of XBoard, then
+resynchronizes with the ICS by sending a refresh command. If you want to
+stop playing, observing, or examining an ICS game, use an
+appropriate command from the Action menu, not @samp{New Game}.
+ at xref{Action Menu}.
+ at item New Shuffle Game
+ at cindex New Shuffle Game, Menu Item
+Similar to @samp{New Game}, but allows you to specify a particular initial position 
+(according to a standardized numbering system)
+in chess variants which use randomized opening positions (e.g. Chess960).
+The selected opening position will persistently be chosen on any following
+New Game command until you use this menu to select another. Selecting
+position number -1 will produce a newly randomized position on any new game.
+Using this menu item in variants that normally do not shuffle their opening position
+does cause these variants to become shuffle variants until you use the
+ at samp{New Shuffle Game} menu to explicitly switch the randomization off,
+or select a new variant.
+ at item New Variant
+ at cindex New variant, Menu Item
+Allows you to select a new chess variant in non-ICS mode. 
+(In ICS play, the ICS is responsible for deciding which variant will be played,
+and XBoard adapts autmatically.) If you play with an engine, the engine must
+be able to play the selected variant, or the command will be ignored.
+XBoard supports all major variants, such as xiangqi, shogi, chess, chess960,
+Capablanca Chess, shatranj, crazyhous, bughouse.
+ at item Load Game
+ at cindex Load Game, Menu Item
+Plays a game from a record file. The @kbd{g} key is a keyboard equivalent.
+A popup dialog prompts you for the file name. If the file contains more
+than one game, a second popup dialog
+displays a list of games (with information drawn from their PGN tags, if
+any), and you can select the one you want. Alternatively, you can load the
+Nth game in the file directly, by typing the number @kbd{N} after the
+file name, separated by a space.
+
+The game file parser will accept PGN (portable game notation),
+or in fact almost any file that contains moves in algebraic
+notation. 
+Notation of the form @samp{P@@f7}
+is accepted for piece-drops in bughouse games;
+this is a nonstandard extension to PGN.
+If the file includes a PGN position (FEN tag), or an old-style
+XBoard position diagram bracketed by @samp{[--} and @samp{--]}
+before the first move, the game starts from that position. Text
+enclosed in parentheses, square brackets, or curly braces is assumed to
+be commentary and is displayed in a pop-up window. Any other
+text in the file is ignored. PGN variations (enclosed in
+parentheses) are treated as comments; XBoard is not able to walk
+variation trees.
+The nonstandard PGN tag [Variant "varname"] functions similarly to
+the -variant command-line option (see below), allowing games in certain chess
+variants to be loaded.  There is also a heuristic to 
+recognize chess variants from the Event tag, by looking for the strings
+that the Internet Chess Servers put there when saving variant ("wild") games.
+ at item Load Next Game
+ at cindex Load Next Game, Menu Item
+Loads the next game from the last game record file you loaded.
+The shifted @kbd{N} key is a keyboard equivalent.
+ at item Load Previous Game
+ at cindex Load Previous Game, Menu Item
+Loads the previous game from the last game record file you
+loaded.  The shifted @kbd{P} key is a keyboard equivalent.
+Not available if the last game was loaded from a pipe.
+ at item Reload Same Game
+ at cindex Reload Same Game, Menu Item
+Reloads the last game you loaded.
+Not available if the last game was loaded from a pipe.
+ at item Save Game
+ at cindex Save Game, Menu Item
+Appends a record of the current game to a file.
+A popup dialog
+prompts you for the file name. If the game did not begin with
+the standard starting position, the game file includes the
+starting position used. Games are saved in the PGN (portable
+game notation) format, unless the oldSaveStyle option is true,
+in which case they are saved in an older format that is specific
+to XBoard. Both formats are human-readable, and both can be
+read back by the @samp{Load Game} command.
+Notation of the form @samp{P@@f7}
+is accepted for piece-drops in bughouse games;
+this is a nonstandard extension to PGN.
+ at item Copy Game
+ at cindex Copy Game, Menu Item
+Copies a record of the current game to an internal clipboard in PGN
+format and sets the X selection to the game text.  The game can be
+pasted to another application (such as a text editor or another copy
+of XBoard) using that application's paste command.  In many X
+applications, such as xterm and emacs, the middle mouse button can be
+used for pasting; in XBoard, you must use the Paste Game command.
+ at item Paste Game
+ at cindex Paste Game, Menu Item
+Interprets the current X selection as a game record and loads it, as
+with Load Game.
+ at item Load Position
+ at cindex Load Position, Menu Item
+Sets up a position from a position file.  A popup dialog prompts
+you for the file name. If the file contains more than one saved
+position, and you want to load the Nth one, type the number N
+after the file name, separated by a space. Position files must
+be in FEN (Forsythe-Edwards notation), or in the format that the
+Save Position command writes when oldSaveStyle is turned on.
+ at item Load Next Position
+ at cindex Load Next Position, Menu Item
+Loads the next position from the last position file you loaded.
+ at item Load Previous Position
+ at cindex Load Previous Position, Menu Item
+Loads the previous position from the last position file you
+loaded.  Not available if the last position was loaded from a pipe.
+ at item Reload Same Position
+ at cindex Reload Same Position, Menu Item
+Reloads the last position you loaded.
+Not available if the last position was loaded from a pipe.
+ at item Save Position
+ at cindex Save Game, Menu Item
+Appends a diagram of the current position to a file.
+A popup dialog
+prompts you for the file name. Positions are saved in
+FEN (Forsythe-Edwards notation) format unless the @code{oldSaveStyle}
+option is true, in which case they are saved in an older,
+human-readable format that is specific to XBoard. Both formats
+can be read back by the @samp{Load Position} command.
+ at item Copy Position
+ at cindex Copy Position, Menu Item
+Copies the current position to an internal clipboard in FEN format and
+sets the X selection to the position text.  The position can be pasted
+to another application (such as a text editor or another copy of
+XBoard) using that application's paste command.  In many X
+applications, such as xterm and emacs, the middle mouse button can be
+used for pasting; in XBoard, you must use the Paste Position command.
+ at item Paste Position
+ at cindex Paste Position, Menu Item
+Interprets the current X selection as a FEN position and loads it, as
+with Load Position.
+ at item Mail Move
+ at itemx Reload CMail Message
+ at cindex Mail Move, Menu Item
+ at cindex Reload CMail Message, Menu Item
+See @ref{CMail}.
+ at item Exit
+ at cindex Exit, Menu Item
+Exits from XBoard. The shifted @kbd{Q} key is a keyboard equivalent.
+ at end table
+
+ at node Mode Menu
+ at section Mode Menu
+ at cindex Menu, Mode
+ at cindex Mode Menu
+ at table @asis
+ at item Machine White
+ at cindex Machine White, Menu Item
+Tells the chess engine to play White.
+ at item Machine Black
+ at cindex Machine Black, Menu Item
+Tells the chess engine to play Black.
+ at item Two Machines
+ at cindex Two Machines, Menu Item
+Plays a game between two chess engines.
+ at item Analysis Mode
+ at cindex Analysis Mode, Menu Item
+XBoard tells the chess engine to start analyzing the current game/position
+and shows you the analysis as you move pieces around.
+Note: Some chess engines do not support Analysis mode.
+
+To set up a position to analyze, you do the following:
+
+1. Select Edit Position from the Mode Menu
+
+2. Set up the position.  Use the middle and right buttons to
+bring up the white and black piece menus.
+
+3. When you are finished, click on either the Black or White
+clock to tell XBoard which side moves first.
+
+4. Select Analysis Mode from the Mode Menu to start the analysis.
+
+The analysis function can also be used when observing games on an ICS
+with an engine loaded (zippy mode); the engine then will analyse
+the positions as they occur in the observed game.
+ at item Analyze File
+ at cindex Analyze File, Menu Item
+This option lets you load a game from a file (PGN, XBoard format, etc.)
+and analyze it. When you select this menu item, a popup window appears
+and asks for a filename to load.
+If the file contains multiple games, another popup appears that lets
+you select which game you wish to analyze.
+After a game is loaded, use the XBoard arrow buttons to step
+forwards/backwards through the game and watch the analysis.
+Note: Some chess engines do not support Analysis mode.
+ at item ICS Client
+ at cindex ICS Client, Menu Item
+This is the normal mode when XBoard
+is connected to a chess server.  If you have moved into
+Edit Game or Edit Position mode, you can select this option to get out.
+
+To use xboard in ICS mode, run it in the foreground with the -ics
+option, and use the terminal you started it from to type commands and
+receive text responses from the chess server.  See
+ at ref{Chess Servers} below for more information.
+
+XBoard activates some special position/game editing features when you
+use the @kbd{examine} or @kbd{bsetup} commands on ICS and you have
+ at samp{ICS Client} selected on the Mode menu.  First, you can issue the
+ICS position-editing commands with the mouse.  Move pieces by dragging
+with mouse button 1.  To drop a new piece on a square, press mouse
+button 2 or 3 over the square.  This brings up a menu of white pieces
+(button 2) or black pieces (button 3).  Additional menu choices let
+you empty the square or clear the board.  Click on the White or Black
+clock to set the side to play.  You cannot set the side to play or
+drag pieces to arbitrary squares while examining on ICC, but you can
+do so in @kbd{bsetup} mode on FICS.  In addition, the menu commands
+ at samp{Forward}, @samp{Backward}, @samp{Pause}, and @samp{Stop Examining}
+have special functions in this mode; see below.
+ at item Edit Game
+ at cindex Edit Game, Menu Item
+Allows you to make moves for both Black and White, and to change
+moves after backing up with the @samp{Backward} command. The clocks do
+not run.
+
+In chess engine mode, the chess engine continues to check moves for legality
+but does not participate in the game. You can bring the chess engine
+into the game by selecting @samp{Machine White}, @samp{Machine Black},
+or @samp{Two Machines}.
+
+In ICS mode, the moves are not sent to the ICS: @samp{Edit Game} takes
+XBoard out of ICS Client mode and lets you edit games locally.
+If you want to edit games on ICS in a way that other ICS users
+can see, use the ICS @kbd{examine} command or start an ICS match
+against yourself.
+ at item Edit Position
+ at cindex Edit Position, Menu Item
+Lets you set up an arbitrary board position.
+Use mouse button 1 to drag pieces to new squares, or to delete a piece
+by dragging it off the board or dragging an empty square on top of it.
+To drop a new piece on a square, press mouse button 2 or 3 over the
+square. This brings up a menu of white pieces (button 2) or
+black pieces (button 3). Additional menu choices let you empty the
+square or clear the board. You can set the side to play next by
+clicking on the word White or Black at the top of the screen.
+Selecting @samp{Edit Position} causes XBoard to discard
+all remembered moves in the current game.
+
+In ICS mode, changes made to the position by @samp{Edit Position} are
+not sent to the ICS: @samp{Edit Position} takes XBoard out of
+ at samp{ICS Client} mode and lets you edit positions locally. If you want to
+edit positions on ICS in a way that other ICS users can see, use
+the ICS @kbd{examine} command, or start an ICS match against yourself.
+(See also the ICS Client topic above.)
+ at item Training
+ at cindex Training, Menu Item
+Training mode lets you interactively guess the moves of a game for one
+of the players. You guess the next move of the game by playing the
+move on the board. If the move played matches the next move of the
+game, the move is accepted and the opponent's response is autoplayed.
+If the move played is incorrect, an error message is displayed.  You
+can select this mode only while loading a game (that is, after
+selecting @samp{Load Game} from the File menu).  While XBoard is in 
+ at samp{Training} mode, the navigation buttons are disabled.
+ at item Show Game List
+ at cindex Show Game List, Menu Item
+Shows or hides the list of games generated by the last @samp{Load Game}
+command.
+ at item Show Move History
+ at cindex Show Move History, Menu Item
+Shows or hides a list of moves of the current game.
+This list allows you to move the display to any earlier position in the game
+by clicking on the corresponding move.
+ at item Show Engine Output
+ at cindex Show Engine Output, Menu Item
+Shows or hides a window in which the thinking output of any loaded engines
+is displayed.
+ at item Edit Tags
+ at cindex Edit Tags, Menu Item
+Lets you edit the PGN (portable game notation)
+tags for the current game. After editing, the tags must still conform to
+the PGN tag syntax:
+
+ at example
+<tag-section> ::= <tag-pair> <tag-section>
+                        <empty>
+<tag-pair> ::= [ <tag-name> <tag-value> ]
+<tag-name> ::= <identifier>
+<tag-value> ::= <string>
+ at end example
+ at noindent
+See the PGN Standard for full details. Here is an example:
+
+ at example
+[Event "Portoroz Interzonal"]
+[Site "Portoroz, Yugoslavia"]
+[Date "1958.08.16"]
+[Round "8"]
+[White "Robert J. Fischer"]
+[Black "Bent Larsen"]
+[Result "1-0"]
+ at end example
+ at noindent
+Any characters that do not match this syntax are silently ignored. Note that
+the PGN standard requires all games to have at least the seven tags shown
+above. Any that you omit will be filled in by XBoard
+with @samp{?} (unknown value), or @samp{-} (inapplicable value).
+ at item Edit Comment
+ at cindex Edit Comment, Menu Item
+Adds or modifies a comment on the current position. Comments are
+saved by @samp{Save Game} and are displayed by @samp{Load Game},
+ at samp{Forward}, and @samp{Backward}.
+ at item ICS Input Box
+ at cindex ICS Input Box, Menu Item
+If this option is set in ICS mode,
+XBoard
+creates an extra window that you can use for typing in ICS commands.
+The input box is especially useful if you want to type in something long or do
+some editing on your input, because output from ICS doesn't get mixed
+in with your typing as it would in the main terminal window.
+ at item Pause
+ at cindex Pause, Menu Item
+Pauses updates to the board, and if you are playing against a chess engine,
+also pauses your clock. To continue, select @samp{Pause} again, and the
+display will automatically update to the latest position.
+The @samp{P} button and keyboard @kbd{p} key are equivalents.
+
+If you select Pause when you are playing against a chess engine and
+it is not your move, the chess engine's clock
+will continue to run and it will eventually make a move, at which point
+both clocks will stop. Since board updates are paused, however,
+you will not see the move until you exit from Pause mode (or select Forward).
+This behavior is meant to simulate adjournment with a sealed move.
+
+If you select Pause while you are observing or examining a game on a
+chess server, you can step backward and forward in the current history
+of the examined game without affecting the other observers and
+examiners, and without having your display jump forward to the latest
+position each time a move is made. Select Pause again to reconnect
+yourself to the current state of the game on ICS.
+
+If you select @samp{Pause} while you are loading a game, the game stops
+loading. You can load more moves manually by selecting @samp{Forward}, or
+resume automatic loading by selecting @samp{Pause} again.
+ at end table
+
+ at node Action Menu
+ at section Action Menu
+ at cindex Menu, Action
+ at cindex Action, Menu
+ at table @asis
+ at item Accept
+ at cindex Accept, Menu Item
+Accepts a pending match offer. If there is more than one offer
+pending, you will have to type in a more specific command
+instead of using this menu choice.
+ at item Decline
+ at cindex Decline, Menu Item
+Declines a pending offer (match, draw, adjourn, etc.). If there
+is more than one offer pending, you will have to type in a more
+specific command instead of using this menu choice.
+ at item Call Flag
+ at cindex Call Flag, Menu Item
+Calls your opponent's flag, claiming a win on time, or claiming
+a draw if you are both out of time. You can also call your
+opponent's flag by clicking on his clock or by pressing the
+keyboard @kbd{t} key.
+ at item Draw
+ at cindex Draw, Menu Item
+Offers a draw to your opponent, accepts a pending draw offer
+from your opponent, or claims a draw by repetition or the 50-move
+rule, as appropriate. The @kbd{d} key is a keyboard equivalent.
+ at item Adjourn
+ at cindex Adjourn, Menu Item
+Asks your opponent to agree to adjourning the current game, or
+agrees to a pending adjournment offer from your opponent.
+ at item Abort
+ at cindex Abort, Menu Item
+Asks your opponent to agree to aborting the current game, or
+agrees to a pending abort offer from your opponent. An aborted
+game ends immediately without affecting either player's rating.
+ at item Resign
+ at cindex Resign, Menu Item
+Resigns the game to your opponent. The shifted @kbd{R} key is a
+keyboard equivalent.
+ at item Stop Observing
+ at cindex Stop Observing, Menu Item
+Ends your participation in observing a game, by issuing the ICS
+observe command with no arguments. ICS mode only.
+ at item Stop Examining
+ at cindex Stop Examining, Menu Item
+Ends your participation in examining a game, by issuing the ICS
+unexamine command. ICS mode only.
+ at end table
+
+ at node Step Menu
+ at section Step Menu
+ at cindex Step Menu
+ at cindex Menu, Step
+ at table @asis
+ at item Backward
+ at cindex Backward, Menu Item
+ at cindex <, Button
+Steps backward through a series of remembered moves.
+The @samp{[<]} button and the @kbd{b} key are equivalents,
+as is turning the mouse wheel towards you.
+In addition, pressing the Control key steps back one move, and releasing
+it steps forward again.
+
+In most modes, @samp{Backward} only lets you look back at old positions;
+it does not retract moves. This is the case if you are playing against
+a chess engine, playing or observing a game on an ICS, or loading a game.
+If you select @samp{Backward} in any of these situations, you will not
+be allowed to make a different move. Use @samp{Retract Move} or
+ at samp{Edit Game} if you want to change past moves.
+
+If you are examining an ICS game, the behavior of @samp{Backward}
+depends on whether XBoard is in Pause mode. If Pause mode is
+off, @samp{Backward} issues the ICS backward command, which backs up
+everyone's view of the game and allows you to make a different
+move. If Pause mode is on, @samp{Backward} only backs up your local
+view.
+ at item Forward
+ at cindex Forward, Menu Item
+ at cindex >, Button
+Steps forward through a series of remembered moves (undoing the
+effect of @samp{Backward}) or forward through a game file. The
+ at samp{[>]} button and the @kbd{f} key are equivalents,
+as is turning the mouse wheel away from you.
+
+If you are examining an ICS game, the behavior of Forward
+depends on whether XBoard is in Pause mode. If Pause mode is
+off, @samp{Forward} issues the ICS forward command, which moves
+everyone's view of the game forward along the current line. If
+Pause mode is on, @samp{Forward} only moves your local view forward,
+and it will not go past the position that the game was in when
+you paused.
+ at item Back to Start
+ at cindex Back to Start, Menu Item
+ at cindex <<, Button
+Jumps backward to the first remembered position in the game.
+The @samp{[<<]} button and the shifted @kbd{B} key are equivalents.
+
+In most modes, Back to Start only lets you look back at old
+positions; it does not retract moves. This is the case if you
+are playing against a local chess engine, playing or observing a game on
+a chess server, or loading a game. If you select @samp{Back to Start} in any
+of these situations, you will not be allowed to make different
+moves. Use @samp{Retract Move} or @samp{Edit Game} if you want to change past
+moves; or use Reset to start a new game.
+
+If you are examining an ICS game, the behavior of @samp{Back to
+Start} depends on whether XBoard is in Pause mode. If Pause mode
+is off, @samp{Back to Start} issues the ICS @samp{backward 999999}
+command, which backs up everyone's view of the game to the start and
+allows you to make different moves. If Pause mode is on, @samp{Back
+to Start} only backs up your local view.
+ at item Forward to End
+ at cindex Forward to End, Menu Item
+ at cindex >>, Button
+Jumps forward to the last remembered position in the game. The
+ at samp{[>>]} button and the shifted @kbd{F} key are equivalents.
+
+If you are examining an ICS game, the behavior of @samp{Forward to
+End} depends on whether XBoard is in Pause mode. If Pause mode
+is off, @samp{Forward to End} issues the ICS @samp{forward 999999}
+command, which moves everyone's view of the game forward to the end of
+the current line. If Pause mode is on, @samp{Forward to End} only moves
+your local view forward, and it will not go past the position
+that the game was in when you paused.
+ at item Revert
+ at cindex Revert, Menu Item
+If you are examining an ICS game and Pause mode is off, issues
+the ICS command @samp{revert}.
+ at item Truncate Game
+ at cindex Truncate Game, Menu Item
+Discards all remembered moves of the game beyond the current
+position. Puts XBoard into @samp{Edit Game} mode if it was not there
+already.
+ at item Move Now
+ at cindex Move Now, Menu Item
+Forces the chess engine to move immediately. Chess engine mode only.
+ at item Retract Move
+ at cindex Retract Move, Menu Item
+Retracts your last move. In chess engine mode, you can do this only
+after the chess engine has replied to your move; if the chess engine is still
+thinking, use @samp{Move Now} first. In ICS mode, @samp{Retract Move}
+issues the command @samp{takeback 1} or @samp{takeback 2}
+depending on whether it is your opponent's move or yours.
+ at item Adjudicate to White
+ at itemx Adjudicate to Black
+ at itemx Adjudicate Draw
+ at cindex Adjudicate to White, Menu Item
+ at cindex Adjudicate to Black, Menu Item
+ at cindex Adjudicate Draw, Menu Item
+Terminate an ongoing game in Two-Machines mode (including match mode),
+with as result a win for white, for black, or a draw, repsectively.
+The PGN file of the game will accompany the result string
+by the comment "user adjudication".
+ at end table
+
+ at node Options Menu
+ at section Options Menu
+ at cindex Menu, Options
+ at cindex Options Menu
+ at table @asis
+ at item Flip View
+ at cindex Flip View, Menu Item
+Inverts your view of the chess board for the duration of the
+current game. Starting a new game returns the board to normal.
+The @kbd{v} key is a keyboard equivalent.
+ at item Adjudications
+ at cindex Adjudications, Menu Item
+Pops up a sub-menu where you can enable or disable various adjudications
+that XBoard can perform in engine-engine games.
+You can instruct XBoard to detect and terminate the game on checkmate
+or stalemate, even if the engines would not do so, to verify engine
+result claims (forfeiting engines that make false claims), rather than
+naively following the engine, to declare draw on posititions
+which can never be won for lack of mating material, (e.g. KBK),
+or which are impossble to win unless the opponent seeks its own demise 
+(e.g. KBKN).
+For these adjudications to work, @samp{Test Legality} should be switched on.
+It is also possible to insruct XBoard to enforce a 50-move or 3-fold-repeat
+rule and automtically declare draw (after a user-adjustable number of moves
+or repeats) even if the engines are prepared to go on.
+It is also possible to have XBoard declare draw on games that seem to drag on 
+forever, or adjudicate a loss if both engines agree (for 3 cosecutive moves) that one
+of them is behind more than a user-adjustable score threshold.
+For the latter adjudication to work, XBoard should be able to properly understand
+the engine's scores. To faclitate the latter, you can inform xboard here if
+the engines report scores from the viewpoint of white, or from that of their own color.
+ at item Engine Settings
+Pops up a sub-menu where you can set some engine parameters common to most engines,
+such as hash-table size, tablebase cache size, maximum number of processors
+that SMP engines can use, and where to find the Polyglot adapter needed
+to run UCI engines under XBoard. The feature tht allows setting of these parameters on
+engines is new since XBoard 4.3.15, so not many WinBoard engines respond
+to it yet, but UCI engines should.
+It is also possible to specify a GUI opening book here, i.e. an opening
+book that XBoard consults for any position a playing engine gets in.
+It then forces the engine to play the book move, rather than to think up its own,
+if that position is found in the book.
+The book can switched on and off independently for either engine.
+ at item Time Control
+ at cindex Time Control, Menu Item
+Pops up a sub-menu where you can set the time-control parameters interactively.
+Allows you to select classical or incremental time controls,
+set the moves per session, session duration, and time increment.
+Also allows specification of time-odds factors for one or both engines.
+If an engine is given a time-odds factor N, all time quota it gets, 
+be it at the beginning of a session or through the time increment or
+fixed time per move, will be divided by N.
+ at item Always Queen
+ at cindex Always Queen, Menu Item
+If this option is off, XBoard brings up a dialog
+box whenever you move a pawn to the last rank, asking what piece
+you want to promote it to. If the option is true, your pawns are
+always promoted to queens. Your opponent can still underpromote.
+ at item Animate Dragging
+ at cindex Animate Dragging, Menu Item
+If Animate Dragging is on, while you are dragging a piece with the
+mouse, an image of the piece follows the mouse cursor.
+If Animate Dragging is off, there is no visual feedback while you are
+dragging a piece, but if Animate Moving is on, the move will be
+animated when it is complete. 
+ at item Animate Moving
+ at cindex Animate Moving, Menu Item
+If Animate Moving is on, all piece moves are animated.  An image of the
+piece is shown moving from the old square to the new square when the
+move is completed (unless the move was already animated by Animate Dragging).
+If Animate Moving is off, a moved piece instantly disappears from its
+old square and reappears on its new square when the move is complete.
+ at item Auto Comment
+ at cindex Auto Comment, Menu Item
+If this option is on, any remarks made on ICS while you are observing or
+playing a game are recorded as a comment on the current move.  This includes
+remarks made with the ICS commands @kbd{say}, @kbd{tell}, @kbd{whisper},
+and @kbd{kibitz}.
+Limitation: remarks that you type yourself are not recognized;
+XBoard scans only the output from ICS, not the input you type to it.
+ at item Auto Flag
+ at cindex Auto Flag, Menu Item
+If this option is on and one player runs out of time
+before the other,
+XBoard
+will automatically call his flag, claiming a win on time.
+In ICS mode, Auto Flag will only call your opponent's flag, not yours,
+and the ICS may award you a draw instead of a win if you have
+insufficient mating material.  In local chess engine mode,
+XBoard
+may call either player's flag and will not take material into account.
+ at item Auto Flip View
+ at cindex Auto Flip View, Menu Item
+If the Auto Flip View option is on when you start a game, the board
+will be automatically oriented so that your pawns move from the bottom
+of the window towards the top.
+ at item Auto Observe
+ at cindex Auto Observe, Menu Item
+If this option is on and you add a player to your @code{gnotify}
+list on ICS, XBoard will automatically observe all of that
+player's games, unless you are doing something else (such as
+observing or playing a game of your own) when one starts.
+The games are displayed 
+from the point of view of the player on your gnotify list; that is, his
+pawns move from the bottom of the window towards the top.
+Exceptions:  If both players in a game are on your gnotify list, if
+your ICS 
+ at code{highlight}
+variable is set to 0, or if the ICS you are using does not 
+properly support observing from Black's point of view,
+you will see the game from White's point of view.
+ at item Auto Raise Board
+ at cindex Auto Raise Board, Menu Item
+If this option is on, whenever a new game begins, the chessboard window
+is deiconized (if necessary) and raised to the top of the stack of windows.
+ at item Auto Save
+ at cindex Auto Save, Menu Item
+If this option is true, at the end of every game XBoard prompts
+you for a file name and appends a record of the game to the file
+you specify. 
+Disabled if the @code{saveGameFile} command-line
+option is set, as in that case all games are saved to the specified file.
+ at xref{Load and Save options}.
+ at item Blindfold
+ at cindex Blindfold, Menu Item
+If this option is on, XBoard displays the board as usual but does
+not display pieces or move highlights.  You can still move in the
+usual way (with the mouse or by typing moves in ICS mode), even though
+the pieces are invisible.
+ at item Flash Moves
+ at cindex Flash Moves, Menu Item
+If this option is on, whenever a move is completed, the moved piece flashes.
+The number of times to flash is set by the flashCount command-line
+option; it defaults to 3 if Flash Moves is first turned on from the menu.
+
+If you are playing a game on an ICS, the board is always
+oriented at the start of the game so that your pawns move from
+the bottom of the window towards the top. Otherwise, the starting
+orientation is determined by the @code{flipView} command line option;
+if it is false (the default), White's pawns move from bottom to top
+at the start of each game; if it is true, Black's pawns move from
+bottom to top. @xref{User interface options}.
+ at item Get Move List
+ at cindex Get Move List, Menu Item
+If this option is on, whenever XBoard
+receives the first board of a new ICS game (or a different game from
+the one it is currently displaying), it
+retrieves the list of past moves from the ICS.
+You can then review the moves with the @samp{Forward} and @samp{Backward}
+commands
+or save them with @samp{Save Game}.  You might want to
+turn off this option if you are observing several blitz games at once,
+to keep from wasting time and network bandwidth fetching the move lists over
+and over.
+When you turn this option on from the menu, XBoard
+immediately fetches the move list of the current game (if any).
+ at item Highlight Last Move
+ at cindex Highlight Last Move, Menu Item
+If Highlight Last Move is on, after a move is made, the starting and
+ending squares remain highlighted. In addition, after you use Backward
+or Back to Start, the starting and ending squares of the last move to
+be unmade are highlighted.
+ at item Move Sound
+ at cindex Move Sound, Menu Item
+If this option is on, XBoard alerts you by playing a sound
+after each of your opponent's moves (or after every
+move if you are observing a game on the Internet Chess Server).
+The sound is not played after moves you make or moves read from a
+saved game file. By default, the
+sound is the terminal bell, but on some systems you can change it
+to a sound file using the soundMove option; see below.
+
+If you turn on this option when using XBoard with the Internet
+Chess Server, you will probably want to give the
+ at kbd{set bell 0}
+command to the ICS, since otherwise the ICS will ring the terminal bell
+after every move (not just yours). (The @file{.icsrc} file
+is a good place for this; see @ref{ICS options}.)
+ at item ICS Alarm
+ at cindex ICS Alarm, Menu Item
+When this option is on, an alarm sound is played when your clock
+counts down to the icsAlarmTime (by default, 5 seconds) in an ICS
+game.  For games with time controls that include an increment, the
+alarm will sound each time the clock counts down to the icsAlarmTime.
+By default, the alarm sound is the terminal bell, but on some systems
+you can change it to a sound file using the soundIcsAlarm option; see
+below.
+ at item Old Save Style
+ at cindex Old Save Style, Menu Item
+If this option is off, XBoard saves games in PGN
+(portable game notation) and positions in FEN (Forsythe-Edwards
+notation).  If the option is on, a save style that is compatible
+with older versions of XBoard is used instead.
+The old position style is more human-readable
+than FEN; the old game style has no particular advantages.
+ at item Periodic Updates
+ at cindex Periodic Updates, Menu Item
+If this option is off (or if
+you are using a chess engine that does not support periodic updates),
+the analysis window
+will only be updated when the analysis changes. If this option is
+on, the Analysis Window will be updated every two seconds.
+ at item Ponder Next Move
+ at cindex Ponder Next Move, Menu Item
+If this option is off, the chess engine will think only when it is on
+move.  If the option is on, the engine will also think while waiting
+for you to make your move.
+ at item Popup Exit Message
+ at cindex Popup Exit Message, Menu Item
+If this option is on, when XBoard wants to display a message just
+before exiting, it brings up a modal dialog box and waits for you to
+click OK before exiting.  If the option is off, XBoard prints the
+message to standard error (the terminal) and exits immediately.
+ at item Popup Move Errors
+ at cindex Popup Move Errors, Menu Item
+If this option is off, when you make an error in moving (such as
+attempting an illegal move or moving the wrong color piece), the
+error message is displayed in the message area.  If the option is
+on, move errors are displayed in small popup windows like other errors.
+You can dismiss an error popup either by clicking its OK button or by
+clicking anywhere on the board, including downclicking to start a move.
+ at item Premove
+ at cindex Premove, Menu Item
+If this option is on while playing a game on an ICS, you can register
+your next planned move before it is your turn.  Move the piece with
+the mouse in the ordinary way, and the starting and ending squares
+will be highlighted with a special color (red by default).  When it is
+your turn, if your registered move is legal, XBoard will send it to
+ICS immediately; if not, it will be ignored and you can make a
+different move.  If you change your mind about your premove, either
+make a different move, or double-click on any piece to cancel the move
+entirely.
+ at item Quiet Play
+ at cindex Quiet Play, Menu Item
+If this option is on, XBoard will automatically issue an ICS
+ at kbd{set shout 0}
+command whenever you start a game and a
+ at kbd{set shout 1}
+command whenever you finish one.  Thus, you will not be distracted
+by shouts from other ICS users while playing.
+ at item Show Coords
+ at cindex Show Coords, Menu Item
+If this option is on, XBoard displays algebraic coordinates
+along the board's left and bottom edges.
+ at item Hide Thinking
+ at cindex Hide Thinking, Menu Item
+If this option is off, the chess engine's notion of the score and best
+line of play from the current position is displayed as it is
+thinking. The score indicates how many pawns ahead (or if negative,
+behind) the chess engine thinks it is. In matches between two
+machines, the score is prefixed by @samp{W} or @samp{B} to indicate
+whether it is showing White's thinking or Black's, and only the thinking
+of the engine that is on move is shown.
+ at item Test Legality
+ at cindex Test Legality, Menu Item
+If this option is on, XBoard tests whether the moves you try to make
+with the mouse are legal and refuses to let you make an illegal move.
+Moves loaded from a file with @samp{Load Game} are also checked.  If
+the option is off, all moves are accepted, but if a local chess engine
+or the ICS is active, they will still reject illegal moves.  Turning
+off this option is useful if you are playing a chess variant with
+rules that XBoard does not understand.  (Bughouse, suicide, and wild
+variants where the king may castle after starting on the d file are
+generally supported with Test Legality on.)
+ at end table
+
+ at node Help Menu
+ at section Help Menu
+ at cindex Menu, Help
+ at cindex Help Menu
+ at table @asis
+ at item Info XBoard
+ at cindex Info XBoard, Menu Item
+Displays the XBoard documentation in info format.  For this feature to
+work, you must have the GNU info program installed on your system, and
+the file @file{xboard.info} must either be present in the current
+working directory, or have been installed by the @samp{make install}
+command when you built XBoard.
+ at item Man XBoard
+ at cindex Man XBoard, Menu Item
+Displays the XBoard documentation in man page format.  For this
+feature to work, the file @file{xboard.6} must have been installed by
+the @samp{make install} command when you built XBoard, and the
+directory it was placed in must be on the search path for your
+system's @samp{man} command.
+ at item Hint
+ at cindex Hint, Menu Item
+Displays a move hint from the chess engine.
+ at item Book
+ at cindex Book, Menu Item
+Displays a list of possible moves from the chess engine's opening
+book.  The exact format depends on what chess engine you are using.
+With GNU Chess 4, the first column gives moves, the second column
+gives one possible response for each move, and the third column shows
+the number of lines in the book that include the move from the first
+column. If you select this option and nothing happens, the chess
+engine is out of its book or does not support this feature.
+ at item About XBoard
+ at cindex About XBoard, Menu Item
+Shows the current XBoard version number.
+ at end table
+
+ at node Keys
+ at section Other Shortcut Keys
+ at cindex Keys
+ at cindex Shortcut keys
+ at table @asis
+ at item Iconize
+Pressing the @kbd{i} or @kbd{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 @ref{Problems} below for
+instructions on how to report this problem.
+ at end table
+
+You can add or remove shortcut keys using the X resources
+ at code{form.translations}. Here is an example of what would go in your
+ at file{.Xresources} file:
+
+ at example
+XBoard*form.translations: \
+  Shift<Key>?: AboutGameProc() \n\
+  <Key>y: AcceptProc() \n\
+  <Key>n: DeclineProc() \n\
+  <Key>i: NothingProc()
+ at end example
+ at noindent
+Binding a key to @code{NothingProc} makes it do nothing, thus removing
+it as a shortcut key. The XBoard commands that can be bound to keys
+are:
+
+ at example
+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.
+ at end example
+
+ at node Options
+ at chapter Options
+ at cindex Options
+ at cindex Options
+
+This section documents the command-line options to XBoard.  You can
+set these options in two ways: by typing them on the shell command
+line you use to start XBoard, or by setting them as X resources
+(typically in your @file{.Xresources} file).  Many of the options
+cannot be changed while XBoard is running; others set the initial
+state of items that can be changed with the @ref{Options} menu.
+
+Most of the options have both a long name and a short name. To turn a
+boolean option on or off from the command line, either give its long
+name followed by the value true or false
+(@samp{-longOptionName true}), or give just the short name to turn the
+option on (@samp{-opt}), or the short name preceded by @samp{x} to
+turn the option off (@samp{-xopt}). For options that take strings or
+numbers as values, you can use the long or short option names
+interchangeably.
+
+Each option corresponds to an X resource with the same name, so
+if you like, you can set options in your @file{.Xresources} file
+or in a file named @file{XBoard} in your home directory.
+For options that have two names, the longer one is the name of
+the corresponding X resource; the short name is not recognized.
+To turn a boolean option on or off as an
+X resource, give its long name followed by the value
+true or false (@samp{XBoard*longOptionName: true}).
+
+ at menu
+* Chess engine options::        Controlling the chess engine.
+* UCI + WB Engine Settings::    Setting some very common engine parameters
+* ICS options::                 Connecting to and using ICS.
+* Load and Save options::       Input/output options.
+* User interface options::      Look and feel options.
+* Adjudication Options::        Control adjudcation of engine-engine games.
+* Other options::               Miscellaneous.
+ at end menu
+
+ at node Chess engine options
+ at section Chess Engine Options
+ at cindex options, Chess engine
+ at cindex Chess engine options
+ at table @asis
+ at item -tc or -timeControl minutes[:seconds]
+ at cindex tc, option
+ at cindex timeControl, option
+Each player begins with his clock set to the @code{timeControl} period.
+Default: 5 minutes.
+The additional options @code{movesPerSession} and @code{timeIncrement}
+are mutually exclusive.  
+ at item -mps or -movesPerSession moves
+ at cindex mps, option
+ at cindex movesPerSession, option
+When both players have made @code{movesPerSession} moves, a
+new @code{timeControl} period is added to both clocks.  Default: 40 moves.
+ at item -inc or -timeIncrement seconds
+ at cindex inc, option
+ at cindex timeIncrement, option
+If this option is specified, @code{movesPerSession} is ignored.
+Instead, after each player's move, @code{timeIncrement} seconds are
+added to his clock.  
+Use @samp{-inc 0} if you want to require the entire
+game to be played in one @code{timeControl} period, with no increment.
+Default: -1, which specifies @code{movesPerSession} mode.
+ at item -clock/-xclock or -clockMode true/false
+ at cindex clock, option
+ at cindex clockMode, option
+Determines whether or not to display the chess clocks. If clockMode is
+false, the clocks are not shown, but the side that is to play next
+is still highlighted. Also, unless @code{searchTime}
+is set, the chess engine still keeps track of the clock time and uses it to
+determine how fast to make its moves.
+ at item -st or -searchTime minutes[:seconds]
+ at cindex st, option
+ at cindex searchTime, option
+Tells the chess engine to spend at most the given amount of time
+searching for each of its moves. Without this option, the chess engine
+chooses its search time based on the number of moves and amount
+of time remaining until the next time control.
+Setting this option also sets clockMode to false.
+ at item -depth or -searchDepth number
+ at cindex sd, option
+ at cindex searchDepth, option
+Tells the chess engine to look ahead at most the given number of moves
+when searching for a move to make. Without this option, the chess
+engine chooses its search depth based on the number of moves and
+amount of time remaining until the next time control.  With the option,
+the engine will cut off its search early if it reaches the specified depth.
+ at item -firstNPS number
+ at itemx -secondNPS number
+ at cindex firstNPS, option
+ at cindex secondNPS, option
+Tells the chess engine to use an internal time standard based on its node count, 
+rather then wall-clock time, to make its timing decisions. 
+The time in virtual seconds should be obtained by dividing the node count 
+through the given number, like the number was a rate in nodes per second. 
+Xboard will manage the clocks in accordance with this, relying on the number 
+of nodes reported by the engine in its thinking output. If the given number equals zero, 
+it can obviously not be used to convert nodes to seconds, and the time reported 
+by the engine is used to decrement the XBoard clock in stead. The engine is supposed to 
+report in CPU time it uses, rather than wall-clock time, in this mode. This option 
+can provide fairer conditions for engine-engine matches on heavily loaded machines, 
+or with very fast games (where the wall clock is too inaccurate). 
+ at code{showThinking} must be on for this option to work. Default: -1 (off).
+Not many engines might support this yet!
+ at item -firstTimeOdds factor
+ at itemx -secondTimeOdds factor
+ at cindex firstTimeOdds, option
+ at cindex secondTimeOdds, option
+Reduces the time given to the mentioned engine by the given factor. 
+If pondering is off, the effect is indistinguishable from what would happen 
+if the engine was running on an n-times slower machine. Default: 1.
+ at item -timeOddsMode mode
+ at cindex timeOddsMode, option
+This option determines how the case is handled where both engines have a time-odds handicap. 
+If mode=1, the engine that gets the most time will always get the nominal time, 
+as specified by the time-control options, and its opponent's time is renormalized accordingly. 
+If mode=0, both play with reduced time. Default: 0.
+ at item -hideThinkingFromHuman true/false
+Controls the Hide Thinking option. @xref{Options Menu}. Default: true.
+(Relaces the Show-Thinking option of older xboard versions.)
+ at item -thinking/-xthinking or -showThinking true/false
+ at cindex thinking, option
+ at cindex showThinking, option
+Forces the engine to send thinking output to xboard. 
+Used to be the only way to control if thinking output was displayed 
+in older xboard versions,
+but as the thinking output in xboard 4.3 is also used for several other
+purposes (adjudication, storing in PGN file) the display of it is now controlled
+by the new option Hide Thinking. @xref{Options Menu}. Default: false.
+(But if xboard needs the thinking output for some purpose,
+it makes the engine send it despite the setting of this option.)
+ at item -ponder/-xponder or -ponderNextMove true/false
+ at cindex ponder, option
+ at cindex ponderNextMove, option
+Sets the Ponder Next Move menu option. @xref{Options Menu}. Default: true.
+ at item -smpCores number
+Specifies the maxmum nmber of CPUs an SMP engine is allowed to use.
+Only works for engines that support the WinBoard-protocol cores feature.
+ at item -mg or -matchGames n
+ at cindex mg, option
+ at cindex matchGames, option
+Automatically runs an n-game match between two chess engines,
+with alternating colors.
+If the @code{loadGameFile} or @code{loadPositionFile} option is set,
+XBoard
+starts each game with the given opening moves or the given position;
+otherwise, the games start with the standard initial chess position.
+If the @code{saveGameFile} option is set, a move record for the
+match is appended to the specified file. If the @code{savePositionFile}
+option is set, the final position reached in each game of the match is appended
+to the specified file. When the match is over, XBoard
+displays the match score and exits. Default: 0 (do not run a match).
+ at item -mm/-xmm or -matchMode true/false
+ at cindex mm, option
+ at cindex matchMode, option
+Setting @code{matchMode} to true is equivalent to setting
+ at code{matchGames} to 1.
+ at item -sameColorGames n
+ at cindex sameColorGames, option
+Automatically runs an n-game match between two chess engines,
+without alternating colors.
+Otherwise the same applies as for the @samp{-matchGames} option,
+over which it takes precedence if both are specified. (See there.)
+Default: 0 (do not run a match).
+ at item -fcp or -firstChessProgram program
+ at cindex fcp, option
+ at cindex firstChessProgram, option
+Name of first chess engine.
+Default: @file{Fairy-Max}.
+ at item -scp or -secondChessProgram program
+ at cindex scp, option
+ at cindex secondChessProgram, option
+Name of second chess engine, if needed.
+A second chess engine is started only in Two Machines (match) mode.
+Default: @file{Fairy-Max}.
+ at item -fb/-xfb or -firstPlaysBlack true/false
+ at cindex fb, option
+ at cindex firstPlaysBlack, option
+In games between two chess engines, firstChessProgram normally plays
+white.  If this option is true, firstChessProgram plays black.  In a
+multi-game match, this option affects the colors only for the first
+game; they still alternate in subsequent games.
+ at item -fh or -firstHost host
+ at itemx -sh or -secondHost host
+ at cindex fh, option
+ at cindex firstHost, option
+ at cindex sh, option
+ at cindex secondHost, option
+Hosts on which the chess engines are to run. The default for
+each is @file{localhost}. If you specify another host, XBoard
+uses @file{rsh} to run the chess engine there. (You can substitute a
+different remote shell program for rsh using the @code{remoteShell}
+option described below.)
+ at item -fd or -firstDirectory dir
+ at itemx -sd or -secondDirectory dir
+ at cindex fd, option
+ at cindex firstDirectory, option
+ at cindex sd, option
+ at cindex secondDirectory, option
+Working directories in which the chess engines are to be run.
+The default is "", which means to run the chess engine
+in the same working directory as XBoard
+itself.  (See the CHESSDIR environment variable.)
+This option is effective only when the chess engine is being run
+on the local host; it does not work if the engine is run remotely
+using the -fh or -sh option.
+ at item -initString string
+ at itemx -secondInitString string
+ at cindex initString, option
+ at cindex secondInitString, option
+The string that is sent to initialize each chess engine for a new game.
+Default:
+
+ at example
+new
+random
+ at end example
+ at noindent
+Setting this option from the command line is tricky, because you must
+type in real newline characters, including one at the very end.
+In most shells you can do this by
+entering a @samp{\} character followed by a newline. It is easier to set
+the option from your @file{.Xresources} file; in that case you can
+include the character sequence @samp{\n} in the string, and it will
+be converted to a newline.
+
+If you change this option, don't remove the @samp{new} 
+command; it is required by all chess engines to
+start a new game.
+
+You can remove the @samp{random} command if you like; including it
+causes GNU Chess 4 to randomize its move selection slightly so that it
+doesn't play the same moves in every game.  Even without
+ at samp{random}, GNU Chess 4 randomizes its choice of moves from its
+opening book.  Many other chess engines ignore this command entirely
+and always (or never) randomize.
+
+You can also try adding other commands to the initString; see the
+documentation of the chess engine you are using for details.
+ at item -firstComputerString string
+ at itemx -secondComputerString string
+ at cindex firstComputerString, option
+ at cindex secondComputerString, option
+The string that is sent to the chess engine if its opponent is another
+computer chess engine.  The default is @samp{computer\n}.  Probably the
+only useful alternative is the empty string (@samp{}), which keeps the
+engine from knowing that it is playing another computer.
+ at item -reuse/-xreuse or -reuseFirst true/false
+ at itemx -reuse2/-xreuse2 or -reuseSecond true/false
+ at cindex reuse, option
+ at cindex reuseFirst, option
+ at cindex reuse2, option
+ at cindex reuseSecond, option
+If the option is false,
+XBoard kills off the chess engine after every game and starts
+it again for the next game.  
+If the option is true (the default), 
+XBoard starts the chess engine only once
+and uses it repeatedly to play multiple games.
+Some old chess engines may not work properly when
+reuse is turned on, but otherwise games will start faster if it is left on.
+ at item -firstProtocolVersion version-number
+ at itemx -secondProtocolVersion version-number
+ at cindex firstProtocolVersion, option
+ at cindex secondProtocolVersion, option
+This option specifies which version of the chess engine communication
+protocol to use.  By default, version-number is 2.  In version 1, the
+"protover" command is not sent to the engine; since version 1 is a
+subset of version 2, nothing else changes.  Other values for
+version-number are not supported.
+ at item -firstScoreAbs true/false
+ at itemx -secondScoreAbs true/false
+ at cindex firstScoreAbs, option
+ at cindex secondScoreAbs, option
+If this option is set, the score reported by the engine is taken to be 
+that in favor of white, even when the engine plays black. 
+Important when XBoard uses the score for adjudications, or in PGN reporting. 
+ at item -niceEngines priority
+ at cindex niceEngines, option
+This option allows you to lower the priority of the engine processes, 
+so that the generally insatiable hunger for CPU time of chess engines does not interfere so much 
+with smooth operation of WinBoard (or the rest of your system). 
+Negative values could increase the engine priority, which is not recommended.
+ at item -firstOptions string
+ at itemx -secondOptions string
+ at cindex firstOptions, option
+ at cindex secondOptions, option
+The given string is a comma-separated list of (option name, option value) pairs, 
+like the following example: “style=Karpov,blunder rate=0”. 
+If the options announced by the engine at startup through the feature commands of WinBoard protocol 
+matches one of the option names (i.e. “style” or “blunder rate”), 
+it would be set to the given value (i.e. “Karpov” or 0) 
+through a corresponding option command to the engine. 
+This provided that the type of the value (text or numeric) matches as well.
+ at item -firstNeedsNoncompliantFEN string
+ at itemx -secondNeedsNoncompliantFEN string
+ at cindex firstNeedsNoncompliantFEN, option
+ at cindex secondNeedsNoncompliantFEN, option
+The castling rights and e.p. fields of the FEN sent to the mentioned engine 
+with the setboard command will be replaced by the given string. This can for 
+instance be used to run engines that do not understand Chess960 FENs in 
+variant fischerandom, to make them at least understand the opening position, 
+through setting the string to “KQkq -”. (Note you also have to give the e.p. field!) 
+Other possible applications are to provide work-arounds for engines that want to see 
+castling and e.p. fields in variants that do not have castling or e.p. 
+(shatranj, courier, xiangqi, shogi) so that WinBoard would normally omit them 
+(string = “- -“), or to add variant-specific fields that are not yet supported by WinBoard 
+(e.g. to indicate the number of checks in 3check).
+ at end table
+
+ at node UCI + WB Engine Settings
+ at section UCI + WB Engine Settings
+ at cindex Engine Settings
+ at cindex Settings, Engine
+ at table @asis
+ at item -fUCI or -firstIsUCI true/false
+ at itemx -sUCI or -secondIsUCI true/false
+ at cindex fUCI, option
+ at cindex sUCI, option
+ at cindex firstIsUCI, option
+ at cindex secondIsUCI, option
+Indicates if the mentioned engine executable file is an UCI engine, 
+and should be run with the aid of the Polyglot adapter rather than directly. 
+Xboard will then pass the other UCI options and engine name to Polyglot 
+through a .ini temporary file ceated for the purpose.
+ at item -PolyglotDir filename
+ at cindex PolyglotDir, option
+Gives the name of the directory in which the Polyglot adapter for UCI engines expects its files.
+Default: "/usr/local/share/polyglot".
+ at item -usePolyglotBook true/false
+ at cindex usePolyglotBook, option
+Specifies if the Polygot book should be used.
+ at item -PolyglotBook filename
+ at cindex PolyglotBook, option
+Gives the filename of the opening book that Polyglot should use. 
+From XBoard 4.3.15 on, native WinBoard engines will also use the opening book specified here, 
+provided the @code{usePolyglotBook} option is set to true,
+and the option @code{firstHasOwnBookUCI} or @code{secondHasOwnBookUCI} applying to the engine
+is set to false.
+The engine will be kept in force mode as long as the current position is in book, 
+and XBoard will select the book moves for it. Default "".
+ at item -fNoOwnBookUCI or -firstXBook or -firstHasOwnBookUCI true/false
+ at itemx -sNoOwnBookUCI or -secondXBook or -secondHasOwnBookUCI true/false
+ at cindex fNoOwnBookUCI, option
+ at cindex sNoOwnBookUCI, option
+ at cindex firstHasOwnBookUCI, option
+ at cindex secondHasOwnBookUCI, option
+ at cindex firstXBook, option
+ at cindex secondXBook, option
+Indicates if the mentioned engine has its own opening book it should play from,
+rather than using the external book through XBoard. Default: false.
+ at item -defaultHashSize n
+ at cindex defaultHashSize, option
+Sets the size of the hash table to n MegaBytes. Together with the EGTB cache size 
+this number is also used to calculate the memory setting of WinBoard engines, 
+for those that support the memory feature of WinBoard protocol. Default: 64.
+ at item -defaultCacheSizeEGTB n
+ at cindex defaultCacheSizeEGTB, option
+Sets the size of the EGTB cache to n MegaBytes. Together with the hash-table size 
+this number is also used to calculate the memory setting of WinBoard engines, 
+for those that support the memory feature of WinBoard protocol. Default: 4.
+ at item -defaultPathEGTB filename
+ at cindex defaultPathEGTB, option
+Gives the name of the directory where the end-game tablebases are installed, for UCI engines.
+Default: "/usr/local/share/egtb".
+ at item -egtFormats string
+ at cindex egtFormats, option
+Specifies which end-game tables are installed on the computer, and where. 
+The argument is a comma-separated list of format specifications, 
+each specification consisting of a format name, a colon, and a directory path name, 
+e.g. "nalimov:/usr/local/share/egtb". 
+If the name part matches that of a format that the engine requests through a feature command, 
+xboard will relay the path name for this format to the engine through an egtpath command. 
+One egtpath command for each matching format will be sent. 
+Popular formats are "nalimov" DTM tablebases and "scorpio" bitbases.
+Default: "".
+ at end table
+
+ at node ICS options
+ at section ICS options
+ at cindex ICS options
+ at cindex Options, ICS
+ at table @asis
+ at item -ics/-xics or -internetChessServerMode true/false
+ at cindex ics, option
+ at cindex internetChessServerMode, option
+Connect with an Internet Chess Server to play chess against its
+other users, observe games they are playing, or review games
+that have recently finished. Default: false.
+ at item -icshost or -internetChessServerHost host
+ at cindex icshost, option
+ at cindex internetChessServerHost, option
+The Internet host name or address of the chess server to connect
+to when in ICS mode. Default: @code{chessclub.com}.
+Another popular chess server to try is @code{freechess.org}.
+If your site doesn't have a working Internet name server, try
+specifying the host address in numeric form. 
+You may also need
+to specify the numeric address when using the icshelper option
+with timestamp or timeseal (see below).
+ at item -icsport or -internetChessServerPort port-number
+ at cindex icsport, option
+ at cindex internetChessServerPort, option
+The port number to use when connecting to a chess server in ICS
+mode. Default: 5000.
+ at item -icshelper or -internetChessServerHelper prog-name
+ at cindex icshelper, option
+ at cindex internetChessServerHelper, option
+An external helper program used to communicate with the chess server.
+You would set it to "timestamp" for ICC (chessclub.com) or
+"timeseal" for FICS (freechess.org), after
+obtaining the correct version of timestamp or timeseal for your
+computer.  See "help timestamp" on ICC and "help timeseal" on FICS.
+This option is shorthand for @code{-useTelnet -telnetProgram program}.
+ at item -telnet/-xtelnet or -useTelnet true/false
+ at cindex telnet, option
+ at cindex useTelnet, option
+This option is poorly named; it should be called useHelper.
+If set to true, it instructs XBoard to run an external
+program to communicate with the Internet Chess Server. 
+The program to use is given by the telnetProgram option.
+If the option is
+false (the default), XBoard opens a TCP socket and uses its own
+internal implementation of the telnet protocol to communicate with the
+ICS. @xref{Firewalls}.
+ at item -telnetProgram prog-name
+ at cindex telnetProgram, option
+This option is poorly named; it should be called helperProgram.
+It gives the name of the telnet program to be used with
+the @code{gateway} and @code{useTelnet} options.  The default is
+ at file{telnet}. The telnet program is invoked with the value of
+ at code{internetChessServerHost} as its first argument and the value
+of @code{internetChessServerPort} as its second argument.
+ at xref{Firewalls}.
+ at item -gateway host-name
+ at cindex gateway, option
+If this option is set to a host name, XBoard communicates with the
+Internet Chess Server by using @file{rsh} to run
+the @code{telnetProgram} on the given host,
+instead of using its own internal implementation
+of the telnet protocol. You can substitute a different remote shell
+program for @file{rsh} using the @code{remoteShell} option described below.
+ at xref{Firewalls}.
+ at item -internetChessServerCommPort or -icscomm dev-name
+ at cindex internetChessServerCommPort, option
+ at cindex icscomm, option
+If this option is set, XBoard communicates with the ICS through
+the given character I/O device instead of opening a TCP connection.
+Use this option if your system does not have any kind of
+Internet connection itself (not even a SLIP or PPP connection),
+but you do have dialup access (or a hardwired terminal line) to
+an Internet service provider from which you can telnet to the ICS.
+
+The support for this option in XBoard is minimal. You need to
+set all communication parameters and tty modes before you enter
+XBoard.
+
+Use a script something like this:
+
+ at example
+stty raw -echo 9600 > /dev/tty00
+xboard -ics -icscomm /dev/tty00
+ at end example
+
+Here replace @samp{/dev/tty00} with the name of the device that your
+modem is connected to. You might have to add several more
+options to these stty commands. See the man pages for @file{stty}
+and @code{tty} if you run into problems. Also, on many systems stty
+works on its standard input instead of standard output, so you
+have to use @samp{<} instead of @samp{>}.
+
+If you are using linux, try starting with the script below.
+Change it as necessary for your installation.
+
+ at example
+#!/bin/sh -f
+# configure modem and fire up XBoard
+
+# configure modem
+(
+  stty 2400 ; stty raw ; stty hupcl ; stty -clocal
+  stty ignbrk ; stty ignpar ; stty ixon ; stty ixoff
+  stty -iexten ; stty -echo
+) < /dev/modem
+xboard -ics -icscomm /dev/modem
+ at end example
+ at noindent
+After you start XBoard in this way, type whatever commands are
+necessary to dial out to your Internet provider and log in.
+Then telnet to ICS, using a command like
+ at kbd{telnet chessclub.com 5000}.
+Important: See the paragraph below about extra echoes, 
+in @ref{Limitations}.
+ at item -icslogon or -internetChessServerLogonScript file-name
+ at cindex icslogon, option
+ at cindex internetChessServerLogonScript, option
+ at cindex .icsrc
+Whenever XBoard connects to the Internet Chess Server,
+if it finds a file with the name given in this option, it feeds the
+file's contents to the ICS as commands. The default file name
+is @file{.icsrc}.
+Usually the first two lines of the file should be
+your ICS user name and password.
+The file can be either in $CHESSDIR, in XBoard's working
+directory if CHESSDIR is not set, or in your home directory.
+ at item -msLoginDelay delay
+ at cindex msLoginDelay, option
+If you experience trouble logging on to an ICS when using the
+ at code{-icslogon} option, inserting some delay between characters
+of the logon script may help. This option adds @code{delay}
+milliseconds of delay between characters. Good values to try
+are 100 and 250.
+ at item -icsinput/-xicsinput or -internetChessServerInputBox true/false
+ at cindex icsinput, option
+ at cindex internetChessServerInputBox, option
+Sets the ICS Input Box menu option. @xref{Mode Menu}. Default: false.
+ at item -autocomm/-xautocomm or -autoComment true/false
+ at cindex autocomm, option
+ at cindex autoComment, option
+Sets the Auto Comment menu option. @xref{Options Menu}. Default: false.
+ at item -autoflag/-xautoflag or -autoCallFlag true/false
+ at cindex autoflag, option
+ at cindex autoCallFlag, option
+Sets the Auto Flag menu option.  @xref{Options Menu}. Default: false.
+ at item -autobs/-xautobs or -autoObserve true/false
+ at cindex autobs, option
+ at cindex autoObserve, option
+Sets the Auto Observe menu option.  @xref{Options Menu}. Default: false.
+ at item -autoKibitz
+ at cindex autoKibitz, option
+Enables kibitzing of the engines last thinking output (depth, score, time, speed, PV) 
+before it moved
+to the ICS, in zippy mode. The option @code{showThinking} must be switched on for 
+this option to work.
+Also diverts similar kibitz information of an opponent engine that is playing you 
+through the ICS to the engine-output window, as if the engine was playing locally.
+ at item -moves/-xmoves or -getMoveList true/false
+ at cindex moves, option
+ at cindex getMoveList, option
+Sets the Get Move List menu option.  @xref{Options Menu}.  Default: true.
+ at item -alarm/-xalarm or -icsAlarm true/false
+ at cindex alarm, option
+ at cindex icsAlarm, option
+Sets the ICS Alarm menu option.  @xref{Options Menu}. Default: true.
+ at item -icsAlarmTime ms
+ at cindex icsAlarmTime, option
+Sets the time in milliseconds for the ICS Alarm menu option. 
+ at xref{Options Menu}. Default: 5000.
+ at item -pre/-xpre \fRor\fB -premove true/false
+ at cindex pre, option
+ at cindex premove, option
+Sets the Premove menu option. @xref{Options Menu}. Default: true.
+ at item -quiet/-xquiet or -quietPlay true/false
+ at cindex quiet, option
+ at cindex quietPlay, option
+Sets the Quiet Play menu option.  @xref{Options Menu}.  Default: false.
+ at item -colorizeMessages or -colorize
+ at cindex Colors
+ at cindex colorize, option
+Setting colorizeMessages
+to true tells XBoard to colorize the messages received from
+the ICS.  Colorization works only if your xterm 
+supports ISO 6429 escape sequences for changing text colors.
+ at item -colorShout foreground,background,bold
+ at itemx -colorSShout foreground,background,bold
+ at itemx -colorChannel1 foreground,background,bold
+ at itemx -colorChannel foreground,background,bold
+ at itemx -colorKibitz foreground,background,bold
+ at itemx -colorTell foreground,background,bold
+ at itemx -colorChallege foreground,background,bold
+ at itemx -colorRequest foreground,background,bold
+ at itemx -colorSeek foreground,background,bold
+ at itemx -colorNormal foreground,background,bold
+ at cindex Colors
+ at cindex colorShout, option
+ at cindex colorSShout, option
+ at cindex colorChannel1, option
+ at cindex colorChannel, option
+ at cindex colorKibitz, option
+ at cindex colorTell, option
+ at cindex colorChallenge, option
+ at cindex colorRequest, option
+ at cindex colorSeek, option
+ at cindex colorNormal, option
+These options set the colors used when colorizing ICS messages.
+All ICS messages are grouped into one of these categories:
+shout, sshout, channel 1, other channel, kibitz, tell, challenge, 
+request (including abort, adjourn, draw, pause, and takeback), or
+normal (all other messages).  
+
+Each foreground or background argument can be one of the following:
+black, red, green, yellow, blue, magenta, cyan, white, or default.
+Here ``default'' means the default foreground or background color of
+your xterm.  Bold can be 1 or 0.  If background is omitted, ``default''
+is assumed; if bold is omitted, 0 is assumed.
+
+Here is an example of how to set the colors in your @file{.Xresources} file.
+The colors shown here are the default values; you will get
+them if you turn @code{-colorize} on without specifying your own colors.
+
+ at example
+xboard*colorizeMessages: true	
+xboard*colorShout: green
+xboard*colorSShout: green, black, 1
+xboard*colorChannel1: cyan
+xboard*colorChannel: cyan, black, 1
+xboard*colorKibitz: magenta, black, 1
+xboard*colorTell: yellow, black, 1
+xboard*colorChallenge: red, black, 1
+xboard*colorRequest: red
+xboard*colorSeek: blue
+xboard*colorNormal: default
+ at end example
+ at item -soundProgram progname
+ at cindex soundProgram, option
+ at cindex Sounds
+If this option is set to a sound-playing program that is installed and
+working on your system, XBoard can play sound files when certain
+events occur, listed below.  The default program name is "play".  If
+any of the sound options is set to "$", the event rings the terminal
+bell by sending a ^G character to standard output, instead of playing
+a sound file.  If an option is set to the empty string "", no sound is
+played for that event.
+ at item -soundShout filename
+ at itemx -soundSShout filename
+ at itemx -soundChannel filename
+ at itemx -soundKibitz filename
+ at itemx -soundTell filename
+ at itemx -soundChallenge filename
+ at itemx -soundRequest filename
+ at itemx -soundSeek filename
+ at cindex soundShout, option
+ at cindex soundSShout, option
+ at cindex soundChannel, option
+ at cindex soundKibitz, option
+ at cindex soundTell, option
+ at cindex soundChallenge, option
+ at cindex soundRequest, option
+ at cindex soundSeek, option
+These sounds are triggered in the same way as the colorization events
+described above.  They all default to "", no sound.  They are played
+only if the colorizeMessages is on.
+ at item -soundMove filename
+ at cindex soundMove, option
+This sound is used by the Move Sound menu option.  Default: "$".
+ at item -soundIcsAlarm filename
+ at cindex soundIcsAlarm, option
+This sound is used by the ICS Alarm menu option.  Default: "$".
+ at item -soundIcsWin filename
+ at cindex soundIcsWin, option
+This sound is played when you win an ICS game.  Default: "" (no sound).
+ at item -soundIcsLoss filename
+ at cindex soundIcsLoss, option
+This sound is played when you lose an ICS game.  Default: "" (no sound).
+ at item -soundIcsDraw filename
+ at cindex soundIcsDraw, option
+This sound is played when you draw an ICS game.  Default: "" (no sound).
+ at item -soundIcsUnfinished filename
+ at cindex soundIcsUnfinished, option
+This sound is played when an ICS game that you are participating in is
+aborted, adjourned, or otherwise ends inconclusively.  Default: "" (no
+sound).
+
+Here is an example of how to set the sounds in your @file{.Xresources} file:
+
+ at example
+xboard*soundShout: shout.wav
+xboard*soundSShout: sshout.wav
+xboard*soundChannel1: channel1.wav
+xboard*soundChannel: channel.wav
+xboard*soundKibitz: kibitz.wav
+xboard*soundTell: tell.wav
+xboard*soundChallenge: challenge.wav
+xboard*soundRequest: request.wav
+xboard*soundSeek: seek.wav
+xboard*soundMove: move.wav
+xboard*soundIcsWin: win.wav
+xboard*soundIcsLoss: lose.wav
+xboard*soundIcsDraw: draw.wav
+xboard*soundIcsUnfinished: unfinished.wav
+xboard*soundIcsAlarm: alarm.wav
+ at end example
+ at end table
+
+ at node Load and Save options
+ at section Load and Save options
+ at cindex Options, Load and Save
+ at cindex Load and Save options
+ at table @asis
+ at item -lgf or -loadGameFile file
+ at itemx -lgi or -loadGameIndex index
+ at cindex lgf, option
+ at cindex loadGameFile, option
+ at cindex lgi, option
+ at cindex loadGameIndex, option
+If the @code{loadGameFile} option is set, XBoard loads the specified
+game file at startup. The file name @file{-} specifies the standard
+input. If there is more than one game in the file, XBoard
+pops up a menu of the available games, with entries based on their PGN 
+(Portable Game Notation) tags.
+If the @code{loadGameIndex} option is set to @samp{N}, the menu is suppressed
+and the N th game found in the file is loaded immediately.
+The menu is also suppressed if @code{matchMode} is enabled or if the game file
+is a pipe; in these cases the first game in the file is loaded immediately.
+Use the @file{pxboard} shell script provided with XBoard if you
+want to pipe in files containing multiple games and still see the menu.
+If the loadGameIndex specifies an index -1, this triggers auto-increment
+of the index in @code{matchMode}, which means that after every game the
+index is incremented by one, causing each game of the match to be played
+from the next game in the file. Similarly, specifying an index value of -2
+causes the index to be incremented every two games, so that each game
+in the file is used twice (with reversed colors).
+The @code{rewindIndex} option causes the index to be reset to the
+first game of the file when it has reached a specified value.
+ at item -rewindIndex n
+Causes a position file or game file to be rewound to its beginning after n
+positions or games in auto-increment @code{matchMode}. 
+See @code{loadPositionIndex} and @code{loadGameIndex}.
+default: 0 (no rewind).
+ at item -td or -timeDelay seconds
+ at cindex td, option
+ at cindex timeDelay, option
+Time delay between moves during @samp{Load Game}. Fractional seconds
+are allowed; try @samp{-td 0.4}. A time delay value of -1 tells
+XBoard not to step through game files automatically. Default: 1
+second.
+ at item -sgf or -saveGameFile file
+ at cindex sgf, option
+ at cindex saveGameFile, option
+If this option is set, XBoard appends a record of every game
+played to the specified file. The file name @file{-} specifies the
+standard output.
+ at item -autosave/-xautosave or -autoSaveGames true/false
+ at cindex autosave, option
+ at cindex autoSaveGames, option
+Sets the Auto Save menu option.  @xref{Options Menu}.  Default: false.
+Ignored if @code{saveGameFile} is set.
+ at item -lpf or -loadPositionFile file
+ at itemx -lpi or -loadPositionIndex index
+ at cindex lpf, option
+ at cindex loadPositionFile, option
+ at cindex lpi, option
+ at cindex loadPositionIndex, option
+If the @code{loadPositionFile} option is set, XBoard loads the
+specified position file at startup. The file name @file{-} specifies the
+standard input. If the @code{loadPositionIndex} option is set to N,
+the Nth position found in the file is loaded; otherwise the
+first position is loaded.
+If the loadPositionIndex specifies an index -1, this triggers auto-increment
+of the index in @code{matchMode}, which means that after every game the
+index is incremented by one, causing each game of the match to be played
+from the next position in the file. Similarly, specifying an index value of -2
+causes the index to be incremented every two games, so that each position
+in the file is used twice (with the engines playing opposite colors).
+The @code{rewindIndex} option causes the index to be reset to the
+first position of the file when it has reached a specified value.
+ at item -spf or -savePositionFile file
+ at cindex spf, option
+ at cindex savePositionFile, option
+If this option is set, XBoard appends the final position reached
+in every game played to the specified file. The file name @file{-}
+specifies the standard output.
+ at item -pgnExtendedInfo true/false
+ at cindex pgnExtendedInfo, option`
+If this option is set, WinBoard saves depth, score and time used for each 
+move that the engine found as a comment in the PGN file.
+Default: false.
+ at item -pgnEventHeader string
+ at cindex pgnEventHeader, option`
+Sets the name used in the PGN event tag to string. 
+Default: "Computer Chess Game".
+ at item -saveOutOfBookInfo true/false
+ at cindex saveOutOfBookInfo, option`
+Include the information on how the engine(s) game out of its opening book in a special 'annotator' tag with the PGN file.
+ at item -oldsave/-xoldsave or -oldSaveStyle true/false
+ at cindex oldsave, option
+ at cindex oldSaveStyle, option
+Sets the Old Save Style menu option.  @xref{Options Menu}.  Default: false.
+ at item -gameListTags string
+ at cindex gameListTags, option
+The character string lists the PGN tags that should be printed in the
+Game List, and their order. The meaning of the codes is e=event,
+s=site, d=date, o=round, p=players, r=result, w=white Elo, b=black Elo,
+t=time control, v=variant, a=out-of-book info.
+Default: "eprd"
+ at end table
+
+ at node User interface options
+ at section User interface options
+ at cindex User interface options
+ at cindex Options, User interface
+ at table @asis
+ at item -display
+ at itemx -geometry
+ at itemx -iconic
+ at cindex display, option
+ at cindex geometry, option
+ at cindex iconic, option
+These and most other standard Xt options are accepted.
+ at item -noGUI
+ at cindex noGUI, option
+Suppresses all GUI functions of XBoard 
+(to speed up automated ultra-fast engine-engine games, which you don’t want to watch). 
+There will be no board or clock updates, no printing of moves, 
+and no update of the icon on the task bar in this mode.
+ at item -movesound/-xmovesound or -ringBellAfterMoves true/false
+ at cindex movesound, option
+ at cindex bell, option
+ at cindex ringBellAfterMoves, option
+Sets the Move Sound menu option.  @xref{Options Menu}.  Default: false.
+For compatibility with old XBoard versions, -bell/-xbell are also 
+accepted as abbreviations for this option.
+ at item -exit/-xexit or -popupExitMessage true/false
+ at cindex exit, option
+ at cindex popupExitMessage, option
+Sets the Popup Exit Message menu option.  @xref{Options Menu}. Default: true.
+ at item -popup/-xpopup or -popupMoveErrors true/false
+ at cindex popup, option
+ at cindex popupMoveErrors, option
+Sets the Popup Move Errors menu option.  @xref{Options Menu}. Default: false.
+ at item -queen/-xqueen or -alwaysPromoteToQueen true/false
+ at cindex queen, option
+ at cindex alwaysPromoteToQueen, option
+Sets the Always Queen menu option.  @xref{Options Menu}.  Default: false.
+ at item -legal/-xlegal or -testLegality true/false
+ at cindex legal, option
+ at cindex testLegality, option
+Sets the Test Legality menu option.  @xref{Options Menu}.  Default: true.
+ at item -size or -boardSize (sizeName | n1,n2,n3,n4,n5,n6,n7)
+ at cindex size, option
+ at cindex boardSize, option
+ at cindex board size
+Determines how large the board will be, by selecting the pixel size
+of the pieces and setting a few related parameters.
+The sizeName can be one of: Titanic, giving 129x129 pixel pieces,
+Colossal 116x116, Giant 108x108, Huge 95x95, Big 87x87, Large 80x80, Bulky 72x72,
+Medium 64x64, Moderate 58x58, Average 54x54, Middling 49x49, Mediocre
+45x45, Small 40x40, Slim 37x37, Petite 33x33, Dinky 29x29, Teeny 25x25,
+or Tiny 21x21.
+Pieces of all these sizes are built into XBoard.
+Other sizes can
+be used if you have them; see the pixmapDirectory and bitmapDirectory
+options.
+The default depends on the size of your screen; it is approximately the
+largest size that will fit without clipping.
+
+You can select other sizes or vary other layout parameters by providing
+a list of comma-separated values (with no spaces) as the argument.
+You do not need to provide all the values; for any you omit from the
+end of the list, defaults are taken from the nearest built-in size.
+The value @code{n1} gives the piece size, @code{n2} the width of the
+black border
+between squares, @code{n3} the desired size for the 
+clockFont, @code{n4} the desired size for the coordFont,
+ at code{n5} the desired size for the default font,
+ at code{n6} the smallLayout flag (0 or 1), 
+and @code{n7} the tinyLayout flag (0 or 1).  
+All dimensions are in pixels.
+If the border between squares is eliminated (0 width), the various
+highlight options will not work, as there is nowhere to draw the highlight.
+If smallLayout is 1 and @code{titleInWindow} is true, 
+the window layout is rearranged to make more room for the title.
+If tinyLayout is 1, the labels on the menu bar are abbreviated
+to one character each and the buttons in the button bar are made narrower.
+ at item -coords/-xcoords or -showCoords true/false
+ at cindex coords, option
+ at cindex showCoords, option
+Sets the Show Coords menu option.  @xref{Options Menu}.  Default: false.
+The @code{coordFont} option specifies what font to use.
+ at item -autoraise/-xautoraise or -autoRaiseBoard true/false
+ at cindex autoraise, option
+ at cindex autoRaiseBoard, option
+Sets the Auto Raise Board menu option.  @xref{Options Menu}.  Default: true.
+ at item -autoflip/-xautoflip or -autoFlipView true/false
+ at cindex autoflip, option
+ at cindex autoFlipView, option
+Sets the Auto Flip View menu option.  @xref{Options Menu}.  Default: true.
+ at item -flip/-xflip or -flipView true/false
+ at cindex flip, option
+ at cindex flipView, option
+If Auto Flip View is not set, or if you are observing but not participating
+in a game, then the positioning of the board at the start of each game
+depends on the flipView option.  If flipView is false (the default),
+the board is positioned so that the white pawns move from the bottom to the
+top; if true, the black pawns move from the bottom to the top.
+In any case, the Flip menu option (see @ref{Options Menu})
+can be used to flip the board after
+the game starts.
+ at item -title/-xtitle or -titleInWindow true/false
+ at cindex title, option
+ at cindex titleInWindow, option
+If this option is true, XBoard displays player names (for ICS
+games) and game file names (for @samp{Load Game}) inside its main
+window. If the option is false (the default), this information is
+displayed only in the window banner. You probably won't want to
+set this option unless the information is not showing up in the
+banner, as happens with a few X window managers.
+ at item -buttons/-xbuttons or -showButtonBar True/False
+ at cindex buttons, option
+ at cindex showButtonBar, option
+If this option is False, xboard omits the [<<] [<] [P] [>] [>>] button
+bar from the window, allowing the message line to be wider.  You can
+still get the functions of these buttons using the menus or their keyboard
+shortcuts.  Default: true.
+ at item -mono/-xmono or -monoMode true/false
+ at cindex mono, option
+ at cindex monoMode, option
+Determines whether XBoard displays its pieces and squares with
+two colors (true) or four (false). You shouldn't have to
+specify @code{monoMode}; XBoard will determine if it is necessary.
+ at item -flashCount count
+ at itemx -flashRate rate
+ at itemx -flash/-xflash
+ at cindex flashCount, option
+ at cindex flashRate, option
+ at cindex flash, option
+ at cindex xflash, option
+These options enable flashing of pieces when they
+land on their destination square.
+ at code{flashCount}
+tells XBoard how many times to flash a piece after it
+lands on its destination square.
+ at code{flashRate}
+controls the rate of flashing (flashes/sec).
+Abbreviations:
+ at code{flash}
+sets flashCount to 3.
+ at code{xflash}
+sets flashCount to 0.
+Defaults:  flashCount=0 (no flashing), flashRate=5.
+ at item -highlight/-xhighlight or -highlightLastMove true/false
+ at cindex highlight, option
+ at cindex highlightLastMove, option
+Sets the Highlight Last Move menu option. @xref{Options Menu}. Default: false.
+ at item -blind/-xblind or -blindfold true/false
+ at cindex blind, option
+ at cindex blindfold, option
+Sets the Blindfold menu option.  @xref{Options Menu}.  Default: false.
+ at item -clockFont font
+ at cindex clockFont, option
+ at cindex Font, clock
+The font used for the clocks. If the option value is a pattern
+that does not specify the font size, XBoard tries to choose an
+appropriate font for the board size being used.
+Default: -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*.
+ at item -coordFont font
+ at cindex coordFont, option
+ at cindex Font, coordinates
+The font used for rank and file coordinate labels if @code{showCoords}
+is true. If the option value is a pattern that does not specify
+the font size, XBoard tries to choose an appropriate font for
+the board size being used.
+Default: -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*.
+ at item -font font
+ at cindex font, option
+ at cindex Font
+The font used for popup dialogs, menus, comments, etc.
+If the option value is a pattern that does not specify
+the font size, XBoard tries to choose an appropriate font for
+the board size being used.
+Default: -*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*.
+ at item -fontSizeTolerance tol
+ at cindex fontSizeTolerance, option
+In the font selection algorithm, a nonscalable font will be preferred
+over a scalable font if the nonscalable font's size differs
+by @code{tol} pixels
+or less from the desired size.  A value of -1 will force
+a scalable font to always be used if available; a value of 0 will
+use a nonscalable font only if it is exactly the right size; 
+a large value (say 1000) will force a nonscalable font to always be
+used if available.  Default: 4.
+ at item -bm or -bitmapDirectory dir
+ at itemx -pixmap or -pixmapDirectory dir
+ at cindex bm, option
+ at cindex bitmapDirectory, option
+ at cindex pixmap, option
+ at cindex pixmapDirectory, option
+These options control what piece images xboard uses.  The XBoard
+distribution includes one set of pixmap pieces in xpm format, in the
+directory @file{pixmaps}, and one set of bitmap pieces in xbm format,
+in the directory @file{bitmaps}.  Pixmap
+pieces give a better appearance on the screen: the white pieces have
+dark borders, and the black pieces have opaque internal details.  With
+bitmaps, neither piece color has a border, and the internal details
+are transparent; you see the square color or other background color
+through them.
+
+If XBoard is configured and compiled on a system that includes libXpm,
+the X pixmap library, the xpm pixmap pieces are compiled in as the
+default.  A different xpm piece set can be selected at runtime with
+the @code{pixmapDirectory} option, or a bitmap piece set can be selected
+with the @code{bitmapDirectory} option.
+
+If XBoard is configured and compiled on a system that does not include
+libXpm (or the @code{--disable-xpm} option is given to the configure
+program), the bitmap pieces are compiled in as the default.  It is not
+possible to use xpm pieces in this case, but pixmap pieces in another
+format called "xim" can be used by giving the @code{pixmapDirectory} option.
+Or again, a different bitmap piece set can be selected with the
+ at code{bitmapDirectory} option.
+
+Files in the @code{bitmapDirectory} must be named as follows:
+The first character of a piece bitmap name gives the piece it 
+represents (@samp{p}, @samp{n}, @samp{b}, @samp{r}, @samp{q}, or @samp{k}),
+the next characters give the size in pixels, the
+following character indicates whether the piece is
+solid or outline (@samp{s} or @samp{o}),
+and the extension is @samp{.bm}.
+For example, a solid 80x80 knight would be named @file{n80s.bm}.
+The outline bitmaps are used only in monochrome mode.
+If bitmap pieces are compiled in and the bitmapDirectory is missing
+some files, the compiled in pieces are used instead.
+
+If the bitmapDirectory option is given,
+it is also possible to replace xboard's icons and menu checkmark,
+by supplying files named @file{icon_white.bm}, @file{icon_black.bm}, and
+ at file{checkmark.bm}.
+
+For more information about pixmap pieces and how to get additional
+sets, see @ref{zic2xpm} below.
+ at item -whitePieceColor color
+ at itemx -blackPieceColor color
+ at itemx -lightSquareColor color
+ at itemx -darkSquareColor color
+ at itemx -highlightSquareColor color
+ at cindex Colors
+ at cindex whitePieceColor, option
+ at cindex blackPieceColor, option
+ at cindex lightSquareColor, option
+ at cindex darkSquareColor, option
+ at cindex highlightSquareColor, option
+Colors to use for the pieces, squares, and square highlights.
+Defaults:
+
+ at example
+-whitePieceColor       #FFFFCC
+-blackPieceColor       #202020
+-lightSquareColor      #C8C365
+-darkSquareColor       #77A26D
+-highlightSquareColor  #FFFF00
+-premoveHighlightColor #FF0000
+ at end example
+
+On a grayscale monitor you might prefer:
+
+ at example
+-whitePieceColor       gray100
+-blackPieceColor       gray0
+-lightSquareColor      gray80
+-darkSquareColor       gray60
+-highlightSquareColor  gray100
+-premoveHighlightColor gray70
+ at end example
+ at item -drag/-xdrag or -animateDragging true/false
+ at cindex drag, option
+ at cindex animateDragging, option
+Sets the Animate Dragging menu option. @xref{Options Menu}.  Default: true.
+ at item -animate/-xanimate or -animateMoving true/false
+ at cindex animate, option
+ at cindex animateMoving, option
+Sets the Animate Moving menu option. @xref{Options Menu}.  Default: true.
+ at item -animateSpeed n
+ at cindex -animateSpeed, option
+Number of milliseconds delay between each animation frame when Animate
+Moves is on.
+ at end table
+
+ at node Adjudication Options
+ at section Adjudication Options
+ at cindex Options, adjudication
+ at table @asis
+ at item -adjudicateLossThreshold n
+ at cindex adjudicateLossThreshold, option
+If the given value is non-zero, XBoard adjudicates the game as a loss 
+if both engines agree for a duration of 6 consecutive ply that the score 
+is below the given score threshold for that engine. Make sure the score 
+is interpreted properly by XBoard, 
+using @code{-firstScoreAbs} and @code{-secondScoreAbs} if needed. 
+Default: 0 (no adjudiction)
+ at item -adjudicateDrawMoves n
+ at cindex adjudicateDrawMoves, option
+If the given value is non-zero, XBoard adjudicates the game as a draw 
+if after the given number of moves it was not yet decided. Defaut: 0 (no adjudication)
+ at item -checkMates true/false
+ at cindex checkMates, option
+If this option is set, XBoard detects all checkmates and stalemates, 
+and ends the game as soon as they occur. 
+Legality-testing must be switched on for this option to work.
+Default: true
+ at item -testClaims true/false
+ at cindex testClaims, option
+If this option is set, XBoard verifies all result claims made by engines, 
+and those who send false claims will forfeit the game because of it. 
+Legality-testing must be switched on for this option to work. Default: true
+ at item -materialDraws true/false
+ at cindex materialDraws, option
+If this option is set, XBoard adjudicates games as draws when there is 
+no sufficient material left to inflict a checkmate. 
+This applies to KBKB with like bishops (any number, actually), and to KBK, KNK and KK. 
+Legality-testing must be switched on for this option to work. Default: true
+ at item -trivialDraws true/false
+ at cindex trivialDraws, option
+If this option is set, XBoard adjudicates games as draws that cannot be 
+usually won without opponent cooperation. This applies to KBKB with unlike bishops, 
+and to KBKN, KNKN, KNNK, KRKR and KQKQ. The draw is called after 6 ply into these end-games, 
+to allow quick mates that can occur in some exceptional positions to be found by the engines. 
+KQKQ does not really belong in this category, and might be taken out in the future. 
+(When bitbase-based adjudications are implemented.) 
+Legality-testing must be on for this option to work. Default: false
+ at item -ruleMoves n
+ at cindex ruleMoves, option
+If the given value is non-zero, XBoard adjudicates the game as a draw after the given 
+number of consecutive reversible moves. Engine draw claims are always accepted after 50 moves, 
+irrespective of the given value of n.
+ at item -repeatsToDraw n
+If the given value is non-zero, xboard adjudicates the game as a draw if a position 
+is repeated the given number of times. Engines draw claims are always accepted after 3 repeats, 
+(on the 3rd occurrence, actually), irrespective of the value of n. 
+Beware that positions that have different castling or en-passant rights do not count 
+as repeats, XBoard is fully e.p. and castling aware!
+ at end table
+
+ at node Other options
+ at section Other options
+ at cindex Options, miscellaneous
+ at table @asis
+ at item -ncp/-xncp or -noChessProgram true/false
+ at cindex ncp, option
+ at cindex noChessProgram, option
+If this option is true, XBoard acts as a passive chessboard; it
+does not start a chess engine at all. Turning on this option
+also turns off clockMode. Default: false.
+ at item -mode or -initialMode modename
+ at cindex mode, option
+ at cindex initalMode, option
+If this option is given, XBoard selects the given modename
+from the Mode menu after starting and (if applicable) processing the
+loadGameFile or loadPositionFile option. Default: "" (no selection). 
+Other supported values are 
+MachineWhite, MachineBlack, TwoMachines, Analysis, 
+AnalyzeFile, EditGame, EditPosition, and Training.
+ at item -variant varname
+ at cindex variant, option
+Activates preliminary, partial support for playing chess variants
+against a local engine or editing variant games.  This flag is not
+needed in ICS mode.  Recognized variant names are:
+
+ at example
+normal        Normal chess
+wildcastle    Shuffle chess, king can castle from d file
+nocastle      Shuffle chess, no castling allowed
+fischerandom  Fischer Random shuffle chess
+bughouse      Bughouse, ICC/FICS rules
+crazyhouse    Crazyhouse, ICC/FICS rules
+losers        Lose all pieces or get mated (ICC wild 17)
+suicide       Lose all pieces including king (FICS)
+giveaway      Try to have no legal moves (ICC wild 26)
+twokings      Weird ICC wild 9
+kriegspiel    Opponent's pieces are invisible
+atomic        Capturing piece explodes (ICC wild 27)
+3check        Win by giving check 3 times (ICC wild 25)
+shatranj      An ancient precursor of chess (ICC wild 28)
+xiangqi       Chinese Chess (on a 9x10 board)
+shogi         Japanese Chess (on a 9x9 board & piece drops) 
+capablanca    Capablanca Chess (10x8 board, with Archbishop 
+              and Chancellor pieces)
+gothic        similar, with a better initial position
+caparandom    An FRC-like version of Capablanca Chess (10x8) 
+janus         A game with two Archbishops (10x8 board)
+courier       Medieval intermedite between shatranj and 
+              modern Chess (on 12x8 board) 
+falcon        Patented 10x8 variant with two Falcon pieces
+berolina      Pawns capture straight ahead, and move diagonal 
+cylinder      Pieces wrap around the board edge
+knightmate    King moves as Knight, and vice versa 
+super         Superchess (shuffle variant with 4 exo-pieces)
+fairy         A catchall variant in which all piece types 
+              known to XBoard can participate (8x8)
+unknown       Catchall for other unknown variants
+ at end example
+
+In the shuffle variants, XBoard now does shuffle the pieces, although
+you can still do it by hand using Edit Position.  Some variants are
+supported only in ICS mode, including bughouse, and
+kriegspiel.  The winning/drawing conditions in crazyhouse (offboard
+interposition on mate), losers, suicide, giveaway, atomic, and 3check
+are not fully understood.  
+Berolina and cylinder chess can only be played with legality testing off.
+In crazyhouse, XBoard now does keep
+track of offboard pieces.  In shatranj it does implement the baring
+rule when mate detection is switched on.
+ at item -boardHeight N
+ at cindex boardHeight, option
+Allows you to set a non-standard number of board ranks in any variant. 
+If the height is given as -1, the default height for the variant is used.
+Default: -1
+ at item -boardWidth N
+ at cindex boardWidth, option
+Allows you to set a non-standard number of board files in any variant. 
+If the width is given as -1, the default width for the variant is used. 
+With a non-standard width, the initial position will always be an empty board, 
+as the usual opening array will not fit.
+Default: -1
+ at item -holdingsSize N
+ at cindex holdingsSize, option
+Allows you to set a non-standard size for the holdings in any variant. 
+If the size is given as -1, the default holdings size for the variant is used. 
+The first N piece types will go into the holdings on capture, and you will be 
+able to drop them on the board in stead of making a normal move. If size equals 0, 
+there will be no holdings.
+Default: -1
+ at item -defaultFrcPosition N
+ at cindex defaultFrcPosition, option
+Specifies the number of the opening position in shuffle games like Chess960. 
+A value of -1 means the position is randomly generated by XBoard
+at the beginning of every game.
+Default: -1
+ at item -pieceToSquareTable string
+ at cindex pieceToSquareTable, option
+The characters that are used to represent the piece types XBoard knows in FEN 
+diagrams and SAN moves. The string argument has to have an even length 
+(or it will be ignored), as white and black pieces have to be given separately 
+(in that order). The last letter for each color will be the King. 
+The letters before that will be PNBRQ and then a whole host of fairy pieces 
+in an order that has not fully crystallized yet (currently FEACWMOHIJGDVSLU, 
+F=Ferz, Elephant, A=Archbishop, C=Chancellor, W=Wazir, M=Commoner, O=Cannon, 
+H=Nightrider). You should list at least all pieces that occur in the variant 
+you are playing. If you have less than 44 characters in the string, the pieces 
+not mentioned will get assigned a period, and you will not be able to distinguish 
+them in FENs. You can also explicitly assign pieces a period, in which case they 
+will not be counted in deciding which captured pieces can go into the holdings.
+A tilde '~' as a piece name does mean this piece is used to represent a promoted 
+Pawn in crazyhouse-like games, i.e. on capture it turns back onto a Pawn. 
+A '+' similarly indicates the piece is a shogi-style promoted piece, that should 
+revert to its non-promoted version on capture (rather than to a Pawn).
+Note that promoted pieces are represented by pieces 11 further in the list.
+You should not have to use this option often: each variant has its own default 
+setting for the piece representation in FEN, which should be sufficient in normal use.
+Default: ""
+ at item -debug/-xdebug or -debugMode true/false
+ at cindex debug, option
+ at cindex debugMode, option
+Turns on debugging printout.
+ at item -debugFile filename or -nameOfDebugFile filename
+ at cindex debugFile, option
+ at cindex nameOfDebugFile, option
+Sets the name of the file to which WinBoard saves debug information 
+(including all communication to and from the engines).
+ at item -engineDebugOutput number
+ at cindex engineDebugOutput, option
+Specifies how WinBoard should handle unsolicited output from the engine, 
+with respect to saving it in the debug file. 
+The output is further (hopefully) ignored. 
+If number=0, WinBoard refrains from writing such spurious output to the debug file. 
+If number=1, all engine output is written faithfully to the debug file. 
+If number=2, any protocol-violating line is prefixed with a ‘#’ character, 
+as the engine itself should have done if it wanted to submit info for inclusion in the debug file.
+This option is provided for the benefit of applications that use the debug file 
+as a source of information, such as the broadcaster of live games TLCV / TLCS. 
+Such applications can be protected from spurious engine output that might otherwise confuse them.
+ at item -rsh or -remoteShell shell-name
+ at cindex rsh, option
+ at cindex remoteShell, option
+Name of the command used to run programs remotely. The default
+is @file{rsh} or @file{remsh}, determined when XBoard is
+configured and compiled.
+ at item -ruser or -remoteUser user-name
+ at cindex ruser, option
+ at cindex remoteUser, option
+User name on the remote system when running programs with the
+ at code{remoteShell}. The default is your local user name.
+ at item -userName username
+ at cindex userName, option
+Name under which the Human player will be listed in the PGN file. 
+Default is the login name on your local computer.
+ at item -delayBeforeQuit number
+ at itemx -delayAfterQuit number
+ at cindex delayBeforeQuit, option
+ at cindex delayAfterQuit, option
+These options specify how long WinBoard has to wait before sending a termination signal to rogue engine processes, that do not want to react to the ‘quit’ command. The second one determines the pause after killing the engine, to make sure it dies.
+
+ at end table
+
+ at node Chess Servers
+ at chapter Chess Servers
+ at cindex ICS
+ at cindex ICS, addresses
+ at cindex Internet Chess Server
+An @dfn{Internet Chess Server}, or @dfn{ICS}, is a place on the
+Internet where people can get together to play chess, watch other
+people's games, or just chat.  You can use either @code{telnet} or a
+client program like XBoard to connect to the server.  There are
+thousands of registered users on the different ICS hosts, and it is
+not unusual to meet 200 on both chessclub.com and freechess.org.
+
+Most people can just type @kbd{xboard -ics} to start XBoard as an ICS
+client.  Invoking XBoard in this way connects you to the Internet
+Chess Club (ICC), a commercial ICS.  You can log in there as a guest
+even if you do not have a paid account.  To connect to the largest
+Free ICS (FICS), use the command @kbd{xboard -ics -icshost freechess.org}
+instead, or substitute a different host name to connect to your
+favorite ICS.
+For a full description of command-line options that control 
+the connection to ICS and change the default values of ICS options, see
+ at ref{ICS options}.  
+
+While you are running XBoard as an ICS client,
+you use the terminal window that you started XBoard from
+as a place to type in commands and read information that is
+not available on the chessboard.
+
+The first time you need to use the terminal is to enter your login name
+and password, if you are a registered player. (You don't need to do
+this manually; the @code{icsLogon} option can do it for you.
+ at pxref{ICS options}.)  If you are not registered, 
+enter @kbd{g} as your name, and the server will pick a
+unique guest name for you.
+
+Some useful ICS commands
+include
+ at table @kbd
+ at item help <topic>
+ at cindex help, ICS command
+to get help on the given <topic>. To get a list of possible topics type
+ at dfn{help} without topic.  Try the help command before you ask other
+people on the server for help.
+
+For example @kbd{help register} tells you how to become a registered
+ICS player.
+ at item who <flags>
+ at cindex who, ICS command
+to see a list of people who are logged on.  Administrators
+(people you should talk to if you have a problem) are marked
+with the character @samp{*}, an asterisk. The <flags> allow you to
+display only selected players: For example, @kbd{who of} shows a
+list of players who are interested in playing but do not have
+an opponent.
+ at item games
+ at cindex games, ICS command
+to see what games are being played
+ at item match <player> [<mins>] [<inc>]
+to challenge another player to a game. Both opponents get <mins> minutes
+for the game, and <inc> seconds will be added after each move.
+If another player challenges you, the server asks if you want to
+accept the challenge; use the @kbd{accept} or @kbd{decline} commands
+to answer.
+ at item accept
+ at itemx decline
+ at cindex accept, ICS command
+ at cindex decline, ICS command
+to accept or decline another player's offer. 
+The offer may be to start a new game, or to agree to a 
+ at kbd{draw}, @kbd{adjourn} or @kbd{abort} the current game. @xref{Action Menu}.
+
+If you have more than one pending offer (for example, if more than one player
+is challenging you, or if your opponent offers both a draw and to adjourn the
+game), you have to supply additional information, by typing something
+like @kbd{accept <player>}, @kbd{accept draw}, or @kbd{draw}.
+ at item draw
+ at itemx adjourn
+ at itemx abort
+ at cindex draw, ICS command
+ at cindex adjourn, ICS command
+ at cindex abort, ICS command
+asks your opponent to terminate a game by mutual agreement. Adjourned
+games can be continued later. 
+Your opponent can either @kbd{decline} your offer or accept it (by typing the
+same command or typing @kbd{accept}).  In some cases these commands work
+immediately, without asking your opponent to agree.  For example, you can
+abort the game unilaterally if your opponent is out of time, and you can claim
+a draw by repetition or the 50-move rule if available simply by typing 
+ at kbd{draw}.
+ at item finger <player>
+ at cindex finger, ICS command
+to get information about the given <player>. (Default: yourself.)
+ at item vars
+ at cindex vars, ICS command
+to get a list of personal settings
+ at item set <var> <value>
+ at cindex set, ICS command
+to modify these settings
+ at item observe <player>
+ at cindex observe, ICS command
+to observe an ongoing game of the given <player>.
+ at item examine
+ at itemx oldmoves
+ at cindex examine, ICS command
+ at cindex oldmoves, ICS command
+to review a recently completed game
+ at end table
+
+Some special XBoard features are activated when you are
+in examine mode on ICS.  See the descriptions of the menu commands
+ at samp{Forward}, @samp{Backward}, @samp{Pause}, @samp{ICS Client}, 
+and @samp{Stop Examining} on the @ref{Step Menu}, @ref{Mode Menu}, and
+ at ref{Options Menu}.
+
+ at node Firewalls
+ at chapter Firewalls
+By default, XBoard communicates with an Internet Chess Server
+by opening a TCP socket directly from the machine it is running on
+to the ICS. If there is a firewall between your machine and the ICS,
+this won't work. Here are some recipes for getting around common
+kinds of firewalls using special options to XBoard.
+Important: See the paragraph in the below about extra echoes, in
+ at ref{Limitations}.
+
+Suppose that you can't telnet directly to ICS, but you can telnet
+to a firewall host, log in, and then telnet from there to ICS.
+Let's say the firewall is called @samp{firewall.example.com}. Set
+command-line options as follows:
+
+ at example
+xboard -ics -icshost firewall.example.com -icsport 23
+ at end example
+ at noindent
+Or in your @file{.Xresources} file:
+
+ at example
+XBoard*internetChessServerHost: firewall.example.com
+XBoard*internetChessServerPort: 23
+ at end example
+ at noindent
+Then when you run XBoard in ICS mode, you will be prompted
+to log in to the firewall host. This works because port 23 is the
+standard telnet login service. Do so, then telnet to ICS, using a
+command like @samp{telnet chessclub.com 5000}, or whatever command
+the firewall provides for telnetting to port 5000.
+
+If your firewall lets you telnet (or rlogin) to remote hosts but
+doesn't let you telnet to port 5000, you may be able to connect to the
+chess server on port 23 instead, which is the port the telnet program
+uses by default.  Some chess servers support this (including
+chessclub.com and freechess.org), while some do not.
+
+If your chess server does not allow connections on port 23 and your
+firewall does not allow you to connect to other ports, you may be able
+to connect by hopping through another host outside the firewall that
+you have an account on.  For instance, suppose you have a shell
+account at @samp{foo.edu}. Follow the recipe above, but instead of
+typing @samp{telnet chessclub.com 5000} to the firewall, type
+ at samp{telnet foo.edu} (or @samp{rlogin foo.edu}), log in there, and
+then type @samp{telnet chessclub.com 5000}.
+
+Suppose that you can't telnet directly to ICS, but you can use rsh
+to run programs on a firewall host, and that host can telnet to ICS.
+Let's say the firewall is called @samp{rsh.example.com}. Set
+command-line options as follows:
+
+ at example
+xboard -ics -gateway rsh.example.com -icshost chessclub.com
+ at end example
+
+ at noindent
+Or in your @file{.Xresources} file:
+
+ at example
+XBoard*gateway: rsh.example.com
+XBoard*internetChessServerHost: chessclub.com
+ at end example
+
+Then when you run XBoard in ICS mode, it will connect to
+the ICS by using @file{rsh} to run the command
+ at samp{telnet chessclub.com 5000} on host @samp{rsh.example.com}.
+
+Suppose that you can telnet anywhere you want, but you have to
+run a special program called @file{ptelnet} to do so.
+
+First, we'll consider the easy case, in which
+ at samp{ptelnet chessclub.com 5000} gets you to the chess server.
+In this case set command line options as follows:
+
+ at example
+xboard -ics -telnet -telnetProgram ptelnet
+ at end example
+
+ at noindent
+Or in your @file{.Xresources} file:
+
+ at example
+XBoard*useTelnet: true
+XBoard*telnetProgram: ptelnet
+ at end example
+
+ at noindent
+Then when you run XBoard in ICS mode, it will issue the
+command @samp{ptelnet chessclub.com 5000} to connect to the ICS.
+
+Next, suppose that @samp{ptelnet chessclub.com 5000} doesn't work;
+that is, your @file{ptelnet} program doesn't let you connect to
+alternative ports. As noted above, your chess server may allow you to
+connect on port 23 instead.  In that case, just add the option
+ at samp{-icsport ""} to the above command, or add
+ at samp{XBoard*internetChessServerPort:} to your @file{.Xresources} file.
+But if your chess server doesn't let you connect on port 23, you will have
+to find some other host outside the firewall and hop through it. For
+instance, suppose you have a shell account at @samp{foo.edu}. Set
+command line options as follows:
+
+ at example
+xboard -ics -telnet -telnetProgram ptelnet -icshost foo.edu -icsport ""
+ at end example
+
+ at noindent
+Or in your @file{.Xresources} file:
+
+ at example
+XBoard*useTelnet: true
+XBoard*telnetProgram: ptelnet
+XBoard*internetChessServerHost: foo.edu
+XBoard*internetChessServerPort:
+ at end example
+
+ at noindent
+Then when you run XBoard in ICS mode, it will issue the
+command @samp{ptelnet foo.edu} to connect to your account at
+ at samp{foo.edu}. Log in there, then type @samp{telnet chessclub.com 5000}.
+
+ICC timestamp and FICS timeseal do not work through some
+firewalls.  You can use them only if your firewall gives a clean TCP
+connection with a full 8-bit wide path.  If your firewall allows you
+to get out only by running a special telnet program, you can't use
+timestamp or timeseal across it.  But if you have access to a
+computer just outside your firewall, and you have much lower netlag
+when talking to that computer than to the ICS, it might be worthwhile
+running timestamp there.  Follow the instructions above for hopping
+through a host outside the firewall (foo.edu in the example),
+but run timestamp or timeseal on that host instead of telnet.
+
+Suppose that you have a SOCKS firewall that will give you a clean
+8-bit wide TCP connection to the chess server, but only after you
+authenticate yourself via the SOCKS protocol.  In that case, you could
+make a socksified version of XBoard and run that.  If you are using
+timestamp or timeseal, you will to socksify it, not XBoard; this may
+be difficult seeing that ICC and FICS do not provide source code for
+these programs.  Socksification is beyond the scope of this document,
+but see the SOCKS Web site at http://www.socks.permeo.com/.
+If you are missing SOCKS, try http://www.funbureau.com/.
+
+ at node Environment
+ at chapter Environment variables
+ at cindex Environment variables
+ at cindex CHESSDIR
+Game and position files are found in a directory named by the
+ at code{CHESSDIR} environment variable. If this variable is not set, the
+current working directory is used. If @code{CHESSDIR} is set,
+XBoard actually changes its working directory to
+ at code{$CHESSDIR}, so any files written by the chess engine
+will be placed there too.
+
+ at node Limitations
+ at chapter Limitations and known bugs
+ at cindex Limitations
+ at cindex Bugs
+There is no way for two people running copies of XBoard to play
+each other without going through an Internet Chess Server.
+
+Under some circumstances, your ICS password may be echoed when you log on.
+
+If you are connecting to the ICS by running telnet on an Internet
+provider or firewall host, you may find that each line you type is
+echoed back an extra time after you hit @key{Enter}. If your Internet
+provider is a Unix system, you can probably turn its echo off by
+typing @kbd{stty -echo} after you log in, and/or typing
+ at key{^E}@key{Enter} (Ctrl+E followed by the Enter key) to the telnet
+program after you have logged into ICS.  It is a good idea to do this
+if you can, because the extra echo can occasionally confuse XBoard's
+parsing routines.
+
+The game parser recognizes only algebraic notation.
+
+Many of the following points used to be limitations in XBoard 4.2.7 and earlier, 
+but are now fixed:
+The internal move legality tester in XBoard 4.3.xx does look at the game history, 
+and is fully aware of castling or en-passant-capture rights. It permits castling with 
+the king on the d file because this is possible in some "wild 1" games on ICS. 
+The piece-drop menu does not check piece drops in bughouse to see if you actually hold 
+the piece you are trying to drop. But this way of dropping pieces should be considered 
+an obsolete feature, now that pieces can be dropped by dragging them from the holdings 
+to the board. Anyway, if you would attempt an illegal move when using a chess engine or the ICS, 
+WinBoard will accept the error message that comes back, undo the move, and let you try another.
+FEN positions saved by XBoard do include correct information about whether castling or 
+en passant are legal, and also handle the 50-move counter.
+The mate detector does not understand that non-contact mate is not really mate in bughouse. 
+The only problem this causes while playing is minor: a "#" (mate indicator) character will 
+show up after a non-contact mating move in the move list. XBoard will not assume the game 
+is over at that point, not even when the option Detect Mates is on.
+Edit Game mode always uses the rules of the selected variant, 
+which can be a variant that uses piece drops.  
+You can load and edit games that contain piece drops. 
+The (obsolete) piece menus are not active, 
+but you can perform piece drops by dragging pieces from the holdings.
+Edit Position mode does not allow you to edit the crazyhouse holdings properly. 
+You cannot drag pieces to the holding, and using the popup menu to put pieces 
+there does not adapt the holding counts and leads to an inconsistent state. 
+Set up crazyhouse positions by loading / pasting a bFEN, from there you can set the holdings.
+Fischer Random castling is fully understood. 
+You can enter castlings by dragging the King on top of your Rook. 
+You can probably also play Fischer Random successfully on ICS by typing 
+castling moves into the ICS Interaction window.
+
+The menus may not work if your keyboard is in Caps Lock or Num Lock mode.
+This seems to be a problem with the Athena menu widget,
+not an XBoard bug.
+
+Also see the ToDo file included with the distribution for many other
+possible bugs, limitations, and ideas for improvement that have been
+suggested.
+ at node Problems
+ at chapter Reporting problems
+ at cindex Bugs
+ at cindex Bug reports
+ at cindex Reporting bugs
+ at cindex Problems
+ at cindex Reporting problems
+
+Report bugs and problems with XBoard to @code{<bug-xboard@@gnu.org>}.
+
+Please use the @file{script} program to start a typescript, run 
+XBoard with the @samp{-debug} option, and include the typescript
+output in your message.
+Also tell us what kind of machine and what operating system version
+you are using.  The command @samp{uname -a} will often tell you this.
+Here is a sample of approximately what you should type:
+
+ at example
+script
+uname -a
+./configure
+make
+./xboard -debug
+exit
+mail bug-xboard@@gnu.org
+Subject: Your short description of the problem
+Your detailed description of the problem
+~r typescript
+.
+ at end example
+
+The WinBoard / XBoard 4.3 line is being developed by H.G. Muller 
+independently of the GNU Savannah xboard project. 
+Bug reports on this version, and suggestions for improvements and additions, 
+are best posted in the WinBoard forum, 
+WinBoard-development section (http://www.open-aurec.com/wbforum). 
+
+If you improve XBoard, please send a message about your changes,
+and we will get in touch with you about merging them in
+to the main line of development.
+Also see our Web site at http://savannah.gnu.org/projects/xboard/.
+
+ at node Contributors
+ at chapter Authors and contributors
+ at cindex Authors
+ at cindex Contributors
+
+Tim Mann has been responsible for XBoard versions 1.3 and beyond, and
+for WinBoard, a port of XBoard to Microsoft Win32 (Windows NT and
+Windows 95). H.G.Muller is responsible for version 4.3.
+
+Mark Williams contributed the initial (WinBoard-only) implementation
+of many new features added to both XBoard and WinBoard in version
+4.1.0, including copy/paste, premove, icsAlarm, autoFlipView, training
+mode, auto raise, and blindfold.  Ben Nye contributed X copy/paste
+code for XBoard.
+
+Hugh Fisher added animated piece movement to XBoard, and Henrik Gram
+(henrikg@@funcom.com) added it to WinBoard.  Frank McIngvale added
+click/click moving, the Analysis modes, piece flashing, ZIICS import,
+and ICS text colorization to XBoard.  Jochen Wiedmann ported XBoard to
+the Amiga, creating AmyBoard, and converted the documentation to
+texinfo.  Elmar Bartel contributed the new piece bitmaps introduced in
+version 3.2.  John Chanak contributed the initial implementation of
+ICS mode.  The color scheme and the old 80x80 piece bitmaps were taken
+from Wayne Christopher's @code{XChess} program.
+
+Chris Sears and Dan Sears wrote the original XBoard.  They were
+responsible for versions 1.0 through 1.2.
+
+Evan Welsh wrote @code{CMail}.  Patrick Surry helped in designing,
+testing, and documenting CMail.
+
+Allessandro Scotti added many elements to the user interface of WinBoard, 
+including the board textures and font-based rendering, the evaluation-graph, 
+move-history and engine-output window. 
+He was also responsible for adding the UCI support. 
+
+H.G. Muller made WinBoard castling- and e.p.-aware, 
+added variant support with adjustable board sizes, 
+the crazyhouse holdings, and the fairy pieces. 
+In addition he added most of the adjudication options, 
+made WinBoard more robust in dealing with buggy and crashing engines, 
+and extended time control with a time-odds and node-count-based modes.
+Most of the options that initially wre WinBoard only have now been back-ported to XBoard.
+
+Michel van den Bergh provided the code for reading Polyglot opening books.
+
+Arun Persaud worked with H.G. Muller to combine all the features of the never-released WinBoard 4.2.8 
+of the Savannah project (mainly by Daniel Mehrmann), 
+and the never-released 4.3.16 into a unified WinBoard 4.4, 
+which is now available both from the Savannah web site and the WinBoard forum.
+ at node CMail
+ at chapter CMail
+ at cindex cmail
+The @file{cmail} program can help you play chess by email with opponents of
+your choice using XBoard as an interface.
+
+You will usually run @file{cmail} without giving any options.
+
+ at menu
+* CMail options::    Invoking CMail.
+* CMail game::       Starting a CMail game.
+* CMail answer::     Answering a move.
+* CMail multi::      Multiple games in one message.
+* CMail completion:: Completing a game.
+* CMail trouble::    Known CMail problems.
+ at end menu
+
+ at node CMail options
+ at section CMail options
+ at table @asis
+ at item -h
+Displays @file{cmail} usage information.
+ at item -c
+Shows the conditions of the GNU General Public License.
+ at xref{Copying}.
+ at item -w
+Shows the warranty notice of the GNU General Public License.
+ at xref{Copying}.
+ at item -v
+ at itemx -xv
+Provides or inhibits verbose output from @file{cmail} and XBoard,
+useful for debugging. The
+ at code{-xv}
+form also inhibits the cmail introduction message.
+ at item -mail
+ at itemx -xmail
+Invokes or inhibits the sending of a mail message containing the move.
+ at item -xboard
+ at itemx -xxboard
+Invokes or inhibits the running of XBoard on the game file.
+ at item -reuse
+ at itemx -xreuse
+Invokes or inhibits the reuse of an existing XBoard to display the
+current game.
+ at item -remail
+Resends the last mail message for that game. This inhibits running
+XBoard.
+ at item -game <name>
+The name of the game to be processed.
+ at item -wgames <number>
+ at itemx -bgames <number>
+ at itemx -games <number>
+Number of games to start as White, as Black or in total. Default is 1 as
+white and none as black. If only one color is specified then none of the
+other color is assumed. If no color is specified then equal numbers of
+White and Black games are started, with the extra game being as White if an
+odd number of total games is specified.
+ at item -me <short name>
+ at itemx -opp <short name>
+A one-word alias for yourself or your opponent.
+ at item -wname <full name>
+ at itemx -bname <full name>
+ at itemx -name <full name>
+ at itemx -oppname <full name>
+The full name of White, Black, yourself or your opponent.
+ at item -wna <net address>
+ at itemx -bna <net address>
+ at itemx -na <net address>
+ at itemx -oppna <net address>
+The email address of White, Black, yourself or your opponent.
+ at item -dir <directory>
+The directory in which @file{cmail} keeps its files. This defaults to the
+environment variable @code{$CMAIL_DIR} or failing that, @code{$CHESSDIR},
+ at file{$HOME/Chess} or @file{~/Chess}. It will be created if it does not exist.
+ at item -arcdir <directory>
+The directory in which @file{cmail} archives completed games. Defaults to
+the environment variable @code{$CMAIL_ARCDIR} or, in its absence, the same
+directory as cmail keeps its working files (above).
+ at item -mailprog <mail program>
+The program used by cmail to send email messages. This defaults to the
+environment variable @code{$CMAIL_MAILPROG} or failing that
+ at file{/usr/ucb/Mail}, @file{/usr/ucb/mail} or @file{Mail}. You will need
+to set this variable if none of the above paths fit your system.
+ at item -gamesFile <file>
+ at cindex .cmailgames
+A file containing a list of games with email addresses. This defaults to
+the environment variable @code{$CMAIL_GAMES} or failing that
+ at file{.cmailgames}.
+ at item -aliasesFile <file>
+ at cindex .cmailaliases
+A file containing one or more aliases for a set of email addresses. This
+defaults to the environment variable @code{$CMAIL_ALIASES} or failing
+that @file{.cmailaliases}.
+ at item -logFile <file>
+A file in which to dump verbose debugging messages that are invoked with
+the @samp{-v}
+option.
+ at item -event <event>
+The PGN Event tag (default @samp{Email correspondence game}).
+ at item -site <site>
+The PGN Site tag (default @samp{NET}).
+ at item -round <round>
+The PGN Round tag (default @samp{-}, not applicable).
+ at item -mode <mode>
+The PGN Mode tag (default @samp{EM}, Electronic Mail).
+ at item Other options
+Any option flags not listed above are passed through to XBoard.
+Invoking XBoard through CMail changes the default values of two XBoard
+options: The default value for @samp{-noChessProgram} is changed to
+true; that is, by default no chess engine is started.  The default
+value for @samp{-timeDelay} is changed to 0; that is, by default
+XBoard immediately goes to the end of the game as played so far,
+rather than stepping through the moves one by one.  You can still set
+these options to whatever values you prefer by supplying them on
+CMail's command line.  @xref{Options}.
+ at end table
+
+ at node CMail game
+ at section Starting a CMail Game
+Type @file{cmail} from a shell to start a game as white. After an opening
+message, you will be prompted for a game name, which is optional---if you
+simply press @key{Enter}, the game name will take the form
+ at samp{you-VS-opponent}. You will next be prompted for the short name
+of your opponent. If you haven't played this person before, you will also
+be prompted for his/her email address. @file{cmail} will then invoke
+XBoard in the background. Make your first move and select
+ at samp{Mail Move} from the @samp{File} menu. @xref{File Menu}. If all is well,
+ at file{cmail} will mail a copy of the move to your opponent. If you select
+ at samp{Exit} without having selected @samp{Mail Move} then no move will be
+made.
+
+ at node CMail answer
+ at section Answering a Move
+When you receive a message from an opponent containing a move in one of
+your games, simply pipe the message through @file{cmail}. In some mailers
+this is as simple as typing @kbd{| cmail} when viewing the message, while in
+others you may have to save the message to a file and do @kbd{cmail < file}
+at the command line. In either case @file{cmail} will display the game using
+XBoard. If you didn't exit XBoard when you made your first move
+then @file{cmail} will do its best to use the existing XBoard instead
+of starting a new one. As before, simply make a move and select
+ at samp{Mail Move} from the @samp{File} menu. @xref{File Menu}. @file{cmail}
+will try to use the
+XBoard that was most recently used to display the current game. This
+means that many games can be in progress simultaneously, each with its own
+active XBoard.
+
+If you want to look at the history or explore a variation, go ahead, but
+you must return to the current position before XBoard will allow you
+to mail a move. If you edit the game's history you must select
+ at samp{Reload Same Game} from the @samp{File} menu to get back to the original
+position, then make the move you want and select @samp{Mail Move}.
+As before, if you decide you aren't ready to make a move just yet you can
+either select @samp{Exit} without sending a move or just leave
+XBoard running until you are ready.
+
+ at node CMail multi
+ at section Multi-Game Messages
+
+It is possible to have a @file{cmail} message carry more than one game.
+This feature was implemented to handle IECG (International Email Chess
+Group) matches, where a match consists of one game as white and one as black,
+with moves transmitted simultaneously. In case there are more general uses,
+ at file{cmail} itself places no limit on the number of black/white games
+contained in a message; however, XBoard does.
+
+ at node CMail completion
+ at section Completing a Game
+Because XBoard can detect checkmate and stalemate, @file{cmail}
+handles game termination sensibly. As well as resignation, the
+ at samp{Action} menu allows draws to be offered and accepted for
+ at file{cmail} games.
+
+For multi-game messages, only unfinished and just-finished games will be
+included in email messages. When all the games are finished, they are
+archived in the user's archive directory, and similarly in the opponent's
+when he or she pipes the final message through @file{cmail}. The archive
+file name includes the date the game was started.
+
+ at node CMail trouble
+ at section Known CMail Problems
+It's possible that a strange conjunction of conditions may occasionally
+mean that @file{cmail} has trouble reactivating an existing
+XBoard. If this should happen, simply trying it again should work.
+If not, remove the file that stores the XBoard's PID
+(@file{game.pid}) or use the @samp{-xreuse} option to force
+ at file{cmail} to start a new XBoard.
+
+Versions of @file{cmail} after 2.16 no longer understand the old file format
+that XBoard used to use and so cannot be used to correspond with
+anyone using an older version.
+
+Versions of @file{cmail} older than 2.11 do not handle multi-game messages,
+so multi-game correspondence is not possible with opponents using an older
+version.
+
+ at node Other programs
+ at chapter Other programs you can use with XBoard
+ at cindex Other programs
+
+Here are some other programs you can use with XBoard
+
+ at menu
+* GNU Chess::        The GNU Chess engine.
+* Fairy-Max::        The Fairy-Max chess engine.
+* HoiChess::         The HoiChess chess engine.
+* Crafty::           The Crafty chess engine.
+* zic2xpm::          The program used to import chess sets from ZIICS.
+ at end menu
+
+ at node GNU Chess
+ at section GNU Chess
+
+The GNU Chess engine is available from:
+
+ftp://ftp.gnu.org/gnu/gnuchess/
+
+You can use XBoard to play a game against GNU Chess, or to
+interface GNU Chess to an ICS.
+
+ at node Fairy-Max
+ at section Fairy-Max
+
+Fairy-Max is a derivative from the World's smallest Chess program micro-Max,
+which measures only about 100 lines of source code.
+The main difference with micro-Max is that Fairy-Max loads its move-generator
+tables from a file, so that the rules for piece movement can be easily configured
+to implement unorthodox pieces.
+Fairy-Max can therefore play a lage number of variants, normal Chess being one of those.
+In addition it plas Knightmate, Capablanca and Gothic Chess, Shatranj, Courier Chess,
+Cylinder chess, Berolina Chess, while the user can easily define new variants.
+It can be obtained from:
+
+http://home.hccnet.nl/h.g.muller/dwnldpage.html
+
+ at node HoiChess
+ at section HoiChess
+
+HoiChess is a not-so-very-strong Chess engine, which comes with a derivative HoiXiangqi,
+able to play Chinese Chess. It can be obtained from the standard Linux repositories
+through:
+
+sudo apt-get install hoichess
+
+ at node Crafty
+ at section Crafty
+
+Crafty is a chess engine written by Bob Hyatt.
+You can use XBoard to play a game against Crafty, hook Crafty up
+to an ICS, or use Crafty to interactively analyze games and positions
+for you.
+
+Crafty is a strong, rapidly evolving chess program. This rapid
+pace of development is good, because it means Crafty is always
+getting better.  This can sometimes cause problems with
+backwards compatibility, but usually the latest version of Crafty
+will work well with the latest version of XBoard.
+Crafty can be obtained from its author's FTP site:
+ftp://ftp.cis.uab.edu/hyatt/.
+
+To use Crafty with XBoard, give the -fcp and -fd options as follows, where
+<crafty's directory> is the directory in which you installed Crafty
+and placed its book and other support files.
+
+ at node zic2xpm
+ at section zic2xpm
+
+The ``zic2xpm'' program is used to import chess sets from the ZIICS(*)
+program into XBoard. ``zic2xpm'' is part of the XBoard distribution.
+ZIICS is available from:
+
+ftp://ftp.freechess.org/pub/chess/DOS/ziics131.exe
+
+To import ZIICS pieces, do this:
+ at table @asis
+ at item 1. Unzip ziics131.exe into a directory:
+
+ at example
+unzip -L ziics131.exe -d ~/ziics
+ at end example
+ at item 2. Use zic2xpm to convert a set of pieces to XBoard format.
+
+For example, let's say you want to use the
+FRITZ4 set. These files are named ``fritz4.*'' in the ZIICS distribution.
+
+ at example
+mkdir ~/fritz4
+cd ~/fritz4
+zic2xpm ~/ziics/fritz4.*
+ at end example
+ at item 3. Give XBoard the ``-pixmap'' option when starting up, e.g.:
+
+ at example
+xboard -pixmap ~/fritz4
+ at end example
+
+Alternatively, you can add this line to your @file{.Xresources} file:
+
+ at example
+xboard*pixmapDirectory: ~/fritz4
+ at end example
+ at end table
+
+(*) ZIICS is a separate copyrighted work of Andy McFarland.
+The ``ZIICS pieces'' are copyrighted works of their respective
+creators. Files produced by ``zic2xpm'' are for PERSONAL USE ONLY
+and may NOT be redistributed without explicit permission from
+the original creator(s) of the pieces.
+
+ at ifnottex
+ at node Copyright
+ at unnumbered Copyright
+ at include copyright.texi
+ at end ifnottex
+
+ at node Copying
+ at unnumbered GNU GENERAL PUBLIC LICENSE
+ at include gpl.texinfo
+
+ at c noman
+ at node Index
+ at unnumbered Index
+
+ at printindex cp
+ at contents
+ at c end noman
+
+ at bye

-- 
UNNAMED PROJECT



More information about the Pkg-games-commits mailing list