Vendor import of v451 (beta)
This commit is contained in:
parent
ae8c2162b0
commit
9fd1a2751f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/less/dist/; revision=238727 svn path=/vendor/less/v451/; revision=238728; tag=vendor/less/v451
2
NEWS
2
NEWS
@ -11,7 +11,7 @@
|
||||
|
||||
======================================================================
|
||||
|
||||
Major changes between "less" versions 444 and 449
|
||||
Major changes between "less" versions 444 and 451
|
||||
|
||||
* Add ESC-F command to keep reading data until a pattern is found.
|
||||
|
||||
|
4
README
4
README
@ -1,7 +1,7 @@
|
||||
|
||||
Less, version 449
|
||||
Less, version 451
|
||||
|
||||
This is the distribution of less, version 449, released 26 Jun 2012.
|
||||
This is the distribution of less, version 451, released 21 Jul 2012.
|
||||
This program is part of the GNU project (http://www.gnu.org).
|
||||
|
||||
This program is free software. You may redistribute it and/or
|
||||
|
16
brac.c
16
brac.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
27
ch.c
27
ch.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
@ -806,6 +806,17 @@ seekable(f)
|
||||
return (lseek(f, (off_t)1, SEEK_SET) != BAD_LSEEK);
|
||||
}
|
||||
|
||||
/*
|
||||
* Force EOF to be at the current read position.
|
||||
* This is used after an ignore_eof read, during which the EOF may change.
|
||||
*/
|
||||
public void
|
||||
ch_set_eof()
|
||||
{
|
||||
ch_fsize = ch_fpos;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Initialize file state for a new file.
|
||||
*/
|
||||
|
16
charset.c
16
charset.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
charset.h
16
charset.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
#define IS_ASCII_OCTET(c) (((c) & 0x80) == 0)
|
||||
#define IS_UTF8_TRAIL(c) (((c) & 0xC0) == 0x80)
|
||||
|
18
cmd.h
18
cmd.h
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
#define MAX_USERCMD 500
|
||||
#define MAX_USERCMD 1000
|
||||
#define MAX_CMDLEN 16
|
||||
|
||||
#define A_B_LINE 2
|
||||
|
20
cmdbuf.c
20
cmdbuf.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
@ -1087,7 +1087,11 @@ init_compl()
|
||||
tk_text = fcomplete(word);
|
||||
} else
|
||||
{
|
||||
#if MSDOS_COMPILER
|
||||
char *qword = NULL;
|
||||
#else
|
||||
char *qword = shell_quote(word+1);
|
||||
#endif
|
||||
if (qword == NULL)
|
||||
tk_text = fcomplete(word+1);
|
||||
else
|
||||
|
20
command.c
20
command.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
@ -983,13 +983,15 @@ forw_loop(until_hilite)
|
||||
forward(1, 0, 0);
|
||||
}
|
||||
ignore_eoi = 0;
|
||||
ch_set_eof();
|
||||
|
||||
/*
|
||||
* This gets us back in "F mode" after processing
|
||||
* a non-abort signal (e.g. window-change).
|
||||
*/
|
||||
if (sigs && !ABORT_SIGS())
|
||||
return (A_F_FOREVER);
|
||||
return (until_hilite ? A_F_UNTIL_HILITE : A_F_FOREVER);
|
||||
|
||||
return (A_NOACTION);
|
||||
}
|
||||
|
||||
|
16
cvt.c
16
cvt.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Routines to convert text in various ways. Used by search.
|
||||
|
16
decode.c
16
decode.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
19
defines.ds
19
defines.ds
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/* DOS definition file for less. */
|
||||
@ -321,6 +321,9 @@
|
||||
/* Define if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define HAVE_FLOAT if your compiler supports the "double" type. */
|
||||
#define HAVE_FLOAT 1
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
|
16
defines.o2
16
defines.o2
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/* OS/2 definition file for less. */
|
||||
|
16
defines.o9
16
defines.o9
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/* OS/9 definition file for less. */
|
||||
|
16
defines.wn
16
defines.wn
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/* Windows definition file for less. */
|
||||
|
16
edit.c
16
edit.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
#include "less.h"
|
||||
|
16
filename.c
16
filename.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
forwback.c
16
forwback.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
1
funcs.h
1
funcs.h
@ -46,6 +46,7 @@
|
||||
public void ch_setbufspace ();
|
||||
public void ch_flush ();
|
||||
public int seekable ();
|
||||
public void ch_set_eof ();
|
||||
public void ch_init ();
|
||||
public void ch_close ();
|
||||
public int ch_getflags ();
|
||||
|
2
help.c
2
help.c
@ -6,7 +6,7 @@ constant char helpdata[] = {
|
||||
'\n',
|
||||
' ',' ',' ',' ',' ',' ','C','o','m','m','a','n','d','s',' ','m','a','r','k','e','d',' ','w','i','t','h',' ','*',' ','m','a','y',' ','b','e',' ','p','r','e','c','e','d','e','d',' ','b','y',' ','a',' ','n','u','m','b','e','r',',',' ','_','\b','N','.','\n',
|
||||
' ',' ',' ',' ',' ',' ','N','o','t','e','s',' ','i','n',' ','p','a','r','e','n','t','h','e','s','e','s',' ','i','n','d','i','c','a','t','e',' ','t','h','e',' ','b','e','h','a','v','i','o','r',' ','i','f',' ','_','\b','N',' ','i','s',' ','g','i','v','e','n','.','\n',
|
||||
' ',' ',' ',' ',' ',' ','A',' ','k','e','y',' ','p','r','e','c','e','d','e','d',' ','b','y',' ','a',' ','c','a','r','a','t',' ','i','n','d','i','c','a','t','e','s',' ','t','h','e',' ','C','t','r','l',' ','k','e','y',';',' ','t','h','u','s',' ','^','K',' ','i','s',' ','c','t','r','l','-','K','.','\n',
|
||||
' ',' ',' ',' ',' ',' ','A',' ','k','e','y',' ','p','r','e','c','e','d','e','d',' ','b','y',' ','a',' ','c','a','r','e','t',' ','i','n','d','i','c','a','t','e','s',' ','t','h','e',' ','C','t','r','l',' ','k','e','y',';',' ','t','h','u','s',' ','^','K',' ','i','s',' ','c','t','r','l','-','K','.','\n',
|
||||
'\n',
|
||||
' ',' ','h',' ',' ','H',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','D','i','s','p','l','a','y',' ','t','h','i','s',' ','h','e','l','p','.','\n',
|
||||
' ',' ','q',' ',' ',':','q',' ',' ','Q',' ',' ',':','Q',' ',' ','Z','Z',' ',' ',' ',' ',' ','E','x','i','t','.','\n',
|
||||
|
16
ifile.c
16
ifile.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
input.c
16
input.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
jump.c
16
jump.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
less.h
16
less.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
#define NEWBOT 1
|
||||
|
||||
|
2
less.hlp
2
less.hlp
@ -3,7 +3,7 @@
|
||||
|
||||
Commands marked with * may be preceded by a number, _N.
|
||||
Notes in parentheses indicate the behavior if _N is given.
|
||||
A key preceded by a carat indicates the Ctrl key; thus ^K is ctrl-K.
|
||||
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
|
||||
|
||||
h H Display this help.
|
||||
q :q Q :Q ZZ Exit.
|
||||
|
2
less.man
2
less.man
@ -1606,4 +1606,4 @@ LESS(1) LESS(1)
|
||||
|
||||
|
||||
|
||||
Version 449: 26 Jun 2012 LESS(1)
|
||||
Version 451: 21 Jul 2012 LESS(1)
|
||||
|
2
less.nro
2
less.nro
@ -1,4 +1,4 @@
|
||||
.TH LESS 1 "Version 449: 26 Jun 2012"
|
||||
.TH LESS 1 "Version 451: 21 Jul 2012"
|
||||
.SH NAME
|
||||
less \- opposite of more
|
||||
.SH SYNOPSIS
|
||||
|
16
lessecho.c
16
lessecho.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
@ -51,4 +51,4 @@ LESSECHO(1) LESSECHO(1)
|
||||
|
||||
|
||||
|
||||
Version 449: 26 Jun 2012 LESSECHO(1)
|
||||
Version 451: 21 Jul 2012 LESSECHO(1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LESSECHO 1 "Version 449: 26 Jun 2012"
|
||||
.TH LESSECHO 1 "Version 451: 21 Jul 2012"
|
||||
.SH NAME
|
||||
lessecho \- expand metacharacters
|
||||
.SH SYNOPSIS
|
||||
|
18
lesskey.c
18
lesskey.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
@ -449,7 +449,7 @@ tstr(pp, xlate)
|
||||
}
|
||||
case '^':
|
||||
/*
|
||||
* Carat means CONTROL.
|
||||
* Caret means CONTROL.
|
||||
*/
|
||||
*pp = p+2;
|
||||
buf[0] = CONTROL(p[1]);
|
||||
|
16
lesskey.h
16
lesskey.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
@ -349,10 +349,8 @@ LESSKEY(1) LESSKEY(1)
|
||||
|
||||
[1mAUTHOR[0m
|
||||
Mark Nudelman <bug-less@gnu.org>
|
||||
Send bug reports or comments to the above address or to bug-
|
||||
less@gnu.org.
|
||||
Send bug reports or comments to bug-less@gnu.org.
|
||||
|
||||
|
||||
|
||||
|
||||
Version 449: 26 Jun 2012 LESSKEY(1)
|
||||
Version 451: 21 Jul 2012 LESSKEY(1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LESSKEY 1 "Version 449: 26 Jun 2012"
|
||||
.TH LESSKEY 1 "Version 451: 21 Jul 2012"
|
||||
.SH NAME
|
||||
lesskey \- specify key bindings for less
|
||||
.SH SYNOPSIS
|
||||
@ -378,5 +378,4 @@ Suite 330, Boston, MA 02111-1307, USA.
|
||||
.PP
|
||||
Mark Nudelman <bug-less@gnu.org>
|
||||
.br
|
||||
Send bug reports or comments to the above address or to bug-less@gnu.org.
|
||||
|
||||
Send bug reports or comments to bug-less@gnu.org.
|
||||
|
16
lglob.h
16
lglob.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
line.c
16
line.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
linenum.c
16
linenum.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
lsystem.c
16
lsystem.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
main.c
16
main.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
mark.c
16
mark.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
#include "less.h"
|
||||
|
16
mkhelp.c
16
mkhelp.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
optfunc.c
16
optfunc.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
option.c
16
option.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
option.h
16
option.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
#define END_OPTION_STRING ('$')
|
||||
|
16
opttbl.c
16
opttbl.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
os.c
16
os.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
33
output.c
33
output.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
@ -272,13 +272,16 @@ flush()
|
||||
break;
|
||||
if (at & 1)
|
||||
{
|
||||
#if MSDOS_COMPILER==WIN32C
|
||||
fg |= FOREGROUND_INTENSITY;
|
||||
bg |= BACKGROUND_INTENSITY;
|
||||
#else
|
||||
fg = bo_fg_color;
|
||||
bg = bo_bg_color;
|
||||
#endif
|
||||
/*
|
||||
* If \e[1m use defined bold
|
||||
* color, else set intensity.
|
||||
*/
|
||||
if (p[-2] == '[')
|
||||
{
|
||||
fg = bo_fg_color;
|
||||
bg = bo_bg_color;
|
||||
} else
|
||||
fg |= 8;
|
||||
} else if (at & 2)
|
||||
{
|
||||
fg = so_fg_color;
|
||||
|
16
pattern.c
16
pattern.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Routines to do pattern matching.
|
||||
|
16
pattern.h
16
pattern.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
#if HAVE_GNU_REGEX
|
||||
#define __USE_GNU 1
|
||||
|
16
pckeys.h
16
pckeys.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
position.c
16
position.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
position.h
16
position.h
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
prompt.c
16
prompt.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
screen.c
16
screen.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
scrsize.c
16
scrsize.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This program is used to determine the screen dimensions on OS/2 systems.
|
||||
|
16
search.c
16
search.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
signal.c
16
signal.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
16
tags.c
16
tags.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
#include "less.h"
|
||||
|
16
ttyin.c
16
ttyin.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
20
version.c
20
version.c
@ -1,11 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
/*
|
||||
* Copyright (C) 1984-2012 Mark Nudelman
|
||||
*
|
||||
* You may distribute under the terms of either the GNU General Public
|
||||
* License or the Less License, as specified in the README file.
|
||||
*
|
||||
* For more information, see the README file.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
@ -751,6 +751,8 @@ v446 5/15/12 Up/down arrows in cmd editing search for matching cmd.
|
||||
v447 5/21/12 Add ESC-F command, two-pipe LESSOPEN syntax.
|
||||
v448 6/15/12 Print name of regex library in version message.
|
||||
v449 6/23/12 Allow config option --with-regex=none.
|
||||
v450 7/4/12 Fix EOF bug with ESC-F.
|
||||
v451 7/20/12 Fix typo.
|
||||
*/
|
||||
|
||||
char version[] = "449";
|
||||
char version[] = "451";
|
||||
|
Loading…
Reference in New Issue
Block a user