Bug 205939 - sys-apps/baselayout-1.12.11 changed default pgup/pgdn bindings in inputrc
|
Bug#:
205939
|
Product: Gentoo Linux
|
Version: 2007.0
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: me@0xn0.de
|
|
Component: baselayout
|
|
|
URL:
|
|
Summary: sys-apps/baselayout-1.12.11 changed default pgup/pgdn bindings in inputrc
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-01-15 11:51 0000
|
i'm not entirely sure this is my fault and if dispatch-conf showed this to me:
i use pageup/down for history navigation in the bash, after updating my system
suddenly pageup jumps to the first entry in the history.
after some reading i found out the responsible configfile is /etc/inputrc
the updated system contains
"\e[5~": beginning-of-history
"\e[6~": end-of-history
the other systems contain
#"\e[5~": beginning-of-history
#"\e[6~": end-of-history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
the fix is obvious: copy the old entries to the current inputrc
i dont know how to reproduce this, i did a 200+package update and 70+ config
update.
maybe the defaults changed?
Portage 2.1.4 (default-linux/amd64/2006.0, gcc-4.2.2, glibc-2.7-r1,
2.6.23-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Mon, 14 Jan 2008 11:16:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 berkdb bitmap-fonts bzlib cli cracklib crypt cups dri eds emboss
encode foomaticdb fortran gpm gstreamer iconv imlib ipv6 isdnlog jabber kde
ldap lzw lzw-tiff midi mp3 mpeg mudflap mysql ncurses nls nptl nptlonly opengl
openmp pam pcre pdf perl pppd python qt3 qt4 quicktime readline reflection
samba session slang spell spl ssl tcpd threads tiff truetype truetype-fonts
type1-fonts usb xorg xpm xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias auth_digest"
APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="dummy"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
inputrc is a configuration file ... what baselayout installs is merely the
default. so if you accepted the changes, then that means you were ok with
them.
that said, i dont really care what the default bindings are, so if people
prefer history-search-{backward,forward} over {beginning,end}-of-history, it
doesnt really matter to me
http://bugs.gentoo.org/show_bug.cgi?id=26036
seems that someone already had that problem
changelog does not state why this was changed
sys-apps/baselayout-1.12.11
contains the 'invalid' inputrc
imo this is a very important keybinding for a console oriented distro - i hate
to use eg ubuntu xterm for that reason too
anyway, who provides /etc/inputrc? -> lsb? maybe its worth to lobby there
no one provides inputrc. it is a file for readline to parse. there is no
standard for default settings, just whatever the distribution feels like
providing. the only people to convince to get it adjusted in Gentoo is the
maintainers of baselayout. and i dont care one way or the other. i was just
grabbing comments and such from other distributions (Debian/Fedora), i wasnt
actively changing the behavior.
ive added back the previous bindings for 1.12.11.1