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();
32 $mycallcolor = COLOR_PAIR(1);
34 [ '^DX de [\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)', COLOR_PAIR(1) ],
35 [ '^DX', COLOR_PAIR(5) ],
36 [ '^To', COLOR_PAIR(3) ],
37 [ '^WWV', COLOR_PAIR(4) ],
38 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
39 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
40 [ '^WX', COLOR_PAIR(3) ],
41 [ '^New mail', A_BOLD|COLOR_PAIR(5) ],
44 if ($ENV{'TERM'} =~ /(console|linux)/) {
45 $foreground = COLOR_WHITE();
46 $background = COLOR_BLACK();
47 $mycallcolor = COLOR_PAIR(1);
49 [ '^DX de [\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)', COLOR_PAIR(1) ],
50 [ '^DX', COLOR_PAIR(4) ],
51 [ '^To', COLOR_PAIR(3) ],
52 [ '^WWV', COLOR_PAIR(5) ],
53 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
54 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
55 [ '^WX', COLOR_PAIR(3) ],
56 [ '^New mail', A_BOLD|COLOR_PAIR(5) ],