Bug 54

Summary: termcap problems
Product: [Retired] Red Hat Linux Reporter: cadams
Component: libtermcapAssignee: Mike Maher <mike>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: pbrown
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-15 18:51:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description cadams 1998-11-12 17:14:38 UTC
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
attribute strings.

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).

Comment 1 Derek Tattersall 1998-11-19 17:06:59 UTC
The accompanying patches are supposed to fix the color problem.

Comment 2 Preston Brown 1999-03-18 14:44:59 UTC
Mike I think you are handling termcap testing, can you take care of
these changes?  They all look sane to me, including removal of

Comment 3 Preston Brown 1999-03-25 22:19:59 UTC
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.

Comment 4 cadams 1999-05-14 18:48:59 UTC
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.

Comment 5 Jeff Johnson 1999-05-15 18:51:59 UTC
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.