On Tuesday, June 7, 2011 12:50:38 PM UTC+9, Bram Moolenaar wrote: > > > 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-.... 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. - Yasuhiro Matsumoto -- 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
