Friday, July 29, 2011

Vim: Warning: Output is not to a terminal

Hi,

Happy Friday everyone!

Have anyone seen this error before?

Vim: Warning: Output is not to a terminal

I'm writing a bash script to do merges in Mercurial and using vimdiff as the merge tool.   When there are merge conflicts that requires manual interactions it will open up vimdiff of the two files, but it seems to hang on

Vim: Warning: Output is not to a terminal   and the terminal is stuck.

I have no problems executing vimdiff <file1> <file2> manually.  This only happens when running it through a bash script.  I'm not sure if I'm missing an environment setting somewhere.

Thanks,

KD

No comments: