added ncurses programming howto to docs