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

Re: [computer-go] GTP and KGS



On Wednesday, July 14, 2004, at 11:43  AM, Richard Brown wrote:

Peter Drake wrote:

Any clues as to what the problem is? GoGui is happy with this response to the name command.
Are you using System.out.print() or something else?  I ask because
System.out.println.

System.out.print() _flushes_ its output, whereas something else might not.
I don't think the problem is that kgsGtp isn't getting the response -- it just thinks its "malformed" in some sense.

If you put the following code into a file called "foo.java", does it compile?
Yes.

If it does compile, what happens when you run it?
As expected, I get:

= Orego



public class foo {
private static char LF;

public foo() {
 LF=10;
 System.out.print("= Orego" + LF + LF );
}

public static void main(String[] args) {
 new foo();
}

}

--
Richard L. Brown             Office of Information Services
Senior Unix Sysadmin         University of Wisconsin System
                            780 Regent St., Rm. 246
rbrown@xxxxxxxxxxxxxxxxx              Madison, WI  53715

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

Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/

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