File: scan.highlighted

package info (click to toggle)
nmh 1.8-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,860 kB
  • sloc: ansic: 50,445; sh: 22,697; makefile: 1,138; lex: 740; perl: 509; yacc: 265
file content (41 lines) | stat: -rw-r--r-- 1,463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%; scan.highlighted
%;
%; This file shows how to use ANSI escape sequences to highlight a
%; 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.:
%;     scan: -form scan.highlighted
%;
%; You can optionally copy this file to your MH Path and modify as
%; desired.
%;
%; mh-sequence(5) describes the unseen sequence.
%;
%; A more readable approach would add escape sequences to your profile, e.g.:
%;     normal: 
%;     bright-black: 
%;     red: 
%;     green: 
%;     yellow: 
%;     blue: 
%;     magenta: 
%;     cyan: 
%;     bright-white: 
%;     underlined-white: 
%; To use them in the format, e.g., at the beginning:
%;     %<(cur)%(zputlit(profile yellow))%>\
%;     %<(unseen)%(zputlit(profile cyan))%>\
%; and at the end:
%;     %(void(profile normal))%(zputlit)
%;
%<(cur)%(zputlit(lit ))%>\
%<(unseen)%(zputlit(lit ))%>\
%4(msg)%<(cur)+%| %>%<{replied}-%| %>\
%02(mon{date})/%02(mday{date})%<{date} %|*%>\
%<(mymbox{from})%<{to}To:%14(unquote(decode(friendly{to})))%>%>\
%<(zero)%17(unquote(decode(friendly{from})))%>  \
%(decode{subject})%<{body}<<%{body}>>%>%(zputlit(lit ))