Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38661 - libtermcap-compat-2.0.8 breaks vi-3.7-r4
Summary: libtermcap-compat-2.0.8 breaks vi-3.7-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 16:09 UTC by Andrew Minter
Modified: 2004-07-17 11:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for new vi which fixed the bug (vi-3.7-r5.ebuild,1.77 KB, text/plain)
2004-01-18 16:14 UTC, Andrew Minter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Minter 2004-01-18 16:09:57 UTC
The version of libterm used by vi only recognises a "tc=" entry at the *end* of a termcap definition, otherwise it ignores it.

In the new /etc/termcap (from libtermcap-compat-2.0.8) we have:

v0|xterm|X11 terminal emulator:\
       :tc=xterm-redhat:\
       :kh=\EOH:ho=\E[1~:@7=\EOF:kH=\E[4~:

which cause all the stuff in xterm-redhat to be ignored.

As a consequence, vi will not run (crashes on startup.)

Reproducible: Always
Steps to Reproduce:
1. Install libtermcap-compat-2.0.8
2. Run vi


Actual Results:  
Vi dies!
Comment 1 Andrew Minter 2004-01-18 16:14:25 UTC
Created attachment 24055 [details]
ebuild for new vi which fixed the bug

Please install in portage!
Comment 2 Andrew Minter 2004-01-18 16:16:24 UTC
Ebuild for fixed version of vi from maintainer attached. I've tested this carefully.

From: Gunnar.Ritter@pluto.uni-freiburg.de

I've fixed this now and made a new release available for your
convenience (fixing this was really necessary, since a lot of
ESR's termcap entries did not work in fact since they contain
multiple tc= capabilities - but nobody noticed that so far).
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-03-19 09:58:31 UTC
This bug has been fixed for a while now in vi-3.7-r5, I believe.  Please re-open if that is not the case.
Comment 4 Olaf Hering 2004-07-17 11:30:01 UTC
vim-6.3 breaks as well due to missing libtermcap-compat
I just did a 'emerge system' and 'emerge vim' in a stage3-ppc, sizeof_int was 0, build failed.
Comment 5 Olaf Hering 2004-07-17 11:44:07 UTC
libtermcap-compat was installed, just the symlink ..so.2 was not there initially. emerge libtermcap-compat fixed it.