Compatibilty

GoGui will work with all programs that can understand the most basic commands of version 1 or 2 of the Go Text Protocol.

Required commands

It is required that the Go program can handle the following commands:

The commands in braces are used if the program supports the protocol_version command and responds with 2.

In particular the Go program is not required to support the loadsgf command. GoGui translates all moves, setup and handicap stones into a series of black, white (play) commands.

Optional commands

The following other commands are used by GoGui.

If the Go program does not understand them you will still be able to play games, but you cannot use all of the functionality of GoGui.

The command scoring_system (from an early draft of GTP version 2 ) is used for setting Japanese or Chinese rules, if the program supports it. Otherwise the rule settings are quietly ignored.

Interrupting programs

If the program understands the GoGui specific extension GTP command gogui_sigint, it indicates that long commands can be interrupted by sending it a SIGINT signal. The program must return its process id as an answer to gogui_sigint and GoGui will try to send interrupt signals by using kill -INT <pid>. Note that this feature works only on operating systems that have a kill command.