Up to [local] / src / usr.bin / less
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.23 / (download) - annotate - [select for diffs], Sat Sep 17 15:06:41 2016 UTC (7 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
HEAD
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored) to selected 1.7 (colored)
little bit more KNF
Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 26 01:51:06 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.7 (colored)
Remove a fancy macro that calculates the necessary buffer size for int-to-str conversions and just use constants instead. The only binary change is caused by using an unnecessarily large buffer for an int. This is a consequence of simplifying some code that will be gone soon. ok nicm@
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 17 00:59:09 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.7 (colored)
start removing mp, the pointer to message's nul byte ok deraadt@
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 13 22:47:45 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
Changes since 1.19: +6 -18 lines
Diff to previous 1.19 (colored) to selected 1.7 (colored)
unify two identical function pairs now that we've removed less's off_t aliases ok nicm@
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 12 23:01:23 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
Changes since 1.18: +0 -1 lines
Diff to previous 1.18 (colored) to selected 1.7 (colored)
remove lint annotations ok nicm@
Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 12 17:48:04 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.7 (colored)
Remove LINUNUM, a needless alias for off_t. Also, remove a redundant condition. ok nicm@
Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 9 16:46:43 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.7 (colored)
NULL_IFILE has no weird use patterns. NULL is sufficient.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 7 18:07:44 2015 UTC (8 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored) to selected 1.7 (colored)
replace save() with estrdup() and make estrdup() exit like all the other ecalloc, etc. functions do. ok mmcc nicm
Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 6 15:50:33 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.14: +2 -4 lines
Diff to previous 1.14 (colored) to selected 1.7 (colored)
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 5 22:08:44 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.13: +153 -194 lines
Diff to previous 1.13 (colored) to selected 1.7 (colored)
Replace less with the cleaned-up fork of less 458 maintained by Garrett D'Amore at https://github.com/gdamore/less-fork. This has significantly less portability goop, has a tidied up code style, uses terminfo instead of termcap, and is has stricter POSIX compliance. Many of our local changes have been accepted upstream: substantial remaining local changes are code to read help files from /usr/share rather than compiling them in, man page and help improvements, and some tweaks to the default options. Review and testing by millert, ok deraadt
Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 25 13:38:21 2014 UTC (10 years, 1 month ago) by shadchin
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.12: +8 -9 lines
Diff to previous 1.12 (colored) to selected 1.7 (colored)
Merge Less 458 plus local patches ok guenther@, ok jmc@ for man bits
Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Fri Apr 25 13:33:50 2014 UTC (10 years, 1 month ago) by shadchin
Branch: markn,
MARK_NUDELMAN
CVS Tags: LESS_458
Changes since 1.1.1.3: +13 -16 lines
Diff to previous 1.1.1.3 (colored) to selected 1.7 (colored)
Import of Less 458 ok guenther@
Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 16 18:12:09 2011 UTC (12 years, 8 months ago) by shadchin
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.11: +31 -12 lines
Diff to previous 1.11 (colored) to selected 1.7 (colored)
Merge in less 444 plus local changes ok nicm@
Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 16 17:47:07 2011 UTC (12 years, 8 months ago) by shadchin
Branch: markn,
MARK_NUDELMAN
CVS Tags: LESS_444
Changes since 1.1.1.2: +33 -13 lines
Diff to previous 1.1.1.2 (colored) to selected 1.7 (colored)
Import of Less 444 ok nicm@
Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 9 20:40:08 2010 UTC (13 years, 10 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored) to selected 1.7 (colored)
Remove extra `.' from -m prompt string. From Daniel Malament danielm at bluetiger dot net, PR 6234. OK millert
Revision 1.10 / (download) - annotate - [select for diffs], Sun Feb 28 19:30:32 2010 UTC (14 years, 3 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (colored) to selected 1.7 (colored)
%t didn't properly remove trailing spaces from the end of the prompt. patch from daniel malament in pr 6235 ok millert@
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 4 04:45:01 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.8: +1 -4 lines
Diff to previous 1.8 (colored) to selected 1.7 (colored)
It turns out that POSIX specifies more should prompt with the file name, not --More-- like the old UCB more did. Back out a hack I did to make the prompt look like the old UCB more.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 14 14:33:57 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)
o go back to using a help file instead of embedding it in the binary o deal with HELPFILE not being defined o add a SMALL definition to make a smaller less for the boot floppies This still needs to be pared down a bit for the SMALL case
Revision 1.7 / (download) - annotate - [selected], Sun Apr 13 18:26:26 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.6: +190 -74 lines
Diff to previous 1.6 (colored)
Merge in less-381 w/ local changes and remove obsolete files.
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Apr 13 18:21:21 2003 UTC (21 years, 2 months ago) by millert
Branch: markn,
MARK_NUDELMAN
CVS Tags: LESS_381
Changes since 1.1.1.1: +182 -66 lines
Diff to previous 1.1.1.1 (colored) to selected 1.7 (colored)
Stock less-390 with some unneeded DOS/Windoze files removed
Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 6 23:38:07 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored) to selected 1.7 (colored)
more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintf reviewed by tdeval, millert, dhartmei and others. more bits coming here from some of them i think
Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:14 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) to selected 1.7 (colored)
kill more registers millert@ ok
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:03 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored) to selected 1.7 (colored)
$OpenBSD$
Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 20 19:00:39 1999 UTC (25 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) to selected 1.7 (colored)
First step at supporting files > 2gig. Use off_t as POSITION and replace get_maxlong() with a get_maxpos() and modify percentage() appropriately. There are still problems seeking to the end of a large file and line numbers should probably be 64bit (or at the very least unsigned). This has been sitting in my tree for quite some time now so I am committing what I have now since I don't know when I'll have a chance to really finish it.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 21 06:06:42 1996 UTC (27 years, 8 months ago) by etheisen
Branch: MAIN
CVS Tags: OpenBSD_1_2,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.7 (colored)
Incorporate less modifications for more and our bug fixes from previous version.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 21 05:39:43 1996 UTC (27 years, 8 months ago) by etheisen
Branch: markn,
MARK_NUDELMAN
CVS Tags: less_290
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.7 (colored)
Import of unmolested less-290.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 21 05:39:43 1996 UTC (27 years, 8 months ago) by etheisen
Branch: MAIN
Diff to selected 1.7 (colored)
Initial revision