[Ssh-sftp-perl-users] Guru's advice is needed regarding SSH2.pm
Brought to you by:
dbrobins
From: Alexander K. <ale...@gm...> - 2007-03-14 10:35:14
|
Hi, This question is not to users but to authors of Net:SSH:Perl module. Could anybody tell me why we duplicate STDIN in _session_channel of SSH2.pm please? my $channel = $cmgr->new_channel( ctype => 'session', local_window => 32*1024, local_maxpacket => 16*1024, remote_name => 'client-session', rfd => _dup('STDIN', '<'), wfd => _dup('STDOUT', '>'), efd => _dup('STDERR', '>')); It causes issues like "SFTP::do_stat returns error if <ENTER> key is pressed" (sent 2006-11-29) I can not find the answer by myself. So, I decided to ask here about this. Maybe together we can find the fix of this annoying issue. Thanks, -- Alexander Kolotov |