Gentoo Archives: gentoo-user

From: Thomas Dickey <dickey@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] recompiling vim linked to libncursesw
Date: Wed, 27 Jul 2005 12:32:26
Message-Id: 20050727122711.GA20866@saltmine.radix.net
In Reply to: Re: [gentoo-user] recompiling vim linked to libncursesw by Fernando Canizo
1 On Wed, Jul 27, 2005 at 08:11:05AM -0300, Fernando Canizo wrote:
2 > But vim is linked against libncurses, doesn't make it a 'curses
3 > application' ?
4
5 no. A curses application calls initscr() or newterm(), uses the curses
6 library to perform optimized display updates. A termcap application
7 calls tgetent(), and uses tputs() or tgoto() to write strings directly
8 to the display.
9
10 Since vim is a termcap application, you could in principle link it with
11 libtermcap without seeing any difference in vim's functionality.
12
13 There are some applications that can be configured (compiled) for any of
14 these interfaces:
15
16 termcap
17 terminfo
18 curses (ncurses)
19 ncursesw
20
21 tin and vile do this, for example.
22
23 --
24 Thomas E. Dickey
25 http://invisible-island.net
26 ftp://invisible-island.net

Replies

Subject Author
Re: [gentoo-user] recompiling vim linked to libncursesw Fernando Canizo <conan@××××××××××.ar>