# 4 - CYAN, $background
# 5 - BLUE, $background
# 6 - MAGENTA, $background
-#
+# 7 - RED, BLUE
+# 8 - BROWN, BLUE
+# 9 - GREEN, BLUE
+# 10 - CYAN, BLUE
+# 11 - BLUE, RED
+# 12 - MAGENTA, BLUE
+# 13 - BROWN, GREEN
+# 14 - RED, GREEN
+#
# You can or these with A_BOLD and or A_REVERSE for a different effect
#
[ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
[ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
[ '^WX', COLOR_PAIR(3) ],
+ [ '^(User|Node)\b', COLOR_PAIR(8) ],
[ '^New mail', A_BOLD|COLOR_PAIR(5) ],
+
);
}
if ($ENV{'TERM'} =~ /(console|linux)/) {
[ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
[ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
[ '^WX', COLOR_PAIR(3) ],
+ [ '^(User|Node)\b', A_BOLD|COLOR_PAIR(8) ],
[ '^New mail', A_BOLD|COLOR_PAIR(5) ],
);
}
init_pair(4, COLOR_CYAN, $background);
init_pair(5, COLOR_BLUE, $background);
init_pair(6, COLOR_MAGENTA, $background);
+ init_pair(7, COLOR_RED, COLOR_BLUE);
+ init_pair(8, COLOR_YELLOW, COLOR_BLUE);
+ init_pair(9, COLOR_GREEN, COLOR_BLUE);
+ init_pair(10, COLOR_CYAN, COLOR_BLUE);
+ init_pair(11, COLOR_BLUE, COLOR_RED);
+ init_pair(12, COLOR_MAGENTA, COLOR_BLUE);
+ init_pair(13, COLOR_YELLOW, COLOR_GREEN);
+ init_pair(14, COLOR_RED, COLOR_GREEN);
}
$top = $scr->subwin(LINES()-4, COLS, 0, 0);