On Wednesday March 14, 2007 02:35, Alexander Kolotov wrote:
> 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?
I'm the current maintainer, but I don't know why we do that - it was there when I took over the code.
Perhaps the better question is, what happens if we no longer do it? Will it break anything important?
> 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.
--
Dave
Isa. 40:31
|