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
29 # You can or these with A_BOLD and or A_REVERSE for a different effect
36 if ($ENV{'TERM'} =~ /(xterm|ansi)/) {
37 # $ENV{'TERM'} = 'color_xterm';
38 $foreground = COLOR_BLACK();
39 $background = COLOR_WHITE();
40 $mycallcolor = COLOR_PAIR(1);
42 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
43 [ '^DX de [\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)', COLOR_PAIR(1) ],
44 [ '^RB de', COLOR_PAIR(2) ],
45 [ '^To', COLOR_PAIR(3) ],
46 [ '^WX', COLOR_PAIR(3) ],
47 [ '^(?:WWV|WCY)', COLOR_PAIR(4) ],
48 [ '^DX', COLOR_PAIR(5) ],
49 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
50 [ '^(User|Node|Buddy)\b', COLOR_PAIR(8) ],
51 [ '^New mail', A_BOLD|COLOR_PAIR(5) ],
54 if ($ENV{'TERM'} =~ /(console|linux)/) {
55 $foreground = COLOR_WHITE();
56 $background = COLOR_BLACK();
57 $mycallcolor = COLOR_PAIR(1);
59 [ '^DX de [\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)', COLOR_PAIR(1) ],
60 [ '^RN de', COLOR_PAIR(2) ],
61 [ '^DX', COLOR_PAIR(4) ],
62 [ '^To', COLOR_PAIR(3) ],
63 [ '^(?:WWV|WCY)', COLOR_PAIR(5) ],
64 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ \d\d-\w\w\w-\d\d\d\d \d\d\d\dZ', COLOR_PAIR(0) ],
65 [ '^[-A-Z0-9]+ de [-A-Z0-9]+ ', COLOR_PAIR(6) ],
66 [ '^WX', COLOR_PAIR(3) ],
67 [ '^(User|Node)\b', A_BOLD|COLOR_PAIR(8) ],
68 [ '^New mail', A_BOLD|COLOR_PAIR(5) ],