Tuesday, December 15, 2009

Re: Vim script support of socket access or IPC (inter-process communication) ?



2009/12/15 pansz <panshizhu@routon.com>
Hi,

For some reason I need to access some local service within vim, this can
be Unix socket (d-bus, x message, etc.) or TCP socket (http, ftp, etc.).

A typical example is an IM engine, which can provide service to both XIM
and vimim. The engine may need a relatively long start-up time to build
the cache and it only need to start once, while vim should start-up very
fast and run many times. Separate them may be a good idea.

I found nothing related to socket access or IPC feature in vim script so
I cannot do that from within vim script. Seek for python or perl support
is not an option here, since we should not add unnecessary dependency to
end-users.

Adding IPC support seems no problem for vim design philosophy, since
this enables vim interact with other applications better, instead of
incorporating other application features into vim itself.

Any hints?

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
Aout the tcp sock,vim can do it whit the help of netrw.vim plugin
But i suggest that you should download the newest form the writer's website
here is the address:
In his website ,you will find netrw.vim and other useful plugin 
Have fun.


--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: