Accepting request 807838 from home:AndreasStieger:branches:Base:System

less 562

OBS-URL: https://build.opensuse.org/request/show/807838
OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=73
This commit is contained in:
Kristyna Streitova 2020-05-21 07:30:43 +00:00 committed by Git OBS Bridge
parent 8322f7ba09
commit b6e4743e5c
7 changed files with 36 additions and 26 deletions

View File

@ -1,8 +1,7 @@
Index: filename.c
===================================================================
--- filename.c.orig
+++ filename.c
@@ -574,7 +574,7 @@ shellcmd(cmd)
diff -ru a/filename.c b/filename.c
--- a/filename.c 2020-05-11 23:36:17.000000000 +0200
+++ b/filename.c 2020-05-12 14:01:23.624217811 +0200
@@ -574,7 +574,7 @@
#if HAVE_SHELL
char *shell;
@ -11,10 +10,9 @@ Index: filename.c
if (!isnullenv(shell))
{
char *scmd;
Index: less.hlp
===================================================================
--- less.hlp.orig
+++ less.hlp
diff -ru a/less.hlp b/less.hlp
--- a/less.hlp 2020-05-11 23:36:21.000000000 +0200
+++ b/less.hlp 2020-05-12 14:00:58.680162327 +0200
@@ -101,7 +101,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,11 +22,10 @@ Index: less.hlp
|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.
v Edit the current file with $VISUAL or $EDITOR.
Index: less.nro
===================================================================
--- less.nro.orig
+++ less.nro
@@ -419,7 +419,7 @@ current file.
diff -ru a/less.nro b/less.nro
--- a/less.nro 2020-05-11 23:36:21.000000000 +0200
+++ b/less.nro 2020-05-12 14:02:02.728304787 +0200
@@ -420,7 +420,7 @@
A pound sign (#) is replaced by the name of the previously examined file.
"!!" repeats the last shell command.
"!" with no shell command simply invokes a shell.
@ -37,20 +34,26 @@ Index: less.nro
or defaults to "sh".
On MS-DOS and OS/2 systems, the shell is the normal command processor.
.IP "| <m> shell-command"
@@ -1790,7 +1790,7 @@ compatible mode.
@@ -1793,7 +1793,7 @@
.IP PATH
User's search path (used to find a lesskey file
on MS-DOS and OS/2 systems).
-.IP SHELL
+.IP LESSSHELL
The shell used to execute the ! command, as well as to expand filenames.
The shell used to execute the !\& command, as well as to expand filenames.
.IP TERM
The type of terminal on which
Index: lsystem.c
===================================================================
--- lsystem.c.orig
+++ lsystem.c
@@ -133,7 +133,7 @@ lsystem(cmd, donemsg)
diff -ru a/lsystem.c b/lsystem.c
--- a/lsystem.c 2020-05-11 23:36:17.000000000 +0200
+++ b/lsystem.c 2020-05-12 14:02:25.352355117 +0200
@@ -127,13 +127,13 @@
/*
* Pass the command to the system to be executed.
- * If we have a SHELL environment variable, use
+ * If we have a LESSSHELL environment variable, use
* <$SHELL -c "command"> instead of just <command>.
* If the command is empty, just invoke a shell.
*/
#if HAVE_SHELL
p = NULL;

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:510e1fe87de3579f7deb4bec38e6d0ad959663d54598729c4cc43a4d64d5b1f7
size 335142

BIN
less-562.sig Normal file

Binary file not shown.

3
less-562.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eab470c7c928132441541aa49b1352c0fc699c30f762dfaeb3bf88e6f0fd701b
size 335444

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 20 20:30:12 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- less 562:
* Update unicode tables
* formatting changes in man pages
-------------------------------------------------------------------
Sat Apr 4 18:54:52 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -17,7 +17,7 @@
Name: less
Version: 557
Version: 562
Release: 0
Summary: Text File Browser and Pager Similar to more
License: GPL-3.0-or-later OR BSD-2-Clause
@ -46,7 +46,7 @@ start an editor at any time from within less.
%prep
%setup -q
%patch0
%patch0 -p1
%patch1
%patch2
#