Re: Which character is used to reverse the direction in isearch.c?
From:
Chet Ramey
Subject:
Re: Which character is used to reverse the direction in isearch.c?
Date:
Fri, 24 Jan 2025 12:12:51 -0500
User-agent:
Mozilla Thunderbird
On 1/23/25 4:29 PM, Siddh Raman Pant wrote:
Hi,
I'm trying to see how Ctrl + Shift + R when in
the reverse-i-search mode causes us to scroll
down.
Let's start with the basic questions. What's that key sequence bound to, if
anything? Usually, ^r and ^R produce the same key sequence, if the terminal
allows you to enter the latter at all. In any case, readline normalizes the
key binding, because there are only a limited set of control characters and
there's no way to represent ^r and ^R as being different.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/