On 02/17/2012 03:05 PM, Christian Neukirchen wrote:
Martin Kopta<[email protected]>  writes:

I can't really use ':version' since vim output is horribly
broken. Have this output instead.

# vi --version | grep -E terminfo\|termcap
-tag_binary -tag_old_static -tag_any_white -tcl +terminfo -termresponse
Linking: gcc   -L/usr/local/lib -o vim       -lselinux -ltermcap -lacl

# rpm -qf $(which vi)
vim-minimal-7.0.109-7.el5

Shot in the dark: vim-minimal is built with "builtin-terms" and
-ltermcap only, so it doesn't look up terminfo at all.

(vim --version should show -lncurses, so that will use terminfo.)

Indeed!

# vim --version | grep -c curses
1
# vi --version | grep -c curses
0

So there is that.

Reply via email to