Re: [Twisted-Python] Telnet negotiation with Twisted

2011-12-03 Thread exarkun
On 03:53 am, lmors...@gmail.com wrote: >Jean-Paul, > >Thanks for your response. I still can't get self.will(LINEMODE) to work >but >I did get self.telnet_WILL(LINEMODE) to run without throwing an Error. >Can >you elaborate on what needs to happen in the enableRemote? My >impression >was that onc

Re: [Twisted-Python] Telnet negotiation with Twisted

2011-12-03 Thread Patrick Mylund Nielsen
Hi Lee, Here is a complete example that works with Twisted 11.0. LINEMODE itself is enabled at connect, but it has different modes that determine what is sent when by the client. (See section 2.2 of http://www.faqs.org/rfcs/rfc1184.html) # #!/usr/bin/env python from twisted.internet.protocol

Re: [Twisted-Python] Telnet negotiation with Twisted

2011-12-03 Thread Patrick Mylund Nielsen
Pardon my double-posting. Here it is, a little less confusing: #!/usr/bin/env python from twisted.internet.protocol import Factory from twisted.conch.telnet import TelnetProtocol, TelnetTransport from twisted.conch.telnet import WILL # More info: http://www.faqs.org/rfcs/rfc1184.html LINEMODE =

Re: [Twisted-Python] Telnet negotiation with Twisted

2011-12-03 Thread exarkun
On 02:22 pm, twis...@patrickmylund.com wrote: >Hi Lee, > >Here is a complete example that works with Twisted 11.0. LINEMODE >itself is enabled at connect, but it has different modes that >determine what is sent when by the client. (See section 2.2 of >http://www.faqs.org/rfcs/rfc1184.html) You can

Re: [Twisted-Python] Telnet negotiation with Twisted

2011-12-03 Thread Patrick Mylund Nielsen
That's much better, Jean-Paul. Thanks! On Sat, Dec 3, 2011 at 15:48, wrote: > On 02:22 pm, twis...@patrickmylund.com wrote: >>Hi Lee, >> >>Here is a complete example that works with Twisted 11.0. LINEMODE >>itself is enabled at connect, but it has different modes that >>determine what is sent wh

Re: [Twisted-Python] Telnet negotiation with Twisted

2011-12-03 Thread Lee Orsino
Patrick, Thanks so much for that example, it was really helpful! I understand a little better about how the protocol works. I tested it on Linux, and it works just like you said. Perhaps not surprisingly I'm having some difficulty when running the server on Windows. When I do a self.will(chr(1))

[Twisted-Python] Weekly Bug Summary

2011-12-03 Thread exarkun
Bug summary __ Summary for 2011-11-27 through 2011-12-04 Opened Closed Total Change Enhancements: 2 5786 -3 Defects: 2 3524 -1 Tasks: 0 0 7