Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2599 - Missing entries for rxvt in /etc/inputrc for the home & end keys (German keylayout only?)
Summary: Missing entries for rxvt in /etc/inputrc for the home & end keys (German keyl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Lowest trivial (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-08 22:25 UTC by Karsten
Modified: 2003-02-16 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
MDK inputrc (inputrcmdk,1.62 KB, text/plain)
2002-06-24 19:37 UTC, Karsten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten 2002-05-08 22:25:59 UTC
The default inputrc of Gentoo 1.1a x86 renders the 'Home' and 'End' keys
unusable in rxvt, this possibly affects only german users, adding the following
to /etc/inputrc restores the original behaviour of the 'Home' and 'End' keys:

$if term=xterm
"\e[7~": beginning-of-line
"\e[8~": end-of-line
$endif
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-21 12:53:52 UTC
william, can you try this one?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-11 08:42:48 UTC
Az, I guess this is a baselayout issue, hey?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-24 18:25:54 UTC
Seems to work without breaking stuff this side .. adding to gentoo-src
CVS.  Should be availible in next baselayout release.
Comment 4 Karsten 2002-06-24 19:36:23 UTC
Note: aterm exports TERM=rxvt per default instead of TERM=xterm, would be nice
to have it added too, as for safety of adding the entries to inputrc, Mandrake
per default adds them to their inputrc. The current inputrc is dated 1997, newer
versions of SuSE ship with a version from 2000, Mandrake's inputrc has last been
touched 2001.
Comment 5 Karsten 2002-06-24 19:37:56 UTC
Created attachment 1762 [details]
MDK inputrc

Mandrake's inputrc
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-25 15:09:05 UTC
Looks like the key is not to have those entries in a "if"

so, this:

$if term=xterm
"\e[7~": beginning-of-line
"\e[8~": end-of-line
$endif

should become:

"\e[7~": beginning-of-line
"\e[8~": end-of-line
Comment 7 Andrew Sayman 2003-02-12 10:50:21 UTC
This should not be resolved fixed. I use the dvorak keyboard layout and the fix for this doesn't fix the non-working home and end keys. The above commenters fix of completely removing the if check works.

Notes:
In xterm the home and end keys work regardless of the keyboard layout.
In rxvt the home and end keys only fail in the dvorak keyboard layout. With the us layout, they work as expected.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 20:21:00 UTC
Done so in CVS.