[Reality] PATCH: /reality/wiring.py delimiters

Lee Harr reality@twistedmatrix.com
Sat, 05 Jul 2003 01:17:07 +0000


Hi;

I am not sure if this should go to protocols.telnet.Telnet, or if
this is just a sign of a broken client, but this patch allows me
to connect reality servers using mudix.


>cvs diff -u reality/wiring.py
Index: reality/wiring.py
===================================================================
RCS file: /cvs/NewReality/reality/wiring.py,v
retrieving revision 1.12
diff -u -r1.12 wiring.py
--- reality/wiring.py   20 May 2003 02:17:38 -0000      1.12
+++ reality/wiring.py   5 Jul 2003 01:11:44 -0000
@@ -9,6 +9,7 @@
DEBUG = 0

class TextServer(telnet.Telnet):
+    delimiters = ['\r\n', '\r\000', '\n']
     mode = "Command"
     __implements__ = IEventReceiver, IMoveListener
     def welcomeMessage(self):

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail