summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-03-06Improve display of unknown and KTR_START recordsPhilip Guenther
request and ok naddy@
2016-03-06No more compat emulations, so remove ktrace EMUL records and the baggagePhilip Guenther
for generating and parsing them. ok mpi@ naddy@ millert@ deraadt@
2016-03-06Sync 'archive' magic from file 5.25. Various improvements includingStuart Henderson
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).
2016-03-05Make the fd_set* passed to FD_ISSET() non-const: the non-macro version isPhilip Guenther
stricter (per POSIX, dang it)
2016-03-05If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8Nicholas Marriott
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@.
2016-03-05safer pattern: if you're interested in one child, get THAT one, don't stealMarc Espie
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@
2016-03-05Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel.Nicholas Marriott
2016-03-05Although we always have en_US.UTF-8 on OpenBSD, some platforms do not,Nicholas Marriott
so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale, so check with wcwidth() on a UTF-8 character after setlocale().
2016-03-04fix broken listDmitrij Czarkoff
2016-03-04fix typoDmitrij Czarkoff
2016-03-04fix ClientAliveInterval when a time-based RekeyLimit is set;Damien Miller
previously keepalive packets were not being sent. bz#2252 report and analysis by Christian Wittenhorst and Garrett Lee feedback and ok dtucker@
2016-03-03show-* and set-* need to handle a missing target.Nicholas Marriott
2016-03-03Accept clients as sessions in cmd_find_get_session.Nicholas Marriott
2016-03-03RGB colours shouldn't be mixed up with aixterm colours, return beforeNicholas Marriott
that happens when working out if they are supported.
2016-03-02Improve accuracy of reported transfer speeds by waiting for the ack fromDarren Tucker
the other end. Pointed out by mmcc@, ok deraadt@ markus@
2016-03-02Improve precision of progressmeter for sftp and scp by storing sub-secondDarren Tucker
timestamps. Pointed out by mmcc@, ok deraadt@ markus@
2016-03-02Handle wcwidth() and mbtowc() failures in better style and dropNicholas Marriott
characters where we can't find the width (wcwidth() fails) on input, the same as we drop invalid UTF-8. Suggested by schwarze@.
2016-03-02Limit x, y and b to 0x7ff for UTF-8 mouse input, suggested by schwarze@.Nicholas Marriott
2016-03-01Rectify line numbers for s/.// commands in ed-style diffs.natano
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@
2016-03-01Remove some more unused variables, and use RB_FOREACH_SAFE inNicholas Marriott
key_bindings_unref_table.
2016-03-01Redraw status on mode entry and exit.Nicholas Marriott
2016-03-01When a mouse drag is finished, fire a MouseUp key press, instead ofNicholas Marriott
doing the drag end in code. From Stephen Coakley.
2016-03-01Remove unused variables, from Michal Mazurek.Nicholas Marriott
2016-03-01Use system wcwidth() instead of carrying around UTF-8 width tables.Nicholas Marriott
2016-03-01Fix break-pane synopsis and some other tmux.1 bits.Nicholas Marriott
2016-03-01update currency exchange rates;Jason McIntyre
2016-03-01Update moduli file.Darren Tucker
2016-02-29Print ssize_t with %zd; ok deraadt@ mmcc@Jeremie Courreges-Anglas
2016-02-28rearrange DH public value tests to be a little more clearDamien Miller
rearrange DH private value generation to explain rationale more clearly and include an extra sanity check. ok deraadt
2016-02-28drop the support for Linux emulation; ok guenther@ visa@Christian Weisgerber
2016-02-28Support for running Linux binaries under emulation is going away.Christian Weisgerber
Remove "option COMPAT_LINUX" and everything directly tied to it from the kernel and the corresponding man page documentation. ok visa@ guenther@
2016-02-26there is no emulation "bsd", our default is "native"; ok deraadt@ millert@Christian Weisgerber
2016-02-25remove extra word; from edgar pettijohnJason McIntyre
2016-02-23openssh-7.2Damien Miller
2016-02-23fix spurious error message when incorrect passphrase entered forDamien Miller
keys; reported by espie@ ok deraadt@
2016-02-22Properly handle ed-files which fully replace input file content. ThisTobias Stoeckmann
misbehaviour is triggered with 'c' and 'i' commands on empty buffers. Spotted and fixed by Martin Natano <natano at natano dot net>. ok millert@
2016-02-21Fix skeyinit -E by hoisting argument parsing and the call to enable_db()tb
above the calls to pledge(): /etc/skey wants to have its sticky bit. ok deraadt@
2016-02-20set ssh(1) protocol version to 2 only.Igor Sobrado
ok djm@
2016-02-20add missing ~/.ssh/id_ecdsa and ~/.ssh/id_ed25519 to IdentityFile.Igor Sobrado
ok djm@
2016-02-20AddressFamily defaults to any.Igor Sobrado
ok djm@
2016-02-20spell out RIPE without errant acute accents; ok millert@Christian Weisgerber
2016-02-20Fix the C type used for 32-bit float/lefloat/befloat, it should be floatNicholas Marriott
not double (they are not used in any magic files anyway at the moment though). Spotted by and ok jsg.
2016-02-18TMPDIR is no longer supported;Jason McIntyre
from rafael neves
2016-02-18finish conversion select -> poll, error messages count too, sloppy theo.Marc Espie
okay millert@
2016-02-17rekey refactor broke SSH1; spotted by Tom G. ChristensenDamien Miller
2016-02-17rsa-sha2-512,rsa-sha2-256 cannot be selected explicitly inDamien Miller
*KeyTypes options yet. Remove them from the lists of algorithms for now. committing on behalf of markus@ ok djm@
2016-02-17since these pages now clearly tell folks to avoid v1, normaliseJason McIntyre
the docs from a v2 perspective (i.e. stop pointing out which bits are v2 only); ok/tweaks djm ok markus
2016-02-17make sandboxed privilege separation the default, not just for newDamien Miller
installs; "absolutely" deraadt@
2016-02-16correct(ish) date of death for alexander the great;Jason McIntyre
from soren jacobsen, netbsd -r1.26 i've done it a bit differently though: since the date was listed both in .birthday and .history i added his (reputed) birth date to .birthday and removed the dup. i also standardised the date as "[year][space]BC".
2016-02-16no need to state that protocol 2 is the default twice;Jason McIntyre