You are not logged in.
Hi,
I have the following problem with bash:
in vi mode things work fine initially, but after some time the vi mode screws up, especially the 'c' command no longer means 'clear' but something weird like 'paste something somewhere in the line'.
I've typed 1000000 commands in vi-mode over the years, this has never happened before.
Does anyone else have this problem? Is this a bug or a new feature that I don't know about?
Thanks,
Daan
Offline
As a workaround, I start a new shell 'bash' when it happens.
It's really annoying. I'll downgrade to 4.2.020 to see if that solves it for now.
Offline
Does it help if you run the command "reset"?
Offline
Pardon my ignorance, but I've used 'c' in conjunction with 'w or 'e' ('change word') and it still works. 'c' alone doesn't do a thing.
If something does not work, I think it's readline's fault https://wiki.archlinux.org/index.php/Readline not bash's.
I'll keep an eye for unexpected behavior.
Offline
@brebs: no reset doesn't work
@karol: What I meant with having typed 1000000 commands is 'I know how vi-mode works' :-)
Readline hasn't been updated since Nov 2011. I would definitely have noticed that before.
Last edited by drrossum (2012-03-16 21:27:19)
Offline