Commit Graph

64 Commits

Author SHA1 Message Date
delphij
03d374e3a6 MFV r293125: less v481.
MFC after:	1 month
Relnotes:	yes
2016-01-05 05:25:16 +00:00
delphij
7c988b2ec3 Revert files with no local changes to their vendor state to ease future
upgrading.
2013-05-31 00:31:45 +00:00
delphij
77098f85c0 Remove unused files. 2013-05-31 00:21:05 +00:00
delphij
125cfd090f MFV: less v458.
MFC after:	2 weeks
2013-05-13 06:52:46 +00:00
delphij
9b265d16e4 MFV: less v456. 2012-12-03 19:00:23 +00:00
delphij
01c2c225d2 MFV: less v453. 2012-11-04 20:52:26 +00:00
delphij
e39250a384 MFV: less v451. 2012-07-24 01:09:11 +00:00
delphij
922d40fed4 MFV: less v449. 2012-06-26 23:17:33 +00:00
dim
4a643207b2 Redo r228645, but instead of casting away const conversion warnings in
contrib/less, add a few const qualifiers in the right places.

Suggested by:	das
MFC after:	1 week
2012-01-01 20:13:02 +00:00
dim
46cdaf90c3 Revert r228645, which casts away a number of const conversion warnings
in contrib/less.  I will fix those more properly in the next commit.
2012-01-01 20:09:05 +00:00
dim
270e7ed83a In contrib/less, cast away const a bunch of times, to make it build
without conversion warnings.  This code desparately needs a good dose of
const poison, but fixing all the issues would be rather disruptive.

MFC after:	1 week
2011-12-17 16:10:14 +00:00
delphij
3f51f93516 MFV: Update to less v444.
MFC after:	2 weeks
2011-06-09 22:52:57 +00:00
delphij
142a49a4be MFV: Update to less v443.
MFC after:	1 month
2011-05-09 21:51:59 +00:00
obrien
fc0d20c0e1 Be clear of what licensing terms we are using. 2011-04-27 08:57:12 +00:00
delphij
a1420f2d09 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
delphij
810e5a84b4 Update to less v429. 2009-05-09 01:35:27 +00:00
delphij
d069efd47c Flatten all tags of the dist tree of less. 2009-05-08 23:34:35 +00:00
das
3f9ccbd00f Make `less -R' not crash all the time. 2009-02-28 06:27:23 +00:00
delphij
e140286e75 Resolve conflicts. 2007-11-26 08:58:07 +00:00
delphij
6aa3e25391 Virgin import of less v416. 2007-11-26 08:57:30 +00:00
delphij
07d0aeedba This commit was generated by cvs2svn to compensate for changes in r173932,
which included commits to RCS files with non-trunk default branches.
2007-11-26 08:57:30 +00:00
delphij
9fc5d689bc Nuke file removed from author's distribution. 2007-11-16 22:26:10 +00:00
delphij
5b156888f3 This commit was generated by cvs2svn to compensate for changes in r173686,
which included commits to RCS files with non-trunk default branches.
2007-11-16 22:26:10 +00:00
delphij
12ee5edf2f Resolve conflicts; Update defines.h to reflect latest change. 2007-11-16 22:24:31 +00:00
delphij
e2b0c4a1d9 Virgin import of less v415. 2007-11-16 22:22:17 +00:00
delphij
6c8bd91302 This commit was generated by cvs2svn to compensate for changes in r173682,
which included commits to RCS files with non-trunk default branches.
2007-11-16 22:22:17 +00:00
delphij
a4572db1a8 Add instructions about how to upgrade less in base system 2007-11-13 18:54:35 +00:00
delphij
9680b7d49a Import less v409, fixes a rather serious bug which causes
crashes when searching for invalid UTF-8 sequence.
2007-10-12 19:03:03 +00:00
delphij
b3ebdff90d This commit was generated by cvs2svn to compensate for changes in r172597,
which included commits to RCS files with non-trunk default branches.
2007-10-12 19:03:03 +00:00
delphij
cee6fe7563 Resolve conflicts to complete less v408 import.
Approved by:	re (kensmith)
2007-10-08 16:17:42 +00:00
delphij
aa9fcd7386 Virgin import of less v408.
Approved by:	re (kensmith)
2007-10-08 16:14:52 +00:00
delphij
de40ea14af This commit was generated by cvs2svn to compensate for changes in r172468,
which included commits to RCS files with non-trunk default branches.
2007-10-08 16:14:52 +00:00
delphij
237f9d22c3 Restore historical behavior where more(1) does not check for dumb terminals.
Reported by:	rwatson on -current
Tested by:	keramida, rwatson
Approved by:	re (rwatson)
2007-09-04 13:54:09 +00:00
delphij
5c8a6bfaa1 Be more careful handling no_init flag. It should be enforced
in *all* less_is_more cases, On the other hand, quit_if_one_screen
should apply iff less_is_more *and* -e.

This change revises the previous change further, which tried
to make less(1) not to send @ti:@te before and after view of
one file in more(1) mode, but affected less -e behavior by
accident.

This is essentially the same patch desichen@ has posted on
-current@.  I have adjusted it a bit in order to minimize
difference between our version and the vendor branch.

Approved by:	re (bmah, earlier logically equivalent version)
2007-08-13 16:15:26 +00:00
deischen
cd87ef6c33 Restore historical more(1) behavior (inhibit ti/te processing) which
accidently got broke during the last less(1) import.

Approved by:	re(hrs), delphij
2007-08-04 13:16:09 +00:00
delphij
18998e9197 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
delphij
2ed1acd533 Resolve conflicts after less(1) v406 import.
Approved by:	re (hrs)
2007-06-21 10:44:50 +00:00
delphij
bb6dbdf2f3 Virgin import of less v406.
Approved by:	re (hrs)
2007-06-21 10:42:55 +00:00
delphij
5f3f215c2a This commit was generated by cvs2svn to compensate for changes in r170964,
which included commits to RCS files with non-trunk default branches.
2007-06-21 10:42:55 +00:00
delphij
c42a76d47f Restore a historical behavior that +foo is considered as a
filename by more(1).  The less(1) behavior is keep intact.

PR:		bin/51488
Prodded by:	demon
Approved by:	re (hrs)
2007-06-21 10:39:24 +00:00
delphij
34b5aafd8b Apply a vendor patch that fixes very annoying bug
which caused the cursor not to return to the place
it should when -w is used with -e.

Note that this is a commit against -HEAD because
we already have the file off the vendor branch.

Reported by:	Tom Uffner (on -current@)
Obtained from:	http://www.greenwoodsoftware.com/less/less-405.tar.gz
2007-06-17 23:20:43 +00:00
delphij
2ef4baf470 In previous releases of FreeBSD we have enforced -EfGm, and the
new less(1) version enforced only -Em.  Restore old behavior in
respect with POLA.

Submitted by:	ru (on -current@)
2007-06-16 02:43:44 +00:00
delphij
2908bdb1f1 Resolve conflicts. 2007-06-04 01:43:11 +00:00
delphij
7672cb6e48 /home/delphij/m 2007-06-04 01:42:54 +00:00
delphij
9b5d103b5b This commit was generated by cvs2svn to compensate for changes in r170256,
which included commits to RCS files with non-trunk default branches.
2007-06-04 01:42:54 +00:00
delphij
5d60487351 Resolve conflicts. 2006-08-20 15:50:51 +00:00
delphij
5297f4bc59 Import less v394 2006-08-20 15:49:51 +00:00
delphij
a77e94924d This commit was generated by cvs2svn to compensate for changes in r161475,
which included commits to RCS files with non-trunk default branches.
2006-08-20 15:49:51 +00:00
tjr
7c5f6cabc9 Fix a one byte off error which causes "less" to crash if you view a
large file, jump to the end, scroll backwards with "b" and try to search
backwards afterwards.

Submitted by:	Matthias Scheler
2005-08-26 10:05:59 +00:00
tjr
71cad8a96d Remove files no longer present in less distribution. 2004-04-20 13:06:40 +00:00