Thursday, July 7, 2022

Re: how to redirect pipe output to vim in case remote?



чт, 7 июл. 2022 г., 19:21 justrajdeep <justrajdeep@gmail.com>:

Hi

The following command works

ls | gvim -

But

ls | gvim --servername GVIM1 --remote-tab -

does not?

shouldnt it be similar in operation?


Thanks

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/7da748ad-0e0d-44f1-b007-391438b1a911n%40googlegroups.com.

No, it is not. Stdin /stdout cannot be shared among different processes, except ones in parent-child relationship.

You can redirect output to file and pass that file name instead.

Regards,
Matvey

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAFsTB%2BJPOet_5FSMgK2rJY9W%3DNmDc7hunq4in9SvH65yN1Kq_A%40mail.gmail.com.

No comments:

Post a Comment