[ncurses] provide a terminfo definition
For compatibility reasons, vte uses TERM=xterm-256color
as its terminfo. As it's originally an xterm terminfo, it's however not 100% compatible with vte.
Vte should install a variant of it into a private directory and point TERMINFO_DIRS
to it in the env block when spawning the child process. That way, at least local processes get the correct terminfo.
Also consider implementing XTGETTCAP
, if there are enough applications making use of that to make it worthwhile.