The patch introduced by bug 43432 breaks scrolling in irssi. Scrolling works perfectly with ncurses-5.4 and earlier, but is broken in 5.4-r1.
Steps to Reproduce:
1. emerge =ncurses-5.4-r1 ; irssi
2. note scrolling is broken
3. emerge =ncurses-5.4 ; irssi
4. note that it's working again
When PageUp/PageDown are pressed, only half the screen scrolls; new messages
just overwrite the last line and do not redraw the whole screen; etc.
NB: I'm using konsole.
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9,
System uname: 2.4.22-physmem-patch3-5um i686 UML
Gentoo Base System version 188.8.131.52
CFLAGS="-march=pentium3 -O3 -pipe"
CONFIG_PROTECT="/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="-O2 -mcpu=i686 -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="apache2 berkdb crypt cups encode fam foomaticdb gd gdbm gif gpm imap imlib
ipv6 java jpeg libg++ libwww maildir mpeg mysql ncurses nls oggvorbis pam
passfile pdflib perl php png python quicktime readline ruby sdl slang spell ssl
tcpd truetype x86 xml2 zlib"
Can I suggest that ncurses-5.4 and ncurses-5.4-r1 should be put in ~x86 rather than x86 until this is resolved?
Having looked further into this, it seems this problem only occurs on one of the three machines I've tested. That machine runs stable (ACCEPT_KEYWORDS=x86) whereas the other two are ~x86 - perhaps this is an issue with another related library in ~x86?
Someone asked about this on bug-ncurses at the beginning of April.
I pointed out that the issue was probably attempting to use
$TERM set to xterm-xfree86 for gnome-terminal (the interesting
difference was that the former supports the indn and rin strings
used for indexing aka scrolling, while the latter does not).
Some updates on this one:
still a problem with 5.4-r5 ?
re-open if latest ncurses still doesnt work