[pycopia] r726 committed - Increase robustness.

2 views
Skip to first unread message

pyc...@googlecode.com

unread,
May 15, 2013, 10:25:27 PM5/15/13
to pyc...@googlegroups.com
Revision: 726
Author: keith.dart
Date: Wed May 15 19:25:00 2013
Log: Increase robustness.

http://code.google.com/p/pycopia/source/detail?r=726

Modified:
/trunk/core/pycopia/inet/telnet.py
/trunk/process/pycopia/expect.py

=======================================
--- /trunk/core/pycopia/inet/telnet.py Tue Sep 11 11:13:35 2012
+++ /trunk/core/pycopia/inet/telnet.py Wed May 15 19:25:00 2013
@@ -435,7 +435,7 @@
os.close(fd)
except:
pass
- os.write(0, "rz -e\r") # needed with -e flag on sz
+ os.write(0, "rz -e -q -s +30\r") # needed with -e flag on sz
os.execlp("sz", "sz", "-e", "-q", "-y", "-L", "128", filename)
os._exit(1) # not normally reached
# parent
=======================================
--- /trunk/process/pycopia/expect.py Fri Jan 11 13:53:48 2013
+++ /trunk/process/pycopia/expect.py Wed May 15 19:25:00 2013
@@ -15,7 +15,7 @@

from __future__ import print_function
from __future__ import division
-from __future__ import unicode_literals
+#from __future__ import unicode_literals

"""
This module contains classes and functions that perform Expect-like
operations
Reply all
Reply to author
Forward
0 new messages