summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/output.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* little bit more KNFderaadt2016-09-171-1/+1
|
* Remove a fancy macro that calculates the necessary buffer size formmcc2016-01-261-3/+3
| | | | | | | | 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@
* unify two identical function pairs now that we've removed less's off_tmmcc2016-01-131-2/+1
| | | | | | aliases ok nicm@
* Remove LINUNUM, a needless alias for off_t. Also, remove a redundantmmcc2016-01-121-2/+2
| | | | | | condition. ok nicm@
* Add a flag argument to flush() to stop it calling quit() on error, thennicm2015-11-131-6/+6
| | | | | | use this from quit() to stop less blowing up the stack looping through quit()/flush() if stderr is closed (for example "less /missing 2</dev/null"). ok millert
* 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.
* deregistertedu2015-11-051-3/+3
|
* Replace less with the cleaned-up fork of less 458 maintained by Garrettnicm2015-11-051-361/+73
| | | | | | | | | | | | | 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-9/+22
| | | | ok guenther@, ok jmc@ for man bits
* Quit if write(2) returns -1 when writing to the tty, which canmillert2012-05-171-1/+6
| | | | happen if the tty is revoked. OK deraadt@
* 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-157/+136
| | | | ok nicm@
* Merge in less-381 w/ local changes and remove obsolete files.millert2003-04-131-86/+343
|
* kill more registersmpech2001-11-191-12/+12
| | | | millert@ ok
* $OpenBSD$niklas2001-01-291-0/+2
|
* Incorporate less modifications for more and our bug fixes from previousetheisen1996-09-211-0/+2
| | | | version.
* Import of unmolested less-290.etheisen1996-09-211-0/+363