Age | Commit message (Collapse) | Author |
|
Previously behaviors were all over the map. This changes them to
use COLUMNS first, and either terminal width or a hardcoded value
(typically 80) as appropriate.
ok deraadt@; man bits ok jmc@
|
|
It would be better to replace all the complicated existing code with a
simple idiom, and this is being worked on. But for the moment,
preventing vi from crashing is worthwhile.
ok jung@
|
|
|
|
Feedback millert@ kettenis@
|
|
ok nicm@
|
|
I'm discussing with deraadt@ whether it's a good idea to convert some of
these to functions. The one changed by this commit probably isn't
eligible because it defines only a for loop's condition, but many others
in less(1) should probably be converted.
ok millert@
|
|
Started by diff from Mical Mazurek.
|
|
o move some declarations out of hexdump.h
o mark some declarations as __dead or static
from Michal Mazurek, with input from and ok tb@
|
|
or two. Upstream wants to keep them for C++ support, and it isn't worth
maintaining a larger diff. No binary change.
Upstream commit:
https://github.com/fanf2/unifdef/commit/87dfd91
I'll send more merging diffs to tech@ soon.
|
|
when attempting pubkey auth with a certificate, if no separate
private key is found among the keys then try with the certificate
key itself.
bz#2550 reported by Peter Moody
|
|
Fixes allignment in viusage
By Raf Czlonka
|
|
ioctl requests.
|
|
|
|
this file has not been touched in nearly two years - putting this out
as a test of whether to propose its removal;
|
|
reported by github.com/tintinweb
feedback and ok deraadt and markus
|
|
lots of agreement.
|
|
if one of the parties is remote it needs to pledge for inet
|
|
places that use them (authn and session code). After this, no state is
cached in canohost.c
feedback and ok markus@
|
|
request and ok naddy@
|
|
for generating and parsing them.
ok mpi@ naddy@ millert@ deraadt@
|
|
epub detection which jirib at devio dot us reported as not working.
nicm says "The only thing I see that we do not support is the indirect
on the last line, I suggest just commenting it" (done).
|
|
stricter (per POSIX, dang it)
|
|
locale since if it isn't UTF-8 the system is broken anyway. If it fails,
try "" and check for UTF-8 with nl_langinfo(CODESET) rather than
wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by
stsp@.
|
|
children from other parts of the program.
In that case, there's no reason to try to catch other process.
1/ they don't exist
2/ if they did, stealing their status would be bad.
okay deraadt@
|
|
|
|
so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale,
so check with wcwidth() on a UTF-8 character after setlocale().
|
|
|
|
|
|
previously keepalive packets were not being sent.
bz#2252 report and analysis by Christian Wittenhorst and Garrett Lee
feedback and ok dtucker@
|
|
|
|
|
|
that happens when working out if they are supported.
|
|
the other end. Pointed out by mmcc@, ok deraadt@ markus@
|
|
timestamps. Pointed out by mmcc@, ok deraadt@ markus@
|
|
characters where we can't find the width (wcwidth() fails) on input, the
same as we drop invalid UTF-8. Suggested by schwarze@.
|
|
|
|
When diff encounters a line that consists of a single dot, it emits two
dots instead, stops the current command and emits a substitute command
to replace the double dot with a single one. Then it restarts the
(original) command if necessary and inserts further lines. This is done
because a single dot on a line does have special meaning in ed. (It
stops text insertion.)
Following issues are fixed by this commit.
- The line number for the substitute command should be the number of the
most recently inserted line. diff instead uses the number of the first
inserted line of the current hunk. The first character of that line is
removed when applying the diff, while the superfluous dot is not.
- The line number of the restarted command is not adjusted for the
number of lines already inserted, resulting in the reordering of lines..
- When there is a bare dot in the replacement text of a change command,
too many lines are deleted, because a second change command is emitted.
An append command should be emitted instead, because the target lines
have already been removed by the first change command.
tweaks and ok stefan@
|
|
key_bindings_unref_table.
|
|
|
|
doing the drag end in code. From Stephen Coakley.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rearrange DH private value generation to explain rationale more
clearly and include an extra sanity check.
ok deraadt
|
|
|
|
Remove "option COMPAT_LINUX" and everything directly tied to it from the
kernel and the corresponding man page documentation.
ok visa@ guenther@
|
|
|