* Ctrl+R breaks `less' searches
@ 2010-04-02 16:57 Lee Maschmeyer
2010-04-05 17:37 ` Lee Maschmeyer
0 siblings, 1 reply; 4+ messages in thread
From: Lee Maschmeyer @ 2010-04-02 16:57 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Hi folks,
Use of Ctrl+R in a `less' search breaks the search unless one has already
succeeded.
For example, I have a file with the word "book" on line 2.
Session 1:
/book
(it finds book)
Session 2:
/~Rbook
Pattern not found
Session 3:
/book
(it finds book)
<home>
/~Rbook
(it finds book)
This doesn't happen on Linux. IIRC my $LESS variable and .lesskey file are
the same in both places.
I hope this makes sense,
--
Lee Maschmeyer
Wayne State University Computing Center
5925 Woodward, #281
Detroit MI 48202
USA
[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 216645 bytes --]
[-- Attachment #3: Type: text/plain, Size: 218 bytes --]
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ctrl+R breaks `less' searches
2010-04-02 16:57 Ctrl+R breaks `less' searches Lee Maschmeyer
@ 2010-04-05 17:37 ` Lee Maschmeyer
2010-04-05 19:20 ` Larry Hall (Cygwin)
2010-04-06 7:34 ` Corinna Vinschen
0 siblings, 2 replies; 4+ messages in thread
From: Lee Maschmeyer @ 2010-04-05 17:37 UTC (permalink / raw)
To: cygwin
>Use of Ctrl+R in a `less' search breaks the search unless a search has
>already succeeded.
1.7.3-1 fixed a lot of more important things, but unfortunately it didn't
fix this one. A standard search must succeed before a ~R (Regex-off) search
will succeed. So if I'm searching for something which requires regular
expressions to be off, I'll never find it unless I first search for
something that doesn't require Regex-off.
I sent the cygcheck output with the original report last week. Do you need
another one?
Have fun,
--
Lee Maschmeyer
Wayne State University Computing Center
5925 Woodward, #281
Detroit MI 48202
USA
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ctrl+R breaks `less' searches
2010-04-05 17:37 ` Lee Maschmeyer
@ 2010-04-05 19:20 ` Larry Hall (Cygwin)
2010-04-06 7:34 ` Corinna Vinschen
1 sibling, 0 replies; 4+ messages in thread
From: Larry Hall (Cygwin) @ 2010-04-05 19:20 UTC (permalink / raw)
To: cygwin
On 4/5/2010 1:36 PM, Lee Maschmeyer wrote:
>> Use of Ctrl+R in a `less' search breaks the search unless a search has
>> already succeeded.
>
> 1.7.3-1 fixed a lot of more important things, but unfortunately it
> didn't fix this one. A standard search must succeed before a ~R
> (Regex-off) search will succeed. So if I'm searching for something which
> requires regular expressions to be off, I'll never find it unless I
> first search for something that doesn't require Regex-off.
>
> I sent the cygcheck output with the original report last week. Do you
> need another one?
No what you sent was fine. You're covered unless someone requests more
data.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ctrl+R breaks `less' searches
2010-04-05 17:37 ` Lee Maschmeyer
2010-04-05 19:20 ` Larry Hall (Cygwin)
@ 2010-04-06 7:34 ` Corinna Vinschen
1 sibling, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2010-04-06 7:34 UTC (permalink / raw)
To: cygwin
On Apr 5 13:36, Lee Maschmeyer wrote:
> >Use of Ctrl+R in a `less' search breaks the search unless a search has
> >already succeeded.
>
> 1.7.3-1 fixed a lot of more important things, but unfortunately it
> didn't fix this one. A standard search must succeed before a ~R
> (Regex-off) search will succeed. So if I'm searching for something
> which requires regular expressions to be off, I'll never find it
> unless I first search for something that doesn't require Regex-off.
That's not a Cygwin problem. I can reproduce this behaviour on Fedora
11 with less 429 as well. Less 436 in Fedora 12 is apparently fixed.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-06 7:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-02 16:57 Ctrl+R breaks `less' searches Lee Maschmeyer
2010-04-05 17:37 ` Lee Maschmeyer
2010-04-05 19:20 ` Larry Hall (Cygwin)
2010-04-06 7:34 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).