Comment 15 for bug 87966

Revision history for this message
disappearedng (disappearedng) wrote :

Hey I just upgraded to 9.04 and I can confirm that the bug is still here.

First, screen does come built in with 256 color support,
[code]
      --enable-pam \
      --with-pty-mode=0620 \
      --with-pty-group=${TTYGROUP} \
      --enable-rxvt_osc \
      --with-sys-screenrc=/etc/screenrc \
      --enable-colors256
 # Assert the use of fifos instead of sockets
 grep -q "define.*NAMEDPIPE.*1" config.h || echo "#define NAMEDPIPE 1" >> config.h
 touch $@
[/code]

I followed the instruction from http://www.jukie.net/~bart/blog/20060824224842.

Turns out that there is still no support for 256 colors in screen..

Note that I have added
<---------cut here--------->
# 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"
<---------cut here--------->

into my screenrc

I am on 9.04