Bug#157093: ncurses-base: xterm-mono is not useable as an xterm without colors
On Wed, Jan 01, 2003 at 10:53:08AM +0100, Sven Rudolph wrote:
> 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:
that sounds reasonable
> This patch fixes the problem for me.
;-)
--
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Reply to: