Correct the key bindings fo view menu in texi file
[xboard.git] / xboard.texi
index 07c569f..8b06cb5 100644 (file)
@@ -121,18 +121,54 @@ 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
+square and select from the pop-up 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
+off-board 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
+also possible in crazyhouse, bughouse or shogi to drag 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
+This latter method for dropping pieces during a game is preferred,
+and the piece-drop menu is now deprecated (except for editing a position).
+Although the old behavior can still be selected through a command-line
+option, the default function of the right mouse button is to display
+the position the chess program thinks it will end up in,
+while moving the mouse vertically with this button pressed will step
+through the principal variation to show how this position will be 
+reached.
+Lines of play displayed in the engine-output window an similarly
+be played out on the board, by right-clicking on them.
+
+When connected to an ICS, it is possible to call up a graphical
+representation of players seeking a game in stead of the chess board,
+when the latter is not in use
+(i.e. when you are not playing or observing).
+Left-clicking the display area will switch between this 'seek graph'
+and the chess board.
+Hovering the mouse pointer over a dot will show the details of the
+seek ad in the message field above the board.
+Left-clicking the dot will challenge that player.
+Right-clicking a dot will 'push it to the back',
+to reveal any dots that were hidden behind it.
+Right-clicking off dots will refresh the graph.
+
+Most other XBoard commands are available from the menu bar. The most
 frequently used commands also have shortcut keys or on-screen buttons.
+Some rarely used parameters can only be set through options on the
+command line used to invoke XBoard.
+
+XBoard uses a settings file, in which it can remember any changes to
+the settings that are made through menus or command-line options,
+so they will still apply when you restart XBoard for another session.
+The settings can be saved into this file automatically when XBoard exits,
+or on explicit request of the user.
+The default name for the settings file is /etc/xboard/xboard.conf,
+but in a standard install this file is only used as a master settings
+file that determines the system-wide default settings,
+and defers reading and writing of user settings to a user-specific
+file like ~/.xboardrc in the user's home directory.
 
 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
@@ -141,9 +177,11 @@ feature to work.
 
 @menu
 * File Menu::       Accessing external games and positions.
+* Edit Menu::       Altering games, positions, PGN tags or comments.
+* View Menu::       Controlling XBoard's shape and looks.
 * Mode Menu::       Selecting XBoard's mode.
 * Action Menu::     Talking to the chess engine or ICS opponents.
-* Step Menu::       Controlling the game.
+* Engine Menu::     Controlling settings and actions of the engine(s).
 * Options Menu::    User preferences.
 * Help Menu::       Getting help.
 * Keys::            Other shortcut keys.
@@ -157,7 +195,7 @@ feature to work.
 @item New Game
 @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
+game. The @kbd{Ctrl-N} 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
@@ -179,15 +217,17 @@ or select a new variant.
 @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
+and XBoard adapts automatically.)  The shifted @kbd{Alt+V} key is a 
+keyboard equivalent. 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.
+Capablanca Chess, shatranj, crazyhouse, bughouse.
+(But not every board size has built-in bitmaps for un-orthodox pieces!)
 @item Load Game
 @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
+Plays a game from a record file. The @kbd{Ctrl-O} key is a keyboard equivalent.
+A pop-up dialog prompts you for the file name. If the file contains more
+than one game, a second pop-up 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
@@ -205,30 +245,36 @@ 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.
+parentheses) also are treated as comments;
+however, if you rights-click them in the comment window,
+XBoard will shelve the current line, and load the the selected variation,
+so you can step through it.
+You can later revert to the previous line with the @samp{Revert} command.
+This way you can walk quite complex varation trees with XBoard.
+(The XBoard PGN parser is currenty limited to three nested levels of variations
+on top of the main game, however.)
 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 
+variants to be loaded.  
+Note that it must appear before any FEN tag for XBoard to recognize
+variant FENs appropriately.
+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.
-@item Load Next Game
-@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.
-@item Load Previous Game
-@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.
-@item Reload Same Game
-@cindex Reload Same Game, Menu Item
-Reloads the last game you loaded.
-Not available if the last game was loaded from a pipe.
+@item Load Position
+@cindex Load Position, Menu Item
+Sets up a position from a position file.  A pop-up dialog prompts
+you for the file name.  The shifted @kbd{Ctrl-O} key is a keyboard 
+equivalent. 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.
 @item Save Game
 @cindex Save Game, Menu Item
 Appends a record of the current game to a file.
-A popup dialog
+The @kbd{Ctrl-S} key is a keyboard equivalent.
+A pop-up 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
@@ -239,142 +285,61 @@ 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.
+@item Save Position
+@cindex Save Position, Menu Item
+Appends a diagram of the current position to a file.
+The shifted @kbd{Ctrl+S} key is a keyboard equivalent. 
+A pop-up 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.
+@item Mail Move
+@itemx Reload CMail Message
+@cindex Mail Move, Menu Item
+@cindex Reload CMail Message, Menu Item
+See @ref{CMail}.
+@item Exit
+@cindex Exit, Menu Item
+Exits from XBoard. The @kbd{Ctrl-Q} key is a keyboard equivalent.
+@end table
+
+@node Edit Menu
+@section Edit Menu
+@cindex Menu, Edit
+@cindex Edit Menu
+@table @asis
 @item Copy Game
 @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
+format and sets the X selection to the game text. The @kbd{Ctrl-C} 
+key is a keyboard equivalent. 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.
-@item Paste Game
-@cindex Paste Game, Menu Item
-Interprets the current X selection as a game record and loads it, as
-with Load Game.
-@item Load Position
-@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.
-@item Load Next Position
-@cindex Load Next Position, Menu Item
-Loads the next position from the last position file you loaded.
-@item Load Previous Position
-@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.
-@item Reload Same Position
-@cindex Reload Same Position, Menu Item
-Reloads the last position you loaded.
-Not available if the last position was loaded from a pipe.
-@item Save Position
-@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.
 @item Copy Position
 @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
+sets the X selection to the position text. The shifted @kbd{Ctrl-C} key 
+is a keyboard equivalent.  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.
+@item Paste Game
+@cindex Paste Game, Menu Item
+Interprets the current X selection as a game record and loads it, as
+with Load Game. The @kbd{Ctrl-V} key is a keyboard equivalent.
 @item Paste Position
 @cindex Paste Position, Menu Item
 Interprets the current X selection as a FEN position and loads it, as
-with Load Position.
-@item Mail Move
-@itemx Reload CMail Message
-@cindex Mail Move, Menu Item
-@cindex Reload CMail Message, Menu Item
-See @ref{CMail}.
-@item Exit
-@cindex Exit, Menu Item
-Exits from XBoard. The shifted @kbd{Q} key is a keyboard equivalent.
-@end table
-
-@node Mode Menu
-@section Mode Menu
-@cindex Menu, Mode
-@cindex Mode Menu
-@table @asis
-@item Machine White
-@cindex Machine White, Menu Item
-Tells the chess engine to play White.
-@item Machine Black
-@cindex Machine Black, Menu Item
-Tells the chess engine to play Black.
-@item Two Machines
-@cindex Two Machines, Menu Item
-Plays a game between two chess engines.
-@item Analysis Mode
-@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.
-@item Analyze File
-@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.
-@item ICS Client
-@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
-@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
-@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
-@samp{Forward}, @samp{Backward}, @samp{Pause}, and @samp{Stop Examining}
-have special functions in this mode; see below.
+with Load Position. The shifted @kbd{Ctrl-V} key is a keyboard equivalent.
 @item Edit Game
 @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.
+not run. The @kbd{Ctrl-E} key is a keyboard equivalent.
 
 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
@@ -389,6 +354,7 @@ against yourself.
 @item Edit Position
 @cindex Edit Position, Menu Item
 Lets you set up an arbitrary board position.
+The shifted @kbd{Ctrl-E} key is a keyboard equivalent.
 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
@@ -405,29 +371,6 @@ not sent to the ICS: @samp{Edit Position} takes XBoard out of
 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.)
-@item Training
-@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 
-@samp{Training} mode, the navigation buttons are disabled.
-@item Show Game List
-@cindex Show Game List, Menu Item
-Shows or hides the list of games generated by the last @samp{Load Game}
-command.
-@item Show Move History
-@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.
-@item Show Engine Output
-@cindex Show Engine Output, Menu Item
-Shows or hides a window in which the thinking output of any loaded engines
-is displayed.
 @item Edit Tags
 @cindex Edit Tags, Menu Item
 Lets you edit the PGN (portable game notation)
@@ -463,6 +406,157 @@ with @samp{?} (unknown value), or @samp{-} (inapplicable value).
 Adds or modifies a comment on the current position. Comments are
 saved by @samp{Save Game} and are displayed by @samp{Load Game},
 @samp{Forward}, and @samp{Backward}.
+@item Revert
+@itemx Annotate
+@cindex Revert, Menu Item
+@cindex Annotate, Menu Item
+If you are examining an ICS game and Pause mode is off, issues
+the ICS command @samp{revert}.
+In local mode, when you were editing or analyzing a game, 
+and have been entering a number of moves by hand, starting from 
+a position not at the end of the game, 
+the revert command restores the game to the variation you started from. 
+This can be applied recursively, 
+so that you can analyze variations on variations; 
+each time you create a new variation by entering an alternative move, 
+the current variation will be shelved. 
+Revert allows you to return to the most recently shelved variation.
+The difference between Revert and Annotate is that with the latter,
+the variation you had been entering and are now abandoning
+is currently added as a comment 
+(in PGN variation syntax, i.e. between parentheses)
+to the original move where you deviated.
+Note that such 'variation comments' can be played out on the board again
+(also when they were loaded from file)
+by clicking them in the comment window.
+The @kbd{Home} key is a keyboard equivalent.
+@item Truncate Game
+@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.
+The @kbd{End} key is a keyboard equivalent.
+@item Backward
+@cindex Backward, Menu Item
+@cindex <, Button
+Steps backward through a series of remembered moves.
+The @samp{[<]} button and the @kbd{Alt+LeftArrow} 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
+@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.
+@item Forward
+@cindex Forward, Menu Item
+@cindex >, Button
+Steps forward through a series of remembered moves (undoing the
+effect of @samp{Backward}) or forward through a game file. The
+@samp{[>]} button and the @kbd{Alt+RightArrow} 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.
+@item Back to Start
+@cindex Back to Start, Menu Item
+@cindex <<, Button
+Jumps backward to the first remembered position in the game.
+The @samp{[<<]} button and the @kbd{Alt+Home} 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.
+@item Forward to End
+@cindex Forward to End, Menu Item
+@cindex >>, Button
+Jumps forward to the last remembered position in the game. The
+@samp{[>>]} button and the @kbd{Alt+End} 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.
+@end table
+
+@node View Menu
+@section View Menu
+@cindex Menu, View
+@cindex View Menu
+@table @asis
+@item Flip View
+@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{F2} key is a keyboard equivalent.
+@item Show Engine Output
+@cindex Show Engine Output, Menu Item
+Shows or hides a window in which the thinking output of any loaded engines
+is displayed. The shifted @kbd{Alt+O} key is a keyboard equivalent.
+XBoard will display lines of thinking output of the same depth ordered by score, 
+(highest score on top), rather than in the order the engine produced them. 
+Usually this amounts to the same, as a normal engine search will only find new PV 
+(and emit it as thinking output) 
+when it searches a move with a higher score than the previous variation. 
+But when the engine is in multi-variation mode this needs not always be true, 
+and it is more convenient for someone analyzing games to see the moves sorted by score. 
+The order in which the engine found them is only of interest to the engine author, 
+and can still be deduced from the time or node count printed with the line.
+@item Show Move History
+@cindex Show Move History, Menu Item
+Shows or hides a list of moves of the current game.
+The shifted @kbd{Alt+H} key is a keyboard equivalent.
+This list allows you to move the display to any earlier position in the game
+by clicking on the corresponding move.
+@item Show Evaluation Graph
+@cindex Show Evaluation Graph, Menu Item
+Shows or hides a window which displays a graph of how the engine score(s)
+evolved as a function of the move number. 
+The shifted @kbd{Alt+E} key is a keyboard equivalent.
+Clicking on the graph will bring
+the corresponding position in the board display.
+@item Show Game List
+@cindex Show Game List, Menu Item
+Shows or hides the list of games generated by the last @samp{Load Game}
+command. The shifted @kbd{Alt+G} key is a keyboard equivalent.
+@item Tags
+@cindex Tags, Menu Item
+Pops up a window which shows the PGN (portable game notation)
+tags for the current game. 
+For now this is a duplicate of the @samp{Edit Tags} item in the @samp{Edit} menu.
+@item Comments
+@cindex Comments, Menu Item
+Pops up a window which shows any comments to or variations on the current move.
+For now this is a duplicate of the @samp{Edit Comment} item in the @samp{Edit} menu.
 @item ICS Input Box
 @cindex ICS Input Box, Menu Item
 If this option is set in ICS mode,
@@ -471,12 +565,110 @@ 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.
+@end table
+
+@node Mode Menu
+@section Mode Menu
+@cindex Menu, Mode
+@cindex Mode Menu
+@table @asis
+@item Machine White
+@cindex Machine White, Menu Item
+Tells the chess engine to play White. 
+The @kbd{Ctrl-W} key is a keyboard equivalent.
+@item Machine Black
+@cindex Machine Black, Menu Item
+Tells the chess engine to play Black.
+The @kbd{Ctrl-B} key is a keyboard equivalent.
+@item Two Machines
+@cindex Two Machines, Menu Item
+Plays a game between two chess engines.
+The @kbd{Ctrl-T} key is a keyboard equivalent.
+@item Analysis Mode
+@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.
+The @kbd{Ctrl-A} key is a keyboard equivalent.
+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.
+@item Analyze File
+@cindex Analyze File, Menu Item
+This option lets you load a game from a file (PGN, XBoard format, etc.)
+and analyze it. The @kbd{Ctrl-F} key is a keyboard equivalent.
+When you select this menu item, a pop-up window appears
+and asks for a file name to load.
+If the file contains multiple games, another pop up appears that lets
+you select which game you wish to analyze.
+After a game is loaded, XBoard will start auto-playing the game,
+while the engine is analyzing the current position.
+The game will be annotated with the results of these analyses.
+In particlar, the score and depth will be added as a comment,
+and the PV will be added as a variation.
+The time the engine spends on analyzing each move can be controlled
+through the command-line option @samp{-timeDelay}.
+Note: Some chess engines do not support Analysis mode.
+@item Edit Game
+Duplicate of the item in the Edit menu.
+Note that @samp{Edit Game} is the idle mode of XBoard, and can be used
+to get you out of other modes. E.g. to stop analyzing, stop a game
+between two engines or stop editing a position.
+@item Edit Position
+Duplicate of the item in the Edit menu.
+@item Training
+@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 auto-played.
+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 
+@samp{Training} mode, the navigation buttons are disabled.
+@item ICS Client
+@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
+@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
+@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
+@samp{Forward}, @samp{Backward}, @samp{Pause}, and @samp{Stop Examining}
+have special functions in this mode; see below.
 @item Pause
 @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.
+The @samp{P} button and keyboard @kbd{Pause} 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
@@ -504,135 +696,112 @@ resume automatic loading by selecting @samp{Pause} again.
 @table @asis
 @item Accept
 @cindex Accept, Menu Item
-Accepts a pending match offer. If there is more than one offer
+Accepts a pending match offer. 
+The @kbd{F3} key is a keyboard equivalent.
+If there is more than one offer
 pending, you will have to type in a more specific command
 instead of using this menu choice.
 @item Decline
 @cindex Decline, Menu Item
-Declines a pending offer (match, draw, adjourn, etc.). If there
+Declines a pending offer (match, draw, adjourn, etc.).
+The @kbd{F4} key is a keyboard equivalent. If there
 is more than one offer pending, you will have to type in a more
 specific command instead of using this menu choice.
 @item Call Flag
 @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.
+a draw if you are both out of time. 
+The @kbd{F5} key is a keyboard equivalent.
+You can also call your
+opponent's flag by clicking on his clock.
 @item Draw
 @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.
+rule, as appropriate. The @kbd{F6} key is a keyboard equivalent.
 @item Adjourn
 @cindex Adjourn, Menu Item
 Asks your opponent to agree to adjourning the current game, or
 agrees to a pending adjournment offer from your opponent.
+The @kbd{F7} key is a keyboard equivalent.
 @item Abort
 @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
+agrees to a pending abort offer from your opponent.
+The @kbd{F8} key is a keyboard equivalent. An aborted
 game ends immediately without affecting either player's rating.
 @item Resign
 @cindex Resign, Menu Item
-Resigns the game to your opponent. The shifted @kbd{R} key is a
+Resigns the game to your opponent. The @kbd{F9} key is a
 keyboard equivalent.
 @item Stop Observing
 @cindex Stop Observing, Menu Item
 Ends your participation in observing a game, by issuing the ICS
 observe command with no arguments. ICS mode only.
+The @kbd{F10} key is a keyboard equivalent.
 @item Stop Examining
 @cindex Stop Examining, Menu Item
 Ends your participation in examining a game, by issuing the ICS
 unexamine command. ICS mode only.
+The @kbd{F11} key is a keyboard equivalent.
+@item Upload to Examine
+@cindex Upload to Examine, Menu Item
+Create an examined game of the proper variant on the ICS,
+and send the game there that is currenty loaded in XBoard
+(e.g. through pasting or loading from file).
+You must be connected to an ICS for this to work.
+@item Adjudicate to White
+@itemx Adjudicate to Black
+@itemx Adjudicate Draw
+@cindex Adjudicate to White, Menu Item
+@cindex Adjudicate to Black, Menu Item
+@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, respectively.
+The PGN file of the game will accompany the result string
+by the comment "user adjudication".
 @end table
 
-@node Step Menu
-@section Step Menu
-@cindex Step Menu
-@cindex Menu, Step
+@node Engine Menu
+@section Engine Menu
+@cindex Engine Menu
+@cindex Menu, Engine
 @table @asis
-@item Backward
-@cindex Backward, Menu Item
-@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
-@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.
-@item Forward
-@cindex Forward, Menu Item
-@cindex >, Button
-Steps forward through a series of remembered moves (undoing the
-effect of @samp{Backward}) or forward through a game file. The
-@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.
-@item Back to Start
-@cindex Back to Start, Menu Item
-@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.
-@item Forward to End
-@cindex Forward to End, Menu Item
-@cindex >>, Button
-Jumps forward to the last remembered position in the game. The
-@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.
-@item Revert
-@cindex Revert, Menu Item
-If you are examining an ICS game and Pause mode is off, issues
-the ICS command @samp{revert}.
-@item Truncate Game
-@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.
+@item Engine #N Settings
+@cindex Engine Settings, Menu Item
+@cindex Engine #1 Settings, Menu Item
+@cindex Engine #2 Settings, Menu Item
+Pop up a menu dialog to alter the settings specific to the applicable engine.
+(The second engine is only accessible once it has been used in Two-Machines mode.)
+For each parameter the engine allows to be set,
+a control element will appear in this dialog that can be used to alter the value.
+Depending on the type of parameter (text string, number, multiple choice,
+on/off switch, instantaneous signal) the appropriate control will appear,
+with a description next to it.
+XBoard has no idea what these values mean; it just passes them on to the engine.
+How this dialog looks is completely determined by the engine,
+and XBoard just passes it on to the user.
+Many engines do not have any parameters that can be set by the user,
+and in that case the dialog will be empty (except for the OK and cancel buttons).
+UCI engines usually have many parameters. (But these are only visible with
+a sufficiently modern version of the Polyglot adapter needed to run UCI engines,
+e.g. Polyglot 1.4.55b.) For native XBoard engines this is less common.
+@item Hint
+@cindex Hint, Menu Item
+Displays a move hint from the chess engine.
+@item Book
+@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.
 @item Move Now
 @cindex Move Now, Menu Item
 Forces the chess engine to move immediately. Chess engine mode only.
+The @kbd{Ctrl-M} key is a keyboard equivalent.
 @item Retract Move
 @cindex Retract Move, Menu Item
 Retracts your last move. In chess engine mode, you can do this only
@@ -640,16 +809,7 @@ 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.
-@item Adjudicate to White
-@itemx Adjudicate to Black
-@itemx Adjudicate Draw
-@cindex Adjudicate to White, Menu Item
-@cindex Adjudicate to Black, Menu Item
-@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".
+The @kbd{Ctrl-X} key is a keyboard equivalent.
 @end table
 
 @node Options Menu
@@ -657,59 +817,63 @@ by the comment "user adjudication".
 @cindex Menu, Options
 @cindex Options Menu
 @table @asis
-@item Flip View
-@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.
+@item Time Control
+@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.
+The shifted @kbd{Alt+T} key is a keyboard equivalent.
+@item Common Engine
+@cindex Common Engine, Menu Item
+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 that allows setting of these parameters on
+engines is new since XBoard 4.3.15, so not many XBoard/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.
+The shifted @kbd{Alt+U} key is a keyboard equivalent.
 @item Adjudications
 @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.
+The shifted @kbd{Alt+J} key is a keyboard equivalent.
 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
+naively following the engine, to declare draw on positions
 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 
+or which are impossible 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
+It is also possible to instruct XBoard to enforce a 50-move or 3-fold-repeat
+rule and automatically 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
+forever, or adjudicate a loss if both engines agree (for 3 consecutive 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 engine's scores. To facilitate the latter, you can inform xboard here if
 the engines report scores from the viewpoint of white, or from that of their own color.
-@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.
-@item Time Control
-@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.
+@item Game List
+@cindex Game List Tags, Menu Item
+Pops up a dialog where you can select the PGN tags that should appear
+on the lines in the game list, and their order.
 @item Always Queen
 @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.
+always promoted to queens. Your opponent can still under-promote.
+The shifted @kbd{Ctrl-Q} key is a keyboard equivalent.
 @item Animate Dragging
 @cindex Animate Dragging, Menu Item
 If Animate Dragging is on, while you are dragging a piece with the
@@ -724,6 +888,7 @@ 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.
+The shifted @kbd{Ctrl-A} key is a keyboard equivalent.
 @item Auto Comment
 @cindex Auto Comment, Menu Item
 If this option is on, any remarks made on ICS while you are observing or
@@ -738,11 +903,12 @@ 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.
+The shifted @kbd{Ctrl-F} key is a keyboard equivalent.
 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.
+may call either player's flag and will not take material into account (?).
 @item Auto Flip View
 @cindex Auto Flip View, Menu Item
 If the Auto Flip View option is on when you start a game, the board
@@ -808,6 +974,13 @@ 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).
+@item Highlight Dragging
+@cindex Highlight Dragging, Menu Item
+If Highlight Dragging is on, and the option -showTargetSquares is also on
+in the settings file, all squares a piece that is 'picked up' with the mouse
+can legally move to are highighted with a fat colored dot in the
+highlightColor (non-captures) or premoveHighlightColor (captures).
+Legality testing must be on for XBoard to know how the piece moves.
 @item Highlight Last Move
 @cindex Highlight Last Move, Menu Item
 If Highlight Last Move is on, after a move is made, the starting and
@@ -859,6 +1032,7 @@ on, the Analysis Window will be updated every two seconds.
 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.
+The shifted @kbd{Ctrl-P} key is a keyboard equivalent.
 @item Popup Exit Message
 @cindex Popup Exit Message, Menu Item
 If this option is on, when XBoard wants to display a message just
@@ -870,9 +1044,9 @@ message to standard error (the terminal) and exits immediately.
 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.
+on, move errors are displayed in small pop-up windows like other errors.
+You can dismiss an error pop-up either by clicking its OK button or by
+clicking anywhere on the board, including down-clicking to start a move.
 @item Premove
 @cindex Premove, Menu Item
 If this option is on while playing a game on an ICS, you can register
@@ -905,10 +1079,12 @@ 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.
+The shifted @kbd{Ctrl-H} key is a keyboard equivalent.
 @item Test Legality
 @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.
+The shifted @kbd{Ctrl-L} key is a keyboard equivalent.
 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
@@ -916,6 +1092,26 @@ 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.)
+@item Save Settings Now
+@cindex Save Settings Now, Menu Item
+Selecting this menu item causes the current XBoard settings to be
+written to the settings file, so they will also apply in future sessions.
+Note that some settings are 'volatile', and are not saved,
+because XBoard considers it too unlikely that you want those to apply
+next time.
+In particular this applies to the Chess program names, and all options
+giving information on those Chess programs (such as their directory,
+if they have their own opening book, if they are UCI or native XBoard),
+or the variant you are playing.
+Such options would still be understood when they appear in the settings
+file in case they were put there with the aid of a text editor, but they
+would disappear from the file as soon as you save the settings.
+@item Save Settings on Exit
+@cindex Save Settings on Exit, Menu Item
+Setting this option has no immediate effect, but causes the settings
+to be saved when you quit XBoard. What happens then is otherwise 
+identical to what happens when you use select "Save Settings Now",
+see there.
 @end table
 
 @node Help Menu
@@ -932,23 +1128,12 @@ working directory, or have been installed by the @samp{make install}
 command when you built XBoard.
 @item Man XBoard
 @cindex Man XBoard, Menu Item
-Displays the XBoard documentation in man page format.  For this
+Displays the XBoard documentation in man page format.
+The @kbd{F1} key is a keyboard equivalent.  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.
-@item Hint
-@cindex Hint, Menu Item
-Displays a move hint from the chess engine.
-@item Book
-@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.
 @item About XBoard
 @cindex About XBoard, Menu Item
 Shows the current XBoard version number.
@@ -960,13 +1145,39 @@ Shows the current XBoard version number.
 @cindex Shortcut keys
 @table @asis
 @item Iconize
-Pressing the @kbd{i} or @kbd{c} key iconizes XBoard. The graphical
+Pressing the @kbd{-} 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.
+@item Load Next Game
+@cindex Load Next Game, Menu Item
+Loads the next game from the last game record file you loaded.
+The @kbd{Alt+PgDn} key is a keyboard equivalent.
+@item Load Previous Game
+@cindex Load Previous Game, Menu Item
+Loads the previous game from the last game record file you
+loaded.  The @kbd{Alt+PgUp} key is a keyboard equivalent.
+Not available if the last game was loaded from a pipe.
+@item Reload Same Game
+@cindex Reload Same Game, Menu Item
+Reloads the last game you loaded.
+Not available if the last game was loaded from a pipe.
+@item Load Next Position
+@cindex Load Next Position, Menu Item
+Loads the next position from the last position file you loaded.
+The shifted @kbd{Alt+PgDn} key is a keyboard equivalent.
+@item Load Previous Position
+@cindex Load Previous Position, Menu Item
+Loads the previous position from the last position file you
+loaded. The shifted @kbd{Alt+PgUp} key is a keyboard equivalent.
+Not available if the last position was loaded from a pipe.
+@item Reload Same Position
+@cindex Reload Same Position, Menu Item
+Reloads the last position you loaded.
+Not available if the last position was loaded from a pipe.
 @end table
 
 You can add or remove shortcut keys using the X resources
@@ -1045,7 +1256,7 @@ true or false (@samp{XBoard*longOptionName: true}).
 * 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.
+* Adjudication Options::        Control adjudication of engine-engine games.
 * Other options::               Miscellaneous.
 @end menu
 
@@ -1131,7 +1342,7 @@ as specified by the time-control options, and its opponent's time is renormalize
 If mode=0, both play with reduced time. Default: 0.
 @item -hideThinkingFromHuman true/false
 Controls the Hide Thinking option. @xref{Options Menu}. Default: true.
-(Relaces the Show-Thinking option of older xboard versions.)
+(Replaces the Show-Thinking option of older xboard versions.)
 @item -thinking/-xthinking or -showThinking true/false
 @cindex thinking, option
 @cindex showThinking, option
@@ -1148,8 +1359,8 @@ it makes the engine send it despite the setting of this option.)
 @cindex ponderNextMove, option
 Sets the Ponder Next Move menu option. @xref{Options Menu}. Default: true.
 @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.
+Specifies the maximum number of CPUs an SMP engine is allowed to use.
+Only works for engines that support the XBoard/WinBoard-protocol cores feature.
 @item -mg or -matchGames n
 @cindex mg, option
 @cindex matchGames, option
@@ -1293,17 +1504,17 @@ Important when XBoard uses the score for adjudications, or in PGN reporting.
 @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). 
+with smooth operation of XBoard (or the rest of your system). 
 Negative values could increase the engine priority, which is not recommended.
 @item -firstOptions string
 @itemx -secondOptions string
 @cindex firstOptions, option
 @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) 
+The given string is a comma-separated list of (option name=option value) pairs, 
+like the following example: "style=Karpov,blunder rate=0". 
+If an option announced by the engine at startup through the feature commands of the XBoard/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.
 @item -firstNeedsNoncompliantFEN string
@@ -1314,12 +1525,18 @@ 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!) 
+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 
+(shatranj, courier, xiangqi, shogi) so that XBoard would normally omit them 
+(string = "- -"), or to add variant-specific fields that are not yet supported by XBoard 
 (e.g. to indicate the number of checks in 3check).
+@item -shuffleOpenings
+@cindex shuffleOpenings, option
+Forces shuffling of the opening setup in variants that normally have a fixed initial position.
+Shufflings are symmetric for black and white, and exempt King and Rooks in variants
+with normal castling.
+Remains in force until a new variant is selected.
 @end table
 
 @node UCI + WB Engine Settings
@@ -1336,18 +1553,18 @@ castling and e.p. fields in variants that do not have castling or e.p.
 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.
+through a .ini temporary file created for the purpose.
 @item -PolyglotDir filename
 @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".
 @item -usePolyglotBook true/false
 @cindex usePolyglotBook, option
-Specifies if the Polygot book should be used.
+Specifies if the Polyglot book should be used.
 @item -PolyglotBook filename
 @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, 
+From XBoard 4.3.15 on, native XBoard/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.
@@ -1366,13 +1583,13 @@ rather than using the external book through XBoard. Default: false.
 @item -defaultHashSize n
 @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.
+this number is also used to calculate the memory setting of XBoard/WinBoard engines, 
+for those that support the memory feature of the XBoard/WinBoard protocol. Default: 64.
 @item -defaultCacheSizeEGTB n
 @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.
+this number is also used to calculate the memory setting of XBoard/WinBoard engines, 
+for those that support the memory feature of the XBoard/WinBoard protocol. Default: 4.
 @item -defaultPathEGTB filename
 @cindex defaultPathEGTB, option
 Gives the name of the directory where the end-game tablebases are installed, for UCI engines.
@@ -1462,7 +1679,7 @@ 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
+but you do have dial-up 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
@@ -1548,6 +1765,58 @@ to the ICS, in zippy mode. The option @code{showThinking} must be switched on fo
 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.
+@item -seekGraph true/false or -sg
+@cindex seekGraph, option
+@cindex sg, option
+Enables displaying of the seek graph by left-clicking the board when
+you are logged on to an ICS and currently idle.
+The seek graph show all players currently seeking games on the ICS,
+plotted according to their rating and the time control of the game they seek,
+in three different colors (for rated, unrated and wild games).
+Computer ads are displayed as squares, human ads are dots.
+Default: false.
+@item -autoRefresh true/false
+@cindex autoRefresh, option
+Enables automatic updating of the seek graph,
+by having the ICS send a running update of all newly placed
+and removed seek ads.
+This consumes a substantial amount of communication bandwidth,
+and is only supported for FICS and ICC.
+Default: false.
+@item -backgroundObserve true/false
+@cindex backgroundObserve, option
+When true, boards sent to you by the ICS from other games while you are playing
+(e.g. because you are observing them)
+will not be automatically displayed.
+Only a summary of time left and material of both players will appear
+in the message field above the board.
+XBoard will remember the last board it has received this way,
+and will display it in stead of the position in your own game
+when you press the right mouse button.
+No other information is stored on such games observed in the background;
+you cannot save such a game later, or step through its moves.
+This feature is provided solely for the benefit of bughouse players,
+to enable them to peek at their partner's game without the need
+to logon twice.
+Default: false.
+@item -dualBoard true/false
+@cindex dualBoard, option
+In combination with -backgroundObserve true, this option will display
+the board of the background game side by side with that of your own game,
+so you can have it in view permanently.
+Any board or holdings info coming in will be displayed on the secondary
+board immediately.
+This feature is still experimental and largely unfinished.
+There is no animation or highlighting of moves on the secondary board.
+Default: false.
+@item -oneClickMove true/false
+@cindex oneClickMove, option
+When set, this option allows you to enter moves by only clicking the to-
+or from-square, when only a single legal move to or from that square
+is possible.
+Double-clicking a piece (or clicking an already selected piece)
+will instruct that piece to make the only capture it can legally do.
+Defaut: false.
 @item -moves/-xmoves or -getMoveList true/false
 @cindex moves, option
 @cindex getMoveList, option
@@ -1558,8 +1827,12 @@ Sets the Get Move List menu option.  @xref{Options Menu}.  Default: true.
 Sets the ICS Alarm menu option.  @xref{Options Menu}. Default: true.
 @item -icsAlarmTime ms
 @cindex icsAlarmTime, option
-Sets the time in milliseconds for the ICS Alarm menu option. 
+Sets the time in milliseconds for the ICS Alarm menu option.
 @xref{Options Menu}. Default: 5000.
+@item lowTimeWarning true/false
+@cindex lowTimeWarning, option
+Controls a color change of the board as a warning your time is running out.
+@xref{Options Menu}. Default: false.
 @item -pre/-xpre \fRor\fB -premove true/false
 @cindex pre, option
 @cindex premove, option
@@ -1694,6 +1967,12 @@ xboard*soundIcsDraw: draw.wav
 xboard*soundIcsUnfinished: unfinished.wav
 xboard*soundIcsAlarm: alarm.wav
 @end example
+@item -dropMenu true|false
+@cindex dropMenu, option
+This option allows you to emulate old behavior, 
+where the right mouse button brings up the (now deprecated) drop menu 
+rather than displaying the position at the end of the principal variation. 
+Default: False.
 @end table
 
 @node Load and Save options
@@ -1734,10 +2013,10 @@ default: 0 (no rewind).
 @item -td or -timeDelay seconds
 @cindex td, option
 @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.
+Time delay between moves during @samp{Load Game} or @samp{Analyze File}. 
+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.
 @item -sgf or -saveGameFile file
 @cindex sgf, option
 @cindex saveGameFile, option
@@ -1776,7 +2055,7 @@ in every game played to the specified file. The file name @file{-}
 specifies the standard output.
 @item -pgnExtendedInfo true/false
 @cindex pgnExtendedInfo, option`
-If this option is set, WinBoard saves depth, score and time used for each 
+If this option is set, XBoard saves depth, score and time used for each 
 move that the engine found as a comment in the PGN file.
 Default: false.
 @item -pgnEventHeader string
@@ -1785,7 +2064,8 @@ Sets the name used in the PGN event tag to string.
 Default: "Computer Chess Game".
 @item -saveOutOfBookInfo true/false
 @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.
+Include the information on how the engine(s) game out of its opening book 
+in a special 'annotator' tag with the PGN file.
 @item -oldsave/-xoldsave or -oldSaveStyle true/false
 @cindex oldsave, option
 @cindex oldSaveStyle, option
@@ -1795,8 +2075,34 @@ Sets the Old Save Style menu option.  @xref{Options Menu}.  Default: false.
 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.
+t=time control, v=variant, a=out-of-book info, c=result comment.
 Default: "eprd"
+@item -ini or -settingsFile filename
+@itemx -saveSettingsFile filename
+@itemx @@filename
+@cindex saveSettingsFile, option
+@cindex SettingsFile, option
+@cindex init, option
+@cindex at sign, option
+When XBoard encounters an option -settingsFile (or -ini for short),
+or @@filename, it tries to read the mentioned file,
+and substitutes the contents of it (presumaby more command-line options)
+in place of the option.
+In the case of -ini or -settingsFile, the name of a successfully read
+settings file is also remembered as the file to use for saving settings
+(automatically on exit, or on user command).
+An option of the form @@filename does not affect saving.
+The option -saveSettingsFile does specify a name of the file to use
+for saving, without reading any options from it, and is thus also effective
+when the file did not exist yet.
+So the settings will be saved to the file specified in the last
+-saveSettingsFile or succesfull -settingsFile / -ini command,
+if any, and in /etc/xboard/xboard.conf otherwise.
+Usualy the latter is only accessible for the system administrator, though, 
+and will be used to contain system-wide default setings, amongst which
+a -saveSettingsFile and -settingsFile options to specify a settings file
+accessible to the individual user, such as ~/.xboardrc in the user's
+home directory.
 @end table
 
 @node User interface options
@@ -1851,10 +2157,15 @@ 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.
+Orthodox pieces of all these sizes are built into XBoard.
 Other sizes can
 be used if you have them; see the pixmapDirectory and bitmapDirectory
 options.
+Complete sets of un-orthodox pieces are only provided in sizes
+Bulky, Middling and (to a lesser extent) Petite;
+Archbishop, Marshall and Amazon are also available in all sizes between
+Bulky and Petite.
+When no bitmap is available, the piece will be displayed as Amazon or King.
 The default depends on the size of your screen; it is approximately the
 largest size that will fit without clipping.
 
@@ -1922,6 +2233,12 @@ shortcuts.  Default: true.
 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.
+@item -showTargetSquares true/false
+@cindex showTargetSquares, option
+Determines whether XBoard can highlight the squares a piece has
+legal moves to, when you grab that piece with the mouse.
+If this option is set, this feature can be controlled through
+the Highlight Dragging menu item.
 @item -flashCount count
 @itemx -flashRate rate
 @itemx -flash/-xflash
@@ -2037,12 +2354,14 @@ sets, see @ref{zic2xpm} below.
 @itemx -lightSquareColor color
 @itemx -darkSquareColor color
 @itemx -highlightSquareColor color
+@itemx -lowTimeWarningColor color
 @cindex Colors
 @cindex whitePieceColor, option
 @cindex blackPieceColor, option
 @cindex lightSquareColor, option
 @cindex darkSquareColor, option
 @cindex highlightSquareColor, option
+@cindex lowTimeWarningColor, option
 Colors to use for the pieces, squares, and square highlights.
 Defaults:
 
@@ -2053,6 +2372,7 @@ Defaults:
 -darkSquareColor       #77A26D
 -highlightSquareColor  #FFFF00
 -premoveHighlightColor #FF0000
+-lowTimeWarningColor   #FF0000
 @end example
 
 On a grayscale monitor you might prefer:
@@ -2064,6 +2384,7 @@ On a grayscale monitor you might prefer:
 -darkSquareColor       gray60
 -highlightSquareColor  gray100
 -premoveHighlightColor gray70
+-lowTimeWarningColor   gray70
 @end example
 @item -drag/-xdrag or -animateDragging true/false
 @cindex drag, option
@@ -2077,6 +2398,19 @@ Sets the Animate Moving menu option. @xref{Options Menu}.  Default: true.
 @cindex -animateSpeed, option
 Number of milliseconds delay between each animation frame when Animate
 Moves is on.
+@item -autoDisplayComment true/false
+@itemx -autoDisplayTags true/false
+@cindex -autoDisplayComment, option
+@cindex -autoDisplayTags, option
+If set to true, these options cause the window with the move comments,
+and the window with PGN tags, respectively, to pop up automatically when
+such tags or comments are encountered during the replaying a stored or
+loaded game.  Default: true.
+@item -pasteSelection true/false
+@cindex -pasteSelection, option
+If this option is set to true, the Paste Position and Paste Game
+options paste from the currently selected text.  If false, they paste
+from the clipboard.  Default: false.
 @end table
 
 @node Adjudication Options
@@ -2090,11 +2424,11 @@ 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)
+Default: 0 (no adjudication)
 @item -adjudicateDrawMoves n
 @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)
+if after the given number of moves it was not yet decided. Default: 0 (no adjudication)
 @item -checkMates true/false
 @cindex checkMates, option
 If this option is set, XBoard detects all checkmates and stalemates, 
@@ -2181,27 +2515,37 @@ capablanca    Capablanca Chess (10x8 board, with Archbishop
 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 
+courier       Medieval intermediate 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)
+makruk        Thai Chess (shatranj-like, P promotes on 6th rank)
 fairy         A catchall variant in which all piece types 
               known to XBoard can participate (8x8)
 unknown       Catchall for other unknown variants
 @end example
 
+NOT ALL BOARDSIZES PROVIDE A COMPLETE SET OF BUILT-IN BITMAPS FOR ALL
+UN-ORTHODOX PIECES, though. Only in @code{boardSize} middling and bulky
+all 22 piece types are provided, while -boardSize petite has most
+of them. Archbishop, Chancellor and Amazon are supported in every
+size from petite to bulky. Kings or Amazons are substituted for
+missing bitmaps. You can still play variants needing un-orthodox
+pieces in other board sizes providing your own bitmaps through the
+@code{bitmapDirectory} or @code{pixmapDirectory} options.
+
 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.  
+kriegspiel.  The winning/drawing conditions in crazyhouse (off-board
+interposition on mate) are not fully understood, but losers, suicide, 
+giveaway, atomic, and 3check should be OK.
 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
+track of off-board pieces.  In shatranj it does implement the baring
 rule when mate detection is switched on.
 @item -boardHeight N
 @cindex boardHeight, option
@@ -2258,16 +2602,16 @@ Turns on debugging printout.
 @item -debugFile filename or -nameOfDebugFile filename
 @cindex debugFile, option
 @cindex nameOfDebugFile, option
-Sets the name of the file to which WinBoard saves debug information 
+Sets the name of the file to which XBoard saves debug information 
 (including all communication to and from the engines).
 @item -engineDebugOutput number
 @cindex engineDebugOutput, option
-Specifies how WinBoard should handle unsolicited output from the engine, 
+Specifies how XBoard 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=0, XBoard 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, 
+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. 
@@ -2291,7 +2635,7 @@ Default is the login name on your local computer.
 @itemx -delayAfterQuit number
 @cindex delayBeforeQuit, option
 @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.
+These options specify how long XBoard 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.
 
 @end table
 
@@ -2406,8 +2750,8 @@ to review a recently completed game
 Some special XBoard features are activated when you are
 in examine mode on ICS.  See the descriptions of the menu commands
 @samp{Forward}, @samp{Backward}, @samp{Pause}, @samp{ICS Client}, 
-and @samp{Stop Examining} on the @ref{Step Menu}, @ref{Mode Menu}, and
-@ref{Options Menu}.
+and @samp{Stop Examining} on the @ref{Edit Menu}, @ref{Mode Menu}, and
+@ref{Action Menu}.
 
 @node Firewalls
 @chapter Firewalls
@@ -2592,7 +2936,7 @@ The piece-drop menu does not check piece drops in bughouse to see if you actuall
 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.
+XBoard 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. 
@@ -2628,90 +2972,77 @@ suggested.
 @cindex Problems
 @cindex Reporting problems
 
-Report bugs and problems with XBoard to @code{<bug-xboard@@gnu.org>}.
+You can report bugs and problems with XBoard using
+the bug tracker at @code{https://savannah.gnu.org/projects/xboard/}
+or by sending mail to @code{<bug-xboard@@gnu.org>}.  It can also
+be useful to report or discuss bugs in the WinBoard Forum at
+@code{http://www.open-aurec.com/wbforum/}, 
+WinBoard development section.
 
 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:
-
-@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
-.
-@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/.
 
 @node Contributors
 @chapter Authors and contributors
 @cindex Authors
 @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
+Chris Sears and Dan Sears wrote the original XBoard.  They were
+responsible for versions 1.0 through 1.2.  The color scheme was 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.
+Tim Mann was primarily responsible for XBoard versions 1.3 through
+4.2.7, and for WinBoard (a port of XBoard to Microsoft Win32) from its
+inception through version 4.2.7.
+
+John Chanak contributed the initial implementation of ICS mode.  Evan
+Welsh wrote @code{CMail}, and Patrick Surry helped in designing,
+testing, and documenting it.  Elmar Bartel contributed the new piece
+bitmaps introduced in version 3.2.  Jochen Wiedmann converted the
+documentation to texinfo.  Frank McIngvale added click/click moving,
+the Analysis modes, piece flashing, ZIICS import, and ICS text
+colorization to XBoard.  Hugh Fisher added animated piece movement to
+XBoard, and Henrik Gram added it to WinBoard.  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.
 
-Evan Welsh wrote @code{CMail}.  Patrick Surry helped in designing,
-testing, and documenting CMail.
+In a fork from version 4.2.7, Alessandro 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 continued this fork of the project, producing version
+4.3.  He 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 were WinBoard only have now been
+back-ported to XBoard.
 
-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. 
+Michel van den Bergh provided the code for reading Polyglot opening books.
 
-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.
+Meanwhile, some work continued on the GNU XBoard project maintained at
+savannah.gnu.org, but version 4.2.8 was never released.  Daniel
+Mehrmann was responsible for much of this work.
 
-Michel van den Bergh provided the code for reading Polyglot opening books.
+Most recently, Arun Persaud worked with H. G. Muller to merge all
+the features of the never-released XBoard/WinBoard 4.2.8 of the GNU
+XBoard project and the never-released 4.3.16 from H. G.'s fork into a
+unified XBoard/WinBoard 4.4, which is now available both from the
+savannah.gnu.org web site and the WinBoard forum.
 
-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.
 @node CMail
 @chapter CMail
 @cindex cmail
@@ -2795,16 +3126,6 @@ The program used by cmail to send email messages. This defaults to the
 environment variable @code{$CMAIL_MAILPROG} or failing that
 @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.
-@item -gamesFile <file>
-@cindex .cmailgames
-A file containing a list of games with email addresses. This defaults to
-the environment variable @code{$CMAIL_GAMES} or failing that
-@file{.cmailgames}.
-@item -aliasesFile <file>
-@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}.
 @item -logFile <file>
 A file in which to dump verbose debugging messages that are invoked with
 the @samp{-v}
@@ -2935,13 +3256,13 @@ interface GNU Chess to an ICS.
 @node Fairy-Max
 @section Fairy-Max
 
-Fairy-Max is a derivative from the World's smallest Chess program micro-Max,
+Fairy-Max is a derivative from the once 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,
+Fairy-Max can therefore play a large number of variants, normal Chess being one of those.
+In addition it plays 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: