take a snapshot of a cgoban board
This shell script looks for a cgoban window, grabs the displayed Go
board and saves it as a GIF file. It can use imagemagick or pbmplus
to convert the image to GIF. If it can't find either, it will save it
as an XWD image instead. In that case it will add the extension
to the filename supplied.