summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/forwback.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* less uses a correct raceless signal method of indicating signal events inderaadt2019-09-031-1/+0
| | | | | | | | a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
* 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-133/+74
| | | | | | | | | | | | | 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-3/+2
| | | | ok guenther@, ok jmc@ for man bits
* Use volatile sig_atomic_t, not int, for the sigs variable. Alsomillert2011-09-211-1/+1
| | | | | move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
* Merge in less 444 plus local changesshadchin2011-09-161-39/+51
| | | | ok nicm@
* o go back to using a help file instead of embedding it in the binarymillert2003-04-141-1/+1
| | | | | | 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-31/+43
|
* kill more registersmpech2001-11-191-3/+3
| | | | millert@ ok
* $OpenBSD$niklas2001-01-291-0/+2
|
* Incorporate less modifications for more and our bug fixes from previousetheisen1996-09-211-2/+2
| | | | version.
* Import of unmolested less-290.etheisen1996-09-211-0/+398