less: upgrade to v581.2.

MFC after:	1 week
This commit is contained in:
Xin LI 2021-05-01 23:16:08 -07:00
commit 50d31dbc6e
8 changed files with 17 additions and 16 deletions

View File

@ -12,7 +12,7 @@
======================================================================
Major changes between "less" versions 563 and 581
Major changes between "less" versions 563 and 581.2
* Change ESC-u command to toggle, not disable, highlighting per man page.

View File

@ -7,9 +7,9 @@
**************************************************************************
**************************************************************************
Less, version 581
Less, version 581.2
This is the distribution of less, version 581, released 06 Apr 2021.
This is the distribution of less, version 581.2, released 28 Apr 2021.
This program is part of the GNU project (http://www.gnu.org).
This program is free software. You may redistribute it and/or

View File

@ -1,4 +1,4 @@
/* This file was generated by mkhelp.pl from less.hlp at 1:31 on 2021/4/7 */
/* This file was generated by mkhelp.pl from less.hlp at 14:59 on 2021/4/28 */
#include "less.h"
constant char helpdata[] = {
'\n',

View File

@ -1,5 +1,5 @@
'\" t
.TH LESS 1 "Version 581: 06 Apr 2021"
.TH LESS 1 "Version 581.2: 28 Apr 2021"
.SH NAME
less \- opposite of more
.SH SYNOPSIS

View File

@ -1,4 +1,4 @@
.TH LESSECHO 1 "Version 581: 06 Apr 2021"
.TH LESSECHO 1 "Version 581.2: 28 Apr 2021"
.SH NAME
lessecho \- expand metacharacters
.SH SYNOPSIS

View File

@ -1,5 +1,5 @@
'\" t
.TH LESSKEY 1 "Version 581: 06 Apr 2021"
.TH LESSKEY 1 "Version 581.2: 28 Apr 2021"
.SH NAME
lesskey \- specify key bindings for less
.SH SYNOPSIS

View File

@ -1673,8 +1673,6 @@ ltputs(str, affcnt, f_putc)
public void
init_mouse(VOID_PARAM)
{
if (!mousecap)
return;
#if !MSDOS_COMPILER
ltputs(sc_s_mousecap, sc_height, putchr);
#else
@ -1693,8 +1691,6 @@ init_mouse(VOID_PARAM)
public void
deinit_mouse(VOID_PARAM)
{
if (!mousecap)
return;
#if !MSDOS_COMPILER
ltputs(sc_e_mousecap, sc_height, putchr);
#else
@ -1718,6 +1714,7 @@ init(VOID_PARAM)
ltputs(sc_init, sc_height, putchr);
if (!no_keypad)
ltputs(sc_s_keypad, sc_height, putchr);
if (mousecap)
init_mouse();
}
init_done = 1;
@ -1741,6 +1738,7 @@ init(VOID_PARAM)
{
if (!no_init)
win32_init_term();
if (mousecap)
init_mouse();
}
@ -1763,6 +1761,7 @@ deinit(VOID_PARAM)
#if !MSDOS_COMPILER
if (!(quit_if_one_screen && one_screen))
{
if (mousecap)
deinit_mouse();
if (!no_keypad)
ltputs(sc_e_keypad, sc_height, putchr);
@ -1776,6 +1775,7 @@ deinit(VOID_PARAM)
win32_deinit_vt_term();
if (!(quit_if_one_screen && one_screen))
{
if (mousecap)
deinit_mouse();
if (!no_init)
win32_deinit_term();

View File

@ -919,6 +919,7 @@ v578 2/9/21 Doc
v579 2/14/21 Fix double-width char bugs and non-match search crash.
v580 3/2/21 Some color fixes; fix compiler warnings; some lesstest support.
v581 4/6/21 Ignore SIGTSTP in secure mode; don't print "skipping" when filtering.
v581.2 4/28/21 Fix failure to deinit mouse.
*/
char version[] = "581";
char version[] = "581.2";