mutt + screen = broken colours?
- To: mutt-users@xxxxxxxx
- Subject: mutt + screen = broken colours?
- From: Pau <vim.unix@xxxxxxxxxxxxxx>
- Date: Mon, 22 Sep 2008 11:39:28 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=KTKDV+/6Txjrh2cWVzBOVo6T12cWQOekMU8EtBA8uwM=; b=xfzuodIo71qcnUbHthiakNm9XNXF3xs7v9OSOXWwdI8TAjtaYB7Y/rtcr1B7f/zV6r MA5oO8rBnr74hW7uS2xuafCbvudD20NyFxD4L7kpQn1K4z+A5AXah0qzeTFnu8ZjjcrV ZstLOrIGvybKKPqJeDYclu5pEOuIpHOr5rklE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=DCQRWSIkwlWk36U5+QYs1csKZSofoK06OXASMjAO0FcFCTR8qE2UKaI2JNOrxboj0Z ht/z1NXxRiwc7izcrKoQrfepfEx5FbMKILvfI5y8dQZSjh06ceby2HiNVLMDEmBs/+gt 4buf+cK2soQeUiFcueptURUzHEvJCKDitGmzI=
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Reply-to: vim.unix@xxxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
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.