svn commit: r238727 - vendor/less/dist
Xin LI
delphij at FreeBSD.org
Mon Jul 23 21:31:55 UTC 2012
Author: delphij
Date: Mon Jul 23 21:31:53 2012
New Revision: 238727
URL: http://svn.freebsd.org/changeset/base/238727
Log:
Vendor import of v451 (beta)
Modified:
vendor/less/dist/NEWS
vendor/less/dist/README
vendor/less/dist/brac.c
vendor/less/dist/ch.c
vendor/less/dist/charset.c
vendor/less/dist/charset.h
vendor/less/dist/cmd.h
vendor/less/dist/cmdbuf.c
vendor/less/dist/command.c
vendor/less/dist/cvt.c
vendor/less/dist/decode.c
vendor/less/dist/defines.ds
vendor/less/dist/defines.o2
vendor/less/dist/defines.o9
vendor/less/dist/defines.wn
vendor/less/dist/edit.c
vendor/less/dist/filename.c
vendor/less/dist/forwback.c
vendor/less/dist/funcs.h
vendor/less/dist/help.c
vendor/less/dist/ifile.c
vendor/less/dist/input.c
vendor/less/dist/jump.c
vendor/less/dist/less.h
vendor/less/dist/less.hlp
vendor/less/dist/less.man
vendor/less/dist/less.nro
vendor/less/dist/lessecho.c
vendor/less/dist/lessecho.man
vendor/less/dist/lessecho.nro
vendor/less/dist/lesskey.c
vendor/less/dist/lesskey.h
vendor/less/dist/lesskey.man
vendor/less/dist/lesskey.nro
vendor/less/dist/lglob.h
vendor/less/dist/line.c
vendor/less/dist/linenum.c
vendor/less/dist/lsystem.c
vendor/less/dist/main.c
vendor/less/dist/mark.c
vendor/less/dist/mkhelp.c
vendor/less/dist/optfunc.c
vendor/less/dist/option.c
vendor/less/dist/option.h
vendor/less/dist/opttbl.c
vendor/less/dist/os.c
vendor/less/dist/output.c
vendor/less/dist/pattern.c
vendor/less/dist/pattern.h
vendor/less/dist/pckeys.h
vendor/less/dist/position.c
vendor/less/dist/position.h
vendor/less/dist/prompt.c
vendor/less/dist/screen.c
vendor/less/dist/scrsize.c
vendor/less/dist/search.c
vendor/less/dist/signal.c
vendor/less/dist/tags.c
vendor/less/dist/ttyin.c
vendor/less/dist/version.c
Modified: vendor/less/dist/NEWS
==============================================================================
--- vendor/less/dist/NEWS Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/NEWS Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
Modified: vendor/less/dist/README
==============================================================================
--- vendor/less/dist/README Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/README Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/brac.c
==============================================================================
--- vendor/less/dist/brac.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/brac.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/ch.c
==============================================================================
--- vendor/less/dist/ch.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/ch.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
@@ -807,6 +807,17 @@ seekable(f)
}
/*
+ * 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.
*/
public void
Modified: vendor/less/dist/charset.c
==============================================================================
--- vendor/less/dist/charset.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/charset.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/charset.h
==============================================================================
--- vendor/less/dist/charset.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/charset.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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)
Modified: vendor/less/dist/cmd.h
==============================================================================
--- vendor/less/dist/cmd.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/cmd.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/cmdbuf.c
==============================================================================
--- vendor/less/dist/cmdbuf.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/cmdbuf.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/command.c
==============================================================================
--- vendor/less/dist/command.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/command.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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);
}
Modified: vendor/less/dist/cvt.c
==============================================================================
--- vendor/less/dist/cvt.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/cvt.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
Modified: vendor/less/dist/decode.c
==============================================================================
--- vendor/less/dist/decode.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/decode.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/defines.ds
==============================================================================
--- vendor/less/dist/defines.ds Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/defines.ds Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/defines.o2
==============================================================================
--- vendor/less/dist/defines.o2 Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/defines.o2 Mon Jul 23 21:31:53 2012 (r238727)
@@ -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. */
Modified: vendor/less/dist/defines.o9
==============================================================================
--- vendor/less/dist/defines.o9 Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/defines.o9 Mon Jul 23 21:31:53 2012 (r238727)
@@ -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. */
Modified: vendor/less/dist/defines.wn
==============================================================================
--- vendor/less/dist/defines.wn Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/defines.wn Mon Jul 23 21:31:53 2012 (r238727)
@@ -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. */
Modified: vendor/less/dist/edit.c
==============================================================================
--- vendor/less/dist/edit.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/edit.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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"
Modified: vendor/less/dist/filename.c
==============================================================================
--- vendor/less/dist/filename.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/filename.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/forwback.c
==============================================================================
--- vendor/less/dist/forwback.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/forwback.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/funcs.h
==============================================================================
--- vendor/less/dist/funcs.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/funcs.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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 ();
Modified: vendor/less/dist/help.c
==============================================================================
--- vendor/less/dist/help.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/help.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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',
Modified: vendor/less/dist/ifile.c
==============================================================================
--- vendor/less/dist/ifile.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/ifile.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/input.c
==============================================================================
--- vendor/less/dist/input.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/input.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/jump.c
==============================================================================
--- vendor/less/dist/jump.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/jump.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/less.h
==============================================================================
--- vendor/less/dist/less.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/less.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/less.hlp
==============================================================================
--- vendor/less/dist/less.hlp Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/less.hlp Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
Modified: vendor/less/dist/less.man
==============================================================================
--- vendor/less/dist/less.man Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/less.man Mon Jul 23 21:31:53 2012 (r238727)
@@ -1606,4 +1606,4 @@ LESS(1)
- Version 449: 26 Jun 2012 LESS(1)
+ Version 451: 21 Jul 2012 LESS(1)
Modified: vendor/less/dist/less.nro
==============================================================================
--- vendor/less/dist/less.nro Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/less.nro Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/lessecho.c
==============================================================================
--- vendor/less/dist/lessecho.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lessecho.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/lessecho.man
==============================================================================
--- vendor/less/dist/lessecho.man Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lessecho.man Mon Jul 23 21:31:53 2012 (r238727)
@@ -51,4 +51,4 @@ LESSECHO(1)
- Version 449: 26 Jun 2012 LESSECHO(1)
+ Version 451: 21 Jul 2012 LESSECHO(1)
Modified: vendor/less/dist/lessecho.nro
==============================================================================
--- vendor/less/dist/lessecho.nro Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lessecho.nro Mon Jul 23 21:31:53 2012 (r238727)
@@ -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
Modified: vendor/less/dist/lesskey.c
==============================================================================
--- vendor/less/dist/lesskey.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lesskey.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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]);
Modified: vendor/less/dist/lesskey.h
==============================================================================
--- vendor/less/dist/lesskey.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lesskey.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/lesskey.man
==============================================================================
--- vendor/less/dist/lesskey.man Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lesskey.man Mon Jul 23 21:31:53 2012 (r238727)
@@ -349,10 +349,8 @@ LESSKEY(1)
[1mAUTHOR[0m
Mark Nudelman <bug-less at gnu.org>
- Send bug reports or comments to the above address or to bug-
- less at gnu.org.
+ Send bug reports or comments to bug-less at gnu.org.
-
- Version 449: 26 Jun 2012 LESSKEY(1)
+ Version 451: 21 Jul 2012 LESSKEY(1)
Modified: vendor/less/dist/lesskey.nro
==============================================================================
--- vendor/less/dist/lesskey.nro Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lesskey.nro Mon Jul 23 21:31:53 2012 (r238727)
@@ -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 at gnu.org>
.br
-Send bug reports or comments to the above address or to bug-less at gnu.org.
-
+Send bug reports or comments to bug-less at gnu.org.
Modified: vendor/less/dist/lglob.h
==============================================================================
--- vendor/less/dist/lglob.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lglob.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/line.c
==============================================================================
--- vendor/less/dist/line.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/line.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/linenum.c
==============================================================================
--- vendor/less/dist/linenum.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/linenum.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/lsystem.c
==============================================================================
--- vendor/less/dist/lsystem.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/lsystem.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/main.c
==============================================================================
--- vendor/less/dist/main.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/main.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/mark.c
==============================================================================
--- vendor/less/dist/mark.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/mark.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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"
Modified: vendor/less/dist/mkhelp.c
==============================================================================
--- vendor/less/dist/mkhelp.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/mkhelp.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/optfunc.c
==============================================================================
--- vendor/less/dist/optfunc.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/optfunc.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/option.c
==============================================================================
--- vendor/less/dist/option.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/option.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/option.h
==============================================================================
--- vendor/less/dist/option.h Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/option.h Mon Jul 23 21:31:53 2012 (r238727)
@@ -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 ('$')
Modified: vendor/less/dist/opttbl.c
==============================================================================
--- vendor/less/dist/opttbl.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/opttbl.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/os.c
==============================================================================
--- vendor/less/dist/os.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/os.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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.
+ */
/*
Modified: vendor/less/dist/output.c
==============================================================================
--- vendor/less/dist/output.c Mon Jul 23 20:20:23 2012 (r238726)
+++ vendor/less/dist/output.c Mon Jul 23 21:31:53 2012 (r238727)
@@ -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;
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-all
mailing list