On Saturday, January 7, 2017 at 1:20:14 PM UTC-5, Gary Johnson wrote:
> On 2017-01-07, Justin M. Keyes wrote:
> 
> > On Jan 6, 2017 17:09, "justrajdeep" wrote:
> 
> >>     Having an issue while doing a system() call with 
> >> fzy(https://github.com/
> >>     Dkendal/fzy-vim)from inside gvim
> >> 
> >>     Code snippet
> >> 
> >>       silent let output = system("ag -l -g '' --nocolor | fzy")
> >> 
> >>       Decho(1)
> >>       Decho (output)
> >>       Decho(2)
> >>       Decho(3)
> >> 
> >> 
> >>     The output is
> >> 
> >>         1
> >>         Failed to open /dev/tty^J
> >>         2
> >>         3
> >> 
> >> 
> >>     If i remove fzy from the command the result is fine. Can someone please
> >>     help me debugging the issue?
> 
> > Most likely, fzy wants to write to a tty, not a file.
> 
> Looking at the web page https://github.com/jhawthorn/fzy, it's
> pretty clear that fzy writes directly to a terminal, separately from
> its stdout, which vim running in a termina provides, but which gvim
> doesn't.
> 
> Regards,
> Gary


Thanks Gary,

Can you please point me to the details of this in vim help or somewhere? Sorry 
I am new to vim programming and would like to understand the difference and try 
to see if I can somehow get it working.

- Rajdeep

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to