%; 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 ))