Accepting request 486147 from home:kstreitova:branches:Base:System
- update to version 487 * New commands ESC-{ and ESC-} to shift to start/end of displayed lines. * Make search highlights work correctly when changing caselessness with -i. * New option -Da in Windows version to enable SGR mode. * Fix "nothing to search" error when top or bottom line on screen is empty. * Fix bug when terminal has no "cm" termcap entry. * Fix incorrect display when entering double-width chars in search string. * Fix bug in Unicode handling that missed some double width characters. * Update Unicode database to 9.0.0. - remove less-429-widechars.patch that is no longer needed (fixed upstream) - refresh less-429-shell.patch - get rid of %{name} macro from the patch names OBS-URL: https://build.opensuse.org/request/show/486147 OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=56
This commit is contained in:
parent
1e9cc3cf45
commit
94451234f2
@ -15,20 +15,20 @@ Index: less.hlp
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- less.hlp.orig
|
--- less.hlp.orig
|
||||||
+++ less.hlp
|
+++ less.hlp
|
||||||
@@ -97,7 +97,7 @@
|
@@ -99,7 +99,7 @@
|
||||||
___<_n_a_m_e_> Display the setting of an option, by name.
|
___<_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.
|
+_c_m_d Execute the less cmd each time a new file is examined.
|
||||||
|
|
||||||
- !_c_o_m_m_a_n_d Execute the shell command with $SHELL.
|
- !_c_o_m_m_a_n_d Execute the shell command with $SHELL.
|
||||||
+ !_c_o_m_m_a_n_d Execute the shell command with $LESSSHELL.
|
+ !_c_o_m_m_a_n_d Execute the shell command with $LESSSHELL.
|
||||||
|XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
|
|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.
|
v Edit the current file with $VISUAL or $EDITOR.
|
||||||
V Print version number of "less".
|
|
||||||
Index: less.nro
|
Index: less.nro
|
||||||
===================================================================
|
===================================================================
|
||||||
--- less.nro.orig
|
--- less.nro.orig
|
||||||
+++ less.nro
|
+++ less.nro
|
||||||
@@ -407,7 +407,7 @@ current file.
|
@@ -411,7 +411,7 @@ current file.
|
||||||
A pound sign (#) is replaced by the name of the previously examined file.
|
A pound sign (#) is replaced by the name of the previously examined file.
|
||||||
"!!" repeats the last shell command.
|
"!!" repeats the last shell command.
|
||||||
"!" with no shell command simply invokes a shell.
|
"!" with no shell command simply invokes a shell.
|
||||||
@ -37,7 +37,7 @@ Index: less.nro
|
|||||||
or defaults to "sh".
|
or defaults to "sh".
|
||||||
On MS-DOS and OS/2 systems, the shell is the normal command processor.
|
On MS-DOS and OS/2 systems, the shell is the normal command processor.
|
||||||
.IP "| <m> shell-command"
|
.IP "| <m> shell-command"
|
||||||
@@ -1727,7 +1727,7 @@ compatible mode.
|
@@ -1732,7 +1732,7 @@ compatible mode.
|
||||||
.IP PATH
|
.IP PATH
|
||||||
User's search path (used to find a lesskey file
|
User's search path (used to find a lesskey file
|
||||||
on MS-DOS and OS/2 systems).
|
on MS-DOS and OS/2 systems).
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
Index: cmdbuf.c
|
|
||||||
===================================================================
|
|
||||||
--- cmdbuf.c.orig 2009-06-03 15:16:21.000000000 +0200
|
|
||||||
+++ cmdbuf.c 2009-06-03 15:20:52.000000000 +0200
|
|
||||||
@@ -246,7 +246,9 @@ cmd_step_common(p, ch, len, pwidth, bswi
|
|
||||||
? 2
|
|
||||||
: 1;
|
|
||||||
if (bswidth != NULL)
|
|
||||||
- *bswidth = 1;
|
|
||||||
+ *bswidth = is_wide_char(ch)
|
|
||||||
+ ? 2
|
|
||||||
+ : 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5
|
|
||||||
size 316622
|
|
Binary file not shown.
3
less-487.tar.gz
Normal file
3
less-487.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706
|
||||||
|
size 318488
|
BIN
less-487.tar.gz.sig
Normal file
BIN
less-487.tar.gz.sig
Normal file
Binary file not shown.
22
less.changes
22
less.changes
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 4 09:22:05 UTC 2017 - kstreitova@suse.com
|
||||||
|
|
||||||
|
- update to version 487
|
||||||
|
* New commands ESC-{ and ESC-} to shift to start/end of displayed
|
||||||
|
lines.
|
||||||
|
* Make search highlights work correctly when changing caselessness
|
||||||
|
with -i.
|
||||||
|
* New option -Da in Windows version to enable SGR mode.
|
||||||
|
* Fix "nothing to search" error when top or bottom line on screen
|
||||||
|
is empty.
|
||||||
|
* Fix bug when terminal has no "cm" termcap entry.
|
||||||
|
* Fix incorrect display when entering double-width chars in search
|
||||||
|
string.
|
||||||
|
* Fix bug in Unicode handling that missed some double width
|
||||||
|
characters.
|
||||||
|
* Update Unicode database to 9.0.0.
|
||||||
|
- remove less-429-widechars.patch that is no longer needed
|
||||||
|
(fixed upstream)
|
||||||
|
- refresh less-429-shell.patch
|
||||||
|
- get rid of %{name} macro from the patch names
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 1 17:38:36 UTC 2015 - astieger@suse.com
|
Sun Nov 1 17:38:36 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
16
less.spec
16
less.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package less
|
# spec file for package less
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: less
|
Name: less
|
||||||
Version: 481
|
Version: 487
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Text File Browser and Pager Similar to more
|
Summary: Text File Browser and Pager Similar to more
|
||||||
License: GPL-3.0+ or BSD-2-Clause
|
License: GPL-3.0+ or BSD-2-Clause
|
||||||
@ -30,12 +30,11 @@ Source3: lessclose.sh
|
|||||||
Source4: lesskey.src
|
Source4: lesskey.src
|
||||||
Source5: http://www.greenwoodsoftware.com/less/less-%{version}.tar.gz.sig
|
Source5: http://www.greenwoodsoftware.com/less/less-%{version}.tar.gz.sig
|
||||||
Source6: http://www.greenwoodsoftware.com/less/pubkey.asc#/%{name}.keyring
|
Source6: http://www.greenwoodsoftware.com/less/pubkey.asc#/%{name}.keyring
|
||||||
Patch22: %{name}-429-strict_aliasing.patch
|
Patch22: less-429-strict_aliasing.patch
|
||||||
Patch24: %{name}-429-terminate.patch
|
Patch24: less-429-terminate.patch
|
||||||
Patch25: %{name}-429-widechars.patch
|
Patch26: less-429-shell.patch
|
||||||
Patch26: %{name}-429-shell.patch
|
Patch27: less-429-save_line_position.patch
|
||||||
Patch27: %{name}-429-save_line_position.patch
|
Patch28: less-429-more.patch
|
||||||
Patch28: %{name}-429-more.patch
|
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
Requires: file
|
Requires: file
|
||||||
@ -51,7 +50,6 @@ start an editor at any time from within less.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch22
|
%patch22
|
||||||
%patch24
|
%patch24
|
||||||
%patch25
|
|
||||||
%patch26
|
%patch26
|
||||||
%patch27
|
%patch27
|
||||||
%patch28
|
%patch28
|
||||||
|
Loading…
x
Reference in New Issue
Block a user