From: Roland G. <rgi...@cp...> - 2008-05-23 14:16:37
|
I added the solution to the Expect pod, now I only need a reason to release the new version. :-) (but given that nobody seems to read the docs anyway before asking for help, I won't give that a high priority...) Thanks, Roland Salvador Fandino wrote: > Hi, > > Austin Schutz <te...@of...> wrote: > >> The issue you claim is that data is dropped when more than 512 bytes of >> data are passed to syswrite. I don't see how this can be an expect issue. At >> no point are you sending that much data through a pty. > > Well, yes, the bug was not in Expect, but the solution was to change the way Expect is used (actually the PTY) limiting its usage to the authentication phase. It is described here: http://perlmonks.org/?node_id=688097. > > Maybe it could be added to the Expect FAQ as it seems a useful idiom. > > > >> If the workaround to the bug in Net-SFTP-Foreign suggested at >> http://rt.cpan.org/Public/Bug/Display.html?id=35888 (again, not an expect bug) >> doesn't work you could use Expect to interact with openssh's sftp program. > > That's not the point, I am the module author ;-) > > Cheers, > > - Salva > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss > |