diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:58:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:58:42 +0200 |
commit | 818078ddfbb8cc2546f697c5675a251d095722ec (patch) | |
tree | 96d4917c3f1631e1a2e6919c6989b5b2fe84d003 /runtime/doc/channel.txt | |
parent | 73d4e4c8922f6f4d256f910a18f47c0c3a48c28b (diff) | |
download | vim-git-818078ddfbb8cc2546f697c5675a251d095722ec.tar.gz |
Updated runtime files and translations.
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r-- | runtime/doc/channel.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index f0c56e940..5cc214caf 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 7.4. Last change: 2016 Aug 26 +*channel.txt* For Vim version 7.4. Last change: 2016 Aug 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -395,6 +395,9 @@ This {string} can also be JSON, use |json_encode()| to create it and It is not possible to use |ch_evalexpr()| or |ch_sendexpr()| on a raw channel. +A String in Vim cannot contain NUL bytes. To send or receive NUL bytes read +or write from a buffer. See |in_io-buffer| and |out_io-buffer|. + ============================================================================== 7. More channel functions *channel-more* @@ -480,7 +483,7 @@ For example, to start a job and write its output in buffer "dummy": > Job input from a buffer ~ - + *in_io-buffer* To run a job that reads from a buffer: > let job = job_start({command}, \ {'in_io': 'buffer', 'in_name': 'mybuffer'}) @@ -654,7 +657,7 @@ See |job_setoptions()| and |ch_setoptions()|. Writing to a buffer ~ - + *out_io-buffer* When the out_io or err_io mode is "buffer" and there is a callback, the text is appended to the buffer before invoking the callback. |