Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to let putty change its cursor shape accordingly?

When I use putty to log on to a bash shell, I want it like real term emulator in Linux. That means: If I set shell to vi editing mode, the cursor would be a vertical line in inserting mode, and a block in a command mode. How can I do this?

Thanks all you folks!

like image 764
haohaolee Avatar asked Mar 06 '10 17:03

haohaolee


2 Answers

Unfortunately, this is not possible.

like image 179
Aaron Avatar answered Nov 10 '22 18:11

Aaron


It looks like there may be a way to do it through hacking readline. I have not tried it yet. Perhaps we could push for it to get mainstreamed? https://bbs.archlinux.org/viewtopic.php?id=106428

Apparently zsh has a similar hook built in according to this post that might be interesting to try: https://bbs.archlinux.org/viewtopic.php?pid=428452#p428452

like image 27
studgeek Avatar answered Nov 10 '22 20:11

studgeek