Chapter 6. GTP Shell
Prev |  | Next

## Chapter 6. GTP Shell

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

### Commands Altering the Board State

GoGui supports to send GTP commands directly from a file or entered in the GTP shell. However, this is only allowed for commands that don't change the board state, for instance for sending configuration commands from a file or for querying the state with commands that are not configured as analyze commands yet.

If text is selected in the text area of the shell (e.g. text written by the program to standard error), it will automatically parsed for valid points, which will be marked on the board while the text is selected.

Text lines that are written by the program to standard error and start with the string "WARNING:", "Warning:", or "warning:" will be displayed with an orange color.

## Saving the History

From the Tools menu, it is possible to save the GTP commands and responses, or only the commands to a file. The history of the GTP streams will be truncated if it becomes too long.

## 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.

Prev |  | Next
Chapter 5. Game Tree Window | Home | Chapter 7. Analyze Commands