Changes to make libcurses SUS v2 compatible.
New files for SUS v2 curses:
  Move macros from curses.h
  Add prototype for wchar_t
Definition of attr_t now taken from libcurses.
Correctly handle characters with 8th bit set in __winwrite().
Add a DEBUG entry.
Remove bsd_touchwin().
Update for SUS v2 curses - printw takes `char *format' not `const char *format'
Sync with -current (v 1.14)
Make this compile.
Strip attributes from buf.ch.
Print attributes in hex when debugging.
Add !delay check.
Use fpurge() in flushinp().
Add acs.c, border.c and insdelln.c.
Add alternate character set support.
Add scrl(), wscrl() and insdelln().
Removed suspendwin - what was it?
Add alternate character set support.
Alternate character set initialisation routine.
wborder() implementation - draw border around window, c.f. box().
Now uses wborder().
Add wscrl().
winsdelln() implementation - insert or delete lines.
Now uses insdelln().