⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xchess.1

📁 早期freebsd实现
💻 1
字号:
.TH XCHESS 1 "14 Nov 1986" "X Version 10".SH NAMExchess \- X chess display.SH SYNOPSIS.B xchess[ option ... ] [ white-display ] [ black-display ].SH DESCRIPTION.PP.B xchessis a chess display program which allows players to play a game on eitherone or two displays, or play a chess-playing program.  It uses the.B Xwindow system.  If one or no display names are given, it will open up onewindow and both black and white at the same board.  If two displays aregiven,.B xchesswill accept moves from each player in his turn.  Black's board will be drawnwith his pieces at the bottom..PP.B xchesswill not allow a player to make an illegal move.  It accepts all legal moves,including castling and pawn capture \fIen passant\fR..SH OPTIONS.TP 8.B -dTurn on debugging..TP 8.B -f record-fileUse \fBrecord-file\fR for saving the game when the \fBSave\fR button isselected, or if the \fB-s\fR flag is given.  The default is "xchess.game"..TP 8.B -r saved-gameStart with the position at the end of the saved game in the named file.This file may be the result of the \fBSave\fR command, and may be ineither English or International format.  When reading moves, one moveit made per second..TP 8.B -qDon't pause for a second every time a move is made when a game is beingrestored..TP 8.B -vWhenever a piece is moved, outline the path with a "lightning bolt".This option and the \fB-n\fR option are useful if you don't want to missan opponent's move when he makes it..TP 8.B -iUse International format for recording moves (squares numbered 1-8, a-h)as opposed to English (e.g, \fIp/k4xp/q5\fR)..TP 8.B -t moves/timeunitAllows \fBtimeunit\fR seconds for every \fBmoves\fR moves.  If either playerexceeds this allowance both recieve a message saying informing them ofthis fact..TP 8.B -cPlay the computer..B xchesswill start up a chess-playing program (currently the only one it knowshow to talk to is \fBGNU Chess\fR)..TP 8.B -p programThe name of the program to use if the \fB-c\fR option is given.  Thedefault is "/usr/public/gnuchess".  Note that \fBgnuchess\fR must becompiled with the \fIcompat\fR flag (in the file "main.c") set to 1..TP 8.B -bIf the \fB-c\fR flag was given, have the computer play white..TP 8.B -bnwIf the display has more than one display plane (i.e, is color), pretendit's black and white..TP 8.B -sSave the moves in the record file as they are made.  This is useful ifyou don't want your game to be lost when \fBxchess\fR core dumps..TP 8.B -nBe noisy \- beep after every move is made..TP 8.B -h hostRun GNU Chess on the specified \fBhost\fR..TP 8.B -RRandomly chose who plays white and who plays black, if two displays aregiven..SH CONTROLS.PPThe window is divided up into several sub-windows.  The pieces are moved bypushing down any mouse button on top of the piece, moving to the destinationsquare, and releasing it.  Castling is done by moving the king to theright square.  If you push down on a piece and then let the buttonup without moving it, you must move that piece. ("Touch it, move it.").PPThe progress of the game is listed in the "Game Record" window.  Errormessages and such things are printed in the "Message" window.  Both thesewindows have scroll bars that you can use to move around.There are also windows for clocks and for a record of the pieces captured..PPIf you type any keys in the window, the text will go into the messagewindow of both players.  This provides a simple communication facility..PPThere are 9 buttons in the control window.  They are as follows:.TP 8.B DrawBoth players must push this button to agree on a draw (just one is okif only one display is being used)..TP 8.B ResignThe player whose turn it is to move resigns..TP 8.B ResetStart over from the beginning..TP 8.B BackRetract a move.  If two displays are being used the other player will beasked to confirm this..TP 8.B FwdThis will re-play the most recently retracted move.  This button in conjunctionwith \fBBack\fR is useful for "scrolling around" in a saved game..TP 8.B SaveSave the game in the record file..TP 8.B FlipRotate the board so that Black will have his pieces at the bottom..TP 8.B SwitchChange the mapping of boards to players..TP 8.B PauseThis button has two functions.  When a game is being restored, pieces willbe moved once a second.  Hitting \fBPause\fR will stop this process, andhitting it again will restart it.  During the time that it is stopped noother action can be made except restarting it.  While a game is being played,\fBPause\fR will stop the clock and restart it..SH DEFAULTS.PP\fBxchess\fR uses the following \fI.Xdefaults\fR:.TP 8.B NoisyThe -n flag..TP 8.B SaveMovesThe -s flag..TP 8.B AlgebraicThe -i flag..TP 8.B BlackAndWhiteThe -bnw flag..TP 8.B QuickRestoreThe -q flag..TP 8.B FlashThe -v flag..TP 8.B NumFlashesHow many times to flash the move.  The default is 5..TP 8.B FlashWidthHow big to make the lightning bolt.  The default is 10 pixels..TP 8.B ProgNameThe -p option.  This may also be changed in the Makefile (-DDEF_PROG_NAME)..TP 8.B ProgHostThe -h option..TP 8.B RecordFileThe -f option..TP 8.B BlackPieceThe color of the black pieces..TP 8.B WhitePieceThe color of the white pieces..TP 8.B BorderColorThe color of the borders..TP 8.B BlackSquareThe color of the black squares..TP 8.B WhiteSquareThe color of the white squares..TP 8.B TextColorThe color of routine messages and the move record text..TP 8.B ErrorTextThe color of error messages..TP 8.B PlayerTextThe color of player-entered text..TP 8.B TextBackThe background color for the two text windows..TP 8.B CursorColorThe color of the mouse and the text cursors..SH "SEE ALSO"X(8), gnuchess(1), chess(5).SH AUTHORWayne A. Christopher (faustus@ic.berkeley.edu).SH BUGS.PPCheckmate and stalemate are not detected, so the appropriate player must resignor agree to a draw respectively..PP\fBSwitch\fR doesn't work..PPIf you are playing \fBgnuchess\fR, and you select Undo a few times so that itis \fBgnuchess\fR's turn to move, it won't do anything.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -