Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 61388
Status: open
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: su2admin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.34
Fixed in: (no value)



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};
On Thu Sep 16 03:02:14 2010, FLW wrote: Show quoted text
> 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};
I don't know how to reproduce the problem but the fix looks easy. I added it to https://github.com/renormalist/Net-SSH-Perl for another release. Kind regards, Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>