Yasuhiro Matsumoto wrote:

> > > Hi, bram and list.
> > > 
> > > In few weeks ago, Taro Muraoka posted a suggestion "+clientserver without 
> > X" 
> > > written by Yukihiro Nakadaira.
> > > I tested it on windows/linux both. It seems working good for me now.
> > > 
> > > I guess that this will be helpful to write client/server application with 
> >
> > > vimscript.
> > > Until now, most linux user couldn't write vimscript the asynchronizing 
> > > application. But this patch make be possible.
> > > 
> > > Bram, would you try to include it?
> > > 
> > > http://code.google.com/r/yukihironakadaira-vim-cmdsrv-nox/
> >
> > On Unix it uses sockets?  How does it protect from other users sending
> > commands to my Vim?
> >
> 
> Yes, it use unix domain socket. this control in /tmp/vim-cmdsrv-UID-SERVERID 
> on unix.
> And it is set permission 0600. For windows, it use named pipe. This is 
> provided for the user.
> i.e. serverlist() is listing the files /tmp/vim-cmd-.... 

This it's sure that only the user himself can access the Vim instance,
right?


> > That site doesn't seem to have a way to show a diff with the original
> > code.  Perhaps you can make a diff available?
> 
> Sorry, now I can't attach the file. I put it on following.
> 
> https://raw.github.com/gist/1011747/ba51bf12e331e2287ad299875561cb62a5c4280e

Thanks.  This is a big change.  I won't have time for this soon.  I hope
some others will try it out.

-- 
hundred-and-one symptoms of being an internet addict:
153. You find yourself staring at your "inbox" waiting for new e-mail
     to arrive.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui