summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/optfunc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix use after free that caused the creation of a spurious file.krw2018-03-171-1/+2
| | | | | | As guenther@ said "fix whatever led to the \337 x 16 crap". anton@ came up with the same diff. ok nicm@
* little bit more KNFderaadt2016-09-171-1/+1
|
* Rename a local var so that we can call the global message buffer msg.mmcc2016-02-031-9/+10
| | | | ok nicm, tb
* remove lint annotationsmmcc2016-01-121-4/+0
| | | | ok nicm@
* error() is not a stdarg function, so there is no reason for NULL_PARGderaadt2015-11-091-11/+11
| | | | to be special. Simply use NULL.
* 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-7/+5
| | | | | 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-297/+114
| | | | | | | | | | | | | 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
* Merge Less 458 plus local patchesshadchin2014-04-251-4/+26
| | | | ok guenther@, ok jmc@ for man bits
* In "more" mode, POSIX says the command specified by the -p optionmillert2014-04-091-7/+11
| | | | | should apply to every edited file, not just the first one. It is equivalent to less's ++ option. Patch sent to upstream. OK shadchin@
* Merge in less 444 plus local changesshadchin2011-09-161-44/+140
| | | | ok nicm@
* use SMALL_PROGRAM to knock out some codederaadt2010-07-031-0/+2
|
* o go back to using a help file instead of embedding it in the binarymillert2003-04-141-2/+17
| | | | | | 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
* Merge in less-381 w/ local changes and remove obsolete files.millert2003-04-131-67/+165
|
* kill more registersmpech2001-11-191-4/+4
| | | | millert@ ok
* $OpenBSD$niklas2001-01-291-0/+2
|
* Import of unmolested less-290.etheisen1996-09-211-0/+496