File: scan.highlighted

package info (click to toggle)
nmh 1.6-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,204 kB
  • ctags: 3,851
  • sloc: ansic: 48,922; sh: 16,422; makefile: 559; perl: 509; lex: 402; awk: 74
file content (41 lines) | stat: -rw-r--r-- 1,472 bytes parent folder | download | duplicates (2)
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.
%;
%; The mh-sequence(5) man page 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}-%?{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}>>%>%(zputlit(lit ))