🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #359

GNU Chess Startup Commands

#359
From: Matthew Hull
Date: Fri, 04 Nov 2005 13:14
14 lines
1781 bytes
Is there a way to execute commands after program startup?  For instance, the 
following invocation does not work because GNU Chess cannot detect 
end-of-file, so it executes the last command endlessly:

    gnuchess < cmds.txt

The file "cmds.txt" contains:

    depth 10
    book best

The only time a command script actually works is when the last command is 
"exit", which of course terminates the program.  If you want the program to 
remain engaged, you're out of luck, it would seem. 
Technical Details
Message-ID: <Bv-dnasDdtYFw_beRVn-gA@comcast.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d71d,cfd3c0d533a98958,start
X-Google-Attributes: gid10d71d,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 04 Nov 2005 07:14:00 -0600
From: "Matthew Hull" <mndhull1@comcast.net>
Newsgroups: gnu.chess
Subject: GNU Chess Startup Commands
Date: Fri, 4 Nov 2005 07:14:03 -0600
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
Message-ID: <Bv-dnasDdtYFw_beRVn-gA@comcast.com>
Lines: 16
NNTP-Posting-Host: 67.187.100.11
X-Trace: sv3-y9IfNaYuYlbtzuBQL3ce0/qWIla9UC5UZ9w68lpbFh6q66P0kI00KIZluVLLdKy4BEuAdpDp+tKpHX/!t2RCP0LRV37xSdW4RnUhHYu+yPHpARmDLki8gNT0QWgzZsEAy3uUn7//4BpMHkfCC/r1XZydSoRa
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32