Chapter 6. GTP Shell

Table of Contents

Saving the History
Special Keys

The GTP shell is a window that allows to trace the stream of GTP commands and responses, which are sent to and received from the Go program. Also, it allows to enter any command and send it to the Go program.

Commands Altering the Board State

It is not advisable to send GTP commands that alter the board state directly to the Go program, since it will cause the graphical board to be out of sync with the Go program. For standard GTP commands that alter the board state, GoGui will show a warning.

Saving the History

From the menu of the GTP shell window, it is possible to save the GTP commands and responses, or only the commands to a file. Note that the history of the GTP streams will be truncated, depending on the values of gtpshell-history-min and gtpshell-history-max in the configuration file ~/.gogui/config.

Special Keys

Tab
Complete command line as far as possible from the history and from the commands supported by the program.
Down
Pop up window with the command history.
Shift-Up
Scroll up.
Shift-Down
Scroll down.