summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-06-05Use ints for the calculations rather than u_char, they could end upNicholas Marriott
signed.
2015-06-05Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)Nicholas Marriott
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
2015-06-05Use fixed colour tables rather than generated and do a quick search forNicholas Marriott
exact match before doing the distance comparison.
2015-06-05Similarly, for sessions use a callback to free rather than checkingNicholas Marriott
every loop.
2015-06-05Change deref to the more sensible unref, and add a couple I missed before.Nicholas Marriott
2015-06-05Instead of putting dead clients on a list and checking it every loop,Nicholas Marriott
use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost.
2015-06-05For "ssh -L 12345:/tmp/sock" don't fail with "No forward host name."Todd C. Miller
(we have a path, not a host name). Based on a diff from Jared Yanovich. OK djm@
2015-06-05Do not use the key variable uninitialized (in a debug log statement),Nicholas Marriott
reported by jungleboogie0 at gmail dot com.
2015-06-05Fix a warning.Nicholas Marriott
2015-06-05Make it so that if a window or session target is prefixed with an =,Nicholas Marriott
only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
2015-06-05typo: accidental repetition; bz#2386Damien Miller
2015-06-04Move the nested check from client to server and compare the client ttyNicholas Marriott
name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX.
2015-06-04systrace(4) STRIOCATTACH can only fail for file(1) if it is alreadyNicholas Marriott
systraced. If so, silently ignore the error and do not attempt to apply our own systrace policy. From Patrick Keshishian.
2015-06-04tweak SYNOPSIS and usage();Jason McIntyre
2015-06-04Make unsetting a global option restore it to the default. Diff lyingNicholas Marriott
around for a while, I have forgotten who suggested it :-/.
2015-06-04Add support for a single "marked pane". There is one marked pane in theNicholas Marriott
server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
2015-06-04teminal -> terminal, from Corey Farwell.Nicholas Marriott
2015-06-03Remove unused defines and functions.Brian Callahan
"Looks fine." deraadt@
2015-06-03Treat a missing mail spool the same as a zero-length mail spoolTodd C. Miller
unless the -f option was specified. OK deraadt@
2015-06-03Move warning on open failure to open_mbox() where we have the file name.Todd C. Miller
2015-06-02Modernize from(1) a bit. Use getline() to support longer lines andTodd C. Miller
document the environment variables used. OK deraadt@
2015-06-02mention CheckHostIP adding addresses to known_hosts;Damien Miller
bz#1993; ok dtucker@
2015-06-01update currency exchange rates;Jason McIntyre
note: no updates for iceland, ukraine, and vietnam as they're showing "n/a" for the past two months on the economist (no idea)
2015-06-01Missing t at end of response, from Vincent Bernat.Nicholas Marriott
2015-06-01Clear signal handlers before event_reinit as apparently it can otherwiseNicholas Marriott
cause libevent to go strange.
2015-05-31does not need syslog.hTheo de Raadt
2015-05-31Implement the roff(7) `r' (register exists) conditional.Ingo Schwarze
Missing feature found by Markus <Waldeck at gmx dot de> in Debian's bash(1) manual page.
2015-05-30Support - to read from stdin, from Sebastien Marie.Nicholas Marriott
2015-05-29Don't use special strings if #() commands fail, just remove the formatNicholas Marriott
(as if the command produced nothing). Makes constructions that can fail like '#(test whatever && echo foo)' work as they did before.
2015-05-29Expand formats again inside #(), and free the temporaries.Nicholas Marriott
2015-05-29Use RB_MIN to get the lowest index for the current window when creatingNicholas Marriott
grouped sessions, rather than using RB_ROOT.
2015-05-29millert points out I can just call tzset() early to avoid having toNicholas Marriott
permit access() in the child.
2015-05-29Use gmtime not localtime when we want UTC, I got it right in one placeNicholas Marriott
but not in another two. I expect I was confused by the fact that the original file(1) had them the wrong way round (so, for example, leqldate was actually UTC).
2015-05-29Don't stop at the first successful test unless it has generated someNicholas Marriott
output.
2015-05-29The case-insensitive flag (c) for string and search tests doesn't makeNicholas Marriott
the entire match case sensitive, only lower case characters.
2015-05-29I got confused and made the strength multiplier 20, it should be 10.Nicholas Marriott
2015-05-29file(1) needs access(/etc/localtime) for localtime().Nicholas Marriott
2015-05-29Only mmap() on regular files; mmap() on /dev/stdin will happily map asNicholas Marriott
much as we ask for but only the first page will be usable. (We could get the actual size with ioctl(FIONREAD) and mmap() that but it would need to be done in the parent - I think just using read() is simpler.)
2015-05-29Make things a little less confusing by making fill_buffer self-containedNicholas Marriott
and return both the buffer and amount filled rather than having it modify the input struct and return a value.
2015-05-29If reading into buffer, correct the stored file size at EOF, we don'tNicholas Marriott
want to look at any garbage that might already be in the buffer after that. From Sebastien Marie.
2015-05-29Silently fall back to /etc/magic if ~/.magic can't be opened, ok deraadt stspNicholas Marriott
2015-05-29put back SSH1 for now - we want to make sure we don't regressDamien Miller
it for the 6.9 release; ok deraadt@
2015-05-28probably makes more sense to show "file" as being mandatory;Jason McIntyre
from sebastien marie
2015-05-28wrap all moduli-related code in #ifdef WITH_OPENSSL.Damien Miller
based on patch from Reuben Hawkins; bz#2388 feedback and ok dtucker@
2015-05-28Increase the allowed length of the known host file name in the logDarren Tucker
message to be consistent with other cases. Part of bz#1993, ok deraadt.
2015-05-28Fix typo (keywork->keyword)Darren Tucker
2015-05-28add error message on ftruncate failure; bz#2176Damien Miller
2015-05-28make ssh-keygen default to ed25519 keys when compiled withoutDamien Miller
OpenSSL; bz#2388, ok dtucker@
2015-05-28Remove intermediate copy of the moduli file. "make" will rebuild anyDarren Tucker
missing moduli fragment files (which will be a no-op unless you have explicitly deleted them) and "make update-moduli" will update the main file under ${BSDSRCDIR}/etc/moduli. ok djm@
2015-05-28Remove 1k bit groups. ok deraadt@, markus@Darren Tucker