Accepting request 1177861 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1177861 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/less?expand=0&rev=74
This commit is contained in:
commit
932c79816e
@ -1,21 +1,21 @@
|
||||
Index: less-643/filename.c
|
||||
Index: less-656/filename.c
|
||||
===================================================================
|
||||
--- less-643.orig/filename.c
|
||||
+++ less-643/filename.c
|
||||
@@ -550,7 +550,7 @@ static FILE * shellcmd(char *cmd)
|
||||
--- less-656.orig/filename.c
|
||||
+++ less-656/filename.c
|
||||
@@ -553,7 +553,7 @@ static FILE * shellcmd(constant char *cm
|
||||
#if HAVE_SHELL
|
||||
char *shell;
|
||||
constant char *shell;
|
||||
|
||||
- shell = lgetenv("SHELL");
|
||||
+ shell = lgetenv("LESSSHELL");
|
||||
if (!isnullenv(shell))
|
||||
{
|
||||
char *scmd;
|
||||
Index: less-643/less.hlp
|
||||
Index: less-656/less.hlp
|
||||
===================================================================
|
||||
--- less-643.orig/less.hlp
|
||||
+++ less-643/less.hlp
|
||||
@@ -104,7 +104,7 @@
|
||||
--- less-656.orig/less.hlp
|
||||
+++ less-656/less.hlp
|
||||
@@ -109,7 +109,7 @@
|
||||
___<_n_a_m_e_> Display the setting of an option, by name.
|
||||
+_c_m_d Execute the less cmd each time a new file is examined.
|
||||
|
||||
@ -24,33 +24,33 @@ Index: less-643/less.hlp
|
||||
#_c_o_m_m_a_n_d Execute the shell command, expanded like a prompt.
|
||||
|XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
|
||||
s _f_i_l_e Save input to a file.
|
||||
Index: less-643/less.nro
|
||||
Index: less-656/less.nro
|
||||
===================================================================
|
||||
--- less-643.orig/less.nro
|
||||
+++ less-643/less.nro
|
||||
@@ -459,7 +459,7 @@ current file.
|
||||
A pound sign (#) is replaced by the name of the previously examined file.
|
||||
"!!" repeats the last shell command.
|
||||
--- less-656.orig/less.nro
|
||||
+++ less-656/less.nro
|
||||
@@ -468,7 +468,7 @@ A pound sign (#) is replaced by the name
|
||||
"!" with no shell command simply invokes a shell.
|
||||
If a \(haP (CONTROL-P) is entered immediately after the !,
|
||||
no "done" message is printed after the shell command is executed.
|
||||
-On Unix systems, the shell is taken from the environment variable SHELL,
|
||||
+On Unix systems, the shell is taken from the environment variable LESSSHELL,
|
||||
or defaults to "sh".
|
||||
On MS-DOS and OS/2 systems, the shell is the normal command processor.
|
||||
On MS-DOS, Windows, and OS/2 systems, the shell is the normal command processor.
|
||||
.IP "# shell-command"
|
||||
@@ -2281,7 +2281,7 @@ automatically when running in
|
||||
@@ -2493,7 +2493,7 @@ automatically when running in
|
||||
.IP PATH
|
||||
User's search path (used to find a lesskey file
|
||||
on MS-DOS and OS/2 systems).
|
||||
on MS-DOS, Windows, and OS/2 systems).
|
||||
-.IP SHELL
|
||||
+.IP LESSSHELL
|
||||
The shell used to execute the !\& command, as well as to expand filenames.
|
||||
.IP TERM
|
||||
The type of terminal on which
|
||||
Index: less-643/lsystem.c
|
||||
Index: less-656/lsystem.c
|
||||
===================================================================
|
||||
--- less-643.orig/lsystem.c
|
||||
+++ less-643/lsystem.c
|
||||
@@ -121,13 +121,13 @@ public void lsystem(char *cmd, char *don
|
||||
--- less-656.orig/lsystem.c
|
||||
+++ less-656/lsystem.c
|
||||
@@ -120,13 +120,13 @@ public void lsystem(constant char *cmd,
|
||||
|
||||
/*
|
||||
* Pass the command to the system to be executed.
|
||||
|
BIN
less-643.sig
BIN
less-643.sig
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2911b5432c836fa084c8a2e68f6cd6312372c026a58faaa98862731c8b6052e8
|
||||
size 592291
|
3
less-656-beta.tar.gz
Normal file
3
less-656-beta.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7a5dc031f605a4d6af14d9461745206f205f7611fbe031858eb3fabb5554daa
|
||||
size 648076
|
BIN
less-656.sig
Normal file
BIN
less-656.sig
Normal file
Binary file not shown.
48
less.changes
48
less.changes
@ -1,3 +1,51 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 27 14:43:39 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Update to 656:
|
||||
* Add ^O^N, ^O^P, ^O^L and ^O^O commands and mouse clicks (with --mouse) to find and open OSC8 hyperlinks (github #251).
|
||||
* Add --match-shift option.
|
||||
* Add --lesskey-content option (github #447).
|
||||
* Add LESSKEY_CONTENT environment variable (github #447).
|
||||
* Add --no-search-header-lines and --no-search-header-columns options (github #397).
|
||||
* Add ctrl-L search modifier (github #367).
|
||||
* A ctrl-P at the start of a shell command suppresses the "done" message (github #462).
|
||||
* Add attribute characters ('*', '~', '_', '&') to --color parameter (github #471).
|
||||
* Allow expansion of environment variables in lesskey files.
|
||||
* Add LESSSECURE_ALLOW environment variable (github #449).
|
||||
* Add LESS_UNSUPPORT environment variable.
|
||||
* Add line number parameter to --header option (github #436).
|
||||
* Mouse right-click jumps to position marked by left-click (github #390).
|
||||
* Ensure that the target line is not obscured by a header line set by --header (github #444).
|
||||
* Change default character set to "utf-8", except remains "dos" on MS-DOS.
|
||||
* Add message when search with ^W wraps (github #459).
|
||||
* UCRT builds on Windows 10 and later now support Unicode file names (github #438).
|
||||
* Improve behavior of interrupt while reading non-terminated pipe (github #414).
|
||||
* Improve parsing of -j, -x and -# options (github #393).
|
||||
* Support files larger than 4GB on Windows (github #417).
|
||||
* Support entry of Unicode chars larger than U+FFFF on Windows (github #391).
|
||||
* Improve colors of bold, underline and standout text on Windows.
|
||||
* Allow --rscroll to accept non-ASCII characters (github #483).
|
||||
* Allow the parameter to certain options to be terminated with a space (--color, --quotes, --rscroll, --search-options and --intr) (github #495).
|
||||
* Fix bug where # substitution failed after viewing help (github #420).
|
||||
* Fix crash if files are deleted while less is viewing them (github #404).
|
||||
* Workaround unreliable ReadConsoleInputW behavior on Windows with non-ASCII input.
|
||||
* Fix -J display when searching for non-ASCII characters (github #422).
|
||||
* Don't filter header lines via the & command (github #423).
|
||||
* Fix bug when horizontally shifting long lines (github #425).
|
||||
* Add -x and -D options to lesstest, to make it easier to diagnose a failed lesstest run.
|
||||
* Fix bug searching long lines with --incsearch and -S (github #428).
|
||||
* Fix bug that made ESC-} fail if top line on screen was empty (github #429).
|
||||
* Fix bug with --mouse on Windows when used with pipes (github #440).
|
||||
* Fix bug in --+OPTION command line syntax.
|
||||
* Fix display bug when using -w with an empty line with a CR/LF line ending (github #474).
|
||||
* When substituting '#' or '%' with a filename, quote the filename if it contains a space (github #480).
|
||||
* Fix wrong sleep time when system has usleep but not nanosleep (github #489).
|
||||
* Fix bug when file name contains a newline.
|
||||
* Fix bug when file name contains nonprintable characters (github #503).
|
||||
* Fix DJGPP build (github #497).
|
||||
* Update Unicode tables.
|
||||
- Refresh less-429-shell.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 13:44:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package less
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,13 +22,13 @@
|
||||
%define use_usretc 1
|
||||
%endif
|
||||
Name: less
|
||||
Version: 643
|
||||
Version: 656
|
||||
Release: 0
|
||||
Summary: Text File Browser and Pager Similar to more
|
||||
License: BSD-2-Clause OR GPL-3.0-or-later
|
||||
Group: Productivity/Text/Utilities
|
||||
URL: https://www.greenwoodsoftware.com/less/
|
||||
Source: https://www.greenwoodsoftware.com/less/less-%{version}.tar.gz
|
||||
Source: https://www.greenwoodsoftware.com/less/less-%{version}-beta.tar.gz
|
||||
Source1: README.SUSE
|
||||
Source2: lessopen.sh
|
||||
Source3: lessclose.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user