Subject: | Can't support TERM=xterm-color |
Net::SSH::Perl can't support TERM=xterm-color now.
file Net/SSH/Perl/SSH2.pm line 221:
221 my($term) = $ENV{TERM} =~ /(\w+)/;
and file Net/SSH/Perl/SSH1.pm line 222:
222 my($term) = $ENV{TERM} =~ /(\w+)/;
had better modify above lines to:
my ($term) = $ENV{TERM} =~ /(\S+)/;
or
my $term = $ENV{TERM};