| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Employ the usual form of an mbtowc(3) loop, eliminating two calls
to the bad function step_char() and reducing the number of nested
loops by one. This also removes the last caller of the bad function
binary_char(), which is consequently deleted.
While here, count ASCII C0 non-whitespace control characters as
binary (except backspace and, with -R only, escape).
OK millert@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for ANSI escape sequences introduced by an 8-bit CSI (e.g. "\23343m")
because these are neither compatible with UTF-8 nor strictly
compatible with pure ASCII and for those introduced by an UTF-8 CSI
(e.g. "\302\23343m") because not even xterm(1) supports them at
all, not even with a non-default configuration, because both forms
are very rarely used, if at all, and because the current code trying
to support them doesn't even appear to work according to my tests.
Full support for the ESC-[ CSI (e.g. "\033[43m") remains.
Tweaks and OK millert@, OK nicm@,
and sthen@ agrees with the general direction.
|
|
|
|
|
| |
Based on a smaller diff from Jesper Wallin <jesper at ifconfig dot se>.
OK deraadt@
|
| |
|
|
|
|
| |
ok nicm@
|
|
|
|
| |
ok nicm
|
| |
|
| |
|
|
|
|
| |
to be special. Simply use NULL.
|
|
|
|
|
| |
ecalloc, etc. functions do.
ok mmcc nicm
|
|
|
|
|
| |
terms with the existing copyright, so it is clear it applies the same
terms.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
ok guenther@, ok jmc@ for man bits
|
|
|
|
| |
ok nicm@
|
| |
|
|
|
|
| |
OK jaredy@.
|
|
|
|
| |
From Matthew Haub; ok krw@
|
| |
|
|
|
|
|
| |
of using snprintf(). Based on a patch from Brent Graveland.
Ok tdeval@ and otto@
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
reviewed by tdeval, millert, dhartmei and others. more bits coming here
from some of them i think
|
| |
|
| |
|
| |
|
|
|
|
| |
millert@ ok
|
| |
|
|
|