On Sunday 07 August 2005 06:12 am, Thomas Dickey wrote: > On Sat, Jul 02, 2005 at 03:49:01PM -0400, Daniel Burrows wrote: > > Package: libncursesw5 > > Version: 5.4-8 > > Severity: normal > > > > I've just finished converting aptitude's display routines to understand > > about >8-bit character set locales such as utf8. Everything works fine > > in typical European locales -- however, when I tried setting the locale > > to zh_CN, I noticed some display artifacts. After a bit of > > experimentation, I believe that I've found the general situation that's > > causing this problem. As you probably know, Chinese characters are "wide" > > -- by which I mean that they take two columns on the text terminal. The > > problem I'm encountering occurs when a wide character is *partially* > > overlapped by a non-wide character. For instance, you can see this when > > a popup menu appears on top of a background of wide-character text: > > I can see where the problem is, will make a fix in the next patch. > Other than the usual distractions, it took a few hours debugging due > to the large size of the trace when running aptitude (to see how to > get the information I needed). It seems that aptitude creates a _lot_ > of windows (my first cut of a trace got 300Mb of trace). aptitude > would probably run faster if it didn't do that.
I would expect only a dozen or so windows in the initial program state; no more than two dozen, tops. However, I am currently investigating a massive resource leak in aptitude which leaked WINDOW *s among other things. That might have caused what you were seeing. Anyway, thanks for looking into this; I'm glad to hear that it's probably fixed :). Daniel -- /------------------- Daniel Burrows <[EMAIL PROTECTED]> ------------------\ | I used to be indecisive, but now I'm not sure. | \- Does your computer have Super Cow Powers? ------- http://www.debian.org -/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]