bugXBoard - Bugs: bug #43323, -scp won't invoke engine with...

 
 

bug #43323: -scp won't invoke engine with options

Submitter:  Dario Niedermann <ndr>
Submitted:  Mon 29 Sep 2014 03:07:45 PM UTC
   
 
Category:  XBoard (GTK version) Severity:  3 - Normal
Item Group:  None Status:  Invalid
Assigned to:  None Open/Closed:  Closed
Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 03 Nov 2014 06:27:20 PM UTC, comment #3: 

Ermm... Scratch that last paragraph. I was trying to get XBoard to start in 'Machine White' mode (since it starts in 'Machine Black' mode when I call it "normally" i.e. with -fcp).

Dario Niedermann <ndr>
Mon 03 Nov 2014 06:21:32 PM UTC, comment #2: 

Well, if -scp is only used in 2-machine mode, that figures. So if I issue:

> xboard -scp 'phalanx -e99'


and then - in XBoard - I choose 'Machine Black', XBoard ignores the secondChessProgram and calls its default firstChessProgram; which in my case is Phalanx, without parameters, as I have this line in my ~/.xboardrc:

-firstChessProgram              /usr/local/games/phalanx

Basically, I was trying to use -scp because I wanted to see if I could start XBoard in 'Machine Black' mode (1st player human, 2nd player engine).

Dario Niedermann <ndr>
Mon 03 Nov 2014 03:15:12 PM UTC, comment #1: 

I don't get this. What exactly are you doing? With "xboard -scp 'phalanx -e99'" XBoard should not start Phalanx at all. The second engine is normally not used, and only started when you select Two Machines mode. So normally you would play against Fairy-Max (the default first and second engine) when you start XBoard this way.

Furthermore, I cannot reproduce it. (In 4.8.0, but that should not matter, as nothing has changed in this area for ages.) When I start

xboard -scp 'echo hallo' -debug -debugfile stderr

(so that I can nicely see what goes on between engine and XBoard in the terminal) I see that the 'engine' does send "hallo" to XBoard. So it has obviously seen its command-line argument.

H.G.Muller

Anonymous
Mon 29 Sep 2014 03:07:45 PM UTC, original submission:  

XBoard's -scp options does not invoke the chess engine along with the specified options. Example comparing the -fcp option:

> xboard -fcp 'phalanx -e99'


Result: the 'phalanx' chess engine is correctly invoked with option '-e99'

> xboard -scp 'phalanx -e99'


Result: the '/usr/local/games/phalanx' chess engine is called without any options (oddly enough, it's also called with its full path, which isn't the case with -fcp).

This on XBoard version 4.7.3 on Linux, built from source.


---ASIDE---

In my opinion, if a single chess engine is called with the -scp option, it should take the black side. But this is unrelated to the bug and more of a feature request.

Dario Niedermann <ndr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apersaud (Updated the item)
  • -email is unavailable- added by ndr (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-05 apersaud StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code