[slim-vim] ECL Socket callbacks?
Brad Beveridge
brad.beveridge at gmail.com
Fri May 19 11:37:29 CDT 2006
I just posted this to the ECL list, but thought I'd ask here too. I'm
hoping Jim might have some ideas :)
Do we need to modify Vim a bit more to support this kind of async
action, or do the current async changes suffice? If so - what do I
need to do?
Here's what I posted:
Hi all, I think that the question I want to ask is "Does ECL support
something similar to SBCL's sb-sys:add-fd-handler, where code can be
run when data appears on a file descriptor?"
I think this is mostly used to detect incoming data on a socket and
run a handler.
My situation is this:
- I'm using ECL embedded in Vim (http://wiki.alu.org/Vim_ECL), as
such my Lisp code is not hooked to the main loop, and I don't think I
can use threads
- I create a socket in Lisp that expects incoming data and I want to
automatically handle that data
Any thoughts on how I can handle this with ECL?
Cheers
Brad
More information about the slim-vim
mailing list