Merge in wide curses code done as a Summer of Code project byRuibiao Qiu.
This file originates from the ncurses distribution, thanks to the ncurses people for letting us use it