views:

80

answers:

1

Hello. I've just added vim to my current Cygwin installation, and it doesn't work properly.

The problem is: when I type vim <Enter> it opens Vim with the help splash screen (in color) - OK.

I then try to exit with :q , and it sleeps a couple of seconds, then it exits but when I type a character at the command line it pre-pends a spurious string (6c6c). Other similar issues when I try to edit a file in vi instead of exiting right away.

I suppose it is a color/TERM issue, but I don't have much experience in that kind of stuff.

Thanks for any help.

+1  A: 

What terminal are you launching vim from? I'd suggest using rxvt. This solves many issues with ncurses type programs.

Sometimes people change their TERM variable. Generally, you shouldn't do this, so long as your environment has the correct termcap installed, this isn't needed. If your use rvxt your TERM variable will default to 'rxvt-cygwin-native'.

brianegge