2 # These are the default variables for the console program
4 # DON'T ALTER this file, copy it to ../local and alter that
5 # instead. This file will be overwritten with new releases
7 # Copyright (c) 1999 Dirk Koopman G1TLH
11 # The colour pairs are:-
13 # 0 - $foreground, $background
14 # 1 - RED, $background
15 # 2 - BROWN, $background
16 # 3 - GREEN, $background
17 # 4 - CYAN, $background
18 # 5 - BLUE, $background
19 # 6 - MAGENTA, $background
21 # You can or these with A_BOLD and or A_REVERSE for a different effect
28 if ($ENV{'TERM'} =~ /(xterm|ansi)/) {
29 $ENV{'TERM'} = 'color_xterm';
30 $foreground = COLOR_BLACK();
31 $background = COLOR_WHITE();
33 [ '^DX de [\-A-Z0-9]+:\s+(14[45]\d\d\d|5[01]\d\d\d)', COLOR_PAIR(1) ],
34 [ '^DX', COLOR_PAIR(5) ],
35 [ '^To', COLOR_PAIR(3) ],
36 [ '^WWV', COLOR_PAIR(4) ],
37 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
38 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
39 [ '^WX', COLOR_PAIR(3) ],
40 [ '^New mail', A_BOLD|COLOR_PAIR(5) ],
43 if ($ENV{'TERM'} =~ /(console|linux)/) {
44 $foreground = COLOR_WHITE();
45 $background = COLOR_BLACK();
47 [ '^DX de [\-\w]+:\s+(14[45]\d\d\d|5[01]\d\d\d)', COLOR_PAIR(1) ],
48 [ '^DX', COLOR_PAIR(4) ],
49 [ '^To', COLOR_PAIR(3) ],
50 [ '^WWV', COLOR_PAIR(5) ],
51 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
52 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
53 [ '^WX', COLOR_PAIR(3) ],
54 [ '^New mail', A_BOLD|COLOR_PAIR(5) ],