1- *channel.txt* For Vim version 8.0. Last change: 2017 Jun 11
1+ *channel.txt* For Vim version 8.0. Last change: 2017 Jul 22
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -611,7 +611,7 @@ See |job_setoptions()| and |ch_setoptions()|.
611611"close_cb": handler Callback for when the channel is closed. Same as
612612 "close_cb" on | ch_open() | , see | close_cb | .
613613 *job-drop*
614- "drop" Specifies when to drop messages. Same as "drop" on
614+ "drop": when Specifies when to drop messages. Same as "drop" on
615615 | ch_open() | , see | channel-drop | . For "auto" the
616616 exit_cb is not considered.
617617 *job-exit_cb*
@@ -624,12 +624,12 @@ See |job_setoptions()| and |ch_setoptions()|.
624624 Note that data can be buffered, callbacks may still be
625625 called after the process ends.
626626 *job-timeout*
627- "timeout" The time to wait for a request when blocking, E.g.
627+ "timeout": time The time to wait for a request when blocking, E.g.
628628 when using ch_evalexpr(). In milliseconds. The
629629 default is 2000 (2 seconds).
630630 *out_timeout* *err_timeout*
631- "out_timeout" Timeout for stdout. Only when using pipes.
632- "err_timeout" Timeout for stderr. Only when using pipes.
631+ "out_timeout": time Timeout for stdout. Only when using pipes.
632+ "err_timeout": time Timeout for stderr. Only when using pipes.
633633 Note: when setting "timeout" the part specific mode is
634634 overwritten. Therefore set "timeout" first and the
635635 part specific mode later.
@@ -641,8 +641,9 @@ See |job_setoptions()| and |ch_setoptions()|.
641641 The default is "term".
642642
643643 *job-term*
644- "term": "open" Start a terminal and connect the job
645- stdin/stdout/stderr to it.
644+ "term": "open" Start a terminal in a new window and connect the job
645+ stdin/stdout/stderr to it. Similar to using
646+ `:terminal ` .
646647 NOTE: Not implemented yet!
647648
648649"channel": {channel} Use an existing channel instead of creating a new one.
@@ -652,6 +653,11 @@ See |job_setoptions()| and |ch_setoptions()|.
652653 cause I/O errors.
653654 Existing callbacks and other settings remain.
654655
656+ "pty": 1 Use a pty (pseudo-tty) instead of a pipe when
657+ possible. This is most useful in combination with a
658+ terminal window, see | terminal | .
659+ {only on Unix and Unix-like systems}
660+
655661 *job-in_io* *in_top* *in_bot* *in_name* *in_buf*
656662"in_io": "null" disconnect stdin (read from /dev/null)
657663"in_io": "pipe" stdin is connected to the channel (default)
0 commit comments