Revert "terminfo: add terminfo database"
This reverts commit 2a50a9de8340f08bd876e9e5993332ae14376f80.