Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-31 | Need time.h. | Nicholas Marriott | |
2017-05-31 | Some applications like vi(1) and tmux until 10 minutes or so ago, do not | Nicholas Marriott | |
redraw on SIGWINCH if the size returns to the original size between the original SIGWINCH and when they get around to calling TIOCGWINSZ. So use the existing resize timer to introduce a small delay between the two resizes. | |||
2017-05-31 | make sure we don't pass a NULL string to vfprintf (triggered by the | Markus Friedl | |
principals-command regress test); ok bluhm | |||
2017-05-31 | It is not OK to ignore SIGWINCH if SIOCGWINSZ reports the size has | Nicholas Marriott | |
unchanged, because it may have changed and changed back in the time between us getting the signal and calling ioctl(). Always redraw when we see SIGWINCH. | |||
2017-05-31 | Because we defer actually resizing applications (calling TIOCSWINSZ) | Nicholas Marriott | |
until the end of the server loop, tmux may have gone through several internal resizes in between. This can be a problem if the final size is the same as the initial size (what the application things it currently is), because the application may choose not to redraw, assuming the screen state is unchanged, when in fact tmux has thrown away parts of the screen, assuming the application will redraw them. To avoid this, do an extra resize if the new size is the same size as the initial size. This should force the application to redraw when tmux needs it to, while retaining the benefits of deferring (so we now resize at most two times instead of at most one - and only two very rarely). Fixes a problem with break-pane and zoomed panes reported by Michal Mazurek. | |||
2017-05-31 | use SO_ZEROIZE for privsep communication (if available) | Markus Friedl | |
2017-05-31 | Switch to recallocarray() for a few operations. Both growth and shrinkage | Theo de Raadt | |
are handled safely, and there also is no need for preallocation dances. Future changes in this area will be less error prone. Review and one bug found by markus | |||
2017-05-31 | These shutdown() SHUT_RDWR are not needed before close() | Theo de Raadt | |
ok djm markus claudio | |||
2017-05-31 | Look for setrgbf and setrgbb terminfo extensions for RGB colour. This is | Nicholas Marriott | |
the most reasonable of the various (some bizarre) suggestions for capabilities. | |||
2017-05-31 | clear session keys from memory; ok djm@ | Markus Friedl | |
2017-05-31 | we can just use void for functions that always return 0. | Ted Unangst | |
from Michael W. Bombardieri | |||
2017-05-31 | remove now obsolete ctx from ssh_dispatch_run; ok djm@ | Markus Friedl | |
2017-05-31 | use the ssh_dispatch_run_fatal variant | Markus Friedl | |
2017-05-31 | another ctx => ssh conversion (in GSSAPI code) | Damien Miller | |
2017-05-31 | spell out that custom options/extensions should follow the usual SSH | Damien Miller | |
naming rules, e.g. "extension@example.com" | |||
2017-05-31 | one more void *ctx => struct ssh *ssh conversion | Damien Miller | |
2017-05-31 | close fd on an exit path | Jonathan Gray | |
2017-05-31 | one more void *ctx => struct ssh *ssh conversion | Damien Miller | |
2017-05-31 | fix possible OOB strlen() in SOCKS4A hostname parsing; ok markus@ | Damien Miller | |
2017-05-30 | Rewrite of choose mode, both to simplify and tidy the code and to add | Nicholas Marriott | |
some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam. | |||
2017-05-30 | tweak previous; | Jason McIntyre | |
2017-05-30 | tweak previous; | Jason McIntyre | |
2017-05-30 | STYLE message about useless macros we don't want (Bt Tn Ud); | Ingo Schwarze | |
not a WARNING because they don't endanger portability | |||
2017-05-30 | Add RemoteCommand option to specify a command in the ssh config | Alexander Bluhm | |
file instead of giving it on the client's command line. This command will be executed on the remote host. The feature allows to automate tasks using ssh config. OK markus@ | |||
2017-05-30 | fix formatting of intermediate punctuation in .Lk | Ingo Schwarze | |
2017-05-30 | Macro argument quoting does not prevent recognition of punctuation | Ingo Schwarze | |
and of called macros. This bug affects almost all macros, and fixing it simplifies the code. It is amazing that the bogus ARGS_QWORD feature got implemented in the first place, and then carrier along for more than eight years without anybody ever noticing that it was pointless. Reported by Leah Neukirchen <leah at vuxu dot org>, found on Void Linux. | |||
2017-05-30 | usage and order tweaks from jmc | Ted Unangst | |
2017-05-30 | stop reacharound from w(1) to ps(1); no functional change; | Ingo Schwarze | |
diff from bcallah@; OK tedu@ deraadt@ | |||
2017-05-30 | id -R: make current rdomain more easily accessible to the shell | Ted Unangst | |
ok benno deraadt | |||
2017-05-30 | switch auth2 to ssh_dispatch API; ok djm@ | Markus Friedl | |
2017-05-30 | switch auth2-none.c to modern APIs; ok djm@ | Markus Friedl | |
2017-05-30 | switch auth2-passwd.c to modern APIs; ok djm@ | Markus Friedl | |
2017-05-30 | switch auth2-hostbased.c to modern APIs; ok djm@ | Markus Friedl | |
2017-05-30 | protocol handlers all get struct ssh passed; ok djm@ | Markus Friedl | |
2017-05-30 | ssh: pass struct ssh to auth functions, too; ok djm@ | Markus Friedl | |
2017-05-30 | sshd: pass struct ssh to auth functions; ok djm@ | Markus Friedl | |
2017-05-30 | remove unused wrapper functions from key.[ch]; ok djm@ | Markus Friedl | |
2017-05-30 | sshkey_new() might return NULL (pkcs#11 code only); ok djm@ | Markus Friedl | |
2017-05-30 | switch sshconnect.c to modern APIs; ok djm@ | Markus Friedl | |
2017-05-30 | switch auth2-pubkey.c to modern APIs; with & ok djm@ | Markus Friedl | |
2017-05-30 | switch from Key typedef with struct sshkey; ok djm@ | Markus Friedl | |
2017-05-30 | remove ssh1 references; ok djm@ | Markus Friedl | |
2017-05-30 | revise sshkey_load_public(): remove ssh1 related comments, remove extra | Markus Friedl | |
open()/close() on keyfile, prevent leak of 'pub' if 'keyp' is NULL, replace strlcpy+cat with asprintf; ok djm@ | |||
2017-05-30 | Preserve search string when entering prompt again. | Nicholas Marriott | |
2017-05-30 | The is open-file command is actually called find-file. Typo pointed out | Theo Buehler | |
by "Choose a display name <thelocals_job_applicant protonmail com>". | |||
2017-05-30 | fix -Wshadow warnings. | Florian Obser | |
Found by bcallah, thanks! | |||
2017-05-30 | Unbreak previous for git diffs that do not have the a/ prefix. | Florian Obser | |
Found the hard way be me, OK tedu | |||
2017-05-30 | avoid some shadow warnings. from Brian Callahan | Ted Unangst | |
2017-05-30 | fix a shadow warning. from Brian Callahan | Ted Unangst | |
2017-05-30 | rename variable to avoid shadow. from Brian Callahan | Ted Unangst | |