Bug 126855
Summary: | backspace does not work in less | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stuart Children <stuart> |
Component: | xterm | Assignee: | Mike A. Harris <mharris> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | dickey, leonard-rh-bugzilla |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-03-08 22:15:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 136451 |
Description
Stuart Children
2004-06-28 13:51:43 UTC
There are several possible ways to fix this; the one listed is one of the ones I wouldn't recommend. (Since xterm's users are evenly split on what "backspace" should send, it's up to the packager to make it consistent). I am also seeing this when using man in an xterm (192-1). By the way, is this an xterm, a less or a termcap issue? As far is I understand correctly, from amongst others, this thread: https://www.redhat.com/archives/fedora-devel-list/2004-December/msg00503.html Fedora follows the debian backspace configuration. As far as I can tell, since Fedora Core 3, some errors have been introduced with respect to this. I see two bugs: 1) xterm sends ^H instead of ^? by default, konsole and gnome-terminal are correct. 2) termcap/info for xterm is incorrect, "tput kbs | cat -v ;echo" gives ^H instead of ^?. Note that these two seem to be compatible, but for some reason, the terminfo is not automatically used in the stty setting of the terminal (used to be done in bashrc, not since FC2?). According to Enrico Scholz: "I think the current misbehavior of xterm is caused by | * Fr Jun 18 2004 Mike A. Harris <mharris redhat com> 191-1 | - Disabled xterm-resources-redhat.patch to see what if anything breaks" "Using | XTerm.ttyModes: erase ^? | XTerm*metaSendsEscape: true fixes most of the issues." https://www.redhat.com/archives/fedora-devel-list/2004-December/msg00497.html The cited thread says Fedora is following Debian's guidelines. However, Debian patches the XTerm app-defaults file, e.g., it adds these lines (as well as modifying the terminfo file): ! Debian package customizations follow. *backarrowKeyIsErase: true *ptyInitialErase: true Moral: you can't follow the Debian guidelines without patches. The xterm-resources patch was updated in the latest xterm build for rawhide. |