🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #1381

In search of gnuchess.rc

#1381
From: Peter Billam
Date: Thu, 15 Apr 2004 21:37
36 lines
2115 bytes
Greetings.  I use gnuchess 5.05 to do analysing, and I always
start by typing in the commands post, force, level and hashsize:
   bash-2.05b$ gnuchess
   GNU Chess 5.05

   Transposition table:  Entries=1K Size=40K
   Pawn hash table: Entries=0K Size=28K
   White (1) : post
   White (1) : force
   White (1) : level 1 100 6000
   Time Control: 1 moves in 6000.00 secs
   Fischer increment of 6000 seconds
   White (1) : hashsize 8192

This gets boring. There is no "man gnuchess" or "info gnuchess",
and no mention of an .rc startup file in "strings `which gnuchess`".
Hoping it might take commands from stdin, I tried a litte shell script
   (cat <<EOT ; cat) | gnuchess
   post
   force
   level 1 100 6000
   hashsize 8192
   EOT
   
That fails to give the "White (1) :" prompts, but seems to be
working ok otherwise. But then it hangs after the first ctrl-C :-(

Apart from "expect", is there a way of starting up gnuchess
automatically with the same sequence of commands ?

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: <slrnc7u0de.7r.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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,88abc6c45ff481b,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 2004-04-15 14:37:40 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: In search of gnuchess.rc
Date: Thu, 15 Apr 2004 21:37:31 +0000 (UTC)
Organization: TrumpNet Pty Ltd
Lines: 36
Message-ID: <slrnc7u0de.7r.peter@box2.pjb.com.au>
Reply-To: contact.html@www.pjb.com.au
NNTP-Posting-Host: hob-146.dialup.trump.net.au
X-Trace: soul.trumpet.com.au 1082065051 48695 203.17.184.160 (15 Apr 2004 21:37:31 GMT)
X-Complaints-To: usenet@soul.trumpet.com.au
NNTP-Posting-Date: Thu, 15 Apr 2004 21:37:31 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (FreeBSD)