Notice that this patch removes support for using ncurses to provide
color capabilities (for colored debug displays) and leaves that to using
ANSI color escape codes. It would be nice to get rid of a dependency
but I'm afraid the use of ncurses was introduced for a reason. Can
anybody remember why ncurses was needed, or did it just precede the
introduction of ANSI color escape codes?
I don't see any other code that currently relies on ncurses. But since
you were hesitant to remove the dependancy, I broke down and finally
learned how ncurses and terminfo works. So, there is better patch at
http://trac.gnugo.org/gnugo/attachment/ticket/152/fix-terminfo.patch