aboutsummaryrefslogtreecommitdiff
path: root/contrib/less/main.c
Commit message (Collapse)AuthorAgeFilesLines
* MFV: less v678.Xin LI2025-05-201-12/+21
|\ | | | | | | MFC after: 2 weeks
* | MFV: less v668.Xin LI2024-12-091-40/+232
|\| | | | | | | MFC after: 2 weeks
* | MFV: less v632.Xin LI2023-05-021-34/+20
|\| | | | | | | MFC after: 2 weeks
* | MFV: less v608Xin LI2022-09-061-6/+19
|\| | | | | | | | | Relnotes: yes MFC after: 2 weeks
* | less: upgrade to v581.Xin LI2021-04-191-33/+52
|\| | | | | | | MFC after: 2 weeks
* | MFV r366990: less v563.Xin LI2020-10-241-2/+3
|\| | | | | | | | | | | | | | | MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=367005
* | MFV r349535: less v551.Xin LI2019-06-291-28/+20
|\| | | | | | | | | | | | | | | MFC after: 2 weeks Relnotes: yes Notes: svn path=/head/; revision=349549
* | less(1): diff reduction vs upstreamAlan Somers2017-12-121-1/+0
| | | | | | | | | | | | | | | | | | | | No functional change. MFC after: 3 weeks Sponsored by: Spectra Logic Corp Notes: svn path=/head/; revision=326799
* | MFV r326007: less v529.Xin LI2017-11-201-16/+9
|\| | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=326010
* | MFV r317581: less v491.Xin LI2017-05-051-6/+31
|\| | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=317829
* | Currently, less(1) uses K&R prototypes, which both fails to provide usefulRobert Watson2017-03-311-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compiler-time type checking, and also causes problems for targets where multiple incompatible calling conventions may be selected based on argument types. This change switches less(1) to ANSI prototypes. While there, we also remove use of "register", and attempt to use "const" a bit better now that the compiler can check argument types. Reviewed by: cem, emaste MFC after: 3 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D10152 Notes: svn path=/head/; revision=316339
* | MFV r293125: less v481.Xin LI2016-01-051-4/+1
|\| | | | | | | | | | | | | | | MFC after: 1 month Relnotes: yes Notes: svn path=/head/; revision=293190
* | MFV: less v451.Xin LI2012-07-241-8/+8
|\| | | | | | | Notes: svn path=/head/; revision=238730
* | MFV: less v449.Xin LI2012-06-261-9/+9
|\| | | | | | | Notes: svn path=/head/; revision=237613
* | MFV: Update to less v443.Xin LI2011-05-091-3/+3
|\| | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=221715
* | Update less to v436. This is considered as a bugfix release from vendor.Xin LI2009-07-291-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update to less v429.Xin LI2009-05-091-1/+1
|\| | | | | | | Notes: svn path=/head/; revision=191930
| * Flatten all tags of the dist tree of less.Xin LI2009-05-081-413/+0
| | | | | | | | Notes: svn path=/vendor/less/dist/; revision=191925
| * /home/delphij/mXin LI2007-06-041-3/+23
| | | | | | | | Notes: svn path=/vendor/less/dist/; revision=170256
| * Import less v394Xin LI2006-08-201-6/+8
| | | | | | | | Notes: svn path=/vendor/less/dist/; revision=161475
| * Import less v381.Tim J. Robbins2004-04-171-6/+15
| | | | | | | | Notes: svn path=/vendor/less/dist/; revision=128345
| * Import less v371Paul Saab2002-01-071-2/+14
| | | | | | | | Notes: svn path=/vendor/less/dist/; revision=89019
* | Restore historical behavior where more(1) does not check for dumb terminals.Xin LI2007-09-041-1/+1
| | | | | | | | | | | | | | | | | | Reported by: rwatson on -current Tested by: keramida, rwatson Approved by: re (rwatson) Notes: svn path=/head/; revision=172045
* | Be more careful handling no_init flag. It should be enforcedXin LI2007-08-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=171817
* | Restore historical more(1) behavior (inhibit ti/te processing) whichDaniel Eischen2007-08-041-1/+1
| | | | | | | | | | | | | | | | | | accidently got broke during the last less(1) import. Approved by: re(hrs), delphij Notes: svn path=/head/; revision=171716
* | In more(1) mode, restore the historical behavior where curses initXin LI2007-06-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=171009
* | Restore a historical behavior that +foo is considered as aXin LI2007-06-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | filename by more(1). The less(1) behavior is keep intact. PR: bin/51488 Prodded by: demon Approved by: re (hrs) Notes: svn path=/head/; revision=170963
* | In previous releases of FreeBSD we have enforced -EfGm, and theXin LI2007-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | new less(1) version enforced only -Em. Restore old behavior in respect with POLA. Submitted by: ru (on -current@) Notes: svn path=/head/; revision=170812
* | Resolve conflicts.Xin LI2007-06-041-16/+23
| | | | | | | | Notes: svn path=/head/; revision=170259
* | Resolve conflicts.Xin LI2006-08-201-6/+8
| | | | | | | | Notes: svn path=/head/; revision=161478
* | Merge vendor changes onto mainline.Tim J. Robbins2004-04-171-6/+15
| | | | | | | | Notes: svn path=/head/; revision=128348
* | Merge vendor changes onto mainline.Paul Saab2002-01-071-2/+14
| | | | | | | | Notes: svn path=/head/; revision=89022
* | Make less act like more(1) when it is invoked as more.Paul Saab2000-05-231-2/+17
|/ | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=60812
* Import the [now] dual licensed version 3.5.4 of less. It isvendor/less/v354Paul Saab2000-05-221-0/+370
distributed under your choice of the GPL or a BSD style license. Reviewed by: peter Obtained from: http://home.flash.net/~marknu/less/ Notes: svn path=/vendor/less/dist/; revision=60786 svn path=/vendor/less/v354/; revision=60788; tag=vendor/less/v354