trapping cout for ncurses
contour file has been created