Article View: gnu.chess
Article #5733Re: GNU Chess 4.0 patchlevel 51 & Xboard 2.0 patchlevel 20 available
From: Tim Mann
Date: Mon, 22 Jun 1992 04:19
Date: Mon, 22 Jun 1992 04:19
83 lines
3066 bytes
3066 bytes
In article <9206220121.AA00640@rice-chex>, cracraft@ai.mit.edu (Stuart Cracraft) writes:
>These versions are available on prep as:
>
> gnuchess-4.0.pl51.tar.Z (370,013 bytes)
>
> xboard-2.0.pl20.tar.Z (118,027 bytes)
>
One patch that was supposed to be in gnuchess 4.0.pl51 got lost somewhere
along the way, and without it, uxdsp.c won't compile. (This file is used
by the simple curses-based gnuchess.) Presumably the missing patch will
appear in pl52 very soon. Until then, if you want to build pl51, you can
add this patch.
diff -r -c ../gnuchess.distrib/4.0.pl50/gnuchess-4.0/src/uxdsp.c ./src/uxdsp.c
*** ../gnuchess.distrib/4.0.pl50/gnuchess-4.0/src/uxdsp.c Tue Jun 16 01:42:55 1992
--- ./src/uxdsp.c Sat Jun 20 19:39:36 1992
***************
*** 186,192 ****
gotoXY (10, 21);
printz (CP[97], ColorStr[opponent]);
gotoXY (10, 22);
! printz (CP[79], Level);
gotoXY (10, 23);
printz (CP[59], (flag.easy) ? CP[93] : CP[92]);
gotoXY (40, 20);
--- 186,192 ----
gotoXY (10, 21);
printz (CP[97], ColorStr[opponent]);
gotoXY (10, 22);
! printz (CP[79], MaxResponseTime/100);
gotoXY (10, 23);
printz (CP[59], (flag.easy) ? CP[93] : CP[92]);
gotoXY (40, 20);
***************
*** 201,207 ****
printz (CP[110], (TCflag) ? CP[93] : CP[92],
TimeControl.moves[white], TimeControl.clock[white] / 100, OperatorTime, MaxSearchDepth);
refresh ();
! fflush (stdin);
getchar ();
ClrScreen ();
UpdateDisplay (0, 0, 1, 0);
--- 201,209 ----
printz (CP[110], (TCflag) ? CP[93] : CP[92],
TimeControl.moves[white], TimeControl.clock[white] / 100, OperatorTime, MaxSearchDepth);
refresh ();
! #ifdef BOGUS
! fflush (stdin); /*what is this supposed to do??*/
! #endif /*BOGUS*/
getchar ();
ClrScreen ();
UpdateDisplay (0, 0, 1, 0);
***************
*** 758,763 ****
--- 760,767 ----
void
SelectLevel (void)
{
+ int item;
+
ClrScreen ();
gotoXY (32, 2);
printz (CP[41]);
***************
*** 790,797 ****
gotoXY (20, 17);
printz (CP[62]);
refresh ();
! scanz ("%ld", &Level);
! switch ((int) Level)
{
case 1:
TCmoves = 60;
--- 794,801 ----
gotoXY (20, 17);
printz (CP[62]);
refresh ();
! scanz ("%d", &item);
! switch (item)
{
case 1:
TCmoves = 60;
Technical Details
Message-ID:
<1992Jun22.041906.1945@src.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!mips!decwrl!pa.dec.com!src.dec.com!src.dec.com!mannReferences:
<9206220121.AA00640@rice-chex>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,3711220d98c00109 X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1992-06-21 16:36:36 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!mips!decwrl!pa.dec.com!src.dec.com!src.dec.com!mann From: mann@src.dec.com (Tim Mann) Subject: Re: GNU Chess 4.0 patchlevel 51 & Xboard 2.0 patchlevel 20 available Message-ID: <1992Jun22.041906.1945@src.dec.com> Sender: news@src.dec.com (News) Reply-To: mann@src.dec.com Organization: DEC Systems Research Center References: <9206220121.AA00640@rice-chex> Distribution: gnu Date: Mon, 22 Jun 92 04:19:06 GMT Lines: 86