[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] how to use GTP in place of GMP




Hi Nick,

Maybe instead of talking about it,  we should cooperate and try to set
up such a connection?

If I set up the "server"  on my box (probably the twogtp.pl program in
the gnugo distribution with the right  magic) all we need is a windows
go program  that has GTP with  stdin/stdout.  We might  need some help
from a  windows guru  or at least  one of  us to explore  the avaiable
windows utilites that might support this.

Is anyone interested?

I'm out of time today, but I'll  get the Unix end working and get back
to you.  This  should only take me a  few minutes tomorrow.  Hopefully
someone will figure out the windows  end of things so I won't have to,
or will at least help me. 

I'll open my machine for rsh for this test if it will make it a little
easier or we can use ssh.

It may be that this has already been done and solved.

rsh is basically telnet, it's possible that "telnet" on windows is all
you need, but I am far from a windows expert.


- Don



   Date: Wed, 11 Aug 2004 22:11:26 +0100
   From: Nick Wedd <nick@xxxxxxxxxxxxxxxxx>
   Content-Type: text/plain;charset=us-ascii;format=flowed
   User-Agent: Turnpike/6.02-M (<IH17mcgxAnvOd8HDYCVHLMeIhr>)

   In message <200408112011.i7BKBQm02915@xxxxxxxxxxxxxxxxx>, Don Dailey 
   <drd@xxxxxxxxxxxxxxxxx> writes
   >
   >> Don wrote
   >> "You also need software (GMP needs software too,  but it's linked into
   >> the program.)  The software can  be linked into the programs just like
   >> GMP if it makes you happy.  Or it can be a separate program running in
   >> the  background on one  of the  computers.  It  will take  very little
   >> resources.  If this  bothers you or you think it  unfair, keep in mind
   >> that your  computer probably  has dozens of  processes running  in the
   >> background, most of them also taking close to zero resources."
   >
   >>      It is not the resources consumed by this process that bothers me.
   >> It is the thought that I may be expected to provide it, or even merely
   >> to specify it.  If a contestant tells me "all you should have done was
   >> write a script that slurps bytes from port 12345 and channels them to
   >> your referee's default transport", then no-one is going to be happy.
   >
   >Yes,  I agree.   I would  also be  very happy  just to  say,  GTP over
   >stdin/stdout.   Then it's very simple to run the tournament.

   This does not seem simple to me.  I have several questions.  I am not 
   posing these as criticisms, but because I want to know the answers.

   If I launch what used to be known as a "Dos box" under Windows, it 
   supports pipes, stdin, and stdout.  When I run a dos-style program I 
   know how to use these.  But if I am dealing with a "Windows program", 
   like say Microsoft Word, or Many Faces of Go version 11, I don't think I 
   can use stdin and stdout, at least I have no idea how.

   If I require someone to implement GTP in their program, does this imply 
   that I am also
      requiring it to be launchable from a "Dos box" command line?
      requiring it to listen to stdin and talk to stdout?

   How will I connect its stdout to another program's stdin?  Are you 
   assuming a serial cable, as for GMP?  If you are I can understand, I 
   pipe its stdout to LPT1:.  But if you are assuming a LAN, I am not aware 
   of any way of piping stdout down the LAN to a specified address.

   Nick
   -- 
   Nick Wedd    nick@xxxxxxxxxxxxxxxxx

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