Opened 13 years ago

Closed 13 years ago

#29537 closed defect (fixed)

less 443: search bug

Reported by: vinc17@… Owned by: raimue (Rainer Müller)
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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by vinc17@…

Attachment: patch-command.c.diff added

patch

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:2 Changed 13 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.