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!


不幸的是,这是不可能的。


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


In the putty configuration, look under the 'Category' treeview, click on 'Window', there's a node underneath that called 'Appearance', Look at the cursor appearance on the right hand side pane of that dialog, check the box 'Cursor blinks'...then save that in your profile.

Hope this helps, Best regards, Tom.

链接地址: http://www.djcxy.com/p/45142.html

上一篇: 什么是好的jQuery插件来突出代码和XML内容?

下一篇: 如何让腻子相应地改变光标形状?