开发者

How to let putty change its cursor shape accordingly?

开发者 https://www.devze.com 2022-12-22 06:47 出处:网络
When I use putty to log on to a bash shell, I want it like real term emulator in Linux. That means: I开发者_如何学Cf I set shell to vi editing mode, the cursor would be a vertical line in inserting mo

When I use putty to log on to a bash shell, I want it like real term emulator in Linux. That means: I开发者_如何学Cf 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!


Unfortunately, this is not possible.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消