Bug 28617 - inputrc $if term=xxx breaks keys in xterm + fix
inputrc $if term=xxx breaks keys in xterm + fix
Product: Red Hat Linux
Classification: Retired
Component: setup (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-02-21 10:59 EST by Hans de Goede
Modified: 2014-03-16 22:19 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-21 11:02:48 EST
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 11:01 EST, Hans de Goede
no flags Details | Diff

  None (edit)
Description Hans de Goede 2001-02-21 10:59:43 EST
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 11:01:39 EST
Created attachment 10622 [details]
patch fixing the described problems
Comment 2 Bill Nottingham 2001-02-21 11:56:02 EST
Fixed in 2.4.1-1; thanks for the patch!
Comment 3 Bill Nottingham 2001-02-21 11:58:55 EST
Make that 2.4.2-1.

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