pexpect maxread problem

Bojan Sukalo shukalo83 at yahoo.com
Thu Oct 22 07:55:42 EDT 2009


I want to collect the the information from cisco devices through ssh. Using pexpect logout method seems good but maxread attribute is limited to 1168 characters. Allthough I set it to 2000, when I do show running-config on cisco router output comes to the logfile until the 1168 character is reached.  Windows size is 500 x 80. I checked the maxread atribute and it's 2000 during the code execution. What stops the output of beeing written into log file?



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091022/f37fc5d6/attachment.html>


More information about the Python-list mailing list