Re: Mutt color limitations

2002-08-21 Thread Derrick 'dman' Hudson

On Wed, Aug 21, 2002 at 12:57:21AM +0100, Lee J. Moore wrote:

| 'brightwhite' creates *bold* white text, whereas 'white' creates
| grey text

FWIW, I've seen in the gnome-terminal palette that white really is
grey, and brightwhite is really white.  The solution there is to
tweak the terminal so that the palette matches what I want it to be.

I, for one, would like the flexibility that lots of colors allow, in
particular for vim's syntax highlighting of xml and email.  However it
seems that X is required for that (gvim does a better job than 'vim').

-D

-- 
All a man's ways seem innocent to him,
but motives are weighed by the Lord.
Proverbs 16:2
 
http://dman.ddts.net/~dman/



msg30405/pgp0.pgp
Description: PGP signature


Re: Mutt color limitations

2002-08-21 Thread Lee J. Moore

On Wed, 21 Aug 2002, Derrick 'dman' Hudson wrote:

 On Wed, Aug 21, 2002 at 12:57:21AM +0100, Lee J. Moore wrote:
 
 | 'brightwhite' creates *bold* white text, whereas 'white' creates
 | grey text
 
 FWIW, I've seen in the gnome-terminal palette that white really is
 grey, and brightwhite is really white.  The solution there is to
 tweak the terminal so that the palette matches what I want it to be.

As I said, the background colour can appear as black,
despite the fact that it's suppose to be white.  Changing the
foreground colour will bizarrely change the background colour
to one that wasn't stated, for god knows what reason.

As for the terminal, this is the Gnome2 Terminal in which you
can switch easily between it's own palette (Linux Console),
Xterm, Rxvt, and even custom.  Switching between them updates
the colours in running apps in front of your eyes.

Also - there is no difference whether I'm using other
(non-Gnome) terminals.  Mutt will not accept color8 and above,
nor even things like lightgray, which a few documents I've read
claim Mutt *should* accept when compiled with slang.  On the
contrary, slrn renders all sixteen colours without a problem.

[..]
-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30409/pgp0.pgp
Description: PGP signature


Re: Mutt color limitations

2002-08-20 Thread Lee J. Moore

On Sun, 18 Aug 2002, Lee J. Moore wrote:

Oh woah is me for following up to my own followup but this is
driving me nuts. ;)

[..]
 
 Trying to
 use color8 and above, results in [sic] errors.
 
[..]
 This is despite the fact that color8 and above is available with
 slrn in the same terminal.  I can use color8, color9, etc., - in
 slrn's actual config file and the results can clearly be seen when
 slrn is launched.
 
 I'm using Mutt 1.4-r2 (compiled/installed from source with
 Gentoo's Portage) if that's relevant.

Further to this, mutt is compiled with slang and apparently this
alone should apparently make lightgray available, but Mutt says
this is an invalid colour.  Sixteen colours are available to all
of my terminal apps, bar mutt which only allows colours in the
range of [color0-color7].  It doesn't seem to matter what
terminal I'm using either.

ldd /usr/bin/mutt
libslang.so.1 = /usr/lib/libslang.so.1 (0x4002e000)
libm.so.6 = /lib/libm.so.6 (0x40092000)
libssl.so.0.9.6 = /usr/lib/libssl.so.0.9.6 (0x400b4000)
libcrypto.so.0.9.6 = /usr/lib/libcrypto.so.0.9.6 (0x400e1000)
libc.so.6 = /lib/libc.so.6 (0x4019d000)
libdl.so.2 = /lib/libdl.so.2 (0x402cc000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)

mutt -v
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.19-gentoo-r7 (i686) [using slang 10405]
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=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=Maildir
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc/mutt
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30364/pgp0.pgp
Description: PGP signature


RE : Mutt color limitations

2002-08-20 Thread Philip Wittamore

Hmm..
I compiled mutt with slang, and I discovered that contrary to ncurses,
the headers now had background colour to the end of the line, but
brightblack no longer worked. (tried with xterm, rxvt, aterm and
konsole)

I'd love it of mutt could use the standard unix rgb.txt color names and
a higher selection of colours.

Philip Wittamore, 
using outhouse because he's at work :-(


 -Message d'origine-
 De : [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] De la part de Lee J. Moore
 Envoyé : mardi 20 août 2002 13:52
 À : [EMAIL PROTECTED]
 Objet : Re: Mutt color limitations
 
 
 On Sun, 18 Aug 2002, Lee J. Moore wrote:
 
 Oh woah is me for following up to my own followup but this is 
 driving me nuts. ;)
 
 [..]
  
  Trying to
  use color8 and above, results in [sic] errors.
  
 [..]
  This is despite the fact that color8 and above is available 
 with slrn 
  in the same terminal.  I can use color8, color9, etc., - in slrn's 
  actual config file and the results can clearly be seen when slrn is 
  launched.
  
  I'm using Mutt 1.4-r2 (compiled/installed from source with Gentoo's 
  Portage) if that's relevant.
 
 Further to this, mutt is compiled with slang and apparently 
 this alone should apparently make lightgray available, but 
 Mutt says this is an invalid colour.  Sixteen colours are 
 available to all of my terminal apps, bar mutt which only 
 allows colours in the range of [color0-color7].  It doesn't 
 seem to matter what terminal I'm using either.
 
 ldd /usr/bin/mutt
   libslang.so.1 = /usr/lib/libslang.so.1 (0x4002e000)
   libm.so.6 = /lib/libm.so.6 (0x40092000)
   libssl.so.0.9.6 = /usr/lib/libssl.so.0.9.6 (0x400b4000)
   libcrypto.so.0.9.6 = /usr/lib/libcrypto.so.0.9.6 (0x400e1000)
   libc.so.6 = /lib/libc.so.6 (0x4019d000)
   libdl.so.2 = /lib/libdl.so.2 (0x402cc000)
   /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
 
 mutt -v
 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.19-gentoo-r7 (i686) [using slang 10405] 
 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=/usr/bin/ispell
 SENDMAIL=/usr/sbin/sendmail
 MAILPATH=Maildir
 PKGDATADIR=/usr/share/mutt
 SYSCONFDIR=/etc/mutt
 EXECSHELL=/bin/sh
 -MIXMASTER
 To contact the developers, please mail to 
 [EMAIL PROTECTED]. To report a bug, please use the flea(1) utility.
 
 -- 
 Lee J. Moore
 http://www.leej.dsl.pipex.com
 --
 Powered by Gentoo (Portage 2.0.28)
 




Re: Mutt color limitations

2002-08-20 Thread Lee J. Moore

On Tue, 20 Aug 2002, Philip Wittamore wrote:

 Hmm..  
 I compiled mutt with slang, and I discovered that contrary to
 ncurses, the headers now had background colour to the end of
 the line, but brightblack no longer worked.  (tried with
 xterm, rxvt, aterm and konsole)

Yep, same here.  Considering the number of terminals I've used
and the fact that they all support sixteen colours with other
apps, I find it difficult to believe it's not Mutt at fault.  No
amount of googling turns up solutions, nor posting to the list.
Maybe it's only a minority of Mutt users who want more than
eight colours.

I've got one ugly mutt here atm.  ;(

 I'd love it of mutt could use the standard unix rgb.txt color
 names and a higher selection of colours.

A nice idea!

 Philip Wittamore, 
 using outhouse because he's at work :-(

You should complain to the council.  Indoor toilets are required
for health and safety reasons thesedays. ;-)

-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30380/pgp0.pgp
Description: PGP signature


Re: Mutt color limitations

2002-08-20 Thread Thomas Dickey

On Tue, Aug 20, 2002 at 11:16:55PM +0100, Lee J. Moore wrote:
 On Tue, 20 Aug 2002, Philip Wittamore wrote:
 
  Hmm..  
  I compiled mutt with slang, and I discovered that contrary to
  ncurses, the headers now had background colour to the end of
  the line, but brightblack no longer worked.  (tried with
  xterm, rxvt, aterm and konsole)

ROFL (slang, cited as a standard)
 
 Yep, same here.  Considering the number of terminals I've used
 and the fact that they all support sixteen colours with other
 apps, I find it difficult to believe it's not Mutt at fault.  No
 amount of googling turns up solutions, nor posting to the list.
 Maybe it's only a minority of Mutt users who want more than
 eight colours.

8 colors are standard (the majority of those 16-color applications are
assuming that bold colors are bright - which is not a valid assumption
in many cases).

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: Mutt color limitations

2002-08-20 Thread Philip Wittamore

Le (20/08/02 23:16), Lee J. Moore à ecrit:

 Maybe it's only a minority of Mutt users who want more than
 eight colours.

do you think that some believe that colour is too un-nerdy ?

me, I'm a brand of monkey, and colour is just as important for my mail
as it was when my great-grandaddy was picking out ripe fruit up in the trees.

tastefull use of colour makes for easy reading  selecting,
and we are built to use it, so it's important where interfaces are concerned.

Phil

-- 
Philip Wittamore
[EMAIL PROTECTED]
http://perso.wanadoo.fr/aposit



Re: Mutt color limitations

2002-08-20 Thread Lee J. Moore

On Tue, 20 Aug 2002, Thomas Dickey wrote:

[..]
 8 colors are standard (the majority of those 16-color
 applications are assuming that bold colors are bright - which
 is not a valid assumption in many cases).

Well, as an example, in slrn, I've got a lightgray statusbar
with white text.  Easier to read than you might think.  In Mutt,
I'm finding it impossible to achieve.  'brightwhite' creates
*bold* white text, whereas 'white' creates grey text (the grey I
see, is actually lightgray according to slrn).  If I change the
status bar to 'white' (ahem, cough, cough, lightgray), and the
text to 'brightwhite', the status bar actually ends up *black*!

Is Mutt trying to hold my hand here or something?  If I want to
use difficult colour combinations (and I don't think they are
difficult), I'd like to make that decision/mistake myself.

-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30383/pgp0.pgp
Description: PGP signature


Re: Mutt color limitations

2002-08-20 Thread Rob 'Feztaa' Park


--Pk6IbRAofICFmK5e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Lee J. Moore spake thus:
 I've got one ugly mutt here atm.  ;(

I seem to be able to get by with only 8 colors.

Although, I did implement the hack that lets you have a 256 color
xterm... and it worked, because the test programs were printing all wild
color shizzit... but I can't for the life of me figure out how to make
any of my applications *use* those extra colors, so the 256 colors are
useless ;)

--=20
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
Satire is what closes Saturday night.
-- George Kaufman

--Pk6IbRAofICFmK5e
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YtyrPTh2iSBKeccRAlN3AJ4sXR/aWX3tko+qMCY/BAysTF8wJgCfSREJ
zpmNmL5lk89d2LUVZA81yDM=
=wm9s
-END PGP SIGNATURE-

--Pk6IbRAofICFmK5e--



Re: Mutt color limitations

2002-08-20 Thread Lee J. Moore

On Wed, 21 Aug 2002, Philip Wittamore wrote:

 Le (20/08/02 23:16), Lee J. Moore à ecrit:
 
  Maybe it's only a minority of Mutt users who want more than
  eight colours.
 
 do you think that some believe that colour is too un-nerdy ?

Um...no!  I don't care about others perceptions.  If I did, I
wouldn't tell anybody but my psychaitrist. ;)

[..]
 tastefull use of colour makes for easy reading  selecting,
 and we are built to use it, so it's important where interfaces
 are concerned.

I agree 100%.  I've already decided upon a tasteful colour
scheme in slrn.  It's getting the same colours in Mutt (in
particular color8-color15) that is the problem.

-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30385/pgp0.pgp
Description: PGP signature


Mutt color limitations

2002-08-18 Thread Lee J. Moore

Is there a patch anywhere to increase the number of colors
available in Mutt?  I'm trying to get it to match a new color
scheme I've just created for slrn, but just getting a grey/white
status line is difficult.  Perhaps easy if the whole mutt color
scheme was to be in mono but it's not.

-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30330/pgp0.pgp
Description: PGP signature


Re: Mutt color limitations

2002-08-18 Thread Sven Guckes

* Lee J. Moore [EMAIL PROTECTED] [2002-08-18 16:01]:
 Is there a patch anywhere to increase the number of colors
 available in Mutt?  I'm trying to get it to match a new
 color scheme I've just created for slrn, but just getting a
 grey/white status line is difficult.  Perhaps easy if the
 whole mutt color scheme was to be in mono but it's not.

the number of color is certainly limited by your terminal.
now, if you could turn your monitor by 180 degrees
then we might be able to see what you're using...
i think we need a good color test...

Sven  [thinking of something.. later]



Re: Mutt color limitations

2002-08-18 Thread Lee J. Moore

On Sun, 18 Aug 2002, Sven Guckes wrote:

[..]
 the number of color is certainly limited by your terminal.
 now, if you could turn your monitor by 180 degrees then we
 might be able to see what you're using...  i think we need a
 good color test...

OK, I'm trying to setup a new Mutt color scheme for when it's
running in Gnome2's gnome-terminal.  Previously I've used Eterm,
but I'm getting the same error messages with that.  Trying to
use color8 and above, results in the following:

Error in /home/lee/etc/mutt/muttrc, line 384: 8: color not supported by term 
Error in /home/lee/.muttrc, line 1: source: errors in /home/lee/etc/mutt/muttrc 
source: errors in /home/lee/.muttrc

This is despite the fact that color8 and above is available with
slrn in the same terminal.  I can use color8, color9, etc., - in
slrn's actual config file and the results can clearly be seen when
slrn is launched.

I'm using Mutt 1.4-r2 (compiled/installed from source with
Gentoo's Portage) if that's relevant.

-- 
Lee J. Moore
http://www.leej.dsl.pipex.com
--
Powered by Gentoo (Portage 2.0.28)



msg30334/pgp0.pgp
Description: PGP signature