Vendor import of less v530.

This commit is contained in:
Xin LI 2018-02-19 04:47:31 +00:00
parent ee3dcfe98f
commit b04073e3ae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/less/dist/; revision=329552
svn path=/vendor/less/v530/; revision=329553; tag=vendor/less/v530
11 changed files with 18 additions and 13 deletions

2
NEWS
View File

@ -11,7 +11,7 @@
====================================================================== ======================================================================
Major changes between "less" versions 487 and 529 Major changes between "less" versions 487 and 530
* Don't output terminal init sequence if using -F and file fits on one screen. * Don't output terminal init sequence if using -F and file fits on one screen.

4
README
View File

@ -1,7 +1,7 @@
Less, version 529 Less, version 530
This is the distribution of less, version 529, released 13 Nov 2017. This is the distribution of less, version 530, released 05 Dec 2017.
This program is part of the GNU project (http://www.gnu.org). This program is part of the GNU project (http://www.gnu.org).
This program is free software. You may redistribute it and/or This program is free software. You may redistribute it and/or

View File

@ -806,7 +806,7 @@ getcc_end_command()
* (characters previously given to ungetcc or ungetsc). * (characters previously given to ungetcc or ungetsc).
*/ */
static LWCHAR static LWCHAR
getccu() getccu(VOID_PARAM)
{ {
LWCHAR c; LWCHAR c;
if (ungot == NULL) if (ungot == NULL)

2
help.c
View File

@ -1,4 +1,4 @@
/* This file was generated by mkhelp.pl from less.hlp at 17:31 on 2017/11/13 */ /* This file was generated by mkhelp.pl from less.hlp at 22:56 on 2017/12/5 */
#include "less.h" #include "less.h"
constant char helpdata[] = { constant char helpdata[] = {
'\n', '\n',

View File

@ -1106,7 +1106,9 @@ LESS(1) General Commands Manual LESS(1)
ment file and less uses the original file, as normal. To use an input ment file and less uses the original file, as normal. To use an input
pipe, make the first character in the LESSOPEN environment variable a pipe, make the first character in the LESSOPEN environment variable a
vertical bar (|) to signify that the input preprocessor is an input vertical bar (|) to signify that the input preprocessor is an input
pipe. pipe. As with non-pipe input preprocessors, the command string must
contain one occurrence of %s, which is replaced with the filename of
the input file.
For example, on many Unix systems, this script will work like the pre- For example, on many Unix systems, this script will work like the pre-
vious example scripts: vious example scripts:
@ -1664,4 +1666,4 @@ LESS(1) General Commands Manual LESS(1)
Version 529: 13 Nov 2017 LESS(1) Version 530: 05 Dec 2017 LESS(1)

View File

@ -1,4 +1,4 @@
.TH LESS 1 "Version 529: 13 Nov 2017" .TH LESS 1 "Version 530: 05 Dec 2017"
.SH NAME .SH NAME
less \- opposite of more less \- opposite of more
.SH SYNOPSIS .SH SYNOPSIS
@ -1199,6 +1199,8 @@ uses the original file, as normal.
To use an input pipe, To use an input pipe,
make the first character in the LESSOPEN environment variable a make the first character in the LESSOPEN environment variable a
vertical bar (|) to signify that the input preprocessor is an input pipe. vertical bar (|) to signify that the input preprocessor is an input pipe.
As with non-pipe input preprocessors, the command string must contain one
occurrence of %s, which is replaced with the filename of the input file.
.PP .PP
For example, on many Unix systems, this script will work like the For example, on many Unix systems, this script will work like the
previous example scripts: previous example scripts:

View File

@ -51,4 +51,4 @@ LESSECHO(1) General Commands Manual LESSECHO(1)
Version 529: 13 Nov 2017 LESSECHO(1) Version 530: 05 Dec 2017 LESSECHO(1)

View File

@ -1,4 +1,4 @@
.TH LESSECHO 1 "Version 529: 13 Nov 2017" .TH LESSECHO 1 "Version 530: 05 Dec 2017"
.SH NAME .SH NAME
lessecho \- expand metacharacters lessecho \- expand metacharacters
.SH SYNOPSIS .SH SYNOPSIS

View File

@ -361,4 +361,4 @@ LESSKEY(1) General Commands Manual LESSKEY(1)
Version 529: 13 Nov 2017 LESSKEY(1) Version 530: 05 Dec 2017 LESSKEY(1)

View File

@ -1,4 +1,4 @@
.TH LESSKEY 1 "Version 529: 13 Nov 2017" .TH LESSKEY 1 "Version 530: 05 Dec 2017"
.SH NAME .SH NAME
lesskey \- specify key bindings for less lesskey \- specify key bindings for less
.SH SYNOPSIS .SH SYNOPSIS

View File

@ -852,6 +852,7 @@ v526 10/25/17 Fix search hilite bug introduced in v517.
v527 10/30/17 Fix search hilite bug on last page with -a. v527 10/30/17 Fix search hilite bug on last page with -a.
v528 11/3/17 Make second ESC-u clear status column. v528 11/3/17 Make second ESC-u clear status column.
v529 11/12/17 Display Unicode formatting chars in hex if -U is set. v529 11/12/17 Display Unicode formatting chars in hex if -U is set.
v530 12/2/17 Minor doc change and add missing VOID_PARAM.
*/ */
char version[] = "529"; char version[] = "530";