put in input filter for ann and output filters for ann/wwv/spots
[spider.git] / perl / Console.pm
index 052d1073a01ccf67f41d599ff0fc02449eecc06b..494392a7b86b2aa6d98307812c150acca6abeb46 100644 (file)
@@ -29,6 +29,7 @@ if ($ENV{'TERM'} =~ /(xterm|ansi)/) {
        $ENV{'TERM'} = 'color_xterm';
        $foreground = COLOR_BLACK();
        $background = COLOR_WHITE();
+       $mycallcolor = COLOR_PAIR(1);
        @colors = (
                   [ '^DX de [\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)', COLOR_PAIR(1) ],
                   [ '^DX', COLOR_PAIR(5) ],
@@ -43,6 +44,7 @@ if ($ENV{'TERM'} =~ /(xterm|ansi)/) {
 if ($ENV{'TERM'} =~ /(console|linux)/) {
        $foreground = COLOR_WHITE();
        $background = COLOR_BLACK();
+       $mycallcolor = COLOR_PAIR(1);
        @colors = (
                   [ '^DX de [\-A-Z0-9]+:\s+([57][01]\d\d\d\.|\d\d\d\d\d\d+.)', COLOR_PAIR(1) ],
                   [ '^DX', COLOR_PAIR(4) ],