On Wed, Jul 27, 2005 at 08:11:05AM -0300, Fernando Canizo wrote:
> But vim is linked against libncurses, doesn't make it a 'curses
> application' ?

no.  A curses application calls initscr() or newterm(), uses the curses
library to perform optimized display updates.  A termcap application
calls tgetent(), and uses tputs() or tgoto() to write strings directly
to the display.

Since vim is a termcap application, you could in principle link it with
libtermcap without seeing any difference in vim's functionality.

There are some applications that can be configured (compiled) for any of
these interfaces:

        termcap
        terminfo
        curses (ncurses)
        ncursesw

tin and vile do this, for example.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpN9nQMVZTS9.pgp
Description: PGP signature

Reply via email to