Hoss wrote:
> $ find . -mindepth 1 -maxdepth 1 -name '*.pm' | xargs sh -c
> '/usr/ local/bin/vim -p "$@" </dev/tty'
>
> The find command has 60 hits. Now, if I just run this
> command, it works fine, and I get 10 tabpages. I want each in
> their own tabpage, so I put this in my .vimrc file
>
> set tpm=60
>
> With that change, when I run the command, I get the following:
>
> Vim: Caught deadly signal SEGV
> Vim: Finished
> Segmentation fault

Please try a simpler test. Does the following lead to a crash?

" In Vim, source this code to make some test files.
function! MakeFiles(quantity)
  for i in range(1, a:quantity)
    let content = [printf('File #%02d content', i)]
    let fname = printf('test%02d.tmp', i)
    call writefile(content, fname)
  endfor
endfunction

" Make 60 test files (do this in a junk directory).
:call MakeFiles(60)

Exit Vim and enter a command like:
vim -N -u NONE -i NONE -p --cmd "set tpm=60" *.tmp

My gvim (7.3.3) runs the above ok (no crash).

John

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

Raspunde prin e-mail lui