Red Hat Bugzilla – Bug 114060
.inputrc keybindings behave unexpectedly
Last modified: 2007-11-30 17:10:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; Linux i686; U) Opera 7.23 [en]
Description of problem:
In the man page for bash, it says that the Meta-key combinations can
be bound in two ways: either
In my experience, the first works, but the second doesn't. For
example, try putting the following in .inputrc:
then run bash, and type
bind -q history-search-backward
For me it says:
history-search-backward can be invoked via "?".
If I try the other form:
history-search-backward can be invoked via "\M-p".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See above.
I'm not sure if I understand which one is working -- for me it's the
other way round to the way you describe it.
Does it help to put 'set convert-meta On' immediately before that line?
No feedback; closing.
Sorry, not sure why I never replied to your question.
As I said originally, bindings of the form:
don't work, whereas
does work. Adding "set convert-meta On" before a binding of the form "Meta-p"
does indeed help.