Thomas Dickey writes:
> I looked at this a little tonight, and think I see the problem. I set
> my LD_LIBRARY_PATH to /usr/lib/debug, set NCURSES_TRACE to trace calls,
> and ran dselect. That makes a 'trace' file in the current directory.
>
> There's a call to wbkgdset() with a garbaged background value:
>
> called {wbkgdset(0x8078f9c,{' ' = 0x20 |
> {A_STANDOUT|A_ALTCHARSET|A_PROTECT|A...
>
> There are only three calls to this function in dselect, and the one with
> helpscreen_attr does not appear to initialize the value when the program
> is not started on a color terminal.
Based on your diagnosis I created the patch:
*** dpkg-1.10.9.orig/dselect/baselist.cc Mon May 6 18:18:15 2002
--- dpkg-1.10.9/dselect/baselist.cc Wed Jan 1 10:38:14 2003
***************
*** 149,154 ****
--- 149,155 ----
info_attr= list_attr;
info_headattr= A_BOLD;
whatinfo_attr= thisstate_attr;
+ helpscreen_attr= A_NORMAL;
}
// set up windows and pads, based on screen size
This patch fixes the problem for me.
Sven
--
Sven Rudolph <[EMAIL PROTECTED]> http://www.sax.de/~sr1/