ncurses: Apply patch from upstream to allow building by gcc 5.0 The gcc 5.0 processor will mangle the headers produced by this script. It has already been fixed in official patches from upstream. Applying the appropriate patch will allow gcc 5.0 to build ncurses, and gcc 4.7 has been verified to continue to work as well.
xterm: Remove ability to restore console after man, less, etc. Having a man page disappear before the read the end (if it indeed appears at all) is pretty annoying. Equally annoying is using the "more" command on a file with few lines only to see nothing. The default behavior of xterm console had few fans. This removes the smcup and rmcup codes from xterm-basic, the basis for the xterm console definitions. Now man pages are left on the screen after viewing, and the pagers work as expected.
ncurses: move USE_GETCAP, update README files The ncurses headers were generated with additional configuration switches documented on README.DRAGONFLY. One outcome is the USE_GETCAP should be in the configuration header rather than in the Makefile, so that was updated. New files were imported to support building the terminfo database, and the path for that will be /usr/share/terminfo. Accordingly, the man page and configuration header have been updated.
Merge branch 'vendor/NCURSES'
ncurses vendor branch: Bring in additional source files In order to support the building of the terminfo database, additional source files from the ncurses 5.9 tarball are needed.
ncurses: Block warning about "older tic versions" The /etc/termcap file should have a space between the last "|" character and the alias per format rules. ncurses can still interpret the alias of the termcap entries correctly, but by default will emit the warning, "older tic versions may treat the description field as an alias" whenver it encounters such an entry (e.g. the common cons25). Rather than update hundreds of entries, just silence the warning. This is what FreeBSD does.
Update ncurses from version 5.7 to 5.9 on vendor branch
vendor/NCURSES: Import v5.7 sources
vendor/NCURSES: Remove version tag.