Thus spake Rejo Zenger ([EMAIL PROTECTED]):

> I just cannot figure out how to color the lines that surrounds PGP and
> GPG messages like, -- PGP output follows .... and [-- End of PGP output...
> 
> There are two problems. First of all, they don't seem to be part of the
> object called body. Which i should use instead is not clear to me (and
> yes, i did RTFM). Second, how to catch a literal '[' and ']'.

first change the attachment colour...
   color attachment  green        default  # ..

Then you can take it a little further and highlight some words based on gpg or
pgp output.

#colours for gnupg
   color  body     brightyellow    default "^(gpg: )?Good signature"
   mono   body     bold                    "^(gpg: )?Good signature"
   color  body     brightwhite     red     "^(gpg: )?(Bad|BAD) signature from.*"
   mono   body     bold                    "^(gpg: )?(Bad|BAD) signature from.*"
#colours for pgp
   color  body     brightyellow    default "^Good signature"
   mono   body     bold                    "^Good signature"
   color  body     brightwhite     red     "^Bad signature from.*"
   mono   body     bold                    "^Bad signature from.*"

If use slang instead of ncurses change default to black.

-- 
,                                   |          . OpenPGP Supported .          '
,  oneiros ([EMAIL PROTECTED])  |  .. the fortune for this e-mail is ..   '
,                                   |   Kiss me twice.  I'm schizophrenic.    '

Reply via email to