History log of /freebsd-10.0-release/usr.bin/less/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


243834 03-Dec-2012 delphij

Note that the manual page of less(1) says:

Note that a preprocessor cannot output an empty file, since that
is interpreted as meaning there is no replacement, and the origi-
nal file is used. To avoid this, if LESSOPEN starts with two ver-
tical bars, the exit status of the script becomes meaningful. If
the exit status is zero, the output is considered to be replace-
ment text, even if it empty. If the exit status is nonzero, any
output is ignored and the original file is used. For compatibil-
ity with previous versions of less, if LESSOPEN starts with only
one vertical bar, the exit status of the preprocessor is ignored.

Use two pipe symbols for zless, so that zless'ing a compressed empty
file will give output rather than being interpreted as its compressed
form, which is typically a binary.

Thanks Mark Nudelman for pointing out this difference and the
suggested solution.

Reported by: Matthias Meyser <meyser xenet.de>
PR: bin/168839
MFC after: 2 weeks


242618 05-Nov-2012 delphij

Fix build with clang: properly terminate comment even in #if 0 blocks.

Submitted by: dim


242584 04-Nov-2012 delphij

MFV: less v453.


237613 26-Jun-2012 delphij

MFV: less v449.


221718 10-May-2011 delphij

Regenerated with latest configure script.

MFC after: 1 month


207842 10-May-2010 mm

Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version

Approved by: delphij (mentor)
MFC after: 2 weeks


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


195941 29-Jul-2009 delphij

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)


173685 16-Nov-2007 delphij

Resolve conflicts; Update defines.h to reflect latest change.


170260 04-Jun-2007 delphij

Regen.


169956 24-May-2007 le

Fix handling of filenames containing whitespace.

PR: bin/112860
MFC in: 3 days


161732 30-Aug-2006 delphij

In rev. 1.2 we have introduced a fallback handler for files with unknown
extensions. This seems to be unnecessary and prevents less(1) from being
able to detect file changes, so remove the part.

Submitted by: Eric Huss <e-huss netmeridian com>
PR: bin/102624
Discussed with: des
MFC After: 3 days


161479 20-Aug-2006 delphij

Regen.


146315 17-May-2005 ru

Correct the script name to be "zless.sh". This avoids an extra cp/chmod
(from the sys.mk rule) while still installing it under the "zless" name.


146314 17-May-2005 des

Add a zless script which invokes less using the lesspipe script. This is
similar to the zmore script that comes with gzip (and in fact, in most
Linux distros, zless is a symlink to that very same zmore script) but has
the advantage that you get the correct file name on the less status line,
and can use :n and :p to navigate back and forth between multiple files.

MFC after: 1 week


146313 17-May-2005 des

Handle presumably uncompressed files with cat; exec the handlers.

MFC after: 1 week


128350 17-Apr-2004 tjr

Restore old value of LESSKEYFILE_SYS.


128349 17-Apr-2004 tjr

Regenerate with less 381 configure script.


115898 06-Jun-2003 kuriyama

Use
cat ${.ALLSRC} > ${.TARGET}
rather than
ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by: marcel, obrien, bde


111938 06-Mar-2003 obrien

Add an embellished lesspipe.sh as described in the man page.
P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME.


108031 18-Dec-2002 johan

Use ${BINDIR} instead of hardcoded path.

PR: 44582
Submitted by: Jon Disnard <jon.disnard@ca.com>
Reviewed by: ru
MFC after: 3 weeks


89023 07-Jan-2002 ps

Update for less v371


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


63156 14-Jul-2000 ache

ncurses -> termcap


63132 14-Jul-2000 ps

Upgrade to less v358.


61216 03-Jun-2000 bde

Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated
and $< and $@ are even documented as deprecated.


60817 23-May-2000 ps

Install a manpage for more.


60815 23-May-2000 ps

Detach usr.bin/more and install a link from less. less will behave
like more if invoked as more. The old more has not been removed.


60790 22-May-2000 ps

Dont use/install the formatted man file.


60789 22-May-2000 ps

bmake glue for less.

Reviewed by: peter