Wednesday, July 11, 2012

Cannot use vimdiff when started from cygwin

Hi,

I am trying to start vimdiff from a cygwin shell but it is not working properly.

I start it with
gvimdiff.bat file1 file2

and the error messages I get is:
E810: Cannot read or write temp files
E97: Cannot create diffs

I tried setting different values for the TMP variable in _vimrc, something like
let $TMP="C:/tmp"

but this isn't doing any difference.

vimdiff works fine if it is started from a cmd shell.

I tried
:!diff -v
in gvim started from the cmd and from cygwin.

From cmd I get:
c:\windwos\system32\cmd.exe /c (diff -v)
diff - GNU diffutils version 2.7

From cygwin I get:
/bin/bash -c "diff -v"
The system cannot find the path specified.
sheell returned 1


Any idea how to make diff work on gvimdiff.bat started from cygwin bash shell?

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

No comments:

Post a Comment