X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=etc%2Fscan.highlighted;h=4bffe588e2661ad3f8d4be367ab85612a0437474;hb=6238d42a75a5e72619ee9c1df1d7649ece6cdaaf;hp=134317b9f9bae3fca5ee1eb2799bb504c1a6875b;hpb=90986dddba4b24b0449238f86f836581cfb93938;p=mmh diff --git a/etc/scan.highlighted b/etc/scan.highlighted index 134317b..4bffe58 100644 --- a/etc/scan.highlighted +++ b/etc/scan.highlighted @@ -1,9 +1,10 @@ %; scan.highlighted %; %; This file shows how to use ANSI escape sequences to highlight a -%; current message in yellow and any unseen messages in cyan. It -%; differs from the default scan format in the two additional lines at -%; the beginning and the literal sequence at the end. +%; current message in yellow and any unseen messages in cyan (both on +%; black background). It differs from the default scan format in the +%; two additional lines at the beginning and the literal sequence at +%; the end. %; %; To enable use of this format, add "-form scan.highlighted" to your %; scan invocation or to your profile (~/.mh_profile), e.g.: @@ -26,15 +27,15 @@ %; bright-white:  %; underlined-white:  %; To use them in the format, e.g., at the beginning: -%; %<(cur)%(void(profile yellow))%(zputlit)%>\ -%; %<(unseen)%(void(profile cyan))%(zputlit)%>\ +%; %<(cur)%(zputlit(profile yellow))%>\ +%; %<(unseen)%(zputlit(profile cyan))%>\ %; and at the end: %; %(void(profile normal))%(zputlit) %; -%<(cur)%(void(lit ))%(zputlit)%>\ -%<(unseen)%(void(lit ))%(zputlit)%>\ +%<(cur)%(zputlit(lit ))%>\ +%<(unseen)%(zputlit(lit ))%>\ %4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ %02(mon{date})/%02(mday{date})%<{date} %|*%>\ %<(mymbox{from})%<{to}To:%14(decode(friendly{to}))%>%>\ %<(zero)%17(decode(friendly{from}))%> \ -%(decode{subject})%<{body}<<%{body}>>%>%(void(lit ))%(zputlit) +%(decode{subject})%<{body}<<%{body}>>%>%(zputlit(lit ))