Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
5d60487351 Resolve conflicts. 2006-08-20 15:50:51 +00:00
delphij
5297f4bc59 Import less v394 2006-08-20 15:49:51 +00:00
tjr
2dd9648c3e Merge vendor changes onto mainline. 2004-04-17 07:24:09 +00:00
tjr
44c4d557e2 Import less v381. 2004-04-17 07:16:34 +00:00
ps
beaaa84fd0 Merge vendor changes onto mainline. 2002-01-07 20:37:09 +00:00
ps
c0c85bc41c Import less v371 2002-01-07 20:29:38 +00:00
ps
4f86a08dc7 Make less act like more(1) when it is invoked as more.
Obtained from:	NetBSD
2000-05-23 05:51:17 +00:00
ps
1b28029810 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