Hi, Does anyone know how to check the vim server free/busy status?

I tried the following solution. But I just always get busy from repl...

call remote_send("REMOTESERVER", ":echo " . 'server2client(expand("<client>"), 
"busy")<CR>', "serverid")
call remote_send("REMOTESERVER", ":sleep 10<CR>", "serverid")
call remote_send("REMOTESERVER", ":echo " . 'server2client(expand("<client>"), 
"free")<CR>', "serverid")
let repl = ""
echo "PEEK: ".remote_peek(serverid, "repl").": ".repl


thanks~

--
All the best,

Zhao Cai


-- 
You received this message from the "vim_use" 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

Reply via email to