I'm currently trying to pass commands to a telnet session and get the texte generated (stdin + stdout) by the session. The problem I get is that the Telnet.read_until() function seems to freeze after a couple of command. I did a simplified script (attached) that reproduce the problem each time. In the script, when I send the command "echo bar7" to the telnet session, it freezes forever without a Timeout. I'm using 2.3.4 on Windows 2000 Server. According to a feedback for the comp.lang.python newsgroup, this problem do not occur on linux systems. Thanks Yannick yannick.turgeon@cablevision.qc.ca
Logged In: YES user_id=280297 Forget this bug. In fact it's not a bug. The problem comes from the fact that Microsoft does not use a *real* telnet server. It's documented in Perl Net::Telnet doc. They are not fully respecting telnet protocol.