pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/less
Module Name: pkgsrc
Committed By: ryoon
Date: Thu Jul 23 15:03:18 UTC 2026
Modified Files:
pkgsrc/misc/less: Makefile PLIST distinfo
pkgsrc/misc/less/patches: patch-Makefile.in
Log Message:
misc/less: Update to 704
Changelog:
704:
Less version 704
Version 704 was released for beta testing on 31 May 2026, and for general use
on 6 June 2026.
These are the differences between version 702 and version 704:
* Fix possibly passing unsafe options to man when opening an OSC 8 link (
github #779).
* Fix possibly sending unsafe OSC sequence to terminal when file contains an
unterminated OSC sequence (github #781).
* In Examine and Shell commands, expand % and # to shell-escaped filenames (
github #784).
702:
Less version 702
Version 702 was released for general use on 22 May 2026.
These are the differences between version 692 and version 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).
701:
Less version 701
Version 701 was released for beta testing on 15 May 2026.
These are the differences between version 692 and version 701:
* 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).
700:
Less version 700
Version 700 was released for beta testing on 30 Apr 2026.
These are the differences between version 692 and version 700:
* 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,
and replace %o in prompt strings with shell-quoted %O. 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).
696:
Less version 696
Version 696 was released for beta testing on 5 Apr 2026.
These are the differences between version 692 and version 696:
* 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).
* Add %O to prompt strings, to replace less safe %o.
* 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.
* 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 opener 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).
692:
Less version 692
Version 692 was released for beta testing on 29 Jan 2026, and was released for
general use on 8 Feb 2026.
These are the differences between version 691 and version 692:
* Revert HOME key to scroll to beginning of file and END key to scroll to end
of file (github #658).
* Configure tty to leave CR and NL unmodified (github #703).
* Add commands to lesskey parser (forw-bell-hilite, goto-pos and osc8-jump).
* Add key sequences to lesskey parser (\kE, \kF, \kH, \kI, \kM, and \kS).
* Fix bug using negative value with -z option (github #709).
* Fix bug handling empty terminfo capabilties (github #710).
* Fix memory leak in setupterm (github #707).
* Make lesstest ignore system locale (nl_langinfo) (github #708).
691:
Less version 691
Version 691 was released for beta testing on 10 Jan 2026, and was released for
general use on 20 Jan 2026.
These are the differences between version 685 and version 691:
* Add --autosave option (github #678).
* Add ESC-f command (github #680).
* Add column number to long prompt and = message.
* Add prompt prototype sequences %C, %W, %Q and ?Q (github #685).
* Map keypad keys, and use terminfo rather than termcap since keypad
definitions don't exist in termcap (github #650).
* Change HOME key to scroll fully left and END key to scroll fully right. Add
shift-HOME and ctrl-HOME to scroll left and jump to top, and add shift-END
and ctrl-END to scroll right and jump to end (github #658).
* Add LESSNOCONFIG environment variable.
* Add --without-termlib to configure (github #701).
* When setting line number colors (-DN), don't force bold attribute. To set
bold, you must append "d" or "*" to the color string (github #684).
* While waiting for file data, only ^C or ^X will interrupt, not any command.
This reverts to behavior that existed before less-670 (github #700).
* When --save-marks is not used, retain any marks saved in the history file (
github #662).
* Defer sending the terminal init string until the first char is read from
the input file (github #682).
* Make SIGHUP do an orderly exit like SIGTERM.
* Implement modeline handling in Windows build.
* Fix bugs and improve behavior of screen resize on Windows.
* Fix bug when entering search modifier key at start of non-empty search
string (github #668).
* Fix bug repainting screen with --form-feed (github #672).
* Fix bugs passing invalid negative values to some command line options (
github #675).
* Fix incorrect display of Lit indicator (github #670).
* Fix incorrect display when returning to a mark after resizeing window (
github #681).
* Fix bug using --pattern with --incsearch (github #696).
* Disallow mouse click to open OSC8 link in SECURE mode (github #676).
* Add SECURE_COMPILE environment variable for Windows builds.
* Update Unicode tables.
690:
Less version 690
Version 690 was released for beta testing on 2 Jan 2026.
These are the differences between version 685 and version 690:
* Add --autosave option (github #678).
* Add ESC-f command (github #680).
* Add column number to long prompt and = message.
* Add prompt prototype sequences %C, %W, %Q and ?Q (github #685).
* Map keypad keys, and use terminfo rather than termcap since keypad
definitions don't exist in termcap (github #650).
* Change HOME key to scroll fully left and END key to scroll fully right. Add
shift-HOME and ctrl-HOME to scroll left and jump to top, and add shift-END
and ctrl-END to scroll right and jump to end (github #658).
* Add LESSNOCONFIG environment variable.
* Add --without-termlib to configure (github #701).
* When setting line number colors (-DN), don't force bold attribute. To set
bold, you must append "d" or "*" to the color string (github #684).
* While waiting for file data, only ^C or ^X will interrupt, not any command.
This reverts to behavior that existed before less-670 (github #700).
* When --save-marks is not used, retain any marks saved in the history file (
github #662).
* Defer sending the terminal init string until the first char is read from
the input file (github #682).
* Make SIGHUP do an orderly exit like SIGTERM.
* Implement modeline handling in Windows build.
* Fix bugs and improve behavior of screen resize on Windows.
* Fix bug when entering search modifier key at start of non-empty search
string (github #668).
* Fix bug repainting screen with --form-feed (github #672).
* Fix bugs passing invalid negative values to some command line options (
github #675).
* Fix incorrect display of Lit indicator (github #670).
* Fix incorrect display when returning to a mark after resizeing window (
github #681).
* Fix bug using --pattern with --incsearch (github #696).
* Disallow mouse click to open OSC8 link in SECURE mode (github #676).
* Add SECURE_COMPILE environment variable for Windows builds.
* Update Unicode tables.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/misc/less/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/less/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/misc/less/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/less/patches/patch-Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/less/Makefile
diff -u pkgsrc/misc/less/Makefile:1.36 pkgsrc/misc/less/Makefile:1.37
--- pkgsrc/misc/less/Makefile:1.36 Sat Nov 1 18:00:11 2025
+++ pkgsrc/misc/less/Makefile Thu Jul 23 15:03:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2025/11/01 18:00:11 pin Exp $
+# $NetBSD: Makefile,v 1.37 2026/07/23 15:03:18 ryoon Exp $
-DISTNAME= less-685
+DISTNAME= less-704
CATEGORIES= misc
MASTER_SITES= http://www.greenwoodsoftware.com/less/
Index: pkgsrc/misc/less/PLIST
diff -u pkgsrc/misc/less/PLIST:1.3 pkgsrc/misc/less/PLIST:1.4
--- pkgsrc/misc/less/PLIST:1.3 Mon Jan 1 22:29:44 2018
+++ pkgsrc/misc/less/PLIST Thu Jul 23 15:03:18 2026
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/01 22:29:44 rillig Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/07/23 15:03:18 ryoon Exp $
bin/less
-bin/lessecho
bin/lesskey
+libexec/less-osc8-open
+libexec/lessecho
man/man1/less.1
man/man1/lessecho.1
man/man1/lesskey.1
Index: pkgsrc/misc/less/distinfo
diff -u pkgsrc/misc/less/distinfo:1.30 pkgsrc/misc/less/distinfo:1.31
--- pkgsrc/misc/less/distinfo:1.30 Sat Nov 1 18:00:11 2025
+++ pkgsrc/misc/less/distinfo Thu Jul 23 15:03:18 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.30 2025/11/01 18:00:11 pin Exp $
+$NetBSD: distinfo,v 1.31 2026/07/23 15:03:18 ryoon Exp $
-BLAKE2s (less-685.tar.gz) = 94cc2663274eb8eab64c707f65b7126224766657f3328763fc50970edf5990d6
-SHA512 (less-685.tar.gz) = aff745f1816e0f996fbdbc33ecae0726cf0d842efc227937ff8c32e734c8b5be4c611ffbb27e5e038b4d95280c95ca60c53af1a47cf419cb06e5fab543c231f3
-Size (less-685.tar.gz) = 882560 bytes
-SHA1 (patch-Makefile.in) = 5a34bf338010894e2f21b2cd0155fef51384a4d4
+BLAKE2s (less-704.tar.gz) = 0e1fad6f3d1cc5e37526e60f430d6e0fecc5131aac152293ecba165b909abe8f
+SHA512 (less-704.tar.gz) = c6a933dd6dc058f912de524fc4e71614deb3873e4d8e3830d7cfc0e45dca8f4e8671d1e63d6099ebc9cd224f52e8dbdb4fe00a89a00d33e937fd9b852ad3609c
+Size (less-704.tar.gz) = 996650 bytes
+SHA1 (patch-Makefile.in) = 552391f9dc1dcc033ba4bffdcc3c294efb9fc854
Index: pkgsrc/misc/less/patches/patch-Makefile.in
diff -u pkgsrc/misc/less/patches/patch-Makefile.in:1.5 pkgsrc/misc/less/patches/patch-Makefile.in:1.6
--- pkgsrc/misc/less/patches/patch-Makefile.in:1.5 Sat Oct 11 20:13:39 2025
+++ pkgsrc/misc/less/patches/patch-Makefile.in Thu Jul 23 15:03:18 2026
@@ -1,16 +1,16 @@
-$NetBSD: patch-Makefile.in,v 1.5 2025/10/11 20:13:39 pin Exp $
+$NetBSD: patch-Makefile.in,v 1.6 2026/07/23 15:03:18 ryoon Exp $
Adjust GNU-isms to BSD-isms (ifneq is supported only by GNU make).
---- Makefile.in.orig 2025-10-11 17:56:42.244561170 +0000
+--- Makefile.in.orig 2026-01-29 17:47:07.000000000 +0000
+++ Makefile.in
-@@ -16,15 +16,15 @@ LDFLAGS = @LDFLAGS@
+@@ -16,15 +16,15 @@ O=o
CPPFLAGS = @CPPFLAGS@
EXEEXT = @EXEEXT@
O=o
-ifneq ($(strip $(LESSTEST)),)
+.if !empty(LESSTEST)
- CPPFLAGS += -DLESSTEST
+ CPPFLAGS += -DLESSTEST -DUSE_TERMCAP
-endif
+.endif
Home |
Main Index |
Thread Index |
Old Index