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 Meta-<key>: function or "\M-<key>": function In my experience, the first works, but the second doesn't. For example, try putting the following in .inputrc: Meta-p: history-search-backward 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: "\M-p": history-search-backward I get: history-search-backward can be invoked via "\M-p". Version-Release number of selected component (if applicable): 2.05b-34 How reproducible: Always Steps to Reproduce: 1. See above. 2. 3. Additional info:
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: Meta-p: function don't work, whereas "\M-p": function does work. Adding "set convert-meta On" before a binding of the form "Meta-p" does indeed help.
Reported upstream.