🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #8368

Need info on gnuchess/chesstool interface

#8368
From: kak
Date: Wed, 05 Jun 1991 14:17
39 lines
2238 bytes
I'm trying to obtain some documentation on how
chesstool (or Xchess) talks to gnuchess.

Another person and I are trying to put togeather a nice chess
front end for a system not running sunview or xwindows.

We were figuring on using gnuchess for the backend for this,
but I can't find a specification for how gnuchess and chesstool
talk to each other, and any experiments with gnuchessr don't seem
to match what the X program code seems to be looking for.
I can handle the pipes/exec/signals, but I need to know
how the programs communicate after that.

By adding the -DSUNTOOLS flag when I make gnuchessr,
I've gotten something LIKE what I'd expect for output
to be used by chesstool.  But I still don't know
how to get the code to, say, switch sides:  If I use
"black", like the help command (which works) claims,
gnuchess mearly responds with some illegal move, like
moving a rook that can't move.

I'm assuming that SOMEWHERE there is a specification on what
chess tool is expecting from its exec'd logic program.
I'd assume that SOMEWHERE there is a specification that says
what gnuchessr (with -DSUNTOOLS) allows as input.
I'd assume that these two should be very similar.
I don't remember this being in the chesstool manual (back when
I had access to a Sun workstation).
Does anybody know either how chesstool recognizes moves
from an external program, or what gnuchessr accepts as input?

(probably best to respond by email) 

                               Kris A. Kugel
                             ( 908 ) 842-2707
                      uunet!westmark!hico2!kak (maybe)
                        {daver,ditka,zorch}!hico2!kak
                      internet: kak@hico2.westmark.com
		      from inside at&t: att!hico2!kak
Technical Details
Message-ID: <3607@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: kak@hico2.westmark.com
Newsgroups: comp.sys.sun
Subject: Need info on gnuchess/chesstool interface
Keywords: No Digest Subjects in Unmoderated Mode
Message-ID: <3607@brchh104.bnr.ca>
Date: 5 Jun 91 14:17:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sunspots, Pseudo-Unmoderated
Lines: 41
Approved: sun-spots@rice.edu
X-Original-Date:    26 May 91 15:30:25 GMT