[Konsole-devel] [Bug 233065] konsole fails to draw bright colors in screen when TERM is set to xterm-256colors

Dan Douglas doug0213 at metnet.edu
Tue Jul 27 09:40:12 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=233065


Dan Douglas <doug0213 at metnet.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doug0213 at metnet.edu




--- Comment #1 from Dan Douglas <doug0213 metnet edu>  2010-07-27 11:40:06 ---
I was able to reproduce this problem by following the spurious advice given in
that first link: http://www.frexx.de/xterm-256-notes/

-----
By default, screen is not aware that it is running in a 256 color capable
xterm. To make programs in screen recognize this feature, you need to set three
things in your ~/.screenrc:

# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I" 
# tell screen how to set colors. AB = background, AF=foreground 
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' 
# erase background with current bg color 
defbce "on"
-----



More information about the konsole-devel mailing list