FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-06-2008, 02:44 PM
Chris Bannister
 
Default Using colours in mutt (was Disk Drive Order Changes - Again)

On Sat, Apr 05, 2008 at 03:40:48PM -0700, Andrew Sackville-West wrote:
> On Sun, Apr 06, 2008 at 08:28:16AM +1000, Alex Samad wrote:
> > On Sat, Apr 05, 2008 at 03:06:09PM -0700, Andrew Sackville-West wrote:
> > > On Sat, Apr 05, 2008 at 02:14:17PM -0500, Butch Kemper wrote:
> > [snip]>
> > > >
> > > > # kopt=root=/dev/hda1 becomes
> > > > # kopt=root=LABEL=/
> > >
> > > I think Alex is right, that you should rebuild the initrd. But the
> > > other thought that occurs to me is perhaps using "/" as a label
> > > is a problem.
>
> > I have been using / as a label for a while with no problems
>
> Fair enough. just a thought. BTW, it's darn hard to find your
> responses with no whitespace around them...

Someting like:

color quoted blue white
color quoted1 green white
color quoted3 yellow white
color signature red cyan

Put them in a file, say colours (ok, probably colors if you insist. :-)
Then something like

source ~/configs/colors

in your .muttrc

I have attached my color file which is set up for black on white. I
think it could have a better regexp for picking up urls though.

--
Chris.
======

## MUTT COLORS
# valid colors : white, black, green, magenta,
# blue, cyan, yellow, red,
# Each color comes in plain (red) and bright (brightred)
# color thisthing foreground background [arguments]
color normal black white
color attachment black cyan
color hdrdefault cyan white
color indicator black green
color markers red white
color index green white ~N # New
color index magenta yellow ~T # Tagged
color index black white ~D # Deleted
color index blue white ~O # Old
color index red white '~f cron'
color index red white '~f Anacron'
color index brightyellow black "~b ' name.{0,9}=.{2,30}.zip'"
color index red yellow '~f root'
color quoted blue white
color quoted1 green white
color quoted2 magenta white
color quoted3 yellow white
color signature red cyan
color status yellow blue
color tilde blue white
color tree red white
color header blue white ^User-agent:
color header blue white ^From:
color header blue white ^To:
color header blue white ^Date:
color header blue white ^Reply-To:
color header blue white ^Cc:
color header red white ^Subject:
color header blue white ^X-Spam-Status:
color body red white [-.+_a-zA-Z0-9]+@[-.a-zA-Z0-9]+
color body blue white (https?|ftp)://[-.,/%~_:?&=#a-zA-Z0-9]+
# Errors will be printed in red:
color error brightred brightdefault

# GPG/PGP related color directives:
#mono body bold "^gpg: Good signature"
#mono body reverse "^gpg: Bad signature from.*"
#color body brightblack cyan "^gpg: Signature made.*"
#color body brightblack green "^gpg: Good signature from.* "
#color body brightblack yellow "^gpg: Can't check signature .*"
#color body brightblack yellow "^gpg: WARNING: .*"
#color body brightwhite red "^gpg: BAD signature from.*"
 
Old 04-06-2008, 05:54 PM
"Douglas A. Tutty"
 
Default Using colours in mutt (was Disk Drive Order Changes - Again)

On Mon, Apr 07, 2008 at 02:44:44AM +1200, Chris Bannister wrote:
> On Sat, Apr 05, 2008 at 03:40:48PM -0700, Andrew Sackville-West wrote:

> > Fair enough. just a thought. BTW, it's darn hard to find your
> > responses with no whitespace around them...
>
> Someting like:
>
> color quoted blue white
> color quoted1 green white
> color quoted3 yellow white
> color signature red cyan
>
> Put them in a file, say colours (ok, probably colors if you insist. :-)
> Then something like
>
> source ~/configs/colors
>
> in your .muttrc
>
> I have attached my color file which is set up for black on white. I
> think it could have a better regexp for picking up urls though.

Still doesn't help on my white-on-black VT520. A bit of white-space
(well, actually black-space) does help.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-07-2008, 01:50 AM
"Douglas A. Tutty"
 
Default Using colours in mutt (was Disk Drive Order Changes - Again)

On Sun, Apr 06, 2008 at 06:37:14PM -0700, Andrew Sackville-West wrote:
> On Sun, Apr 06, 2008 at 01:54:24PM -0400, Douglas A. Tutty wrote:
>
> > Still doesn't help on my white-on-black VT520. A bit of white-space
> > (well, actually black-space) does help.
>
> you can use "mono" inplace of color and select underline, bold,
> etc... man muttrc (just learned that myself).
>

Yeah, I still haven't finished tweaking my .bashrc (or is it
.bash_profile) to get things tweaked based on TERM, since the VT is
connected to a P-II from whense I ssh into the AMD to run mutt.

Doug.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-07-2008, 11:55 AM
"Douglas A. Tutty"
 
Default Using colours in mutt (was Disk Drive Order Changes - Again)

On Sun, Apr 06, 2008 at 07:20:53PM -0700, Andrew Sackville-West wrote:
> On Sun, Apr 06, 2008 at 09:50:24PM -0400, Douglas A. Tutty wrote:
> > On Sun, Apr 06, 2008 at 06:37:14PM -0700, Andrew Sackville-West wrote:
> > > On Sun, Apr 06, 2008 at 01:54:24PM -0400, Douglas A. Tutty wrote:
> > >
> > > > Still doesn't help on my white-on-black VT520. A bit of white-space
> > > > (well, actually black-space) does help.
> > >
> > > you can use "mono" inplace of color and select underline, bold,
> > > etc... man muttrc (just learned that myself).
> >
> > Yeah, I still haven't finished tweaking my .bashrc (or is it
> > .bash_profile) to get things tweaked based on TERM, since the VT is
> > connected to a P-II from whense I ssh into the AMD to run mutt.
>
> <cough>Rube<cough-cough>Goldberg<cough-cough-cough>

What, the Athlon doesn't have a spare serial port or a paralell port. I
need a backup box anyway, so it acts as a print server when I need to
print, and a terminal server when I need to access stuff from upstairs.
Saves me buying a USB/paralell and a USB/serial adapter. The Athlon's
one serial port is used to connect to my 3Com (USR) Courier V.Everything
external modem. The P-II is also located in the basement (since it
makes a lot of noise) while the VT520 is upstairs.

Unix terminal handling grew up where an individual user would have one
type of terminal, it doesn't have inherent abilities to adjust features
(e.g. colours) based on TERM. The only exceptions seem to be Lynx, Vim,
and partially mc (e.g. learn-keys gets save with TERM type).

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org