[Konsole-devel] [Bug 233065] New: konsole fails to draw bright colors in screen when TERM is set to xterm-256colors
Eckhart Wörner
ewoerner at kde.org
Fri Apr 2 11:46:38 UTC 2010
https://bugs.kde.org/show_bug.cgi?id=233065
Summary: konsole fails to draw bright colors in screen when
TERM is set to xterm-256colors
Product: konsole
Version: unspecified
Platform: Debian testing
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: konsole-devel at kde.org
ReportedBy: ewoerner at kde.org
Version: (using KDE 4.3.4)
Installed from: Debian testing/unstable Packages
This bug has been copied over from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531752
----
In order to enable 256 color support in vim and other console
applications the TERM env setting was set to xterm-256color.
After this and using the scripts in
http://www.frexx.de/xterm-256-notes/ I was able to confirm that the
256 color support was active. Both 256 and 16 color tests passed as
expected.
Next GNU screen was executed and the tests were repeated.
The 256 color test passed successfully with all the colors visible but
the 16 color test didn't pass. The bright colors are displayed in bold
but not in bright. Also if you are using a font that doesn't support
bold colors, there will be no difference between normal and bold/bright
colors.
This was tested in debian lenny kde3, squeeze and sid kde4 and
also kubuntu jaunty kde4 and all displayed the same results.
The following screenshot was taken using the font Terminus 8 that
doesn't support bold characters. The left panel represents
TERM=xterm and the right panel represents TERM=xterm-256color both
taken inside screen.
http://img223.imageshack.us/img223/3667/wrongcolorskonsolescree.png
The same test was also performed on xterm and the problem was not
visible.
Steps to reproduce:
1-Download the script colortable16.sh from
http://www.frexx.de/xterm-256-notes/
2-Move ~/.screenrc to ~/.screenrc-new (move customizations out of the way)
3-Open a new konsole session
4-Execute: export TERM=xterm
5-Execute: screen
6-Execute: bash colortable16.sh
7-Take a screenshot
8-Detach the screen session
9-Execute: export TERM=xterm-256color
10-Execute: screen -R
11-Take another screenshot
12-Compare the two screenshots, the last one should have the same color
on bold and non bold lines
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list