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

mutt + screen = broken colours?



Hi,

I would like to use mutt with screen. My problem is that my defined
colours (see bottom) are not displayed correctly on screen. I am using
TERM=xterm-xfree86 in my zshrc, but TERM=screen doens't help.

Typically the background is not uniform but has white lines randomly displayed.

I don't think this is a mutt problem, but the way the term is called
on screen. I am asking here if anybody else has had a similar problem
and a fix to it,

thanks

Pau

---------------------------------------------------------------------------------------------------------------------------
# -*- muttrc -*-
#
# Colour settings for mutt.
#

# If you also use a transparent terminal, put this in your .zshrc export
# COLORFGBG="default;default"

# The first field is the command color. Second field is the object you want to
# alter in mutt. The third and fourth field specify the foreground and
background
# color. If there is a fifth field, its the regular expression you want your
# colors to apply to. Change default to another color if you want another
# background color. Color values can be preceded by "bright" resulting in bold,
# bright text. Consult the mutt manual for more info.

#color normal default default
#color hdrdefault brightcyan default
#color signature green default
#color attachment brightyellow default
#color indicator brightblack brightcyan
#color quoted green default
#color quoted1 white default
#color tilde blue default

# Default colour definitions
color hdrdefault black        cyan
color quoted     red          white
color signature  brightblack  white
color indicator  brightwhite  red
color attachment black        green
color error      red          white
color message    blue         white
color search     brightwhite  magenta
color status     brightyellow blue
color tree       red          white
color normal     blue         white
color tilde      green        white
color bold       brightyellow white
color markers    red          white
# Colour definitions when on a mono screen
mono bold      bold
mono underline underline
mono indicator reverse

# Colours for items in the reader
color header brightwhite cyan "^(From|Subject):"
color header red         cyan "^X-Junked-Because: "
color header red         cyan "^X-Virus-hagbard: .* FOUND"
mono  header bold
"^(From|Subject|X-Junked-Because|X-Virus-hagbard):"

# Colours for items in the index
color index brightblue  white ~N
color index brightgreen white "~N (~x hagbard\.davep\.org | ~h
\"^In-[Rr]eply-[Tt]o:.*hagbard\.davep\.org\")"
color index red         white ~F
#color index black       green ~T
color index white        green ~T
color index brightwhite black ~D
mono  index bold              ~N
mono  index bold              ~F
mono  index bold              ~T
mono  index bold              ~D

# Highlights inside the body of a message.

# URLs
color body brightblue  white "(http|https|ftp|news|telnet|finger)://[^
\">\t\r\n]*"
color body brightblue  white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+";
color body brightblue  white "news:[^ \">\t\r\n]*"
mono  body bold              "(http|https|ftp|news|telnet|finger)://[^
\">\t\r\n]*"
mono  body bold              "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+";
mono  body bold              "news:[^ \">\t\r\n]*"

# email addresses
color body brightblue  white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
mono  body bold              "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"

# Various smilies and the like
color body brightgreen white "<[Gg]>"
          # <g>
color body brightgreen white "<[Bb][Gg]>"
          # <bg>
color body brightgreen white " [;:]-*[)>(<|]"
          # :-) etc...
color body brightblue  white
"(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
color body brightblue  white
"(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)"     # _Underlined_
text.
color body brightblue  white
"(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)"     # /Italic/ text.