Mercurial > vim
diff runtime/doc/channel.txt @ 7957:b74549818500 v7.4.1274
commit https://github.com/vim/vim/commit/835dc636a5350f610b62f110227d2363b5b2880a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 14:27:38 2016 +0100
patch 7.4.1274
Problem: Cannot run a job.
Solution: Add job_start(), job_status() and job_stop(). Currently only works
for Unix.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Feb 2016 14:30:04 +0100 |
parents | 3f2e0b62003d |
children | 45ea5ebf3a98 |
line wrap: on
line diff
--- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 7.4. Last change: 2016 Feb 05 +*channel.txt* For Vim version 7.4. Last change: 2016 Feb 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -93,7 +93,7 @@ The default is zero, don't wait, which i be running already. A negative number waits forever. "timeout" is the time to wait for a request when blocking, using -ch_sendexpr(). Again in millisecons. The default si 2000 (2 seconds). +ch_sendexpr(). Again in milliseconds. The default is 2000 (2 seconds). When "mode" is "json" the "msg" argument is the body of the received message, converted to Vim types. @@ -104,13 +104,13 @@ possible to receive a message after send The handler can be added or changed later: > call ch_setcallback(handle, {callback}) -When "callback is empty (zero or an empty string) the handler is removed. +When "callback" is empty (zero or an empty string) the handler is removed. NOT IMPLEMENTED YET The timeout can be changed later: > call ch_settimeout(handle, {msec}) NOT IMPLEMENTED YET - + *E906* Once done with the channel, disconnect it like this: > call ch_close(handle)