Bug 54 - termcap problems
termcap problems
Product: Red Hat Linux
Classification: Retired
Component: libtermcap (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike Maher
Depends On:
  Show dependency treegraph
Reported: 1998-11-12 12:14 EST by cadams
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-05-15 14:51:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description cadams 1998-11-12 12:14:38 EST
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 12:06:59 EST
The accompanying patches are supposed to fix the color problem.
Comment 2 Preston Brown 1999-03-18 09:44:59 EST
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 17:19:59 EST
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 14:48:59 EDT
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 14:51:59 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.