| www.delorie.com/gnu/docs/xboard/xboard.man.html | search |
![]() Buy GNU books! | |
xboard - X user interface for GNU Chess, Crafty, the Internet Chess Server (ICS), and electronic mail correspondence chess.
To run with GNU Chess:
xboard [options]
To run with Crafty:
xboard -fcp crafty -fd crafty's-directory [options]
To run with the ICS:
xboard -ics -icshost hostname [options]
To play email chess: See
cmail(6).
To run standalone:
xboard -ncp [options]
To use in a pipeline:
|pxboard
xboard is a graphical chessboard that can serve as a user interface to the GNU Chess and Crafty chess engines, the Internet Chess Servers, electronic mail correspondence chess, or your own collection of saved games.
As an interface to GNU Chess or Crafty, xboard lets you play a game against the machine, set up arbitrary positions, force variations, or watch a game between two machines.
As an interface to Crafty, xboard also lets you interactively analyze your stored games or set up and analyze arbitrary positions.
As an interface to the Internet Chess Server (ICS), xboard -ics lets you play against other ICS users, observe games they are playing, or review games that have recently finished. Most of the "wild" chess variants on ICS are supported, including bughouse.
As an interface to electronic mail correspondence chess, xboard works with the cmail(6) program. See its manual page for instructions.
You can also use xboard as a 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 available at all times; if you want to use them without starting a chess engine or connecting to the ICS, you can do so with the command xboard -ncp.
To view games from a netnews reader like rn(1) or xrn(1), use the news reader's Save command and specify "|pxboard" as the save file name. This pipes the article to pxboard, a simple shell script that saves the article to a temporary file and runs xboard in the background. See the script itself for more information.
To move a piece, either drag it with the left mouse button, or 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 button 2 or 3 over the square and select from the popup menu.
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 below if you have problems getting this feature to work.
All xboard commands are available on menus. The most frequently used commands also have shortcut keys or on-screen buttons.
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 "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 "[--" and "--]" 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.
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. Useful ICS commands include who to see who is logged on, games to see what games are being played, match to challenge another player to a game, observe to observe an ongoing game, examine or oldmoves to review a recently completed game, and of course help.
Some special xboard features are activated when you are in examine or bsetup mode on ICS. See the descriptions of the menu commands Forward, Backward, Pause, ICS Client, and Stop Examining below. You can also 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 bsetup mode on FICS.
If you are playing a bughouse game on the ICS, you can drop an offboard piece by pressing mouse button 2 or 3 over an empty square to bring up a piece menu. It makes no difference which button you use. A list of the offboard pieces each player has available is shown in the window title after the player's name.
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 back into the game by selecting Machine White, Machine Black, or Two Machines.
In ICS mode, the moves are not sent to the ICS: 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 examine command or start an ICS match against yourself.
In ICS mode, changes made to the position by Edit Position are not sent to the ICS: Edit Position takes xboard out of 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 examine command, or start an ICS match against yourself. (See also the ICS Client topic above.)
<tag-section> ::= <tag-pair> <tag-section>
<empty>
<tag-pair> ::= [ <tag-name> <tag-value> ]
<tag-name> ::= <identifier>
<tag-value> ::= <string>
See the PGN Standard for full details. Here is an example:
[Event "Portoroz Interzonal"]
[Site "Portoroz, Yugoslavia"]
[Date "1958.08.16"]
[Round "8"]
[White "Robert J. Fischer"]
[Black "Bent Larsen"]
[Result "1-0"]
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 "?" (unknown value), or "-" (inapplicable value).
If you select Pause when you are playing against a local chess engine and it is not your move, the 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 in examine mode on ICS, you can step backward and forward in the current history of the examined game without affecting the other observers and examiners. Select Pause again to reconnect yourself to the current state of the game on ICS.
If you select Pause while you are loading a game, the game stops loading. You can load more moves manually by selecting Forward, or resume automatic loading by selecting Pause again.
In most modes, Backward 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 the ICS, or loading a game. If you select Backward in any of these situations, you will not be allowed to make a different move. Use Retract Move or Edit Game if you want to change past moves.
If you are examining a game on ICS, the behavior of Backward depends on whether xboard is in Pause mode. If Pause mode is off, 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, Backward only backs up your local view.
If you are examining a game on ICS, the behavior of Forward depends on whether xboard is in Pause mode. If Pause mode is off, Forward issues the ICS forward command, which moves everyone's view of the game forward along the current line. If Pause mode is on, Forward only moves your local view forward, and it will not go past the position that the game was in when you paused.
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 the ICS, or loading a game. If you select Back to Start in any of these situations, you will not be allowed to make different moves. Use Retract Move or Edit Game if you want to change past moves; or use Reset to start a new game.
If you are examining a game on ICS, the behavior of Back to Start depends on whether xboard is in Pause mode. If Pause mode is off, Back to Start issues the ICS 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, Back to Start only backs up your local view.
If you are examining a game on ICS, the behavior of Forward to End depends on whether xboard is in Pause mode. If Pause mode is off, Forward to End issues the ICS forward 999999 command, which moves everyone's view of the game forward to the end of the current line. If Pause mode is on, 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.
If you are playing a game on the 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 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.
If you turn on this option when using xboard with the Internet Chess Server, you will probably want to give the set bell 0 command to the ICS, since otherwise the ICS will ring the terminal bell after every move.
Mwm*iconDecoration: activelabel label image
Mwm*XBoard*iconImageBackground: White
Mwm*XBoard*iconImageForeground: Black
The first line above enables graphical icons in mwm; you don't need it if you already have them. The next two lines force the white knights to come out white and the black knights black. Unfortunately these resources can't be set from inside xboard; you have to set them in your .Xdefaults.
You can add or remove xboard shortcut keys using the X resource form.translations. Here is an example of what would go in your .Xdefaults file:
XBoard*form.translations: \
Shift<Key>?: AboutGameProc() \n \
<Key>y: AcceptProc() \n \
<Key>n: DeclineProc() \n \
<Key>i: NothingProc()
Binding a key to NothingProc makes it do nothing, thus removing it as a shortcut key. The xboard functions that can be bound to keys are:
AbortProc, AboutGameProc, AboutProc, AcceptProc,
AdjournProc, AlwaysQueenProc, AnalysisModeProc,
AnalyzeFileProc, AnimateDraggingProc, AnimateMovingProc,
AutobsProc, AutoflagProc, AutoflipProc, AutoraiseProc,
AutosaveProc, BackwardProc, BlindfoldProc, BookProc,
CallFlagProc, CopyGameProc, CopyPositionProc, DebugProc,
DeclineProc, DrawProc, EditCommentProc, EditGameProc,
EditPositionProc, EditTagsProc, EnterKeyProc,
FlashMovesProc, FlipViewProc, ForwardProc,
GetMoveListProc, HighlightLastMoveProc, HintProc,
Iconify, IcsAlarmProc, 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.
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 .Xdefaults 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 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 (-longOptionName True), or give just the short name to turn the option on (-opt), or the short name preceded by "x" to turn the option off (-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 .Xdefaults file or in a file named 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 (XBoard*longOptionName: True).
new
random
Setting this option from the command line is tricky,
because you must type in real newline characters, including one at the end.
In most shells you can
do this by entering a "\" character followed by a newline.
It is easier to set the option from your .Xdefaults file;
in that case you can include the character sequence "\n" in the string, and
it will be converted to a newline.
If you change this option, don't remove the new command; it is required by all chess engines to start a new game.
You can remove the random command if you like; including it causes GNU Chess to randomize its move selection slightly so that it doesn't play the same moves in every game. Even without random, GNU Chess randomizes its choice of moves from its opening book. Crafty ignores this command; it randomizes by default.
You can also try adding other commands to the initString; see the GNU Chess or Crafty documentation for details.
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:
stty raw -echo 9600 > /dev/tty00
xboard -ics -icscomm /dev/tty00
Here replace /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 stty(1) and tty(4) if you run into problems. Also, on many systems stty works on its standard input instead of standard output, so you have to use "<" instead of ">".
If you are using linux, try starting with the script below. Change it as necessary for your installation.
##################################################
#!/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
##################################################
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 telnet chessclub.com 5000. Important: See the paragraph in the LIMITATIONS section below about extra echoes.
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 .Xdefaults file. The colors shown here are the default values; you will get them if you turn -colorize on without specifying your own colors.
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
Here is an example of how to set the sounds in your .Xdefaults file.
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
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 n1 gives the piece size, n2 the width of the black border between squares, n3 the desired size for the clockFont, n4 the desired size for the coordFont, n5 the desired size for the default font, n6 the smallLayout flag (0 or 1), and 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 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.
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 -pixmapDirectory option, or a bitmap piece set can be selected with the -bitmapDirectory option.
If xboard is configured and compiled on a system that does not include libXpm (or the --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 -pixmapDirectory option. Or again, a different bitmap piece set can be selected with the -bitmapDirectory option.
Files in the bitmapDirectory must be named as follows: The first character of a piece bitmap name gives the piece it represents (p, n, b, r, q, or k), the next characters give the size in pixels, the following character indicates whether the piece is solid or outline (s or o), and the extension is ".bm". For example, a solid 80x80 knight would be named "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 "icon_white.bm", "icon_black.bm", and "checkmark.bm".
You can import pixmap pieces from the ZIICS distribution by using the zic2xpm program to convert them. This program produces both xpm and xim pixmaps, so you can use these pieces even if you do not have xpm support compiled into your xboard. ZIICS provides a large number of piece sets to choose from. Here's how to import them:
1) Download the ZIICS distribution. It is available from
ftp://ftp.freechess.org/pub/chess/DOS/ziics131.exe
2) Unzip it into a directory, for example:
unzip -L ziics131.exe -d ~/ziics
3) Pick a chess set you want to use, for example the FRITZ4 set. Create a directory to hold the pieces, then run the zic2xpm program to create the pieces:
mkdir ~/fritz4
cd ~/fritz4
zic2xpm ~/ziics/fritz4.*
(The zic2xpm program is in the directory where xboard was compiled, in case you didn't do a make install.)
4) Now, just add the -pixmapDirectory option when you start xboard:
xboard -pixmapDirectory ~/fritz4
Or add the option to your .Xdefaults file:
xboard*pixmapDirectory: ~/fritz4
-whitePieceColor #FFFFCC
-blackPieceColor #202020
-lightSquareColor #C8C365
-darkSquareColor #77A26D
-highlightSquareColor #FFFF00
-premoveHighlightColor #FF0000
If you are using a grayscale monitor, try setting the colors to:
-whitePieceColor gray100
-blackPieceColor gray0
-lightSquareColor gray80
-darkSquareColor gray60
-highlightSquareColor gray100
-premoveHighlightColor gray70
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)
unknown Catchall for other unknown variants
In the shuffle variants, xboard does not shuffle the pieces, but you can do it by hand using Edit Position. Some variants are supported only in ICS mode, including fischerandom, bughouse, and kriegspiel. The winning/drawing conditions in crazyhouse (offboard interposition on mate), losers, suicide, giveaway, atomic, and 3check are not fully understood. In crazyhouse, xboard does not yet keep track of offboard pieces. Shatranj is unsupported, but it may be usable if you turn off Test Legality.
If you are using a chess engine that supports analysis, such as Crafty, you can use xboard to analyze your games. GNU Chess does not support analysis. See the section titled GETTING CRAFTY for more information on obtaining and installing Crafty. There are a few ways to analyze:
Setting up a position to analyze
Choose
Edit Position
from the
Mode Menu.
Edit the board (the right and middle mouse buttons bring up
the black/white piece menus). When finished editing, click on
either the White or Black clock to tell
xboard
whose turn it is
to move. Choose
Analysis Mode
from the
Mode Menu.
Watch the analysis, move pieces around, etc.
Analyzing a new game
If you want to start a new analysis from a fresh board,
choose
Reset Game
from the
File Menu,
then choose
Analysis Mode
from the
Mode Menu.
Now you can move pieces around and watch the engine's analysis.
Crafty is a chess engine written by Bob Hyatt (hyatt@cis.uab.edu). 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.
xboard -fcp crafty -fd crafty's-directory
By default, xboard -ics 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 LIMITATIONS section below about extra echoes.
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 fire.wall.com. Set command-line options as follows:
xboard -ics -icshost fire.wall.com -icsport 23
Or in your .Xdefaults file:
XBoard*internetChessServerHost: fire.wall.com
XBoard*internetChessServerPort: 23
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.) Log in, then telnet to ICS, using a command like 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 will have to find some other host outside the firewall that does let you do this, and hop through it. For instance, suppose you have an account at foo.edu. Follow the recipe above, but instead of typing telnet chessclub.com 5000 to the firewall, type telnet foo.edu (or rlogin foo.edu), log in there, and then type telnet chessclub.com 5000.
Exception: chessclub.com itself lets you connect to the chess server on the default telnet port (23), which is what you get if you don't specify a port to the telnet program. But the other chess servers don't allow this.
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 rsh.wall.com. Set command-line options as follows:
xboard -ics -gateway rsh.wall.com -icshost chessclub.com
Or in your .Xdefaults file:
XBoard*gateway: rsh.wall.com
XBoard*internetChessServerHost: chessclub.com
Then when you run xboard in ICS mode, it will connect to the ICS by using rsh to run the command telnet chessclub.com 5000 on host rsh.wall.com.
Suppose that you can telnet anywhere you want, but you have to run a special program called ptelnet to do so.
First, we'll consider the easy case, in which ptelnet chessclub.com 5000 gets you to the chess server. In this case set command line options as follows:
xboard -ics -telnet -telnetProgram ptelnet
Or in your .Xdefaults file:
XBoard*useTelnet: true
XBoard*telnetProgram: ptelnet
Then when you run xboard in ICS mode, it will issue the command ptelnet chessclub.com 5000 to connect to the ICS.
Next, suppose that ptelnet chessclub.com 5000 doesn't work; that is, your ptelnet program doesn't let you connect to alternative ports. In this case, you will have to find some other host outside the firewall that does let you do this, and hop through it. For instance, suppose you have an account at foo.edu. Set command line options as follows:
xboard -ics -telnet -telnetProgram ptelnet -icshost foo.edu -icsport ""
Or in your .Xdefaults file:
XBoard*useTelnet: true
XBoard*telnetProgram: ptelnet
XBoard*internetChessServerHost: foo.edu
XBoard*internetChessServerPort:
Then when you run xboard in ICS mode, it will issue the command ptelnet foo.edu to connect to your account at foo.edu. Log in there, then type telnet chessclub.com 5000.
ICC timestamp and FICS timeseal do not work through many 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 requires you to go through some extra level of authentication, but after that will give you a clean 8-bit wide TCP connection to the chess server. In that case, you could make a socksified version of xboard and run that. If you are using timestamp or timeseal, you will need 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.nec.com/how2socksify.html.
Game and position files are found in the directory named by the CHESSDIR environment variable. If this variable is not set, the current working directory is used. If CHESSDIR is set, xboard actually changes its working directory to $CHESSDIR, so any files written by the chess engine will be placed there too.
gnuchess(6), cmail(6).
There is no way for two people running copies of xboard to play each other without going through the 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, timestamp, or timeseal on an Internet provider or firewall host, you may find that each line you type is echoed back an extra time after you hit Return. If your Internet provider is a Unix system, you can probably turn its echo off by typing stty -echo after you log in, and/or typing ^E-Return (control-E followed by the Return key) to the telnet program after you have logged into ICS. It is a good idea to do this if you can, because otherwise the extra echo can occasionally confuse xboard's parsing routines.
The game parser recognizes only algebraic notation.
The internal move legality tester does not look at the game history, so in some cases it misses illegal castling or en passant captures. It permits castling with the king on the d file because this is possible in some "wild 1" games on ICS. However, if you attempt an illegal move when using a chess engine or the ICS, xboard will accept the error message that comes back, undo the move, and let you try another.
Fischer Random castling is not understood. You can probably play Fischer Random chess successfully on ICS by typing castling moves into the ICS Interaction window, but they will not be animated correctly, and saved games will not be loaded correctly if castling occurs.
FEN positions saved by xboard never include correct information about whether castling is legal or how many half-moves have been made since the last irreversible move, and sometimes may not correctly indicate when en passant capture is available.
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. However, if you are editing a game, Edit Game mode will be terminated by a non-contact mate.
Some xboard functions may not work with versions of GNU Chess earlier than 4.0, patchlevel 77, or with versions of Crafty earlier than 15.11. A few functions work with GNU Chess but not Crafty, or vice versa.
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.
Report bugs and problems with xboard to <tim@tim-mann.org>. Please use the script(1) program to start a typescript, run xboard with the -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 "uname -a" will often tell you this. Here is a sample of approximately what you should type:
script
uname -a
./configure
make
./xboard -debug
exit
mail tim@tim-mann.org
Subject: Your short description of the problem
Your detailed description of the problem
~r typescript
.
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.
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).
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 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 for version 3.2. Evan Welsh wrote cmail. John Chanak contributed the initial implementation of ICS mode. The color scheme and the old 80x80 piece bitmaps were taken from Wayne Christopher's XChess program.
Chris Sears and Dan Sears wrote the original xboard; they were responsible for versions 1.0 through 1.2.
Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. Enhancements Copyright 1992-95 Free Software Foundation, Inc.
XBoard's alternative piece bitmaps (bitmaps.xchess) are derived from the bitmaps in the XChess program, which was written and is copyrighted by Wayne Christopher.
The following terms apply to Digital Equipment Corporation's copyright interest in XBoard:
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Digital not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
The following terms apply to this enhanced version of XBoard distributed by the Free Software Foundation:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
ZIICS is a separate copyrighted work of Andy McFarland (Zek on ICC). Use of ZIICS falls under the ZIICS license, not the GPL.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |