Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26036 - baselayout-1.8.6.10's inputrc screws up PgUp/PgDown-Keys in bash shell
Summary: baselayout-1.8.6.10's inputrc screws up PgUp/PgDown-Keys in bash shell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-06 05:17 UTC by Stefan Sarzio
Modified: 2003-10-13 15:29 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Sarzio 2003-08-06 05:17:25 UTC
After etc-update'ing inputrc I could no longer "scroll" (for previous commands
that have the same beginning as the current command) in the bash history using
the PgUp/PgDown keys.

I found this comment "fix Home and End for German users" which does not seem to
be directly related, I know (since it's not about Home/End), but I'm a German
user...thus maybe PgUp/PgDown were "fixed" too? Just curious, because I never
had any problem with Home/End either.

Restoring inputrc helped. But unfortunately the changes were to big to tell
which change caused the problem - at least for me, cause I don't have any real
knownledge how that thing works in the first place.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Irwin 2003-08-06 16:00:09 UTC
Confirmed here after updating baselayout today. Compared inputrc between this machine and another (fairly outdated) machine.

baselayout-1.8.6.8-r1 has a vastly different inputrc, related changes are these mappings:

"\e[5~":        history-search-backward
"\e[6~":        history-search-forward

the new baselayout-1.8.6.10 has these mappings for the same keys:

"\e[5~": beginning-of-history
"\e[6~": end-of-history

Temporary fix is to edit inputrc and comment the new mappings, and add in the old mappings for page up and page down. That works here.

There are very many mappings that are cut out of inputrc (although this may have been gradual over several revisions my other machine has missed) which may cause other bugs not yet noticed.

I could make a diff if requested, but is that really neccessary?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-06 16:12:43 UTC
Nope, I'll get to it, thanks.
Comment 3 SpanKY gentoo-dev 2003-08-16 12:19:23 UTC
*** Bug 26725 has been marked as a duplicate of this bug. ***
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 15:29:52 UTC
Fixed in CVS, thanks.