Keyboard issue when using kitty+puttycyg but not when using putty or cygwin alone

2

I would like to use a unique way to use console on my windows setup. Previously I used putty for remote access to linux servers and cygwin to have unix-like tools on windows.

Then I discovered kitty which is a patched putty and have added the puttycyg patch. It provides the same way to connect to remote and local console.

However, there is a strange behavior using vim when connected to the local console (using the puttycyg patch) : keys display A/B/C/D and replace the current character by these letter. In insert mode it does replace the caracter, in normal mode, no modification is made to the document even if the caracter is displayed as replaced.

For instance, when I type :

fixed bug with product deleted

I get :

fixed  bbug wiwith  prprodudueleteted

I have read a lot of questions about this type of issue 3, [4] and googled it but there is no answer that work for me.

The issue is present only for the setup kitty+puttycyg patch : cygwin alone works perfectly (and putty alone works also for access to linux servers).

Any help would be appreciated !

EDIT : I have tested without my usual vimrc. The result was different because there double insertion issue disappeared and I had issue with direction keys instead.

I could correct it with : set term=builtin_ansi but I'd like to have my full vimrc. I will try today to add options one by one to see which one isthe faultive.

kamaradclimber

Posted 2011-11-15T12:30:02.860

Reputation: 113

While you clearly thought Superuser was a better site for this question because you searched for an answer there, you still decided to post it here? – JJJ – 2011-11-15T12:34:34.167

ok, can it be moved to Superuser ? – kamaradclimber – 2011-11-15T16:35:41.367

It sounds as though you need to file a bug report with the kitty and/or puttycyg developers. – Andrew Schulman – 2011-11-17T21:27:59.333

maybe but I think, as this is a common ug with bad config of putty, that there maybe a conf tweak to be sure. – kamaradclimber – 2011-11-18T06:45:23.980

no answer from the kitty devs... – kamaradclimber – 2011-11-23T14:36:26.613

Answers

1

This may be due to a lack of a .vimrc file.

I experienced the same issue when first using the mintty terminal instead of the default Cygwin terminal. Adding a .vimrc file seemed to solve it. If you don't have a .vimrc file, I would suggest using the example one included with the vim installation:

cp /user/share/vim/vim73/vimrc_example.vim ~/.vimrc

Jacob

Posted 2011-11-15T12:30:02.860

Reputation: 80

In fact I have a [.vimrc ][https://github.com/kamaradclimber/Dotfiles/blob/master/.vimrc] and I have seen that not using it changed somewhat the situation : see me edit of the question. – kamaradclimber – 2011-11-24T06:51:07.273

ok, this is definitely due to my vimrc : without vimrc it works like a charm, with the example, it works too. I need to check all the option of the vimrc file. thanks @Jacob – kamaradclimber – 2011-11-24T12:38:25.377