After emerging baselayout-1.11.4 I experience the bug mentioned here: http://bugs.gentoo.org/show_bug.cgi?id=19543. Another system with baselayout-1.9.4-r6 (latest stable) does not experience these problems. No change were made to the system except upgrading baselayout package. Reproducible: Always Steps to Reproduce: 1. emerge -pv =sys-apps/baselayout-1.11.4 2. SSH to the machine via PuTTY from Windows machine 3. Try some typing and use Home, End or Delete keys. These echo ~ character and do not work as expected. 4. Try logging directly via console. Everything works as expected. Actual Results: Problems with Home, End and Delete keys. Expected Results: Working Home, End and Delete keys when logged in remotely via PuTTY + SSH. Workaround mentioned in Bug 19543 works, but this is a workaround, not a fix.
you neglected to provide `emerge info` also, make sure you're running the latest unstable bash/readline and that all your config files have been updated
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.4 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks maketest sandbox" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow acpi apache2 apm arts avi berkdb bitmap-fonts crypt cups encode f77 fbcon firebird foomaticdb gd gd-external gdbm gif gpm gtk2 im" All config files are updated. Which readline do you mean? dev-python/readline or sys-libs/readline?
Oooops, I somewhat crippled the last line when pasting. :-( USE="3dnow acpi apache2 apm arts avi berkdb bitmap-fonts crypt cups encode f77 fbcon firebird foomaticdb gd gd-external gdbm gif gpm gtk2 imap imlib innodb java jpeg libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png pnp postgres python quicktime readline sasl sdl slang snmp socks5 spell sse ssl svga tcpd truetype unicode x86 xml xml2 xmms xprint xv zlib"
what version of sys-libs/readline do you have ? and what version of app-shells/bash ? the input fixes are known to work if you run all the latest stable versions together, or if you run all the latest unstable versions together ... mixing any of them (even config files) will trigger this bug
sys-libs/readline-4.3-r5 app-shells/bash-2.05b-r9 This is no "experimental" machine, these are the only ~x86 packages installed if it helps (all of them are latest versions) $ cat /etc/portage/package.keywords dev-perl/mod_perl ~x86 net-analyzer/acid ~x86 net-analyzer/snort ~x86 dev-php/jpgraph ~x86 dev-php/phpsysinfo ~x86 sys-fs/udev ~x86 app-antivirus/clamav ~x86 sys-apps/baselayout ~x86 sys-apps/sysvinit ~x86 So should I try unstable readline & bash?
i'll leave that up to you we really cant guarantee a sane system if you go about mixing x86 with ~x86 arbitrarily
Emerging latest unstable bash (3.0-r7) fixed the problem. Reopening the bug because either dependency on >=app-shells/bash-3.0-r7 should be added to the ebuild or /etc/inputrc should include the fix mentioned in Bug 19543. Delete key does not work properly even on local console using cz-lat2 keymap with stable bash (2.05b-r5), as I found later.
done, but in the future, stop screwing around and breaking your system :p