Tyru wrote:

On Sun, Feb 7, 2016 at 10:27 PM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 7.4.1274
> Problem:    Cannot run a job.

Please don't quote the whole patch!

> This is a really big news :)
> Do you have a plan to add more channel functions, like
> 
> * Output to a spawned process's stdin
> * Input from a spawned process's stdout / stderr

Using a job stdin and/or stdout to connect a channel to would be
possible.  It's some work to handle the difference between a socket and
a file handle, but it's doable.  In fact, dealing with stdin/stdout
already exists for system().  Main difference is how to handle
non-blocking wait and timeout.

> I think it is useful if Vim has more communication APIs.

I don't have a goal of just adding more, it needs to be useful for
plugin writers.  It would be good to have examples of how a feature
would be used.

-- 
hundred-and-one symptoms of being an internet addict:
169. You hire a housekeeper for your home page.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui