Red Hat Bugzilla – Bug 106876
toggle-case (~ aka tilde) doesn't work in bash's vi-mode
Last modified: 2007-04-18 12:58:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030702
Description of problem:
The ~ key should toggle the case of characters in vi-mode. In Redhat 9 it seems
to also inject a number of garbage characters into the command line as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add the following to .bash_profile
2. log in again
3. run bash
4. execute the command
set -o vi
5. at the prompt, enter:
6. hit ESC
7. hit LEFT twice
8. hit ~ (tilde)
command line changes to:
if I hit 'v' at this point (to edit the command line in vi) I see:
(that's "abC", y with an umlaut, "^RB^H", degree symbol, "^Q^H,de", in case this
web form can't digest the above. ^X == control-X)
so it isn't just a display problem. bash has actually mangled
the command line.
character under cursor should toggle case, so the command line
should change to:
This problem didn't exist in RedHat 6.2 or 7.3 with either bash or bash2.
Should be fixed in bash-2.05b-31, shortly to appear in rawhide.
Where can I get an RPM of the above?