summaryrefslogtreecommitdiff
path: root/usr.bin/less/forwback.c
AgeCommit message (Collapse)Author
2024-05-18remove externs for removed varsJonathan Gray
2019-09-03less uses a correct raceless signal method of indicating signal events inTheo de Raadt
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
2015-11-06Garrett D'Amore has agreed to moving his copyright line up above theNicholas Marriott
terms with the existing copyright, so it is clear it applies the same terms.
2015-11-05Replace less with the cleaned-up fork of less 458 maintained by GarrettNicholas Marriott
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
2014-04-25Merge Less 458 plus local patchesAlexandr Shadchin
ok guenther@, ok jmc@ for man bits
2011-09-21Use volatile sig_atomic_t, not int, for the sigs variable. AlsoTodd C. Miller
move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
2011-09-16Merge in less 444 plus local changesAlexandr Shadchin
ok nicm@
2003-04-14o go back to using a help file instead of embedding it in the binaryTodd C. Miller
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
2003-04-13Merge in less-381 w/ local changes and remove obsolete files.Todd C. Miller
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-01-29$OpenBSD$Niklas Hallqvist
1996-09-21Incorporate less modifications for more and our bug fixes from previousetheisen
version.
1996-09-21Import of unmolested less-290.etheisen