New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29537 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

less 443: search bug

Reported by: vinc17@… Owned by: raimue@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc:
Port: less

Description

In less 443:

  1. Run "seq 1 500 | less".
  2. Type /100 [Enter] so that "100" is found.
  3. Type the key 'n' three times.

For the first two times, it is written:

Pattern not found  (press RETURN)

but after the third time, this line disappears. Moreover, just after this, special keys do not work. For instance, if I type [Page Up], I get "No bracket in top line (press RETURN)".

I reported this bug upstream, and it has been fixed. You may want to apply the attached patch.

Attachments

patch-command.c.diff (203 bytes) - added by vinc17@… 3 years ago.
patch

Change History

Changed 3 years ago by vinc17@…

patch

comment:1 Changed 3 years ago by ryandesign@…

  • Owner changed from macports-tickets@… to raimue@…
  • Cc raimue@… removed
  • Keywords haspatch added
  • Summary changed from search bug in less 443 to less 443: search bug

comment:2 Changed 3 years ago by raimue@…

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for the report and the patch, committed in r78958.

Note: See TracTickets for help on using tickets.