On 01/04/2013 08:58 AM, Antoine LECA wrote:
> Greg Reagle wrote:
>> One of the most useful features of Bash, for me, is
>> reverse-search-history which is bound to Control-R aka ctrl-r aka
>> "\C-r". This does not work for me in Minix. I am using QEMU on Linux.
>> Bash seems to completely ignore Control-R. Control-S works fine in
>> Bash. In Nano, Control-R works fine.
>>
>> I bound reverse-search-history to Meta-R by putting this in my
>> ~/.inputrc "Meta-r: reverse-search-history" and it works fine as Alt-R.
>> So I can use reverse-search-history, but why doesn't it work on the key
>> that my brain is already programmed to use?
>
> Does it work if you bind "manually" (in ~/.inputrc) like in
> ctrl-r: reverse-search-history
No. I don't think the problem is with the binding. It's just that bash
doesn't seem to see ctrl-r. For instance typing ctrl-q (quote the
following character) followed by ctrl-r does nothing.
Thanks for the suggestion, I hadn't tried it before you suggested it.