From 2.0.48_pre6 onwards piping or redirection of output produces strange characters or error messages even when the spinner is disabled. $ emerge '.*' -s | less (after pressing 'q' gives: ) Traceback (most recent call last): File "/usr/bin/emerge", line 1747, in ? searchinstance.output() File "/usr/bin/emerge", line 447, in output print " ", darkgreen("Size of downloaded files:"),mysum[0] IOError: [Errno 32] Broken pipe $ emerge lsof | tee /tmp/emerge.log ^[]1;^G^[]2; >>> unmerge success: sys-apps/lsof-4.64^G >>> Regenerating /etc/ld. so.cache... ^[]1;^G^[]2; ::: completed emerge (1 of 1) sys-apps/lsof-4.67 to /^G ^[]1;^G^[]2 ; *** Finished. Cleaning up...^G >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. ^[]1;^G^[]2; *** exiting successfully.^G * GNU info directory index is up-to-da te. ^[]1;^G^[]2; *** terminating.^G ^[]1;^G^[]2;Eterm^G I'm not sure if this is a problem but it seems only to have occurred with pre6. $ emerge info Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.11/sites/www.ibiblio.org/gentoo/ rsync://ftp.belnet.be/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow avi cups encode gif jpeg mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa slang readline aalib svga java X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl mozilla cdr acpi acpi4linux dvd fbcon imap maildir moznocompose moznoirc moznomail moznoxft mozsvg sse tiff usb xml -oss -apm -crypt -libg++ -mikmod -nls -spell -gtkhtml -gdbm -berkdb -arts -tetex -bonobo -tcltk -guile -gpm -esd -gnome -qt -kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j6" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox distcc ccache" Also, emerge info now has two spaces on the first line of information as can be seen above. This is a trivial one but it would be nice not to have the spaces.
Reason - No longer a problem with new portage (.49).