[Twisted-Python] Forcing telnet connections to character mode using twisted.conch.telnet.Telnet

Jean-Paul Calderone exarkun at divmod.com
Thu Apr 24 15:30:51 EDT 2008


On Thu, 24 Apr 2008 15:24:25 -0400, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> [snip]
>
>    d = self.do(LINEMODE)
>    def cbLinemode(ignored):
>        self.requestNegotiate(LINEMODE, LINEMODE_MODE + '\0')

Of course, cbLinemode should have been added as a callback to d.

Jean-Paul




More information about the Twisted-Python mailing list