From: djk Date: Tue, 29 Jun 1999 09:24:35 +0000 (+0000) Subject: added ansi X-Git-Tag: R_1_30~3 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=5786033c3b690156c4de651c924509d4addf6b27;p=spider.git added ansi --- diff --git a/perl/Console.pm b/perl/Console.pm index cead75a4..fbb0dc16 100644 --- a/perl/Console.pm +++ b/perl/Console.pm @@ -23,7 +23,7 @@ package main; $maxkhist = 100; $maxshist = 500; -if ($ENV{'TERM'} =~ /xterm/) { +if ($ENV{'TERM'} =~ /(xterm|ansi)/) { $ENV{'TERM'} = 'color_xterm'; $foreground = COLOR_BLACK(); $background = A_BOLD|COLOR_WHITE();