[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#155741: dselect: disabling color now causes garbage to be displayed - a fix



Package: dselect
Version: 1.10.4
Followup-For: Bug #155741

In dselect 1.10.4 and 1.10.9, bad screen output results when the terminal
can't do colors, typically when dselect tries to show warning screens, but
other times too.  The output may be bold, blinking, inverse video, or (most
annoyingly) in the terminal's alternate character set.

The bug is in the file baselist.cc, in baselist::startdisplay.  It
initializes the helpscreen_attr member only if the terminal has color.
Changing the code to zero helpscreen_attr fixes the bug.

The bug isn't in 1.9.21 because helpscreen_attr isn't in that version.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pav 2.2.19 #1 Sat Jun 9 13:04:06 EST 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dselect depends on:
ii  libc6                    2.2.5-14.3      GNU C Library: Shared libraries an
ii  libncurses5              5.2.20020112a-8 Shared libraries for terminal hand
ii  libstdc++2.10-glibc2.2   1:2.95.4-11     The GNU stdc++ library




Reply to: