less: Update to version 702

Message ID 20260605161139.3632709-6-adolf.belka@ipfire.org
State New
Headers
Series less: Update to version 702 |

Commit Message

Adolf Belka 5 Jun 2026, 4:11 p.m. UTC
- Update from versionj 692 to 702
- Update of rootfile
- Changelog
702
* Add --hilite-target option and -DJ to color target line (github #745).
* Add --past-eof option.
* Add --end-prompt option.
* Add --emouse and --rmouse options, and horizontal mouse scrolling
  and dragging (github #744).
* Add -DT option to format tilde lines (github #725).
* Change OSC 8 link handling: replace LESS_OSC8_xxx with LESS_OSC8_OPEN_xxx.
  Remove %O from prompt expansion as no longer needed.
  Any use of environment variables LESS_OSC8_xxx need to be manually
  changed to use LESS_OSC8_OPEN_xxx.
* Add ?o to prompt strings, to detect whether an OSC 8 link is selected.
* When scrolling past end-of-file or before beginning-of-file,
  stop when exactly one line is left on screen.
* Make -w/-W highlight lines when moving backward as well as forward
  (github #729).
* Display pattern in "Pattern not found" message (github #731).
* Allow m and M commands to take a numeric argument to specify the
  line to be marked (github #736).
* Allow ' command to take a numeric argument to specify the screen
  position on which to place the marked line.
* Allow lesskey to map keypad ENTER with \kpe (github #761).
* Add "noaction" as a possible action in #line-edit section
  in a lesskey file (github #761).
* Support POSIX character classes with the built-in V8 regex library
  (github #732).
* Change | command to pipe just one line if the marked line is at the
  top of the screen (github #733).
* If OSC8 handler command begins with "-", suppress command echo,
  and if it begins with ctrl-P, suppress "done" message (github #747).
* Don't ask for confirmation when input is a binary file and stdout is
  redirected. Fixes infinite loop in that situation (github #719).
* Make early error messages go to stderr if stdout is redirected
  (github #719).
* Don't retry read after read error; fixes hang when attempting to read
  a directory or other unreadable file (github #741).
* Fix incorrect restoration of saved mark if not at top of screen.
* With --save-marks, don't save a mark that was cleared with ESC-m.
* Fix buffer overflow when using malformed lesskey file (github #721).
* Fix unexpected scrolling past end of file (github #720).
* Fix bug when env var in LESSKEY_CONTENT partially matches env var
  defined in lesskey file (github #727).
* Fix bug when env var in lesskey file matches tail of env var used
  by less (github #728).
* Fix command parsing bug when one command is a substring of another.
  Also fixes --no-paste option (github #724).
* Fix incorrect display using --color to set character attributes
  without color, such as -DS-u (github #730).
* Fix crash when tags file contains invalid line number 0 (github #743).
* Fix build when tparm() doesn't use varargs (github #748).
* Fix prompt overflow when filtering with long prompt (github #749).
* Fix incorrect highlighting when change -i while filtering (github #750).
* Fix erroneous error mesage using --show-preproc-error with
  some shells (github #753).
* Fix erroneous highlighting when using a search pattern containing more
  than 5 pairs of parentheses with PCRE2 (github #754).
* When ^X interrupts F mode, discard pending keys as is done when
  ^C interrupts it (github #757).
* Fix bug in Windows where pressing any key during "waiting for data" would
  prevent a subsequent ^X from working.
* Fix erroneous display in some situations when using LESS_LINES (github #759).
* Fix erroneous display after certain messages are displayed in a
  very narrow terminal (github #760).
* Don't init terminal if stdout is not a tty (github #768).
* Fix bug clicking OSC 8 link that crosses a screen line boundary
  (github #775).
* Fix beeps when resizing window on Windows (github #771).
* Fix beeps when paging continuously on Windows (github #772).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/less | 3 ++-
 lfs/less                     | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/less b/config/rootfiles/common/less
index 5b573c9ba..3cf8123c9 100644
--- a/config/rootfiles/common/less
+++ b/config/rootfiles/common/less
@@ -1,6 +1,7 @@ 
 usr/bin/less
-#usr/bin/lessecho
 #usr/bin/lesskey
+#usr/libexec/less-osc8-open
+#usr/libexec/lessecho
 #usr/share/man/man1/less.1
 #usr/share/man/man1/lessecho.1
 #usr/share/man/man1/lesskey.1
diff --git a/lfs/less b/lfs/less
index d90be7545..92343823f 100644
--- a/lfs/less
+++ b/lfs/less
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 692
+VER        = 702
 
 THISAPP    = less-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 379d7738894f16fed1b429c9e26c2e46fd27c790be2b0b8b6c0f6744913845ea6003d5b50db4186847c4daf430fb5a23d2c9f35780577a0fb1c1a3b603bfbb41
+$(DL_FILE)_BLAKE2 = 89d52e986a4bf62f6bb8fccf80a7e256e91a1a8e8935e6a4e0bf6ca02080008494b31e5f6d91a4ac5fb7eadb8d49d5289f1020b174bfc344534130baf00b0a39
 
 install : $(TARGET)