On Mon, March 12, 2012 12:23, [email protected] wrote:
> Hi,
>
> I was introducing myself to Vim script and was playing around
> with the tmux program (similar to Gnu screen).
>
> My problem is that I found a way to freeze my Vim but I do not
> understand what I did wrong. Maybe you can help me.
>
> If I execute
> :echo system("tmux list-sessions")
> Vim freezes immediately.
>
> tmux list-sessions in any terminal (like xterm) works as expected.
> :echo system("ls") in Vim also works fine.
>
> I hope you can explain this to me.
>
> Thank you very much,
>
> Michael

This is  a problem in the way tmux works. It simply doesn't return and
Vim waits forever ;(

You can reproduce this behaviour, running tmux list-sessions > foobar
This also doesn't return and tmux itself keeps on waiting for it's
children. I have looked into the tmux code, but haven't found the
issue yet.

But anyway, you'll probably check the latest version from svn and see
if this behaviour is fixed there or else report a bug.

regards,
Christian

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

Reply via email to