Reminds me not to try to make my own auto-reply bot, even if it's in Twisted ;)
On Sun, Jan 1, 2012 at 02:58, wrote:
> Ladies and gentleman, I will be unplugged from my email until the 17th of
> January.
>
> In the mean time here's a video of a bunny opening your mail
> http://www.youtube.com/
Hi Lee,
You're welcome, although it seems I didn't solve your problem.
I've tried running it on Linux (don't think it's significant) and
connecting from Windows. It seems like Windows Telnet doesn't support
it at all, and PuTTY's implementation is different: It negotiates, but
doesn't actually ch
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
def buildProtocol(self, addr):
return LinemodeTransport(LinemodeProtocol)
if __name__ == '__main__':
from twisted.internet import reactor
port =
factory = LinemodeFactory()
reactor.listenTCP(port, factory)
reactor.run()
On Sat, Dec 3, 2011 at 15:22, Patrick
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
For clarity, self.linemode has no special significance--it was just an
easy way to keep track of what was negotiated with the client.
On Fri, Dec 2, 2011 at 01:26, Patrick Mylund Nielsen
wrote:
> Hi Lee,
>
> Does using TelnetTransport 'will' and 'requestNegotation
Hi Lee,
Does using TelnetTransport 'will' and 'requestNegotation' work? E.g.
self.will(LINEMODE)
self.requestNegotiation(LINEMODE, '')
I'm not completely sure about LINEMODE, but if the client sends back a
DO, you might use something like:
class MyTransport(TelnetTransport):
def connection
That is sufficient, yes.
You might even want to make that 'epoll' since it scales better than
poll (assuming you're running on Linux 2.6+ only)
Best,
Patrick
2011/4/27 Juan Antonio IbaƱez Santorum :
> Must I make any change appart from start the app with twistd plus '-r poll'?
>
> 2011/4/27 Luke