#
d65139b4 |
| 03-Sep-2019 |
deraadt <deraadt@openbsd.org> |
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, w
less uses a correct raceless signal method of indicating signal events in 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
show more ...
|
#
e3776734 |
| 08-Jul-2016 |
millert <millert@openbsd.org> |
Pass errret pointer to setupterm() to prevent setupterm() from calling exit() when given an unknown terminal type. From Anton Lindqvist, who also upstreamed the fix.
|
#
27b3ade3 |
| 16-Mar-2016 |
mmcc <mmcc@openbsd.org> |
style(9) includes
ok nicm@
|
#
cad838c0 |
| 23-Nov-2015 |
tedu <tedu@openbsd.org> |
calling ioctl() requires include sys/ioctl.h
|
#
882928ec |
| 20-Nov-2015 |
deraadt <deraadt@openbsd.org> |
wrapping an ioctl for TIOCGWINSZ inside #ifdef TIOCGWINSIZE (entirely different) makes no sense; instead, accept all modern systems have TIOCGWINSZ.
|
#
8a859f7e |
| 09-Nov-2015 |
millert <millert@openbsd.org> |
fsync() on a tty is meaningless; ok deraadt@
|
#
b8c1323e |
| 06-Nov-2015 |
nicm <nicm@openbsd.org> |
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
|
#
171bb95e |
| 05-Nov-2015 |
nicm <nicm@openbsd.org> |
Replace less with the cleaned-up fork of less 458 maintained by Garrett D'Amore at https://github.com/gdamore/less-fork. This has significantly less portability goop, has a tidied up code style, uses
Replace less with the cleaned-up fork of less 458 maintained by Garrett 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
show more ...
|
#
26ad794d |
| 25-Apr-2014 |
shadchin <shadchin@openbsd.org> |
Merge Less 458 plus local patches
ok guenther@, ok jmc@ for man bits
|
#
43b5ee64 |
| 21-Sep-2011 |
millert <millert@openbsd.org> |
Use volatile sig_atomic_t, not int, for the sigs variable. Also move the call to bell() out of u_interrupt() (a signal handler). OK and with help from deraadt@
|
#
168565f4 |
| 16-Sep-2011 |
shadchin <shadchin@openbsd.org> |
Merge in less 444 plus local changes
ok nicm@
|
#
79052954 |
| 11-Apr-2005 |
deraadt <deraadt@openbsd.org> |
use STDERR_FILENO; ok cloder
|
#
708c34b6 |
| 25-Sep-2003 |
millert <millert@openbsd.org> |
Call fsync() _after_ tcsetattr() and pass tcsetattr the TCSASOFT flag. Seems to help the occasional problem with messed up terminal input after suspending less.
|
#
d12f2e32 |
| 01-Aug-2003 |
david <david@openbsd.org> |
another round of missing system includes ok tedu@
|
#
45076018 |
| 13-Apr-2003 |
millert <millert@openbsd.org> |
Merge in less-381 w/ local changes and remove obsolete files.
|
#
f09bbe38 |
| 06-Apr-2003 |
deraadt <deraadt@openbsd.org> |
more strlcpy/strlcat/snprintf, less strcpy/strcat/sprintf reviewed by tdeval, millert, dhartmei and others. more bits coming here from some of them i think
|
#
2e085c0f |
| 05-Apr-2003 |
deraadt <deraadt@openbsd.org> |
some more string shit; krw ok
|
#
c0932ef1 |
| 19-Nov-2001 |
mpech <mpech@openbsd.org> |
kill more registers
millert@ ok
|
#
d4e7c603 |
| 29-Jan-2001 |
niklas <niklas@openbsd.org> |
$OpenBSD$
|
#
b475f174 |
| 20-Jul-1998 |
deraadt <deraadt@openbsd.org> |
use sc_e_keypad, sc_s_keypad, and use ti/te. Undoes previous revs which disabled. Unclear why that was done, must wait for that old bug to resurface and fix it in a different way
|
#
46e3a861 |
| 12-Nov-1997 |
millert <millert@openbsd.org> |
Do termios ops on /dev/tty if available, else fd 2.
|
#
36b2ced8 |
| 12-Nov-1997 |
millert <millert@openbsd.org> |
TCSADRAIN -> TCSANOW. Using TCSADRAIN appears to cause a race condition whereby the change is done with the wrong tcpgrp. This fixes suspending less/more when invoked in mail(1) or via sh -c "less
TCSADRAIN -> TCSANOW. Using TCSADRAIN appears to cause a race condition whereby the change is done with the wrong tcpgrp. This fixes suspending less/more when invoked in mail(1) or via sh -c "less somefile".
show more ...
|
#
afb8bbbf |
| 22-Sep-1996 |
etheisen <etheisen@openbsd.org> |
No broken push/pop for Theo's less -ewm.
|
#
d353577d |
| 21-Sep-1996 |
etheisen <etheisen@openbsd.org> |
Incorporate less modifications for more and our bug fixes from previous version.
|
#
e3b7954b |
| 21-Sep-1996 |
etheisen <etheisen@openbsd.org> |
Import of unmolested less-290.
|