Solved! Re: [computer-go] Re: Binary release of MoGo

2007-09-10 Thread Hideki Kato
It's just setting of Gogui.  When I turned off the auto-number 
feature, mogo worked fine.
# Settings - Configure Shell - Auto number

Cheers,
Hideki

Sylvain Gelly: [EMAIL PROTECTED]:
 I guess the search path you've coded is something wrong or different
 depends on the distributions.
The search path is simply .

 I'd like to suggest to use some
 environment variable dedicated to mogo.
I think the recent version of gogui let you define the working
directory. Also, as Guillaume, said, you can simply copy the files
into gogui/bin, or not play with database :p.


 I think it's not so strange.  It's just depending on the distribution
 or dynamic libraries mogo uses, I guess.
It should not depend!! I simply use fprintf, which is standard!

 Are you flushing stdout and stderr explicitly with or without lock?  If so, 
 when and from
 what thread?
The communication is not multithreaded, and everything is flushed.
The strangest thing is that it works almost everywhere but not on your
machine. That is really confusing :(.

Best,
Sylvain
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/
--
[EMAIL PROTECTED] (Kato)
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: Solved! Re: [computer-go] Re: Binary release of MoGo

2007-09-10 Thread Sylvain Gelly
Ah, now that makes sense, the additional number you posted on your
email was actually sent to MoGo, and I understand now why it did not
work.

Thank you for having solving it, and let us know :)

Sylvain

2007/9/10, Hideki Kato [EMAIL PROTECTED]:
 It's just setting of Gogui.  When I turned off the auto-number
 feature, mogo worked fine.
 # Settings - Configure Shell - Auto number

 Cheers,
 Hideki

 Sylvain Gelly: [EMAIL PROTECTED]:
  I guess the search path you've coded is something wrong or different
  depends on the distributions.
 The search path is simply .
 
  I'd like to suggest to use some
  environment variable dedicated to mogo.
 I think the recent version of gogui let you define the working
 directory. Also, as Guillaume, said, you can simply copy the files
 into gogui/bin, or not play with database :p.
 
 
  I think it's not so strange.  It's just depending on the distribution
  or dynamic libraries mogo uses, I guess.
 It should not depend!! I simply use fprintf, which is standard!
 
  Are you flushing stdout and stderr explicitly with or without lock?  If 
  so, when and from
  what thread?
 The communication is not multithreaded, and everything is flushed.
 The strangest thing is that it works almost everywhere but not on your
 machine. That is really confusing :(.
 
 Best,
 Sylvain
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/
 --
 [EMAIL PROTECTED] (Kato)
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: Solved! Re: [computer-go] Re: Binary release of MoGo

2007-09-10 Thread Markus Enzenberger
On Monday 10 September 2007, Sylvain Gelly wrote:
 Ah, now that makes sense, the additional number you posted on your
 email was actually sent to MoGo, and I understand now why it did not
 work.

auto-numbering in GoGui prepends all commands with an integer ID,
which is sent to the program and should be used by the program in
its response, see the GTP specification.

and yes, GoGui 1.0 allows you to specify a working directory to
run the program in.

- Markus
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: Solved! Re: [computer-go] Re: Binary release of MoGo

2007-09-10 Thread Sylvain Gelly
 auto-numbering in GoGui prepends all commands with an integer ID,
 which is sent to the program and should be used by the program in
 its response, see the GTP specification.

Ok, I did not know that, thanks. So that part of GTP is simply not
supported in MoGo :).

Cheers,
Sylvain
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/