When pinfo is emerged with USE=+readline set, after user invokes search (either with / or s key), prompt is displayed, but typed text is invisible, and bottom status line ends up being garbled. Little research reveals that pinfo uses readline function to read search string from user, which doesn't really play well with ncurses. Without readline in USE flags, it uses its own implementation of search, which works fine for me (except small troubles with backspace in Konsole). All major distributions I was able to check (Fedora, Mandrake) seem to contain pinfo which is not linked against readline, so I'd suggest considering if it's not better to disregard +readline flag in this case, since readline functionality doesn't seem to be well tested. Another possibility is using little patch, which envelopes call to readline() with endwin and refresh, to temporary leave curses. This works, but looks somehow wierd. Reproducible: Always Steps to Reproduce: 1. USE=+readline emerge pinfo 2. pinfo 3. press s and try writing search term Actual Results: Search term is not visible Expected Results: Search term should normally display Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Celeron(TM) CPU 1100MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -mcpu=pentium3 -ftracer -fprefetch-loop-arrays -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -mcpu=pentium3 -ftracer -fprefetch-loop-arrays -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode flac foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwwwmad mikmod mmx mmx2 motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype vim-with-x x86 xml2 xmms xprint xv zlib"
Created attachment 40713 [details, diff] Patch that leaves curses before search term is entered. Patch against current pinfo-0.6.8 version of pinfo. It leaves curses before calling readline and restores them back again after it. However, being dumped on text screen doesn't seem to be user friendly very much.
Re-assign.
Foo!
Fixed in new app-text/pinfo-0.6.9 release. Thank you for reporting this!