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

Re: [Mutt] #1259: Bright* colors in index losing brightness in xterm.



#1259: Bright* colors in index losing brightness in xterm.

Changes (by brendan):

  * component:  mutt => display

Old description:

> {{{
> Package: mutt
> Version: 1.4i
> Severity: normal
>
> -- Please type your report below this line
>
> I have bright foreground colors in my index to highlight mails from
> certain people, and my indicator bar has a non-default (red) background
> and a bright (brightyellow) foreground.  When I move the indicator
> upward, over one of the bright entries, in an xterm, the bright color
> reverts to its plain, non-bright version.  This also occurs when
> returning to the index from another screen when the indicator is placed
> immediately above a bright entry.
>
> This does not occur when moving the indicator down, or in a text
> console, or with a default background for the indicator bar, or with a
> non-bright foreground for the indicator bar.
>
> Obvious workaround: don't use bright foregrounds for the indicator bar.
>
> Relevant parts of .muttrc:
> color indicator brightyellow red
> color index     brightred    default Person's\ Name
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on.  Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> gcc
> Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.0.2/specs
> Configured with: ../gcc-3.0.2/configure --prefix=/usr --with-gxx-include-
> dir=/usr/include/g++ --enable-shared --enable-
> languages=c,c++,java,f77,objc
> Thread model: single
> gcc version 3.0.2
>
> - CFLAGS
> -Wall -pedantic -march=k6 -O3 -Wall -fschedule-insns2
>
> -- Mutt Version Information
>
> Mutt 1.4i (2002-05-29)
> Copyright (C) 1996-2001 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Linux 2.4.17 (i586) [using ncurses 5.2]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
> +USE_FCNTL  -USE_FLOCK
> -USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL
> +HAVE_REGCOMP  -USE_GNU_REGEX
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
> +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
> +ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
> +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  -HAVE_GETADDRINFO
> -ISPELL
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/usr/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
>

> Received: (at submit) by bugs.guug.de; 6 Jul 2000 13:30:30 +0000
> From mg@xxxxxxxxxxxxxxxxxx  Thu Jul  6 15:30:23 2000
> Received: from vetrunge.lt.eu.org (lady.xxx.lt [193.219.10.59])
>         by sigtrap.guug.de (8.9.3/8.9.3/Debian/GNU) with ESMTP id
> PAA10181
>         for <submit@xxxxxxxxxxxx>; Thu, 6 Jul 2000 15:30:23 +0200
> Received: (from mg@localhost)
>         by vetrunge.lt.eu.org (8.10.1/8.9.3) id e66DU8T10957
>         for submit@xxxxxxxxxxxx; Thu, 6 Jul 2000 15:30:08 +0200
> Resent-Message-Id: <200007061330.e66DU8T10957@xxxxxxxxxxxxxxxxxx>
> Received: from gintaras.lan (IDENT:root@gintaras [192.168.18.3])
>         by mail.vetrunge.lt.eu.org (8.9.3/8.9.3) with ESMTP id PAA16291
>         for <submit@xxxxxxxxxxxx>; Thu, 6 Jul 2000 15:24:54 +0200
> Received: (from mg@localhost)
>         by gintaras.lan (8.10.1/8.9.3) id e66DOmt10650;
>         Thu, 6 Jul 2000 15:24:48 +0200
> Date: Thu, 6 Jul 2000 15:24:48 +0200
> Message-Id: <200007061324.e66DOmt10650@xxxxxxxxxxxx>
> From: mgedmin@xxxxxxxxxx
> Subject: mutt-1.2i: Incorrect attributes with ncurses
> To: submit@xxxxxxxxxxxx
> Resent-From: mg@xxxxxxx
> Resent-Date: Thu, 6 Jul 2000 15:30:08 +0200
> Resent-To: submit@xxxxxxxxxxxx
>
> Package: mutt
> Version: 1.2i
> Severity: normal
>
> -- Please type your report below this line
>
> There's a problem in Mutt that prevents it from using colors properly
> with ncurses.  Attributes such as bold set via bkgdset() override those
> set via attrset.  A simple muttrc consisting of these two lines is
> enough to reproduce the error:
>
>   color normal brightcyan blue
>   color status black cyan
>
> Both help and status lines are displayed in bold when they should not
> be.
>
> Last time I raised this question on mutt-dev@xxxxxxxx (Message-ID:
> <20000626001818.B6915@xxxxxxx>) there was some discussion (which
> quickly wandered off-topic), but the problem hasn't been solved yet.
>
> -- Mutt Version Information
>
> Mutt 1.2i (2000-05-09)
> Copyright (C) 1996-2000 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Linux 2.2.16 [using ncurses 5.0]
> Compile options:
> -DOMAIN
> +DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
> -USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX
> +HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/spool/mail"
> SHAREDIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> ISPELL="/usr/bin/ispell"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the muttbug utility.
>

> >How-To-Repeat:
>
> >Fix:
> }}}

New description:

 I have bright foreground colors in my index to highlight mails from
 certain people, and my indicator bar has a non-default (red) background
 and a bright (brightyellow) foreground.  When I move the indicator
 upward, over one of the bright entries, in an xterm, the bright color
 reverts to its plain, non-bright version.  This also occurs when
 returning to the index from another screen when the indicator is placed
 immediately above a bright entry.

 This does not occur when moving the indicator down, or in a text
 console, or with a default background for the indicator bar, or with a
 non-bright foreground for the indicator bar.

 Obvious workaround: don't use bright foregrounds for the indicator bar.

 Relevant parts of .muttrc:
 {{{
 color indicator brightyellow red
 color index     brightred    default Person's\ Name
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/1259#comment:3>