Bug 55146 - [PATCH] The termcap entry for screen is old
Summary: [PATCH] The termcap entry for screen is old
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 5.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey A. Chernov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-01 14:50 UTC by Juha-Matti Tilli
Modified: 2004-03-20 09:59 UTC (History)
0 users

See Also:


Attachments
file.diff (1.35 KB, patch)
2003-08-01 14:50 UTC, Juha-Matti Tilli
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juha-Matti Tilli 2003-08-01 14:50:18 UTC
The termcap entry for screen is old and does not have end key.

Fix: Use the termcap entry that comes with screen.

Here is a patch for version 1.132 of termcap.src:
How-To-Repeat: 
% screen
% ssh localhost
% less somefile

The end key does not work in less and vim.

Screen sets the correct termcap entry in TERMCAP environment variable. But when
you connect to some machine with ssh, TERMCAP is not preserved and the old
entry in /usr/share/misc/termcap is used instead.
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2003-08-05 08:04:06 UTC
Responsible Changed
From-To: freebsd-bugs->ache

Over to our de-facto termcap maintainer. 
The patch in the PR looks good to me, and it does indeed fix 
the *very* annoying problem with the End key in vi-lookalikes.
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2003-08-05 09:06:54 UTC
State Changed
From-To: open->patched

Committed into -current
Comment 3 Jens Schweikhardt freebsd_committer freebsd_triage 2004-03-20 09:58:38 UTC
State Changed
From-To: patched->closed

Committed to RELENG_4 with latest catch-up to CURRENT. Thanks!