On Fri, Mar 17, 2006 at 08:07:02PM +0100, Bas Zoetekouw wrote: > Hi Stepan! > > You wrote: > > > Pinfo still has problems displaying utf-8: > > - links are highlighted in the wrong place > > - "з" (CYRILLIC SMALL LETTER ZE) is replaced with "o", usually with next > > character - it also results in misaligned right edge of text > > - searched strings are highlighted in wrong places > > > Are you using the original config file from the package, or a customized > one? If you're using a customized one, could you please send it to me?
I just installed pinfo in chroot. Did not customize anything. > > I've been playing around a bit here, and the weird thing is, I can > reproduce part of your problem (the highlighting in the wrong place), > but only if I'm using non-default colors (!). I can't reproduce your > problem with the "з" and "В" chars, but looking at the screenshot, it > seems it might have something to do with bold text. "В" problem is a result of searching for "В". I can reproduce it with any string I try to search for. (Just noticed: there is no highlighting in words like "ОШИБКИ" when searched string is longer then 1 character). "з" problem is different - it's sometimes replaced by "o", usually along with next character; without any searching. > > The color codes are only used when writing to the screen, not when > calculating the position on the screen, so I really don't understand how > different color codes can change the positions on the screen. It almost > seems like some obscure ncurses bug... > Can this bug be caused by readline loading libncurses.so.5 while pinfo uses libncursesw.so.5? $ ldd /usr/bin/pinfo | grep curses libncursesw.so.5 => /lib/libncursesw.so.5 (0x4004e000) libncurses.so.5 => /lib/libncurses.so.5 (0x401d3000) $ objdump -p /usr/bin/pinfo |grep NEEDED NEEDED libreadline.so.5 NEEDED libncursesw.so.5 NEEDED libc.so.6 $ objdump -p /lib/libreadline.so.5 |grep NEEDED NEEDED libncurses.so.5 NEEDED libc.so.6 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

