Bug 68416

Summary: /etc/inputrc doesn't match behaviour of xterm
Product: [Retired] Red Hat Public Beta Reporter: Michael Schwendt <bugs.michael>
Component: setupAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: limboCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-10 01:26:19 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:

Description Michael Schwendt 2002-07-10 01:26:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020625

Description of problem:
The escape sequences generated by xterm for the Pos1/Home & End keys don't match
those configured in /etc/inputrc.

$ rpm -q setup
setup-2.5.13-3

$ xterm -v
XFree86 4.2.0(165)

Pos1/Home gives: ^[[7~
End gives: ^[[8~

But /etc/inputrc contains:

"\e[1~": beginning-of-line
"\e[4~": end-of-line

I had to change it to

"\e[7~": beginning-of-line
"\e[8~": end-of-line

in my local ~/.inputrc (as if it was for old rxvt) to work correctly.

Comment 1 Michael Schwendt 2002-07-10 02:00:35 UTC
D'oh! The cause of it were my own overrides via X resources, because xterm and
rxvt never had been consistent with regard to this.