Mutt 256 color themes

2010-01-05 Thread Horacio Sanson
Currently I am using the ivy league color theme from Aaron Toponce (see link
below) with a couple of modifications to make it work in my transparent KDE
Konsole.

http://pthree.org/2008/10/22/ivy-league-theme-for-mutt/

I was looking for similar 256 color themes for mutt but there does not appear to
be any on the whole Internet.

Are there any other themes around? Or is anyone willing to share their colors?

Here I attach the color setting I use. To use it I source it in my .muttrc file
like: 
  
source /path/to/ivy256

-- 
regards,
Horacio Sanson
# 256 color theme from 
# http://pthree.org/2008/10/22/ivy-league-theme-for-mutt/
# Make sure you set TERM=xterm-256color for these colors to display correctly.
# In console you must edit the profile ENV and set the TERM variable there.

# The chosen color selection
# 34 - green
# 111 - blue
# 124 - red
# 142 - orange
# 193 - tan
# 233 - black

# general-doesn't-fit stuff
color normal color193 default
color error color193 color124
color markers color142 default
color tilde color142 default
color status color142 default

# index stuff
color tree color124 default
color indicator color21 color193
color index color193 default ~A
color index color34 default ~N
color index color34 default ~O
color index color124 default ~F
color index color160 default ~D
color index color210 default ~T

# header stuff
color hdrdefault color122 default
color header color111 default "^Subject"

# gpg stuff
color body color34 default "^gpg: Good signature.*"
color body color193 color124 "^gpg: BAD signature.*"
color body color142 default "^gpg: Can't check signature.*"
color body color142 default "^-BEGIN PGP SIGNED MESSAGE-"
color body color142 default "^-BEGIN PGP SIGNATURE-"
color body color142 default "^-END PGP SIGNED MESSAGE-"
color body color142 default "^-END PGP SIGNATURE-"
color body color142 default "^Version: GnuPG.*"
color body color142 default "^Comment: .*"
#color body color142 default "^[[:alnum:]/\+=]+[[:space:]]+$"

# url, email and web stuff
color body color111 default "(finger|ftp|http|https|news|telnet)://[^ >]*"
color body color111 default ""
color body color111 default 
"www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
color body color111 default "mailto: *[^ ]+\(\\i?subject=[^ ]+\)?"
color body color111 default "[-a-z_0-9.%...@[-a-z_0-9.]+\\.[-a-z][-a-z]+"

# misc body stuff
color attachment color111 default
color signature color142 default

# quote levels
color quoted color34 default
color quoted1 color142 default
color quoted2 color34 default
color quoted3 color142 default
color quoted4 color34 default
color quoted5 color142 default
color quoted6 color34 default
color quoted7 color142 default
color quoted8 color34 default
color quoted9 color142 default



Re: Mutt 256 color themes

2010-01-05 Thread Charlie Kester

On Tue 05 Jan 2010 at 00:37:59 PST Horacio Sanson wrote:

I was looking for similar 256 color themes for mutt but there does not
appear to be any on the whole Internet.

Are there any other themes around? Or is anyone willing to share their
colors?


Also a work in progress, but here's what I use with a white background.

# Default color definitions - assumes light background
color normalblack   default
color quotedcolor65 default
color quoted1   color138default
color quoted2   color58 default
color quoted3   color105default
color quoted4   cyandefault
color quoted5   cyandefault

color indicator black   color249
color message   green   default
color statuscolor139color254
color error color58 default
color attachmentblack   default
color signature color253default
color markers   red yellow
color tilde black   default
color searchblack   green
color tree  black   default
color bold  black   default

color hdrdefaultblack   default
color headergreen   default '^From:'
color headergreen   default '^Subject:'
color headercyandefault '^To:.*corky1951'

# Colors for items in the index
color index color22 default ~N
color index bluedefault ~F
color index color55 default ~T
color index color52 default ~D

# Highlights inside the body of a message.

# URLs
color body  color22 default 
"(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*"
color body  color22 default 
"mailto:[-a-z_0-9...@[-a-z_0-9.]+";
color body  color22 default "news:[^ \">\t\r\n]*"

# email addresses
color body  green   default 
"[-a-z_0-9.%...@[-a-z_0-9.]+\\.[-a-z][-a-z]+"



Re: Mutt 256 color themes

2010-01-05 Thread Stefan Wimmer
* Horacio Sanson  [2010-01-05 09:39]:
> Currently I am using the ivy league color theme from Aaron Toponce (see link
> below) with a couple of modifications to make it work in my transparent KDE
> Konsole.
> 
> http://pthree.org/2008/10/22/ivy-league-theme-for-mutt/
> 
> I was looking for similar 256 color themes for mutt but there does not appear 
> to
> be any on the whole Internet.
> 
> Are there any other themes around? Or is anyone willing to share their colors?
> 

I'll attach mine (which I'm in the progress of changing again) ...

Otherwise there's at least *one* 256 colour theme to find in the whole Internet:

  http://www.calmar.ws/mutt/

Greetz
Stefan
# text colors - general functions
color normaldefault default   # normal text
color statusbrightcolor7color232  # status bar, last and first row
color searchbrightcolor7color1# search results
color message   brightcolor7default   # information messages, last row
color error color196default   # error messages, last row
color markers   color196default   # the + sign at the start of broken 
lines

# text colors - message index and attachment menu
color indicator  color232   brightcolor7  # current message selected
color tree   color196   default   # Threads' arrow
color index  color214   default ~F  # important messages  ! flag - 
command "F"
color index  color34default ~N  # new messagesN flag - command 
"N"
color index  color99default ~T  # tagged messages * flag - command 
"t"
color index  color34default ~U  # unread messages
color index  color196   default ~D  # deleted messages  D flag - 
commands "d"/"u"

# Score colors
#color index color99default '(~n 1-4)'# score 1-4
#color index color34default '(~n 5-7)'# score 5-7
#color index color21default '(~n 8-10)'   # score 8-10
#color index color232   default '(~n 11-50)'# score 11-50
#color index color196   default '(~n 51-100)'   # score 51-100

# text colors - pager
color hdrdefault color34default   # headers
#color header color202  default "^(from|subject|to):" # header from: 
subject: to:
color boldcolor23   default   # bold on mails' body
color underline   color202  default   # underlined
color attachment  color5default   # attachments
color signature   color1default   # signature
color tilde   color27   default   # ~ at the end of messages
color quoted  color1default   # quoted text 1st level
color quoted1 color34   default   # quoted text 2nd level
color quoted2 color99   default   # quoted text 3rd level
color quoted3 color202  default
color quoted4 color1default
color quoted5 color1default
color quoted6 color1default
color quoted7 color1default
color quoted8 color1default
color quoted9 color1default
#color body   color23   default  
"((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-zA-Z0-9_.:]\
#*[a-zA-Z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?"

# Ronald J Kimball's url regexp. mutt-user 04/05/28
color bodycolor202  default "(https?|ftp|gopher|finger)://([^"'"'"' 
\t\r\n)>.,!?&]\
|[.,!?][^"'"'"' \t\r\n)>.,!?&]|&([^g]|$)|&g([^t]|$)|>([^;]|$))+"
color bodycolor196  default  "[-a-za-z_0-9@[-a-za-z_0-9.]+"
color bodycolor34   default  "(^| )_[-a-zA-Z0-9_]+_[,.?]?[ \n]"

# enphasized text
color bodycolor34   default   "[*][-[:alnum:]]+[*]"
color bodycolor34   default   "[ ]_[-[:alnum:]]+_([ ]|\.)"

# vim: syntax=muttrc


pgpeIv2sXpg6E.pgp
Description: PGP signature


time

2010-01-05 Thread Ravi Uday
Hi,

how to change the date and time format from
PST to IndianStandardTime (IST) in .muttrc

- ravi


Re: time

2010-01-05 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tuesday, January  5 at 11:42 PM, quoth Ravi Uday:
>Hi,
>
>how to change the date and time format from
>PST to IndianStandardTime (IST) in .muttrc

Add this to your ~/.bashrc:

 export TZ=IST

~Kyle
- -- 
However many holy words you read, However many you speak, what good 
will they do you If you do not act on upon them?
  -- Buddha
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJLQ4MBAAoJECuveozR/AWeg+4P/iuYmERmpA5Bz5Be6abU1/6l
3I/CzVLamlSKfWvPeXvalTBYZKv9nHb4Hqw3U8tmoVC926aLjl5bfb38dbrHmQ/j
DtJE9xkOS7wNU+T13l4p3IrZaCPua3Ld0YP6nzvWrRpnlJXgxbJsDn/3tTlR8VZ4
/bGGwOq9Co31wskN0q5HYHs5wUrrmb8j4FMFur+7iOScRkvU0t+9ltDYxdSN84YT
YAhmZ8NIpm0r9RWQniREwqP2/oZiVqhoqEVbBbte2BGEajy/0oOJLVZ471j8fSYy
E42xYVSU7sEMKQfIUG4P84Wkw7COszL+LR0iLw0XphIzYeGx5X6Z6EnArqINIBa8
T3EUiovCW5PRCraW+LOCOWKkD2GrDCwyfmXs3x25sw2YgnE/keskEt3kYNmwSjCu
HdNG2iRsGh6kOYvgWmfgBXFl7hd37aSRq18B5pijMw69aIBjKdORy3jy1TpNamst
AtZ+TuSgL8OecRXPYPCMZJPxmRo7mk5BQUFRMm+U8xaeF2uXYfbs2/y48LpSnaD5
zILkjzIw8r04cRo1JEehMjETozo0BOj7JCESmw6KDpMXKrcLUJ1taZbkDkYc/R9b
lkO0Ri/LNud132CuTL+VL3l9YNNHDocSAKWCdBlCznT5l0mH4iXGqCtakCx2BKM1
c4KCEjULj82nyvEfHfFc
=WlUG
-END PGP SIGNATURE-


Re: time

2010-01-05 Thread Derek Martin
On Tue, Jan 05, 2010 at 12:20:49PM -0600, Kyle Wheeler wrote:
> On Tuesday, January  5 at 11:42 PM, quoth Ravi Uday:
> >Hi,
> >
> >how to change the date and time format from
> >PST to IndianStandardTime (IST) in .muttrc
> 
> Add this to your ~/.bashrc:
> 
>  export TZ=IST

Time zones cuks. ;-)

$ unset TZ
$ export TZ
$ date
Tue Jan  5 14:00:40 EST 2010
$ TZ=IST
$ date
Tue Jan  5 19:00:46 UTC 2010

Huh?  UTC?!

$ TZ=PST
$ date
Tue Jan  5 19:00:51 UTC 2010

Weird (only it's not...)

$ TZ=PST8PDT
$ date
Tue Jan  5 11:00:58 PST 2010

And to get IST, you need this:

$ TZ="Asia/Kolkata"
$ date
Wed Jan  6 00:31:04 IST 2010

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpPeuusY6g6d.pgp
Description: PGP signature


Re: Mutt 256 color themes

2010-01-05 Thread Charlie Kester

On Tue 05 Jan 2010 at 01:24:30 PST Charlie Kester wrote:

On Tue 05 Jan 2010 at 00:37:59 PST Horacio Sanson wrote:

I was looking for similar 256 color themes for mutt but there does not
appear to be any on the whole Internet.

Are there any other themes around? Or is anyone willing to share their
colors?


Also a work in progress, but here's what I use with a white background.



Like I said, it's a work in progress. After posting my colorscheme, of
course I had to start playing around with it again.  Among other things
I incorporated the much better regex's from Stefan's colorscheme.  


This is still for a white or nearly white background.  When you get to
my age it's hard to read light text on a dark background.  :-)

I changed the colors used for quoting -- I now use a gray for the first
quote level, so the current text seems to stand out more.   


I'm aiming for all quotes to have a somewhat subdued appearance.  Above
a certain level I just make them all a very light gray; these levels are
almost never used and when they are I usually don't want to read them
anyway.
# assumes light background and 256-color terminal
#
color index color22 default ~N  # new
color index bluedefault ~F  # 
flagged
color index color55 default ~T  # tagged
color index color52 default ~D  # 
deleted

color indicator black   color249# current message 
selected
color message   green   default # information messages, 
last row
color statuscolor139color254# status bar, last and first row
color error color58 default # error messages, last 
row
color markers   red yellow  # the + sign at 
the start of broken lines
color tilde black   default # the ~ at the 
end of messages
color searchblack   green   # search results
color tree  black   default # threads arrow

color hdrdefaultblack   default
color headergreen   default '^From:'
color headergreen   default '^Subject:'
color headercyandefault '^To:.*corky1951'

color normalblack   default # normal text
color quotedcolor245default
color quoted1   color138default
color quoted2   color58 default
color quoted3   color105default
color quoted4   color24 default
color quoted5   color250default
color quoted6   color250default
color quoted7   color250default
color quoted8   color250default
color bold  black   default # bold on 
mail's body
color attachmentblack   default
color signature color253default

# enphasized text
color bodycolor34   default   "[*][-[:alnum:]]+[*]"
color bodycolor34   default   "[ ]_[-[:alnum:]]+_([ ]|\.)"

# URLs
color bodycolor202  default "(https?|ftp|gopher|finger)://([^"'"'"' 
\t\r\n)>.,!?&]\
|[.,!?][^"'"'"' \t\r\n)>.,!?&]|&([^g]|$)|&g([^t]|$)|>([^;]|$))+"
color body  color22 default 
"[-a-za-z_0-9@[-a-za-z_0-9.]+"

# email addresses
color body  green   default 
"[-a-z_0-9.%...@[-a-z_0-9.]+\\.[-a-z][-a-z]+"

# Various smilies and the like
color body  red default 
"(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
color body  bluedefault 
"(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text.
color body  color105default 
"(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text.


# vim: syntax=muttrc


Re: time

2010-01-05 Thread Ravi Uday
Kyle,

This didn't work.

The mail header shows :

Date: Tue, 5 Jan 2010 21:59:44 -0800

but my laptop's time is : Jan-6th-2010 11:38 AM.

- Ravi

On Tue, Jan 5, 2010 at 11:50 PM, Kyle Wheeler  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On Tuesday, January  5 at 11:42 PM, quoth Ravi Uday:
>>Hi,
>>
>>how to change the date and time format from
>>PST to IndianStandardTime (IST) in .muttrc
>
> Add this to your ~/.bashrc:
>
>     export TZ=IST
>
> ~Kyle
> - --
> However many holy words you read, However many you speak, what good
> will they do you If you do not act on upon them?
>                                                              -- Buddha
> -BEGIN PGP SIGNATURE-
> Comment: Thank you for using encryption!
>
> iQIcBAEBCAAGBQJLQ4MBAAoJECuveozR/AWeg+4P/iuYmERmpA5Bz5Be6abU1/6l
> 3I/CzVLamlSKfWvPeXvalTBYZKv9nHb4Hqw3U8tmoVC926aLjl5bfb38dbrHmQ/j
> DtJE9xkOS7wNU+T13l4p3IrZaCPua3Ld0YP6nzvWrRpnlJXgxbJsDn/3tTlR8VZ4
> /bGGwOq9Co31wskN0q5HYHs5wUrrmb8j4FMFur+7iOScRkvU0t+9ltDYxdSN84YT
> YAhmZ8NIpm0r9RWQniREwqP2/oZiVqhoqEVbBbte2BGEajy/0oOJLVZ471j8fSYy
> E42xYVSU7sEMKQfIUG4P84Wkw7COszL+LR0iLw0XphIzYeGx5X6Z6EnArqINIBa8
> T3EUiovCW5PRCraW+LOCOWKkD2GrDCwyfmXs3x25sw2YgnE/keskEt3kYNmwSjCu
> HdNG2iRsGh6kOYvgWmfgBXFl7hd37aSRq18B5pijMw69aIBjKdORy3jy1TpNamst
> AtZ+TuSgL8OecRXPYPCMZJPxmRo7mk5BQUFRMm+U8xaeF2uXYfbs2/y48LpSnaD5
> zILkjzIw8r04cRo1JEehMjETozo0BOj7JCESmw6KDpMXKrcLUJ1taZbkDkYc/R9b
> lkO0Ri/LNud132CuTL+VL3l9YNNHDocSAKWCdBlCznT5l0mH4iXGqCtakCx2BKM1
> c4KCEjULj82nyvEfHfFc
> =WlUG
> -END PGP SIGNATURE-
>


Re: time

2010-01-05 Thread Li Xin
you can use procmail to change the time format.

Ravi Uday (raviu...@gmail.com) wrote [10.01.06 14:20]:
| Kyle,
| 
| This didn't work.
| 
| The mail header shows :
| 
| Date: Tue, 5 Jan 2010 21:59:44 -0800
| 
| but my laptop's time is : Jan-6th-2010 11:38 AM.
| 
| - Ravi
| 
| On Tue, Jan 5, 2010 at 11:50 PM, Kyle Wheeler  
wrote:
| > -BEGIN PGP SIGNED MESSAGE-
| > Hash: SHA256
| >
| > On Tuesday, January ?5 at 11:42 PM, quoth Ravi Uday:
| >>Hi,
| >>
| >>how to change the date and time format from
| >>PST to IndianStandardTime (IST) in .muttrc
| >
| > Add this to your ~/.bashrc:
| >
| > ? ? export TZ=IST
| >
| > ~Kyle
| > - --
| > However many holy words you read, However many you speak, what good
| > will they do you If you do not act on upon them?
| > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?-- Buddha
| > -BEGIN PGP SIGNATURE-
| > Comment: Thank you for using encryption!
| >
| > iQIcBAEBCAAGBQJLQ4MBAAoJECuveozR/AWeg+4P/iuYmERmpA5Bz5Be6abU1/6l
| > 3I/CzVLamlSKfWvPeXvalTBYZKv9nHb4Hqw3U8tmoVC926aLjl5bfb38dbrHmQ/j
| > DtJE9xkOS7wNU+T13l4p3IrZaCPua3Ld0YP6nzvWrRpnlJXgxbJsDn/3tTlR8VZ4
| > /bGGwOq9Co31wskN0q5HYHs5wUrrmb8j4FMFur+7iOScRkvU0t+9ltDYxdSN84YT
| > YAhmZ8NIpm0r9RWQniREwqP2/oZiVqhoqEVbBbte2BGEajy/0oOJLVZ471j8fSYy
| > E42xYVSU7sEMKQfIUG4P84Wkw7COszL+LR0iLw0XphIzYeGx5X6Z6EnArqINIBa8
| > T3EUiovCW5PRCraW+LOCOWKkD2GrDCwyfmXs3x25sw2YgnE/keskEt3kYNmwSjCu
| > HdNG2iRsGh6kOYvgWmfgBXFl7hd37aSRq18B5pijMw69aIBjKdORy3jy1TpNamst
| > AtZ+TuSgL8OecRXPYPCMZJPxmRo7mk5BQUFRMm+U8xaeF2uXYfbs2/y48LpSnaD5
| > zILkjzIw8r04cRo1JEehMjETozo0BOj7JCESmw6KDpMXKrcLUJ1taZbkDkYc/R9b
| > lkO0Ri/LNud132CuTL+VL3l9YNNHDocSAKWCdBlCznT5l0mH4iXGqCtakCx2BKM1
| > c4KCEjULj82nyvEfHfFc
| > =WlUG
| > -END PGP SIGNATURE-
| >

-- 
Li Xin
2010-01-06


Re: time

2010-01-05 Thread Patrick Ben Koetter
* Ravi Uday :
> Kyle,
> 
> This didn't work.
> 
> The mail header shows :
> 
> Date: Tue, 5 Jan 2010 21:59:44 -0800
> 
> but my laptop's time is : Jan-6th-2010 11:38 AM.

Did you source the ~/.bashrc after editing it?

p...@rick



> 
> - Ravi
> 
> On Tue, Jan 5, 2010 at 11:50 PM, Kyle Wheeler  
> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA256
> >
> > On Tuesday, January  5 at 11:42 PM, quoth Ravi Uday:
> >>Hi,
> >>
> >>how to change the date and time format from
> >>PST to IndianStandardTime (IST) in .muttrc
> >
> > Add this to your ~/.bashrc:
> >
> >     export TZ=IST
> >
> > ~Kyle
> > - --
> > However many holy words you read, However many you speak, what good
> > will they do you If you do not act on upon them?
> >                                                              -- Buddha
> > -BEGIN PGP SIGNATURE-
> > Comment: Thank you for using encryption!
> >
> > iQIcBAEBCAAGBQJLQ4MBAAoJECuveozR/AWeg+4P/iuYmERmpA5Bz5Be6abU1/6l
> > 3I/CzVLamlSKfWvPeXvalTBYZKv9nHb4Hqw3U8tmoVC926aLjl5bfb38dbrHmQ/j
> > DtJE9xkOS7wNU+T13l4p3IrZaCPua3Ld0YP6nzvWrRpnlJXgxbJsDn/3tTlR8VZ4
> > /bGGwOq9Co31wskN0q5HYHs5wUrrmb8j4FMFur+7iOScRkvU0t+9ltDYxdSN84YT
> > YAhmZ8NIpm0r9RWQniREwqP2/oZiVqhoqEVbBbte2BGEajy/0oOJLVZ471j8fSYy
> > E42xYVSU7sEMKQfIUG4P84Wkw7COszL+LR0iLw0XphIzYeGx5X6Z6EnArqINIBa8
> > T3EUiovCW5PRCraW+LOCOWKkD2GrDCwyfmXs3x25sw2YgnE/keskEt3kYNmwSjCu
> > HdNG2iRsGh6kOYvgWmfgBXFl7hd37aSRq18B5pijMw69aIBjKdORy3jy1TpNamst
> > AtZ+TuSgL8OecRXPYPCMZJPxmRo7mk5BQUFRMm+U8xaeF2uXYfbs2/y48LpSnaD5
> > zILkjzIw8r04cRo1JEehMjETozo0BOj7JCESmw6KDpMXKrcLUJ1taZbkDkYc/R9b
> > lkO0Ri/LNud132CuTL+VL3l9YNNHDocSAKWCdBlCznT5l0mH4iXGqCtakCx2BKM1
> > c4KCEjULj82nyvEfHfFc
> > =WlUG
> > -END PGP SIGNATURE-
> >

-- 
Postfix - Einrichtung, Betrieb und Wartung

saslfinger (debugging SMTP AUTH):