merge #958 and #984

replace unnecessary printw() calls with addstr() or addch()

improve error reporting in PGN parser - resolves #958

try different include order to hopefully avoid problems with curses wanting to define bool

prioritize cursesw over ncursesw on BSD because of color problems

fix that error message about non-colored terminals was printed before ending the curses session

add -lsocket on Solaris

(0) -100 -30 -10 -7 +7 tip

mercurial