1 |
> The termcap method is provided by libtermcap-compat. Most applications |
2 |
> which use this method only do so as an option for systems where terminfo |
3 |
> is not available -- for example, for Vim, terminfo vs termcap is a |
4 |
> compile-time option. The termcap database is limited, generally out of |
5 |
> date and mostly unmaintained. It will likely not remain in the tree for |
6 |
> much longer (bug #103105). |
7 |
|
8 |
Take a look at ncurses. ncurses even comes with a termcap.h in |
9 |
/usr/include. I think ncurses is source-compatible with termcap and |
10 |
offers the features needed to acces different terminal types. |