home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnuch40.zip / gnuchess-4.0.pl79 / doc / FAQ < prev    next >
Internet Message Format  |  1998-09-28  |  33KB

  1. From: mann@pa.dec.com (Tim Mann)
  2. Newsgroups: gnu.chess,rec.games.chess.computer,alt.chess.ics,alt.answers,rec.answers,news.answers
  3. Subject: FAQ -- GNU Chess and XBoard Frequently Asked Questions
  4. Followup-To: gnu.chess
  5. Reply-To: bug-gnu-chess@prep.ai.mit.edu
  6. Approved: news-answers-request@MIT.EDU
  7. Summary: Answers to frequently asked questions in the gnu.chess
  8.   newsgroup, covering the chess-playing program GNU Chess, the chess
  9.   interfaces XBoard and WinBoard, and other chess topics.
  10.  
  11. Archive-name: games/chess/gnu-faq
  12. Version: $Id: FAQ.html,v 1.105 1998/09/18 01:59:42 mann Exp $
  13. Posting-frequency: monthly
  14. GNU Chess and XBoard:
  15. Frequently Asked Questions
  16. Here is the list of frequently asked questions and answers for the gnu.chess newsgroup, covering the chess-playing program GNU Chess, the chess interfaces XBoard and WinBoard, and a few other chess topics. In addition to the plain text version that is posted to the newsgroups, a hyperlinked version of this FAQ is available on the Web through the page http://www.research.digital.com/SRC/personal/Tim_Mann/chess.html.
  17. --------------------------------------------------------------------------------
  18.  
  19. Outline
  20. [A] Introduction and hot topics 
  21. [B] GNU Chess 
  22. [C] GNU Chess, bugs and problems 
  23. [D] XBoard and WinBoard 
  24. [E] XBoard and WinBoard, bugs and problems 
  25. [F] Crafty and other topics 
  26.  
  27. --------------------------------------------------------------------------------
  28.  
  29. Detailed contents
  30. [A] Introduction and hot topics 
  31. [A.1] What are the gnu.chess newsgroup and info-gnu-chess mailing list for? 
  32. [A.2] How do I subscribe or unsubscribe? 
  33. [A.3] Where can I get chess information and chess software? 
  34. [A.4] What are the current version numbers for GNU Chess, XBoard, etc.? 
  35. [A.5] Who is working on this project? 
  36. [A.6] How do I report bugs, offer help, etc.? 
  37. [B] GNU Chess 
  38. [B.1] What is GNU Chess? 
  39. [B.2] What is GNU Chess's rating? 
  40. [B.3] Does GNU Chess run on a PC under DOS (or Windows, or OS/2)? 
  41. [B.4] Does GNU Chess run on an Amiga? 
  42. [B.5] Does GNU Chess run on a Macintosh? 
  43. [B.6] Does GNU Chess run on VMS? 
  44. [B.7] Does GNU Chess run on the Acorn Archimedes? 
  45. [B.8] Does GNU Chess run on Atari computers? 
  46. [B.9] How do I build GNU Chess? Do I have to have gcc? 
  47. [C] GNU Chess, bugs and problems 
  48. [C.1] XBoard tells me "Error: first chess program (gnuchessx) exited unexpectedly". 
  49. [C.2] GNU Chess lets its flag fall a move or two before the time control. 
  50. [C.3] GNU Chess freezes after it gets out of its opening book. 
  51. [C.4] GNU Chess sometimes tells me that a legal move is illegal. 
  52. [C.5] GNU Chess crashes when I try to compile and run it on the DEC Alpha. 
  53. [C.6] Running (or building) GNU Chess fails with a message about FIONREAD. 
  54. [C.7] GNU Chess runs way too slow and makes my disk seek wildly. 
  55. [D] XBoard and WinBoard 
  56. [D.1] What is XBoard? 
  57. [D.2] Is there an XBoard for Microsoft Windows? What is WinBoard? How do I install WinBoard? 
  58. [D.3] Is there an XBoard for the Amiga? What is AmyBoard? 
  59. [D.4] Is there an XBoard for the Macintosh? 
  60. [D.5] Does XBoard run on VMS? 
  61. [D.6] What is cmail? 
  62. [D.7] How do I build XBoard? Do I have to have gcc? 
  63. [D.8] Can I use XBoard to play a game of chess with another human? 
  64. [D.9] Will WinBoard run on Windows 3.1? 
  65. [D.10] How do I use XBoard or WinBoard as an external viewer for PGN files with my Web browser? 
  66. [D.11] How do I use WinBoard as an external viewer for PGN files with the MS Windows File Manager or Explorer? 
  67. [D.12] How do I use ICC timestamp or FICS timeseal with XBoard? 
  68. [D.13] How do I use ICC timestamp or FICS timeseal with WinBoard? 
  69. [D.14] How do I play bughouse with XBoard or WinBoard? 
  70. [D.15] How can I scroll back in the WinBoard console? 
  71. [D.16] What is Zippy? How can I interface a chess program to the Internet Chess Servers? 
  72. [D.17] How can I interface my own chess program to XBoard or WinBoard? 
  73. [D.18] How can I recompile WinBoard from source? 
  74. [E] XBoard and WinBoard, bugs and problems 
  75. [E.1] I can't build XBoard because the X11/Xaw/... include files are not found. 
  76. [E.2] Configuring or building XBoard fails due to missing header files, missing libraries, or undefined symbols. 
  77. [E.3] I have problems using WinBoard on ICS with a modem. I'm not running SLIP or PPP, but just dialing in to an ordinary login account ("shell account"). 
  78. [E.4] I have problems using WinBoard on ICS with Windows 95 and SLIP or PPP. When trying to start up, it gets the error "Address family not supported by protocol family" (or some equally strange message). 
  79. [E.5] When I try to run WinBoard, I get the message "Failed to start chess program gnuchesx on localhost: NO LANGFILE (file gnuchess.lang not found)". 
  80. [E.6] I want to use XBoard or WinBoard as an Internet Chess Server interface, but the ICS Client option is grayed out on the menu. 
  81. [E.7] How do I give command-line options to a Windows program like WinBoard? 
  82. [E.8] When I try to log in to ICC using timestamp (or to FICS using timeseal) with XBoard, it accepts my handle, but just beeps at me when I type my password. 
  83. [E.9] When I exit from WinBoard after using it to play against GNU Chess or Crafty, the chess program keeps running in the background. 
  84. [E.10] When running WinBoard, I get the message "Error getting user name: The operation being requested was not performed because user has not logged on to the network." 
  85. [E.11] WinBoard crashes Windows 95! 
  86. [E.12] Why do my ICS opponents often get extra time after they make their moves? Why do I sometimes lose time off my clock after I make my move? 
  87. [F] Crafty and other topics 
  88. [F.1] What is XChess? 
  89. [F.2] What is Winsock Chess? 
  90. [F.3] What is Crafty? 
  91. [F.4] How do I use Crafty with XBoard? 
  92. [F.5] How do I use Crafty with WinBoard? 
  93.  
  94. --------------------------------------------------------------------------------
  95.  
  96. [A] Introduction and hot topics
  97.  
  98. --------------------------------------------------------------------------------
  99.  
  100. [A.1] What are the gnu.chess newsgroup and info-gnu-chess mailing list for?
  101. The newsgroup gnu.chess and the mailing list info-gnu-chess@prep.ai.mit.edu are for the discussion of GNU Chess, XBoard, and related free chess software. 
  102. gnu.chess and info-gnu-chess are not for general chess or computer chess discussion. You won't be flamed if you post such messages here, but you will find more information in other places. See topic [A.3] below. 
  103.  
  104. PLEASE DO NOT try to start or play chess games by posting messages to gnu.chess. Instead, read the rec.games.chess FAQ (see topic [A.3]) to learn about the IECG, the IECC, and other groups that you can join to find opponents, and send one or more of them email to join. 
  105.  
  106. The newsgroup and mailing list are gatewayed bidirectionally; that is, any article posted on the newsgroup is automatically forwarded to the mailing list, and any mail sent to the list is automatically forwarded to the newsgroup. 
  107.  
  108.  
  109. --------------------------------------------------------------------------------
  110.  
  111. [A.2] How do I subscribe or unsubscribe?
  112. The simplest way is to either choose to read gnu.chess in your newsreader, or choose not to. 
  113. If you want to be added to or deleted from the mailing list, mail to info-gnu-chess-request@prep.ai.mit.edu (not to the list or newsgroup itself). 
  114.  
  115.  
  116. --------------------------------------------------------------------------------
  117.  
  118. [A.3] Where can I get chess information and chess software?
  119. As a shortcut to most things mentioned in this FAQ, try my Chess Web page, http://www.research.digital.com/SRC/personal/Tim_Mann/chess.html. My Web page is the best place to get the latest versions of XBoard and WinBoard and the most up-to-date version of this FAQ. 
  120. For general news and information about chess, try the newsgroup hierarchy rec.games.chess.*, especially the groups rec.games.chess.misc and rec.games.chess.computer. Both of the latter groups have very informative FAQs maintained by Steve Pribut; look for them on the newsgroups or at http://www.clark.net/pub/pribut/chess.html. 
  121.  
  122. Like other GNU software, you can get GNU Chess and XBoard by anonymous FTP from ftp://prep.ai.mit.edu/pub/gnu/ and its many mirror sites. Look for files matching the patterns gnuchess-*.gz and xboard-*.gz. The .gz suffix indicates the files were compressed with gzip. You can get gzip from prep.ai.mit.edu also. The GNU FTP sites generally carry Unix-compatible versions of GNU software only, so you won't find WinBoard there; get it from my Web page (above) or from the Internet Chess Library (next paragraph). 
  123.  
  124. For other chess software, try the Internet Chess Library. Use anonymous FTP to connect to ftp.freechess.org, or go to the Web page http://www.freechess.org/. You can get chess software, game collections, the FAQ file for rec.games.chess, and other chess-related material there, in the directory pub/chess. The FTP server can automatically decompress files for you as you download them, useful if you don't have gzip. 
  125.  
  126. Here is a sample anonymous ftp session. Some of the ftp server's responses are abbreviated, but all the commands you must type are included. 
  127.  
  128. % ftp prep.ai.mit.edu
  129. Connected to prep.ai.mit.edu
  130. Name: anonymous
  131. Password: your-email-address@your-site
  132. ftp> binary
  133. 200 Type set to I.
  134. ftp> cd /pub/gnu
  135. 250 CWD command successful.
  136. ftp> dir gnuchess-*.gz
  137. -rw-r--r-- 1 14910 wheel 1512181 May 20 00:52 gnuchess-4.0.pl77.tar.gz
  138. ftp> get gnuchess-4.0.pl77.tar.gz
  139. 150 BINARY connection for gnuchess-4.0.pl77.tar.gz (1512181 bytes).
  140. 226 Transfer complete.
  141. ftp> dir xboard-*.gz
  142. -rw-r--r-- 1 14910 wheel  393119 May 20 00:25 xboard-4.0.0.tar.gz
  143. ftp> get xboard-4.0.0.tar.gz
  144. 150 BINARY connection for xboard-4.0.0.tar.gz (393119 bytes).
  145. 226 Transfer complete.
  146. ftp> quit
  147.  
  148. --------------------------------------------------------------------------------
  149.  
  150. [A.4] What are the current version numbers for GNU Chess, XBoard, etc.?
  151. At this writing, the current version numbers are: 
  152. GNU Chess 4.0.77 
  153. GNU Chess 4.14 for Windows 
  154. GNU Chess Mac 4.0b5 
  155. XBoard 4.0.0 
  156. WinBoard 4.0.0 
  157.  
  158. --------------------------------------------------------------------------------
  159.  
  160. [A.5] Who is working on this project?
  161. Stuart Cracraft is the GNU Chess project coordinator. Currently no one seems to be working on the GNU Chess engine itself. Conor McCarthy is responsible for GNU Chess 4.xx for Windows. Tim Mann maintains this FAQ and is the lead developer on XBoard and WinBoard, but he has little time to spend on the project. Evan Welsh, the author of cmail, is not actively working on it but does fix bugs when they are reported.
  162. --------------------------------------------------------------------------------
  163.  
  164. [A.6] How do I report bugs, offer help, etc.?
  165. Any time you want to report a possible bug in GNU Chess, XBoard, etc., we need to know exactly what you did, and exactly what error (or other) messages you got. 
  166. If you are using Unix, run the "script" program, run XBoard with the -debug flag (if you get as far as running it), do whatever is necessary to reproduce the problem, type "exit" to the shell, and mail us the resulting typescript file. We also need to know what hardware/operating system combination you are using. The command "uname -a" will usually tell you this; include its output in your typescript. 
  167.  
  168. If you are using MS Windows, run WinBoard with the -debug flag, and send us a copy of the WinBoard.debug file. If you aren't sure how to add command-line flags to WinBoard, you can hit Ctrl+Alt+F12 to create a WinBoard.debug file after WinBoard starts, but that is not as good, because a few messages that would have been printed at the start are lost. 
  169.  
  170. Either way, please send us the exact text of the commands you typed and the output you got, not just your recollection of approximately what they were. The messages may seem meaningless to you, but they are very meaningful to us and essential for diagnosing problems. 
  171.  
  172. You should be able to contact all the members of the project by sending mail to bug-gnu-chess@prep.ai.mit.edu. If you don't trust this list, you can send mail about XBoard, WinBoard, or the FAQ to mann@pa.dec.com (Tim Mann); mail about cmail to R.E.Welsh@quadstone.co.uk (Evan Welsh). Comments that are of interest to all users of the software should be posted to the gnu.chess newsgroup. 
  173.  
  174.  
  175. --------------------------------------------------------------------------------
  176.  
  177. [B] GNU Chess
  178.  
  179. --------------------------------------------------------------------------------
  180.  
  181. [B.1] What is GNU Chess?
  182. GNU Chess is a free chess-playing program developed as part of the GNU project of the Free Software Foundation (FSF). 
  183. GNU Chess is a communal chess program. Contributors donate their time and effort in order to make it a stronger, better, sleeker program. Contributions take many forms: interfaces to high-resolution displays, opening book treatises, speedups of the underlying algorithms, additions of extra heuristics. These contributions are then distributed to the large user-base so that all may enjoy the fruits of our labor. 
  184.  
  185. GNU Chess is intended to run under Unix or Unix-compatible systems. It is written in C and should be portable to other systems. 
  186.  
  187. For a test drive, try WebChess, a World Wide Web interface to GNU Chess provided by DJ Delorie. The URL is http://www.delorie.com/game-room/chess/. 
  188.  
  189.  
  190. --------------------------------------------------------------------------------
  191.  
  192. [B.2] What is GNU Chess's rating?
  193. It would be irresponsible to answer this question with a number, without first explaining a few things about ratings. 
  194. The ratings that are commonly given for computer chess players are less meaningful than they may seem. Most computer chess players (including GNU Chess) do not play in tournaments against humans, or do so only rarely, so they do not have official ratings from FIDE, USCF, or other chess organizations. 
  195.  
  196. Some people have methods for rating chess programs approximately by giving them a set of problems to work on and seeing how they do, or by having them play tournaments against each other. Any rating number produced by such means should be taken with a grain of salt; it may be only a rough approximation to the rating the program would achieve in over-the-board tournament competition against humans. The chess skills required for solving problems or playing against other computers are not necessarily the same as those required for play against humans. Also, of course, tournaments among computers can rate the computers only relative to one another, not relative to humans. Some of the computers need to be rated by other means to give the ratings a basis to start from. 
  197.  
  198. Compared with human players, computer players are strong tactically but weak strategically, and are much better at blitz chess than at slow chess. These differences make it more difficult to assign a meaningful rating too. 
  199.  
  200. Several computers do play regularly on the Internet chess servers and have achieved ratings there. These ratings have the advantage of being based on many games. On the other hand, ICS ratings are only roughly comparable to USCF or FIDE ratings. Many players have ICS ratings that are hundreds of points higher or lower than their USCF or FIDE ratings. 
  201.  
  202. Finally, unlike dedicated chess machines, or PC chess programs that run on only a few different models of Intel processors, GNU Chess runs on many different kinds of CPU at many different speeds. Thus its strength depends on how fast a machine you run it on and how much optimization your C compiler does. Some people have formulas for estimating how a computer player's rating varies on faster or slower machines---see the rec.games.chess FAQ for more information---but these need to be taken with a grain of salt too. 
  203.  
  204. All that said, here are some numbers. 
  205.  
  206. - On the Internet Chess Club, a copy of GNU Chess running on an SGI Onyx R4400 under the handle MaxII once achieved a blitz rating of over 2500 and a standard rating of over 2300. Current ICC and FICS ratings for computers using GNU Chess tend to be a good deal lower. 
  207.  
  208. - Wolfgang Gabriel ran the Bednorz-Toennissen Test BT2630 with GNU Chess 4.0 pl74 on a 60 MHz Pentium with 16 MB of RAM. The test gave an estimated rating of 2213. He also ran Fritz-2 on the same hardware and got an estimated rating of 2311. 
  209.  
  210.  
  211. --------------------------------------------------------------------------------
  212.  
  213. [B.3] Does GNU Chess run on a PC under DOS (or Windows, or OS/2)?
  214. Yes. There are several versions available. 
  215. WinBoard provides a graphical user interface to GNU Chess that runs on Windows 95 and Windows NT. See topic [D.2]. The WinBoard distribution includes a GNU Chess executable for the Intel architecture, plus instructions and patches (when necessary) for recompiling GNU Chess from the official sources, available separately. 
  216.  
  217. GNU Chess 4.xx for Windows bundles GNU Chess and a custom graphical interface into a single program. Unlike WinBoard, it runs on Windows 3.1 if you have the Win32s compatibility package installed (available free from Microsoft). You can get GNU Chess 4.xx for Windows from ftp://prep.ai.mit.edu/pub/gnu/, filename currently gnuchessPC-4.14.zip. The distribution includes complete sources and an Intel executable. If you need Win32s, you can get it from ftp://ftp.microsoft.com/Softlib/MSLFILES/PW1118.EXE. 
  218.  
  219. The standard GNU Chess 4.0 distribution can be compiled for MS-DOS, and will run under Windows in a DOS box, but with no graphical interface. Depending on what patchlevel of GNU Chess you get and what C compiler you have, you may need to make minor source changes to get it to compile. Some precompiled versions are available in the Internet Chess Library; the most recent at this writing is: ftp://ftp.freechess.org/pub/chess/DOS/gch4077.zip. 
  220.  
  221. Here is a listing of GNU Chess files for the PC in the Internet Chess Library (topic [A.3]). They are scattered among the directories /pub/chess/Win3, /pub/chess/DOS, and (don't forget) /pub/chess/DOS/OLD-STUFF. This listing may be outdated; see the library itself to look for additions. 
  222.  
  223. MS-DOS:
  224.   gch4077.zip       497874  GNU Chess 4.0.pl77 for MS-DOS; needs 386 or better.
  225.   gnu40-62.exe     1323260  Probably GNU Chess 4.0.pl62 for MS-DOS
  226.   gnu40dos.exe T    317072  GNU Chess 4.0pl60 by Free Software Foundation
  227.                          -  compiled for DOS, executables only
  228.   gnu40src.exe      307786  GNU Chess 4.0pl60 by Free Software Foundation
  229.                          -  sources only
  230.   gnuchs31.exe T    270559  GNU Chess 3.1 by Free Software Foundation
  231.                          -  compiled for DOS, sources and executables
  232.   gnuchs40.exe T    355494  GNU Chess 4.0pl60 by Free Software Foundation
  233.                          -  compiled for 80386er, executables only
  234.  
  235. Windows:
  236.   chess321.exe W  M 238185  GNU Chess 3.21 ported by Daryl K. Baker
  237.  
  238. OS/2:
  239.   gpl65os2.zip      677824  gnuchess-4.0.pl65 compiled for os2.
  240.   gc-os2-m.zip      578032  gnuchess 4.0 for os2 with mouse support.
  241.   gnu40os2.zip     1303602  Executables for running gnuchess 4.0 pl62
  242.                          -  under OS/2. 
  243.   pmchs.exe    W  M  92004  OS/2 PM Chess 1.01 (GNU Chess 3.1 Windows by
  244.                          -  Daryl K. Baker) port to OS/2 by Kent Cedola
  245.   pmchssrc.exe      110279  OS/2 PM Chess 1.01 (GNU Chess 3.1 Windows by
  246.                          -  Daryl K. Baker) sources only
  247. Porting GNU software to PCs is not a major focus of the GNU project, and these ports are not supported by the FSF. Contact the people who did the ports if you have questions or problems. 
  248.  
  249.  
  250. --------------------------------------------------------------------------------
  251.  
  252. [B.4] Does GNU Chess run on an Amiga?
  253. There are at least three ports of GNU Chess to the Amiga. As with the PC ports, these ports are not supported by the FSF; contact the people who did the ports if you have problems or questions. 
  254. The AmyBoard port (probably the best) is discussed in topic [D.3]. 
  255.  
  256. UChess and AmigaGnuChess are available in the Internet Chess Library (topic [A.3]), in the directory /pub/chess/Amiga. UChess is the newer of the two. 
  257.  
  258. -r--r--r--  1 chess    chess   204025 Mar 31  1993 AmigaGnuChess.lha
  259. -r--r--r--  1 chess    chess    10122 Mar 31  1993 AmigaGnuChess.readme
  260.  
  261. -r--r--r--  1 chess    chess   705327 May  7 10:28 UChess283.lha
  262. -r--r--r--  1 chess    chess    21478 May  7 10:26 UChess283.readme
  263. -r--r--r--  1 chess    chess   199387 May  7 10:27 UChess283Patch.lha
  264. -r--r--r--  1 chess    chess    21589 May  7 10:26 UChess283Patch.readme
  265.  
  266. --------------------------------------------------------------------------------
  267.  
  268. [B.5] Does GNU Chess run on a Macintosh?
  269. There is a port of GNU Chess 4.0 to the Macintosh. It's available from the Internet Chess Library (topic [A.3]) under /pub/chess/Macintosh or /pub/chess/uploads/Macintosh, in the following files: 
  270.     GnuChessMac40b5.hqx  - executable binary
  271.     GCMsource40b5.hqx    - source
  272. As with the PC ports, the Macintosh port is not supported by the Free Software Foundation. If you have questions or problems, contact Dan Oetting, oetting@gldfs.cr.usgs.gov. 
  273. If you have the old Mac port of GNU Chess 3.0, be sure to get 4.0 instead. GNU Chess has come a long way since version 3.0! 
  274.  
  275.  
  276. --------------------------------------------------------------------------------
  277.  
  278. [B.6] Does GNU Chess run on VMS?
  279. An old VAX VMS version is available at ada.cenaath.cena.dgac.fr in the [.VMS] directory: 
  280. Directory CENA10:[ANONYMOUS.VMS]
  281.  
  282. GNUCHESS.ZIP;1                     307  21-MAR-1994 18:42:05.13
  283. It's only a character cell version for VT100, VT200, etc. terminals. Thanks to Patrick Moreau for this information.
  284. --------------------------------------------------------------------------------
  285.  
  286. [B.7] Does GNU Chess run on the Acorn Archimedes?
  287. Steve Dicks (steve@starswan.demon.co.uk) tells us: 
  288. You might like to know that I have recently successfully completed a port of GNU Chess 4.0.pl75 to the Acorn Archimedes, and I have written my own graphical front-end to it called ArcBoard (current version 0.05). It is currently available from ftp://ftp.demon.co.uk/pub/archimedes/games/. 
  289.  
  290. --------------------------------------------------------------------------------
  291.  
  292. [B.8] Does GNU Chess run on Atari computers?
  293. Yves Debilloez (101361.2061@CompuServe.COM or yde@ficsgrp.com) tells us: 
  294. There is a version of GNU chess for Atari available. It can be downloaded from my homepage: http://ourworld.compuserve.com/homepages/yves_debilloez/homepage.htm. 
  295.  
  296. --------------------------------------------------------------------------------
  297.  
  298. [B.9] How do I build GNU Chess? Do I need gcc?
  299. The first step to building GNU Chess is to get the distribution file and unpack it. See topic [A.3] for places you can ftp the distribution from. 
  300. To unpack the gnuchess distribution, gnuchess-*.tar.gz, put it into a new, empty directory, cd there, and give this Unix command: 
  301.  
  302.     gzip -cd gnuchess-*.tar.gz | tar -xvf -
  303. If this command fails because you don't have gzip, see topic [A.3], and ask a local Unix expert if you need more help. 
  304. The above command will unpack all the files into a new directory. Next, cd into this new directory. 
  305.  
  306. Decide what directory tree you are going to install GNU Chess in. The default is /usr/local. If you have write access to this directory tree, make sure that it contains subdirectories bin, lib, and man. (If you must "su" to get write access to /usr/local, you don't need to do so until just before the "make install" below.) Type the following: 
  307.  
  308.     configure
  309.     make
  310.     make install
  311. If you are going to install GNU Chess under your home directory for personal use, do this instead: 
  312.     mkdir $HOME/bin $HOME/lib $HOME/man
  313.     configure --prefix=$HOME
  314.     make
  315.     make install
  316. If you have problems or special requirements, see the files README, INSTALL, Makefile.in, and configure.in for more information. 
  317. You don't need to have gcc to build GNU Chess. However, GNU Chess is written in ANSI C. If you have only an old K&R C compiler, be sure you have the current patchlevel of GNU Chess, and get "unproto" by: 
  318.  
  319. Wietse Venema
  320. wietse@wzv.win.tue.nl
  321. Mathematics and Computing Science
  322. Eindhoven University of Technology
  323. The Netherlands 
  324.  
  325. It was released in comp.sources.misc Vol 27 with patches in vol 28 and vol 38. Among other places, it can be found on unix.hensa.ac.uk in pub/uunet/usenet/comp.sources.misc/volume27/unproto. 
  326.  
  327. Compile it and copy the cpp it produces into the gnuchess src directory before you type "make" there. 
  328.  
  329.  
  330. --------------------------------------------------------------------------------
  331.  
  332. [C] GNU Chess, bugs and problems
  333.  
  334. --------------------------------------------------------------------------------
  335.  
  336. [C.1] XBoard tells me "Error: first chess program (gnuchessx) exited unexpectedly".
  337. Try running XBoard again with the "-debug" flag on the command line. This will print out all the messages received from GNU Chess. 
  338. If you see this problem as soon as GNU Chess starts up, most likely GNU Chess is exiting with an error message. If you see the message "NO LANGFILE", it means that you did not install GNU Chess correctly, and it is unable to find the file gnuchess.lang. Make sure that you defined LIBDIR in the gnuchess Makefile, and that gnuchess.lang is in that directory. If gnuchess.lang is not there, you probably didn't type "make install" in the gnuchess src directory; you must do this to install gnuchess.lang (and the gnuchess book). If you defined LIBDIR to something that is not an absolute pathname (that is, to something that does not start with a "/"), GNU Chess will work only if you run it from the GNU Chess "src" directory where you built it. 
  339.  
  340. If the problem happens while GNU Chess is running, you may have hit a GNU Chess bug. There used to be a bug that could corrupt the stack and cause the program to exit, sometimes with a nonsensical message first, sometimes with no message. It was especially evident on Linux. We believe this bug is fixed in GNU Chess 4.0.pl77. 
  341.  
  342.  
  343. --------------------------------------------------------------------------------
  344.  
  345. [C.2] GNU Chess lets its flag fall a move or two before the time control. 
  346. GNU Chess is known to be a bit too aggressive in using its clock time and sometimes lets its flag fall. Some bugs that caused this symptom have been fixed, but more work on the problem may be needed.
  347. --------------------------------------------------------------------------------
  348.  
  349. [C.3] GNU Chess freezes after it gets out of its opening book. 
  350. a) First, be sure you have the latest versions of GNU Chess (and XBoard or WinBoard, if you are using them); see topic [A.4] above. Several different bugs that could cause this symptom existed in old versions but have been fixed in the latest ones. 
  351. b) Another possibility is that you have a persistent transposition table (hashfile) that has been corrupted. Look in the LIBDIR directory you defined in the GNU Chess Makefile, and if you find a file named gnuchess.hash there, remove it. Do not use the hashfile if you are running multiple copies of GNU Chess at the same time (for instance, with Two Machines mode in XBoard). In fact, it is probably best not to use the hashfile under any circumstances. 
  352.  
  353.  
  354. --------------------------------------------------------------------------------
  355.  
  356. [C.4] GNU Chess sometimes tells me that a legal move is illegal. 
  357. See topic [C.3]; the same answer applies.
  358. --------------------------------------------------------------------------------
  359.  
  360. [C.5] GNU Chess crashes when I try to compile and run it on the DEC Alpha.
  361. Get the latest version of GNU Chess. Some bugs that showed up only on the Alpha are fixed in version 4.0 patchlevel 73 and later. If you still have problems, try compiling with the -migrate flag or the -O1 flag. Some older versions of the Alpha C compiler have optimizer bugs that affect GNU Chess.
  362. --------------------------------------------------------------------------------
  363.  
  364. [C.6] Running (or building) GNU Chess fails with a message about FIONREAD. 
  365. The message looks something like this: 
  366.     FIONREAD: Operation not supported on socket
  367.     You probably have a non-ANSI ioctl.h; see README. -1 45 4004787f
  368. If you are using gcc to compile, the solution to this error message is usually to go to the GNU Chess Makefile, find the line that starts "CFLAGS=" (with no # character in front of it), and append the flag "-traditional-cpp" to the end of the line. Then do 
  369.  
  370.     rm dspcom*.o gnuan.o
  371.     make
  372.     make install
  373. to rebuild gnuchess. 
  374. If you aren't using gcc, we don't really understand why this should happen, but we do have a brute-force workaround: You can simply disable the gnuchess feature that uses FIONREAD. Find all the places in dspcom.c (and gnuan.c) where the line "#ifdef FIONREAD" occurs. Change each of them to "#ifdef NOTDEF". Then recompile gnuchess. 
  375.  
  376. With this code disabled, if you tell gnuchess to think on your time ("hard" mode), you will have to type ^C to make it stop thinking when you want to make your move. The current version of XBoard does this automatically, so disabling the code has no effect on XBoard. 
  377.  
  378.  
  379. --------------------------------------------------------------------------------
  380.  
  381. [C.7] GNU Chess runs way too slow and makes my disk seek wildly.
  382. This happens if you don't have enough real memory (RAM) to run GNU Chess. You may need 16MB or more. You can reduce GNU Chess's memory requirements by reconfiguring it, or just buy more memory. Some (rather out of date) suggestions are in the file doc/PORTING from the GNU Chess source tree. 
  383. The following is from Nikhil Nair: 
  384.  
  385. It is perfectly possible to run gnuchess on an 8Mb system. I would suggest that you don't edit the source (though the defaults are the definitions of ttblsz or something like that in src/ttable.h and DEFETABS in src/gnuchess.h), but rather use the -C and -T command-line options (which even work for gnuan, though not documented in the manpage). The defaults are `-C 18001 -T 150001' (for MS-DOS, -T 8001). On my Linux system, this uses just over 9Mb. From memory, `-C 6001 -T 40001' uses around 3Mb. Fiddle with these and see what results you get. 
  386. Why does GNU Chess use so much memory? The extra memory lets it keep large hash tables that speed up its search and make it play better, and a large on-line book that improves opening play. If you have lots of memory you may want to reconfigure GNU Chess to use *more* than the default amount. 
  387.  
  388.  
  389. --------------------------------------------------------------------------------
  390.  
  391. [D] XBoard and WinBoard
  392.  
  393. --------------------------------------------------------------------------------
  394.  
  395. [D.1] What is XBoard?
  396. XBoard is a graphical user interface for chess. It displays a chessboard on the screen, accepts moves made with the mouse, and loads and saves games in Portable Game Notation (PGN). XBoard is free software. It serves as a front-end for many different chess services, including: 
  397. Chess engines that will run on your machine and play a game against you or help you analyze, such as GNU Chess (topic [B.1] above) and Crafty (topic [F.3] below). 
  398.  
  399. Chess servers on the Internet, where you can connect to play chess with people from all over the world, watch other users play, or just hang out and chat. 
  400.  
  401. Correspondence chess played by electronic mail. The cmail program (topic [D.6] below) automates the tasks of parsing email from your opponent, playing his moves out on your board, and mailing your reply move after you've chosen it. 
  402.  
  403. The Web and your own saved games. You can use XBoard as a helper application to view PGN games in your Web browser, or to load and save your own PGN files. 
  404.  
  405. XBoard runs under Unix or Unix-compatible systems. It requires the X Window System, version X11R4 or later. There are also ports of XBoard to Microsoft Win32 (that is, Windows NT or Windows 95) and to the Amiga. See topics [D.2] and [D.3] respectively. 
  406.  
  407.  
  408. --------------------------------------------------------------------------------
  409.  
  410. [D.2] Is there an XBoard for Microsoft Windows? What is WinBoard? How do I install WinBoard?
  411. WinBoard is a port of XBoard to true Microsoft Win32 systems, such as Windows NT and Windows 95. It uses the same back end chess code as XBoard, but the front end graphics code is a complete rewrite. WinBoard is free software. 
  412. The WinBoard distribution includes a port of GNU Chess itself to Win32. The GNU Chess port is distributed in executable form, with instructions for rebuilding it from the standard GNU Chess sources (available separately). You should have at least 16 to 24 MB of memory to run GNU Chess with WinBoard. 
  413.  
  414. The WinBoard distribution also includes the ICC timestamp and FICS timeseal programs (topic [D.12]). 
  415.  
  416. cmail (topic [D.6])
  417.