🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1383

Re: In search of gnuchess.rc

#1383
From: Peter Billam
Date: Mon, 19 Apr 2004 04:48
47 lines
2928 bytes
Simon Waters wrote:
> There is a documentation file in the tar ball, hopefully the
> packager kept this to hand (/usr/share/doc ?).
>
Alas, on FreeBSD 4.8, it appears not ...

> No rc file yet, I have a patch to try but it needs some thought. ...
> There is "gnuchess --help". Post and Hashsize can be set via commandline.
> ... It should be trivial to add "analyze" as a command line option.
>
For my purposes, commandline options would be nicer than an rc file,
because I wouldn't have to untype them if I then just wanted a game.

What about a general -c option to run any command, e.g.
   gnuchess -c post -c force -c 'level 1 100 6000' -c 'pgnload gloop.pgn'
That way you wouldn't have to be adding new options all the time.

> > Apart from "expect", is there a way of starting up gnuchess
> > automatically with the same sequence of commands ?
> Xboard will do this (and can enable analysis mode).
> SCID will pass options for analysis.
>
When the man page rises to the top of its todo list, I'd love to
know what the best way is of running gnuchess from another program.
A Perl script, for example.

I myself wrote and maintain several CPAN modules, in case that's
useful.  All mine are pure Perl, though, I haven't touched any
invoking-C-from-Perl stuff yet.

> I wrote myself a short perl script to analyse PGN files.
>
I'd love to see that... I also did a Perl implementation of my
disfunctional shell script, but it only achieved the same result.

> I'd not thought people would want analysis from a raw command line,
>
Oh, definitely.  Only real way to do it.  Lean, elegant, highest
performance; cut-and-paste and resizing work consistent with all
other applications, etc.

Best regards,  Peter Billam

-- 

Peter Billam       www.pjb.com.au      peter.billam at pjb.com.au
Original compositions, and arrangements of Bach, Schubert, Brahms...
Technical Details
Message-ID: <slrnc86mqc.ha.peter@box2.pjb.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news1.trump.net.au!not-for-mail
References: <slrnc7u0de.7r.peter@box2.pjb.com.au> <c5qj2o$580$1$8302bc10@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,88abc6c45ff481b
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 2004-04-18 21:49:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news1.trump.net.au!not-for-mail
From: Peter Billam <peter@pjb.com.au>
Newsgroups: gnu.chess
Subject: Re: In search of gnuchess.rc
Date: Mon, 19 Apr 2004 04:48:56 +0000 (UTC)
Organization: TrumpNet Pty Ltd
Lines: 47
Message-ID: <slrnc86mqc.ha.peter@box2.pjb.com.au>
References: <slrnc7u0de.7r.peter@box2.pjb.com.au> <c5qj2o$580$1$8302bc10@news.demon.co.uk>
Reply-To: contact.html@www.pjb.com.au
NNTP-Posting-Host: hob-163.dialup.trump.net.au
X-Trace: soul.trumpet.com.au 1082350136 68646 203.17.184.177 (19 Apr 2004 04:48:56 GMT)
X-Complaints-To: usenet@soul.trumpet.com.au
NNTP-Posting-Date: Mon, 19 Apr 2004 04:48:56 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (FreeBSD)