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!
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With