jszakmeister / vim-togglecursor

Toggle the cursor shape in the terminal for Vim.
http://www.vim.org/scripts/script.php?script_id=4403
119 stars 20 forks source link

doesn't work in putty #10

Closed huaihuaiVV closed 10 years ago

huaihuaiVV commented 10 years ago

when i use putty , it doesn't work ..

jszakmeister commented 10 years ago

This is somewhat documented here. A few things would need to happen to support changing the cursor shape. First, you would need to export some value for TERM_PROGRAM that vim-togglecursor would recognize--we could probably add a support for the value of putty if it works out well. But you all need to setup the remote end to accept the value of TERM_PROGRAM as mentioned here.

Simply put, many terminals don't support changing the cursor, so I'm conservative in activating it. Plus, when you SSH into another system, your whole environment does not come over. Without some clue as to the terminal on the client end, there isn't much vim-togglecursor can do.

jszakmeister commented 10 years ago

I'm closing this for now, but it's definitely a PuTTY issue--they don't support the necessary escape sequences. I've sent a feature request, but I'm sure they're swamped with other stuff. If you really want to see the feature, perhaps you can help by adding support for it @huaihuaiVV.