Age | Commit message (Collapse) | Author |
|
ok jmc@
|
|
with release 1.11.4. Correct this for release.
|
|
generated manuals; this fixes more than 500 manuals in base alone.
As a real fix, .tr will be supported after unlock.
OK kristaps@ to put in the workaround for now
|
|
Useful because their format and usage is also documented there.
feedback and ok jmc@
|
|
|
|
|
|
does not enter copy mode. Patch from SF bug 3374493.
In future the mode-mouse option is likely to die and be broken into
several smaller options.
|
|
command line.
|
|
will call open() to do strerror() when NLS is enabled;
feedback and ok markus@
|
|
fixes a case encountered by jeremy@
full fix not prudent at this time.
okay millert@, otto@
|
|
documented in re_format(7);
diff from alexis fouilhe, and verified/tweaked by sobrado;
ok millert otto
|
|
guenther@; ok guenther@ millert@
|
|
the functionality to figure out the real console device when /dev/console is
used.
ok millert@, deraadt@
|
|
When the input does not end in a trailing newline character
and there is an empty match at the end, the new code adds
a spurious '\0' character.
I have a fix, but otto@ prefers backout and full re-evaluation
after release.
|
|
- Don't reimplement strndup (softmagic.c).
OK millert@.
|
|
|
|
lines and simplifying it by removing the switch statement implementing
/g, /1, and /2 separately and repetitively.
The idea to make the loop control variable slen, i.e. the length of the
string remaining to be processed, signed, and stay in the loop even when
slen == 0 (i.e. at the end of the string), lifted from FreeBSD by otto@.
On i386, process.o shrinks by 440 bytes, and the sed binary by 23 bytes.
This fixes multiple aspects of the replacement of multiple (/g) or
specific (e.g. /2) instances of zero-length matches, both with BREs and
EREs, both with and without a trailing newline character on the input.
Feedback and OK otto@.
|
|
This will soon be needed for the HISTORY of string(3).
|
|
No binary change.
|
|
getent() as toprec. Makesd cap_mkdb faster when building termino.db.
OK nicm@
|
|
ok otto@
|
|
offsets from int to regoff_t.
Bail if the given size_t line length doesn't fit into the new regoff_t.
"I don't think you will ever be able to get a string longer than
SSIZE_MAX into memory, but that looks good." tedu@
"Agreed" otto@
regoff_t suggested by otto@
|
|
OK otto@
|
|
between default and current emulation; ok guenther@
|
|
non-native we should do a better job of tracking the emul
corresponding to a pid; ok guenther@; also tested by pirofti@
|
|
both forwards and backwards cases, though the forward case is better
tested. This is required because the actual character deleter
function (ldelete) requires an exact count. If it runs short, it will
not put the deletion into the kill buffer. This is complicated by how
mg internals consider newline's as counted characters even though they
do not occur in the buffers... and then there is the no newline at EOF
fiasco....
|
|
|
|
option is ignored (for compatibility reasons).
ok jmc@
|
|
Will need adjustments to user interface and functionality, and will be
linked into the mandoc(1) binary and hardlinked from /usr/libexec/mandocdb
to /usr/bin/mandoc when ready for general consumption.
The ultimate goal is to call it from OpenBSD::Makewhatis to replace
OpenBSD::Makewhatis::Unformated with enhanced functionality.
|
|
(1) Simply linking the future utilities (mandoc, mandocdb, apropos, whatis)
into a common binary inspecting its process name to find out what it
should do (as suggested by deraadt@) does not require the large code
changes i feared at first, but can be done in a few lines.
(2) As reported by dhill@, we already had the first build system problem
before even enabling this: Building without "make obj", the mandoc binary
name clashes with the new mandoc subdirectory, breaking the build.
Please use "cvs up -dP" when updating!
|
|
ok jmc@
|
|
|
|
fixes libpqxx build
|
|
ANSI C mode. Based on a diff from Theo.
|
|
with sys/fcntl.h. OK deraadt@
|
|
|
|
and these new utilities will use the mandoc libraries, so prepare
the build system to build the parsing and utility libraries separately
from the main program and formatters. Not yet linked to the build.
No objections from deraadt@ on adding directories for this purpose.
|
|
|
|
|
|
prodded by tedu@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
be a huge rush of it after they are resumed/unlocked. The main output
path was fine but status line updates and the terminal state reset code
were missed.
|
|
|
|
|
|
struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@
|