summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/option.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split only LESS on $.krw2018-03-171-6/+6
| | | | | | As guenther@ said "STOP SPLITTING ANYTHING BUT $LESS ON '$' !". anton@ came up with the same diff. ok nicm@
* little bit more KNFderaadt2016-09-171-1/+1
|
* A couple more prototypes without arguments.nicm2015-11-231-2/+2
|
* error() is not a stdarg function, so there is no reason for NULL_PARGderaadt2015-11-091-4/+4
| | | | to be special. Simply use NULL.
* Remove NULL-checks before free(), a needless comment, and a needlessmmcc2015-11-091-2/+1
| | | | | | void* cast. ok nicm@
* replace save() with estrdup() and make estrdup() exit like all the othertedu2015-11-071-1/+1
| | | | | ecalloc, etc. functions do. ok mmcc nicm
* Garrett D'Amore has agreed to moving his copyright line up above thenicm2015-11-061-4/+2
| | | | | terms with the existing copyright, so it is clear it applies the same terms.
* Replace less with the cleaned-up fork of less 458 maintained by Garrettnicm2015-11-051-199/+175
| | | | | | | | | | | | | 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
* Make more(1) POSIX compliant with respect to the -e option.schwarze2014-04-251-1/+1
| | | | | | | | | | | | By default, "more" now works like "less -e", and "more -e" now works like "less -E", and more never exits just because the file fits on the first screen, like "less -F" would. While documenting this, add some text to the DESCRIPTION explaining how paging works. That allows a very concise description of -e. code change ok millert@ manual page joint work with and ok jmc@
* Merge Less 458 plus local patchesshadchin2014-04-251-26/+29
| | | | ok guenther@, ok jmc@ for man bits
* Merge in less 444 plus local changesshadchin2011-09-161-65/+134
| | | | ok nicm@
* Make the GNU_OPTIONS define actually do something (was a no-op)millert2003-04-141-1/+6
|
* Merge in less-381 w/ local changes and remove obsolete files.millert2003-04-131-104/+186
|
* lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduderaadt2003-03-131-2/+2
|
* kill more registersmpech2001-11-191-11/+11
| | | | millert@ ok
* $OpenBSD$niklas2001-01-291-0/+2
|
* Import of unmolested less-290.etheisen1996-09-211-0/+549