Red Hat Bugzilla – Bug 54
Last modified: 2008-05-01 11:37:48 EDT
The libtermcap doesn't properly handle the /etc/termcap file
in RH 5.2. First, it doesn't handle more than one "tc="
attribute at all. Also, it doesn't grok "%p" in the
I will send two patches (one for each of these bugs) after I
file this bug report. With these two bugs fixed, the
"vim-color" package is not needed (because then the termcap
version can do color just fine).
The accompanying patches are supposed to fix the color problem.
Mike I think you are handling termcap testing, can you take care of
these changes? They all look sane to me, including removal of
our new termcap and terminfo work fine with regular vim in color on
both the console and in X under xterms, so vim-color has been removed.
These bugs are still in the libtermcap package in RH 6.0. The same
patches as before still are needed to fix the problems. If I am on a
RH 6.0 Linux console and run vi, I don't get the colors (all I get is
some bold text). The problem is that libtermcap doesn't handle the
"tc=" attribute, which includes another termcap entry. The "linux"
entry has 3 tc attributes, which are not picked up correctly.
Patches applied. Thanks for persisting. The miscommunication appears
to be another confusion between the termcap based minimal /bin/vi
and the terminfo based featureful /usr/bin/vi.