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
Download (untitled) / with headers
text/plain 348b
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};
Download (untitled) / with headers
text/plain 684b
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/>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.