<<< Date Index >>>     <<< Thread Index >>>

Mutt with Screen - problems with colors



Termcap - terminfo - $TERM - xterm-color, xterm-256color,
screen-256color, screen-256color-bce - phew, my head is swimming, and
I'm beginning to hate things like 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm

Here's the problem: I want to have the full color palette of
xterm-256color. Running mutt under xterm with the TERM variable set to
xterm-256color works fine, but once I run it in a screen session in
that xterm, the background color is messed up in areas without text,
such as in the index and the title bar of the pager. Here's a
screenshot: http://oestrem.com/tmp/mutt.png.

Relevant settings:
- in zshrc:
  export TERM=xterm-256color

- in .screenrc:
  term screen-256color-bce
  termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
  defbce "on" 

- in .muttrc:
  all backgrounds are set to white, except the indicator (yellow), the
  headers (cyan) and the status bar (blue). 

In my searces for a solution, I've come across numerous tips about
termcap/terminfo entries in the screenrc file, and I've tried'em all,
but with no luck. (Hopefully, I haven't wrecked anything?)

I'd be eternally grateful for some help on this from
some of you knowledgeable people. 

I need mutt, I need screen, and I need nice colors - now, I can only
have two of the three...

Eyolf

-- 
I can't decide which WRONG TURN to make first!!  I wonder if BOB
GUCCIONE has these problems!