Gentoo Archives: gentoo-user

From: Thomas Dickey <dickey@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] VI
Date: Mon, 26 Dec 2005 17:09:20
Message-Id: 20051226120051.T81577@mail.his.com
In Reply to: Re: (fwd) Re: [gentoo-user] VI by Thomas Dickey
1 > On Mon, 26 Dec 2005 07:40:51 -0500 (EST) Thomas Dickey <dickey@×××.com>
2 > wrote:
3 > | fwiw, the termcap internals of vim and screen are just as ugly as
4 > | vi's - and they're much larger - and I don't see any complaints about
5 > | those programs on this list.
6 >
7 > Yes, but both of those can be told to use pure terminfo rather than
8 > termcap.
9
10 I'm certain we're talking about something different, since neither vim nor
11 screen uses any other interface in that area than termcap.
12
13 I was just in screen yesterday, and am looking at vim right now, just
14 in case some feature has crept in. If it were in fact using terminfo
15 rather than termcap, it would call one of these functions:
16
17 int setupterm(char *term, int fildes, int *errret);
18 int setterm(char *term);
19 char *tparm(char *str, ...);
20 int tputs(const char *str, int affcnt, int (*putc)(int));
21 int tigetflag(char *capname);
22 int tigetnum(char *capname);
23 char *tigetstr(char *capname);
24
25 All three of those programs use the same interface from ncurses - the termcap
26 one.
27
28 > | p.s: the vile ebuild that you mentioned a few weeks ago has an
29 > | obsolete homepage. It helps to keep in contact with the upstream
30 > | developers.
31 >
32 > Yeah, I sent you an email about that, and got a bounce message:
33
34 odd - I know that radixnet filters spam, but haven't seen any comments about
35 bounces. (otoh, it doesn't seem to work to send email to this list from
36 _that_ host, which again, I've not seen before). his.com seems to work...
37
38 > 9.5 is in the tree and should be correct, anyway. Still looking for
39 > someone to maintain it...
40
41 ok - I see this
42
43 http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-editors/vile/vile-9.5.ebuild?rev=1.1&view=markup
44
45 The --with-ncurses is redundant (and --with-screen=ncurses is not as well
46 supported as the default - I made some fixes after 9.5 for the former, so it
47 should be comparable right now).
48
49 You might also consider --with-loadable-filters (that makes a smaller
50 executable).
51
52 --
53 Thomas E. Dickey
54 http://invisible-island.net
55 ftp://invisible-island.net
56 --
57 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] VI Ciaran McCreesh <ciaranm@g.o>