aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/less
Commit message (Collapse)AuthorAgeFilesLines
* MFV r349535: less v551.Xin LI2019-06-291-1/+7
| | | | | | | | MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=349549
* MFV r326007: less v529.Xin LI2017-11-201-2/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=326010
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* MFV r317581: less v491.Xin LI2017-05-051-0/+5
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=317829
* rename zstless into zstdless to be consistent with other zstdcommandsBaptiste Daroussin2017-04-151-1/+1
| | | | Notes: svn path=/head/; revision=316984
* Add a zstdless equivalent to zless, bzless xzlessBaptiste Daroussin2017-04-152-1/+5
| | | | Notes: svn path=/head/; revision=316979
* Adopt SRCTOP in usr.binWarner Losh2017-03-121-2/+2
| | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* - Add support for zip to lesspipe.shAlex Kozlov2016-01-151-0/+3
| | | | | | | Approved by: des Notes: svn path=/head/; revision=294111
* MFV r293125: less v481.Xin LI2016-01-051-0/+5
| | | | | | | | MFC after: 1 month Relnotes: yes Notes: svn path=/head/; revision=293190
* new dependsSimon J. Gerraty2015-06-161-1/+0
| | | | Notes: svn path=/head/; revision=284481
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-192-3/+3
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync with HEAD.David E. O'Brien2013-02-082-1/+13
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * \ \ Sync from headSimon J. Gerraty2012-11-041-9/+3
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | | Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* | | Note that the manual page of less(1) says:Xin LI2012-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=243834
* | | Fix build with clang: properly terminate comment even in #if 0 blocks.Xin LI2012-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | Submitted by: dim Notes: svn path=/head/; revision=242618
* | | MFV: less v453.Xin LI2012-11-041-0/+12
| |/ |/| | | | | Notes: svn path=/head/; revision=242584
* | MFV: less v449.Xin LI2012-06-261-9/+3
|/ | | | Notes: svn path=/head/; revision=237613
* Regenerated with latest configure script.Xin LI2011-05-101-0/+6
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=221718
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchMartin Matuska2010-05-102-1/+9
| | | | | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=207842
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+1
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Update less to v436. This is considered as a bugfix release from vendor.Xin LI2009-07-291-4/+5
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=195941
* Resolve conflicts; Update defines.h to reflect latest change.Xin LI2007-11-161-0/+9
| | | | Notes: svn path=/head/; revision=173685
* Regen.Xin LI2007-06-041-23/+26
| | | | Notes: svn path=/head/; revision=170260
* Fix handling of filenames containing whitespace.Lukas Ertl2007-05-241-3/+3
| | | | | | | | PR: bin/112860 MFC in: 3 days Notes: svn path=/head/; revision=169956
* In rev. 1.2 we have introduced a fallback handler for files with unknownXin LI2006-08-301-3/+0
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=161732
* Regen.Xin LI2006-08-201-2/+15
| | | | Notes: svn path=/head/; revision=161479
* Correct the script name to be "zless.sh". This avoids an extra cp/chmodRuslan Ermilov2005-05-171-1/+1
| | | | | | | (from the sys.mk rule) while still installing it under the "zless" name. Notes: svn path=/head/; revision=146315
* Add a zless script which invokes less using the lesspipe script. This isDag-Erling Smørgrav2005-05-172-3/+11
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=146314
* Handle presumably uncompressed files with cat; exec the handlers.Dag-Erling Smørgrav2005-05-171-3/+9
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=146313
* Restore old value of LESSKEYFILE_SYS.Tim J. Robbins2004-04-171-1/+1
| | | | Notes: svn path=/head/; revision=128350
* Regenerate with less 381 configure script.Tim J. Robbins2004-04-171-117/+173
| | | | Notes: svn path=/head/; revision=128349
* UseJun Kuriyama2003-06-061-1/+1
| | | | | | | | | | | | cat ${.ALLSRC} > ${.TARGET} rather than ln -sf ${.ALLSRC} ${.TARGET} not to depends on absolute-path of symbolic links. Commented by: marcel, obrien, bde Notes: svn path=/head/; revision=115898
* Add an embellished lesspipe.sh as described in the man page.David E. O'Brien2003-03-062-0/+15
| | | | | | | P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME. Notes: svn path=/head/; revision=111938
* Use ${BINDIR} instead of hardcoded path.Johan Karlsson2002-12-181-1/+1
| | | | | | | | | | PR: 44582 Submitted by: Jon Disnard <jon.disnard@ca.com> Reviewed by: ru MFC after: 3 weeks Notes: svn path=/head/; revision=108031
* Update for less v371Paul Saab2002-01-071-0/+4
| | | | Notes: svn path=/head/; revision=89023
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74848
* ncurses -> termcapAndrey A. Chernov2000-07-141-2/+2
| | | | Notes: svn path=/head/; revision=63156
* Upgrade to less v358.Paul Saab2000-07-141-0/+9
| | | | Notes: svn path=/head/; revision=63132
* Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecatedBruce Evans2000-06-032-16/+5
| | | | | | | and $< and $@ are even documented as deprecated. Notes: svn path=/head/; revision=61216
* Install a manpage for more.Paul Saab2000-05-231-0/+2
| | | | Notes: svn path=/head/; revision=60817