I've upgraded to xterm 207 and the scrollbar is severely broken: On opening a new, blank, xterm, the scrollbar is rendered as if the xterm's entire scroll-back buffer was full, and the very top was being displayed. However, despite the fact that the hatched area representing the current displayed area is at the top of the gadget, is isn't possible to scroll downwards. Worse, if a full-screen utility (such as "less", invoked from "dispatch-conf") is active, then the scrollbar jumps on every redraw from completely empty (no hatched area on the widget) to completely full (all hatched). Update: This affects the xterm evern after "less" has quit, and only bash is active. Once this bug is in effect, the scrollbar can still be used for scrolling, but what it displays visually bears no resemblence to the actual state of the xterm. This is xterm built with -Xaw3d and -toolbar. The last known full-working version of xterm is still 200-r3 :( emerge info: Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r4 i686) ================================================================= System uname: 2.6.14-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS=" http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://ftp.heanet.ie/pub/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.osuosl.org http://gentoo.oregonstate.edu " LINGUAS="en_GB" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi adns alsa arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 caps cdr crypt cscope cups curl dbus dga directfb dlloader dts dv dvd dvdread eds emboss encode esd ethereal evo exif expat fam fastcgi fbcon ffmpeg fftw firebird flac flash font-server foomaticdb fortran freetds freetype gb gd gdbm ggi gif glut gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo idn ieee1394 imagemagick imap imlib informix innodb ipv6 jack java javamail javascript jms jmx joystick jpeg jpeg2k junit kde kdeenablefinal kerberos krb4 ladcca lcms ldap libcaca libedit libg++ libgda libwww logrotate lua lzo mad maildir mailwrapper matroska mbox mcal memlimit mhash mikmod milter ming mmap mmx mng mono motif mozilla mp3 mpeg mpi mssql mysql nas ncurses net netboot network nis nls nntp nptl nsplugin oci8 odbc ogg oggvorbis openal openexr opengl oss pam pam_console pcmcia pcre pdflib perl pic plotutils png pnp portaudio postgres ppds prelude python qdbm qt quicktime radius readline real recode ruby samba sasl scanner sdl shorten skey slang slp smartcard sndfile snmp socks5 speex spell sqlite sse sse2 ssl svg svga sysfs tcltk tcpd test theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vidix vorbis win32codecs wmf wxwindows xanim xbase xface xim xine xinerama xml xml2 xmms xosd xprint xscreensaver xv xvid xvmc zeo zlib video_cards_radeon linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
The ebuild has to work around some Xorg breakage, e.g., "configure --disable-imake --disable-narrowproto" (xterm can be configured to make it work).
xterm-208 has the same problem here... any fix for that?
same here... ls /* (for example) makes the scrollbar appear and dissapear, now it's only like a cursor not a "line" from top to bottom.
I have the same scrollbar breakage. I have masked xterm-207 and I'm back to using xterm-204.
I am getting the same problems on amd64. Reverting to xterm-204 fixes it.
The last completely working xterm was actually 200-r3, which has now been removed from portage. The next few after this placed widgets in the wrong place (first on the left-hand scrollbar [if enabled] then in the next version on the right-hand scroll bar) because of what appeared to be an off-by-one error. Debian now uses xterm-208-2, which works perfectly. The Gentoo ~x86 xterm-208 is still broken (the scrollbar bounces betwen empty and full on every other linefeed - try seeing what it does when you do a "ls -lAR /"!) - and this uses the two configure options listed below. What else might be causing this breakage?
Created attachment 79201 [details] my xterm 208 ebuild my ebuild
Created attachment 79202 [details] files/xterm-scrollbar.patch files/xterm-scrollbar.patch
With the 2 files I attached, xterm works again like a charm! In the file it's xterm-209 but I saved it as 208... Maybe you should give it a try!
Oh, forgot that: "my xterm 208 ebuild" should be named "xterm-208.ebuild" in /usr/portage/x11-terms/xterm. "files/xterm-scrollbar.patch" should be named "xterm-scrollbar.patch" in /usr/portage/x11-terms/xterm/files.
sorry for the delays everyone. I really am :( I've just checked in some changes to the xterm ebuild -- can everyone remerge xterm-207 and check please? Thanks!
Tried just now with a new emerge sync followed by emerge xterm. Scrollbar is still broken. amber ~ # emerge --info Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.8-gentoo-r4 x86_64) ================================================================= System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://194.117.158.29/mirrors/gentoo http://194.117.158.27 http://194.117.158.30 ftp://194.117.158.30/mirrors/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/roger/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acl alsa arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt curl eds emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib ipv6 java jpeg kde lcms libwww lzw lzw-tiff mad mikmod mng mozilla mp3 mpeg ncurses nls ogg opengl pam pcre pdflib perl png python qt quicktime readline recode sdl slang speex spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales vorbis wmf xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Confirmed: Tested xterm-207 and xterm-208 (both showing a last-modified date of 10th Feb), and both are still broken :(
(In reply to comment #10): I had the same problem with xterm-207. Just to report some success, I tried Martin's patched xterm-208.ebuild in my portage overlay and the scrollbar appears to work as expected. My USE flags are "+Xaw3d -doc -toolbar +truetype -unicode". Thanks to everyone who's looked at this.
Reassigning bug to myself.
Fixed in xterm-211.ebuild.
Tried the xterm-211 ebuild, still has the scrollbar problem...
try now.
No, still does not work. Your change regarding sed didn't help. BTW: I have Xorg 6.8.2-r6. Sorry, I currently don't have time to look deeper. Closing time ;)
No, not that one; s/--disable-narrowproto/--enable-narrowproto/.
Ah, sorry! Rsync mirror was too slow... Yep, last version of 211 works fine here. Thanks.
xterm-204 has disappeared from portage. all non-masked xterms have the broken scrollbar now.
(In reply to comment #22) > xterm-204 has disappeared from portage. all non-masked xterms have the broken > scrollbar now. Confirmed. Because of this emerge world fails due to missing xterm if ">x11-terms/xterm-204" is in my /etc/portage/package.mask. Surely someone tests this on amd64? (not ~amd64) This is a severe regression: there are no unmasked xterms that work. If I knew how, I'd mark this bug status as "reopened".