[Twisted-Python] Re: readline-like behavior inside Twisted (was Re: Re: Synchronization techniques)
micahel at gmail.com
Mon Apr 9 10:33:26 EDT 2007
Jean-Paul Calderone <exarkun <at> divmod.com> writes:
> I haven't looked at pyreadline before, although I did take a look at UNC a
> long time ago. Taking a quick look at the code, it looks like converting
> pyreadline to be Twisted friendly may be doable.
This isn't really a followup, but it seems worthwhile to mention that GNU
readline itself has a callback interface (rl_callback_read_char) that would be
suitable for using with Twisted. You'd have to use ctypes or something to get
to it, but it's there.
More information about the Twisted-Python