Mucked about with terminfo, going back to ncurses.

I've spent most of today reading about terminfo in general and
curses in particular. I don't dislike curses as much as I did, but
it's certainly doing more than we need. I'm going to work towards
using terminfo's api directly.
Bashed parsing raw terminfo in lieu of using terminfo api.