Bug 28617 - inputrc $if term=xxx breaks keys in xterm + fix
Summary: inputrc $if term=xxx breaks keys in xterm + fix
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-02-21 15:59 UTC by Hans de Goede
Modified: 2014-03-17 02:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-21 16:02:48 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch fixing the described problems (634 bytes, patch)
2001-02-21 16:01 UTC, Hans de Goede
no flags Details | Diff

Description Hans de Goede 2001-02-21 15:59:43 UTC
Hi there,

Between beta2 and RC1 someone has added $if term=xxx to inputrc, althugh
the idea is nice the reuslt isn't, this breaks the home/end/del keys in

RedHat has decided to follow the debian keyboard guidelines, thus using the
same esc-sequences for these keys as on the console, the keys commented as
for xterm are thus not for redhat's xterm, and the keys commented as for
the console are thus not only for the console but also for redhats xterm.

So setting if term=linux around the console settings breaks home/end/del on
xterm with redhat, the xterm settings in the file are for xterms as shipped
with distro's not adhering too the debian keyboard guidelines.

I've attached a diff fixing this and adding comments making clear that the
console settings are also for RedHats xterm.

Comment 1 Hans de Goede 2001-02-21 16:01:39 UTC
Created attachment 10622 [details]
patch fixing the described problems

Comment 2 Bill Nottingham 2001-02-21 16:56:02 UTC
Fixed in 2.4.1-1; thanks for the patch!

Comment 3 Bill Nottingham 2001-02-21 16:58:55 UTC
Make that 2.4.2-1.

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