- Update to 643:
* Fix problem when a program piping into less reads from the tty,
like sudo asking for password (github #368).
* Fix search modifier ^E after ^W.
* Fix bug using negated (^N) search (github #374).
* Fix bug setting colors with -D on Windows build (github #386).
* Fix reading special chars like PageDown on Windows (github #378).
* Fix mouse wheel scrolling on Windows (github #379).
* Fix erroneous EOF when terminal window size changes (github #372).
* Fix compile error with some definitions of ECHONL (github #395).
* Fix crash on Windows when writing logfile (github #405).
* Fix regression in exit code when stdin is /dev/null and
output is a file (github #373).
* Add lesstest test suite to production release (github #344).
* Change lesstest output to conform with
automake Simple Test Format (github #399).
OBS-URL: https://build.opensuse.org/request/show/1103798
OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=101
16 lines
345 B
Diff
16 lines
345 B
Diff
Index: less-643/option.c
|
|
===================================================================
|
|
--- less-643.orig/option.c
|
|
+++ less-643/option.c
|
|
@@ -165,6 +165,10 @@ public void scan_option(char *s)
|
|
s--;
|
|
optc = 'z';
|
|
break;
|
|
+ case 'l':
|
|
+ if (less_is_more)
|
|
+ continue;
|
|
+ break;
|
|
case 'n':
|
|
if (less_is_more)
|
|
optc = 'z';
|