Commit Graph

32 Commits

Author SHA1 Message Date
Xin LI
aaa7bc6cf4 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
Xin LI
8590152414 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
Daniel Eischen
dc8abff4e0 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
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
811fe9ccfe 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
Xin LI
efd72c2eb6 Virgin import of less v406.
Approved by:	re (hrs)
2007-06-21 10:42:55 +00:00
Xin LI
22249a9635 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
Xin LI
7e990b09e2 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
Xin LI
4e2d304caa 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
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
436e618180 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
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
Xin LI
8978d559b1 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
Tim J. Robbins
1d5cfebaca 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
Tim J. Robbins
ba8e3be904 Remove files no longer present in less distribution. 2004-04-20 13:06:40 +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
Tim J. Robbins
d9872da232 This commit was generated by cvs2svn to compensate for changes in r128345,
which included commits to RCS files with non-trunk default branches.
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
5e27b2f5a3 This commit was generated by cvs2svn to compensate for changes in r89019,
which included commits to RCS files with non-trunk default branches.
2002-01-07 20:29:38 +00:00
Paul Saab
15596da42f Merge vendor changes onto mainline. 2000-07-14 09:57:37 +00:00
Paul Saab
8ed69c6ff9 Import less v358. 2000-07-14 09:51:40 +00:00
Paul Saab
94cc830866 This commit was generated by cvs2svn to compensate for changes in r63128,
which included commits to RCS files with non-trunk default branches.
2000-07-14 09:51:40 +00:00
Paul Saab
51525cb020 Make control-c exit when in more compatability mode.
Submitted by:	Scott Long <samsco@mho.com>
2000-07-14 09:13:35 +00:00
Paul Saab
ea1e4cec25 Forgot one small more(1) compat patch.
Obtained from:	NetBSD
2000-05-23 08:18:52 +00:00
Paul Saab
8a85f2635f Allow less to work on > 2GB files. 2000-05-23 07:34:27 +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