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

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



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/