less/less-429-more.patch
Danilo Spinella f5fd57e1d3 Accepting request 1083974 from home:kstreitova:branches:Base:System
- Update to 632
  * Add LESSUTFCHARDEF environment variable (github #275).
  * Add # command (github #330).
  * Add ^S search modifier (github #196).
  * Add --wordwrap option (github #113).
  * Add --no-vbell option (github #304).
  * Add --no-search-headers option (github #44).
  * Add --modelines option (github #89).
  * Add --intr option (github #224).
  * Add --proc-backspace, --proc-tab and --proc-return options (github #335).
  * Add --show-preproc-errors option (github #258).
  * Add LESS_LINES and LESS_COLUMNS environment variables (github #84).
  * Add LESS_DATA_DELAY environment variable (github #337).
  * Allow empty "lines" field in --header option.
  * Update Unicode tables.
  * Improve ability of ^X to interrupt F command (github #49).
  * Status column (-J) shows off-screen matches.
  * Parenthesized sub-patterns in searches are colored with unique colors, if supported by the regular expression library (github #196).
  * Don't allow opening a tty as file input unless -f is set (github #309).
  * Don't require newline input after +&... option (github #339).
  * Fix incorrect handling of some Private Use Unicode characters.
  * Fix ANSI color bug when overstriking with colored chars (github #276).
  * Fix compiler const warning (github #279).
  * Fix signal race in iread (github #280).
  * Fix reading procfs files on Linux (github #282).
  * Fix --ignore-case with ctrl-R (no regex) search (github #300).
  * Fix bug doing repeat search after setting & filter (github #299).
  * Fix bug doing repeat search before non-repeat search.
  * Fix crash with -R and certain line lengths (github #338).
  * Fix input of Windows dead keys (github #352).

OBS-URL: https://build.opensuse.org/request/show/1083974
OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=95
2023-05-02 11:22:25 +00:00

16 lines
345 B
Diff

Index: less-632/option.c
===================================================================
--- less-632.orig/option.c
+++ less-632/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';