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

 
 

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

Submitted by:  Dario Niedermann <ndr>
Submitted on:  Mon 29 Sep 2014 03:07:45 PM UTC  
 
Category: XBoard (GTK version)Severity: 3 - Normal
Item Group: NoneStatus: Invalid
Assigned to: NoneOpen/Closed: Closed
Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Nov 2014 06:00:21 AM UTCapersaudStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1