Color control in Mutt Gnome terminal

2002-01-24 Thread Paul E Condon
I am starting to learn to use real Debian email. I have mutt, fetchmail, and
exim working. But I am having trouble reading my email because I have diffi-
culty reading deep blue characters on a black background or other pairings that
are pre-configured options. How / Where can I configure background/foreground
pairings that work for my eyes?

-- 
Paul E Condon 
[EMAIL PROTECTED]



Re: Color control in Mutt Gnome terminal

2002-01-24 Thread Jason Majors
On Thu, Jan 24, 2002 at 03:48:09PM -0800, Paul E Condon scribbled...
 I am starting to learn to use real Debian email. I have mutt, fetchmail, and
 exim working. But I am having trouble reading my email because I have diffi-
 culty reading deep blue characters on a black background or other pairings 
 that
 are pre-configured options. How / Where can I configure background/foreground
 pairings that work for my eyes?
Add this to your ~/.muttrc (or ~/.mutt/muttrc) and play with the settings.
#color normal white default
color hdrdefault red default# Things like to, date, etc.
color quoted brightblue default # ??
color signature red default
color indicator red white
color error brightred default
color status brightwhite blue
color tree magenta default  # the thread tree in the index menu
color tilde magenta default
color message brightcyan default
color markers brightcyan default
color attachment brightmagenta default
color search default green  # how to hilite search patterns in the pager

color header brightred default ^(From|Subject):
color body magenta default (ftp|http)://[^ ]+ # point out URLs
color body magenta default [EMAIL PROTECTED]  # e-mail addresses
color underline brightgreen default



Re: Color control in Mutt Gnome terminal

2002-01-24 Thread Jerome Acks Jr
On Thu, Jan 24, 2002 at 03:48:09PM -0800, Paul E Condon wrote:
 I am starting to learn to use real Debian email. I have mutt, fetchmail, and
 exim working. But I am having trouble reading my email because I have diffi-
 culty reading deep blue characters on a black background or other pairings 
 that
 are pre-configured options. How / Where can I configure background/foreground
 pairings that work for my eyes?
 
/etc/Muttrc has system wide color setting. You don't want to set colors
system wide, put color settings you want in your .muttrc. Also see man
muttrc.

-- 
Jerome



Re: Color control in Mutt Gnome terminal

2002-01-24 Thread Jerome Acks Jr
On Thu, Jan 24, 2002 at 07:49:44PM -0500, Jerome Acks Jr wrote:
 On Thu, Jan 24, 2002 at 03:48:09PM -0800, Paul E Condon wrote:
  I am starting to learn to use real Debian email. I have mutt, fetchmail, and
  exim working. But I am having trouble reading my email because I have diffi-
  culty reading deep blue characters on a black background or other pairings 
  that
  are pre-configured options. How / Where can I configure 
  background/foreground
  pairings that work for my eyes?
  
 /etc/Muttrc has system wide color setting. You don't want to set colors
 system wide, put color settings you want in your .muttrc. Also see man
 muttrc.
Also, right mouse click on your gnome terminal; select preferences; and
change color scheme. If you pick Custom, you can also change color
pallet.
-- 
Jerome



Re: Color control in Mutt Gnome terminal

2002-01-24 Thread David B Harris
On Thu, 24 Jan 2002 15:48:09 -0800
Paul E Condon [EMAIL PROTECTED] wrote:
 I am starting to learn to use real Debian email. I have mutt,
 fetchmail, and exim working. But I am having trouble reading my email
 because I have diffi- culty reading deep blue characters on a black
 background or other pairings that are pre-configured options. How /
 Where can I configure background/foreground pairings that work for my
 eyes?

What terminal emulator are you using? Almost all terminal emulators have
the option of configuring what colour is displayed(with very fine
granularity, for instance, using RGB colour codes) when an application
requests blue(or red, or green, or whatever).

I prefer this method over changing what colour Mutt requests. For many
terminal emulators, four or five colours are difficult to see using the
defaults. Instead of reducing the number of colours I let my
applications use, I just modify what the terminal emulator displays,
making them readable.

--
 .--=-=-=-=--=---=-=-=.
/David Barclay HarrisAut agere, aut mori.  \
\Clan Barclay  Either action, or death./
 `---==-=-=-=-===-=---=--='



Re: Color control in Mutt Gnome terminal

2002-01-24 Thread Paul E Condon
On Thu, Jan 24, 2002 at 05:02:12PM -0700, Jason Majors wrote:
 On Thu, Jan 24, 2002 at 03:48:09PM -0800, Paul E Condon scribbled...
  I am starting to learn to use real Debian email. I have mutt, fetchmail, and
  exim working. But I am having trouble reading my email because I have diffi-
  culty reading deep blue characters on a black background or other pairings 
  that
  are pre-configured options. How / Where can I configure 
  background/foreground
  pairings that work for my eyes?
 Add this to your ~/.muttrc (or ~/.mutt/muttrc) and play with the settings.
 #color normal white default
 color hdrdefault red default# Things like to, date, etc.
 color quoted brightblue default # ??
 color signature red default
 color indicator red white
 color error brightred default
 color status brightwhite blue
 color tree magenta default  # the thread tree in the index menu
 color tilde magenta default
 color message brightcyan default
 color markers brightcyan default
 color attachment brightmagenta default
 color search default green  # how to hilite search patterns in the pager
 
 color header brightred default ^(From|Subject):
 color body magenta default (ftp|http)://[^ ]+ # point out URLs
 color body magenta default [EMAIL PROTECTED]  # e-mail addresses
 color underline brightgreen default
 
 
Thanks. 

But I don't see bright as part of a color name on the man page. 
What are the color names that work? Is there a way to display an exhaustive
list of foreground/background combinations? Or are there two many colors for
that to be realistic?


-- 
Paul E Condon 
[EMAIL PROTECTED]



Re: Color control in Mutt Gnome terminal

2002-01-24 Thread dman
On Thu, Jan 24, 2002 at 05:24:50PM -0800, Paul E Condon wrote:
| On Thu, Jan 24, 2002 at 05:02:12PM -0700, Jason Majors wrote:
|  On Thu, Jan 24, 2002 at 03:48:09PM -0800, Paul E Condon scribbled...
|   I am starting to learn to use real Debian email. I have mutt, fetchmail, 
and
|   exim working. But I am having trouble reading my email because I have 
diffi-
|   culty reading deep blue characters on a black background or other 
pairings that
|   are pre-configured options. How / Where can I configure 
background/foreground
|   pairings that work for my eyes?
|  Add this to your ~/.muttrc (or ~/.mutt/muttrc) and play with the settings.
|  #color normal white default
|  color hdrdefault red default# Things like to, date, etc.
|  color quoted brightblue default # ??
|  color signature red default
|  color indicator red white
|  color error brightred default
|  color status brightwhite blue
|  color tree magenta default  # the thread tree in the index menu
|  color tilde magenta default
|  color message brightcyan default
|  color markers brightcyan default
|  color attachment brightmagenta default
|  color search default green  # how to hilite search patterns in the pager
|  
|  color header brightred default ^(From|Subject):
|  color body magenta default (ftp|http)://[^ ]+ # point out URLs
|  color body magenta default [EMAIL PROTECTED]  # e-mail addresses
|  color underline brightgreen default
| 
| Thanks. 
| 
| But I don't see bright as part of a color name on the man page. 
| What are the color names that work? Is there a way to display an exhaustive
| list of foreground/background combinations? Or are there two many colors for
| that to be realistic?

http://www.mutt.org/doc/manual/manual-3.html#color

   foreground and background can be one of the following:

 * white
 * black
 * green
 * magenta
 * blue
 * cyan
 * yellow
 * red
 * default
 * colorx

   foreground can optionally be prefixed with the keyword bright to
   make the foreground color boldfaced (e.g., brightred).


My preference is to use vim for the pager.  Specifically 'view'
(defaults to readonly) with the 'less.vim' script to make the
keybindings behave like less (until you press 'v', then you can
copy-n-paste like usual in vim).

set pager='view -X -c so $HOME/util/script/less.vim'

(less.vim comes from the upstream vim distribution; it might be in the
vim-extra package or something)

I have syntax highlighting enabled in vim with the following
parameters :


highlight Normal guibg=black guifg=grey90
set background=dark  makes syntax highlighing lighter
syntax on

My terminal (console or gnome-terminal) has a black background.  gvim
does too (with the above settings).

HTH,
-D

-- 

GUIs normally make it simple to accomplish simple actions and
impossible to accomplish complex actions.
--Doug Gwyn  (22/Jun/91 in comp.unix.wizards)