Commit Graph

27 Commits

Author SHA1 Message Date
Xin LI
b2ea244070 MFV r326007: less v529.
MFC after:	2 weeks
2017-11-20 08:52:33 +00:00
Xin LI
f6b74a7d16 MFV r317581: less v491.
MFC after:	1 month
2017-05-05 14:33:39 +00:00
Robert Watson
1ea316270f Currently, less(1) uses K&R prototypes, which both fails to provide useful
compiler-time type checking, and also causes problems for targets where
multiple incompatible calling conventions may be selected based on argument
types.  This change switches less(1) to ANSI prototypes.

While there, we also remove use of "register", and attempt to use "const" a
bit better now that the compiler can check argument types.

Reviewed by:	cem, emaste
MFC after:	3 weeks
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D10152
2017-03-31 21:29:43 +00:00
Xin LI
a15691bf11 MFV r293125: less v481.
MFC after:	1 month
Relnotes:	yes
2016-01-05 05:25:16 +00:00
Xin LI
c4becf7370 Revert files with no local changes to their vendor state to ease future
upgrading.
2013-05-31 00:31:45 +00:00
Xin LI
4cc5fc9a0c MFV: less v453. 2012-11-04 20:52:26 +00:00
Xin LI
e24497193b MFV: less v451. 2012-07-24 01:09:11 +00:00
Xin LI
96e55cc72d MFV: less v449. 2012-06-26 23:17:33 +00:00
Xin LI
33096f16e1 MFV: Update to less v443.
MFC after:	1 month
2011-05-09 21:51:59 +00:00
Xin LI
f0be0a1f8c Update less to v436. This is considered as a bugfix release from vendor.
Major changes from v429:
 * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
 * Allow a fraction as the argument to the -# (--shift) option.
 * Fix highlight bug when underlined/overstruck text matches at end of line.
 * Fix non-regex searches with ctrl-R.

Approved by:	re (kensmith, kib)
2009-07-29 09:20:32 +00:00
Xin LI
7374caaaed Update to less v429. 2009-05-09 01:35:27 +00:00
Xin LI
ad5f463cf9 Flatten all tags of the dist tree of less. 2009-05-08 23:34:35 +00:00
Xin LI
423c5ce59d Resolve conflicts; Update defines.h to reflect latest change. 2007-11-16 22:24:31 +00:00
Xin LI
464501a8bf Virgin import of less v415. 2007-11-16 22:22:17 +00:00
Xin LI
666ae690ac In more(1) mode, restore the historical behavior where curses init
and deinit characters are not delivered.

Instead of hacking screen.c, we set no_init to implement the behavior.

Reported by:	mnag
Approved by:	re (hrs)
2007-06-23 15:28:00 +00:00
Xin LI
aa22b8b669 Resolve conflicts after less(1) v406 import.
Approved by:	re (hrs)
2007-06-21 10:44:50 +00:00
Xin LI
efd72c2eb6 Virgin import of less v406.
Approved by:	re (hrs)
2007-06-21 10:42:55 +00:00
Xin LI
720c436c66 Resolve conflicts. 2007-06-04 01:43:11 +00:00
Xin LI
7f074f9c8f /home/delphij/m 2007-06-04 01:42:54 +00:00
Xin LI
89dd99dcac Resolve conflicts. 2006-08-20 15:50:51 +00:00
Xin LI
6dcb072b30 Import less v394 2006-08-20 15:49:51 +00:00
Tim J. Robbins
1ede161574 Merge vendor changes onto mainline. 2004-04-17 07:24:09 +00:00
Tim J. Robbins
000ba3e819 Import less v381. 2004-04-17 07:16:34 +00:00
Paul Saab
8fd4165cc4 Merge vendor changes onto mainline. 2002-01-07 20:37:09 +00:00
Paul Saab
c9346414d9 Import less v371 2002-01-07 20:29:38 +00:00
Paul Saab
a8f92a7ce5 Make less act like more(1) when it is invoked as more.
Obtained from:	NetBSD
2000-05-23 05:51:17 +00:00
Paul Saab
a5f0fb151d Import the [now] dual licensed version 3.5.4 of less. It is
distributed under your choice of the GPL or a BSD style license.

Reviewed by:	peter
Obtained from:	http://home.flash.net/~marknu/less/
2000-05-22 09:53:22 +00:00