| Summary: | libtermcap-compat-2.0.8 breaks vi-3.7-r4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew Minter <agm> |
| Component: | Current packages | Assignee: | Vim Maintainers <vim> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | ebuild for new vi which fixed the bug | ||
Created attachment 24055 [details]
ebuild for new vi which fixed the bug
Please install in portage!
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). 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. 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. libtermcap-compat was installed, just the symlink ..so.2 was not there initially. emerge libtermcap-compat fixed it. |
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!