summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2015-08-29Treat entering or leaving a mode as pane changed.Nicholas Marriott
2015-08-29Better take on reducing the name timer. Again check for name changes inNicholas Marriott
the main loop after events that may have changed the pane, but do so at most once every 500 millis. If the pane changed too soon, use a timer to ensure that a check happens later.
2015-08-29Microseconds in log time.Nicholas Marriott
2015-08-28Only set default title to hostname on screens that are being used for aNicholas Marriott
window pane, no point in calling gethostname() for temporary screens.
2015-08-28Make a few more expensive (ish) formats functions instead of inline.Nicholas Marriott
2015-08-28Allow formats to be specified as functions (in the code) so they areNicholas Marriott
only evaluated on demand rather than each time a format tree is constructed. Use this for expensive formats like pane_current_command.
2015-08-28Revert previous; we do need a timer, until I have a better idea. WeNicholas Marriott
can't do the name check every loop, because that is too expensive, and we can't make sure it only happens infrequently because we have no idea when the next change will happen.
2015-08-28We now only checking for name changes when the active pane has changed,Nicholas Marriott
but that can only happen when we have already been woken up by a read event, so there is no need for a timer, we can just check the changed flag on the end of that read event (we already loop over the windows to check for bells etc anyway).
2015-08-28Check changed flag after restarting timer.Nicholas Marriott
2015-08-28Remove unused prototypes.Nicholas Marriott
2015-08-28Document an example that lets root run unrestricted doas commands asReyk Floeter
root ("permit nopass keepenv root as root"), matching the old behaviour from OpenBSD's sudoers file ("root ALL=(ALL) SETENV: ALL"). OK sthen@
2015-08-28Don't leak name when freeing session, from Kuang-che Wu.Nicholas Marriott
2015-08-28Per-session timers for locking, and remove the global one-second timer.Nicholas Marriott
2015-08-28Make session_update_activity more useful and use it in more places.Nicholas Marriott
2015-08-28Remove the lock-server option which is a bit redundant, it isn't thatNicholas Marriott
different without it.
2015-08-28Give clock mode its own timer.Nicholas Marriott
2015-08-28Run status update on a per-client timer at status-interval.Nicholas Marriott
2015-08-28Log time with message.Nicholas Marriott
2015-08-28Move format job cleanup onto its own timer.Nicholas Marriott
2015-08-28Allow environment variables in #{}.Nicholas Marriott
2015-08-28Error messages should not have a trailing period.Nicholas Marriott
2015-08-28Only do the automatic-rename dance if the pane has changed (seen output,Nicholas Marriott
or new active pane).
2015-08-27add a type of "auth-doas" to the perm check to allow login.conf fiddlingTed Unangst
originally proposed by halex
2015-08-27backout previous for now, as it causes me portability problemsAlexandre Ratchov
2015-08-27fix typos in comments and error messagesAlexandre Ratchov
2015-08-27Allow sparse blocks to be used as silence if samples are encodedAlexandre Ratchov
as signed integers.
2015-08-27use strtonum to parse the number of lines of context.David Gwynne
this provides better error messages. ok deraadt@ guenther@
2015-08-25When searching for tabs, start from screen width, fixes out-of-boundsNicholas Marriott
read found by Kuang-che Wu.
2015-08-24In grid_duplicate_lines, if the line is empty (cellsize == 0) then clearNicholas Marriott
the destination celldata pointer rather than leaving a stale copy of the source pointer (which may later be freed). Fixes a crash found by Kuang-che Wu.
2015-08-24Document clear(1) a bit more prominently.Jeremie Courreges-Anglas
Patch from Theo Buehler, suggestion to use DESCRIPTION from FreeBSD from jmc@, ok jmc@
2015-08-24Remove obsolete fields in struct unpcb. In the past they were usedAlexander Bluhm
for flow control with unix domain sockets, this is now done by filling the send buffer with fake data counters. OK naddy@; no fallout in a bulk build
2015-08-23Need to permit kbind in this sandbox tooPhilip Guenther
2015-08-22Remove all duplicate prototypes for *_main functions (these are alreadyJoel Sing
provided by progs.h). Also, move the FUNCTION type (and flags) into openssl.c since that is the only place of use. Lastly, remove pointless 'extern' from the prototypes and use char **argv instead of char *argv[] (the former is used elsewhere). ok deraadt@ doug@
2015-08-22Add cwd context to syslog entry.Doug Hogan
input + ok tedu@, ok benno@
2015-08-22tweak previous;Jason McIntyre
2015-08-22system(3) call remove for updating (ctags -u)Sebastien Marie
done by changing the logic behind updating, by parsing and preloading the tags file at startup. "looks good" deraadt@
2015-08-21Improve printing of KEX offers and decisionsDamien Miller
The debug output now labels the client and server offers and the negotiated options. ok markus@
2015-08-21Fix printing (ssh -G ...) of HostKeyAlgorithms=+...Damien Miller
Reported by Bryan Drewery
2015-08-21Fix expansion of HostkeyAlgorithms=+...Damien Miller
Reported by Bryan Drewery
2015-08-21Regen moduliDarren Tucker
2015-08-21Improve size == 0, count == 0 checking in mm_zalloc, which is "array" like.Theo de Raadt
Discussed with tedu, millert, otto.... and ok djm
2015-08-21openssh-7.1Damien Miller
2015-08-21fix inverted logic that broke PermitRootLogin;Damien Miller
reported by Mantas Mikulenas; ok markus@
2015-08-21correctly indent a line to make the intent clearJonathan Gray
ok espie@
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
ok krw millert
2015-08-20Do not need to cast malloc(). stdlib.h is brought in via a local .h file.Theo de Raadt
ok millert
2015-08-20In the certificates section, be consistent about using "host_key"Christian Weisgerber
and "user_key" for the respective key types. ok sthen@ deraadt@
2015-08-20Show program name for permission failure messages.Rafael Zalamena
ok espie@, tedu@.
2015-08-19Better compat matching for WinSCP, add compat matching forDamien Miller
FuTTY (fork of PuTTY); ok markus@ deraadt@
2015-08-19fix double-free() in error path of DSA key generation reported byDamien Miller
Mateusz Kocielski; ok markus@