Debian Bug report logs - #706074
less: Incorrect hilighting of search results

version graph

Package: less; Maintainer for less is Milan Kupcevic <[email protected]>; Source for less is src:less (PTS, buildd, popcon).

Reported by: Bas van Sisseren <[email protected]>

Date: Wed, 24 Apr 2013 13:09:01 UTC

Severity: minor

Found in version less/436-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Anibal Monsalve Salazar <[email protected]>:
Bug#706074; Package less. (Wed, 24 Apr 2013 13:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to Bas van Sisseren <[email protected]>:
New Bug report received and forwarded. Copy sent to Anibal Monsalve Salazar <[email protected]>. (Wed, 24 Apr 2013 13:09:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Bas van Sisseren <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: less: Incorrect hilighting of search results
Date: Wed, 24 Apr 2013 14:39:12 +0200
Package: less
Version: 436-1
Severity: minor


When searching for lines starting with some characters, less also sometimes
hilight parts which match the regexp, except for that they do not start at
the start of the line.

Searching itself is not effected. Searching for the previous or next matching
line works as expected.

Used search queries:
- /^[^ ]....
- /^[a-z]....

Reproducing works good on large text-files, e.g. /usr/share/common-licenses/GPL

Open the file, and scroll to the end (use key 'G').

(one of the incorrect hilights start exactly 3 KB before the end of the file,
 so I assume the ^ in my search query matched the start of the buffer at that
 time, and not the \n)


-- System Information:
Debian Release: 6.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages less depends on:
ii  debianutils               3.4            Miscellaneous utilities specific t
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand

less recommends no packages.

less suggests no packages.

-- no debconf information





Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:28:44 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.