Commit Graph

5724 Commits

Author SHA1 Message Date
Nicolas Viennot
2e0d82648f Fix message log appends
The following has been improved:
1) Previous code had "u_int first" which is incorrect as
   "first = c->message_next - limit" would result in negative values,
   resulting in dropping the first limit messages.
2) Avoid to traverse the entire list of message to prune messages.
2015-12-31 19:53:22 -05:00
Nicolas Viennot
4c5522f7fa ssh key passphrase fix 2015-12-31 19:52:19 -05:00
Nicolas Viennot
55e6a774a8 improve err msg 2015-12-31 19:52:19 -05:00
Nicolas Viennot
fc46660c96 make sure ssh passphrase doesn't get synced 2015-12-31 19:52:19 -05:00
Nicolas Viennot
058906c242 nits 2015-12-31 19:52:19 -05:00
Nicolas Viennot
e61d3aa18f Fix pipe buffer offset 2015-12-31 19:52:19 -05:00
Nicolas Viennot
5ee65eec5d Remove comments 2015-12-31 12:28:26 -05:00
Nicolas Viennot
d5bd2e40f0 Default to 500 messages (we care about them) 2015-12-31 12:27:14 -05:00
Nicolas Viennot
66e4f554c3 Layout fixes 2015-12-31 11:35:36 -05:00
Nicolas Viennot
a104b160b2 Receive raw tmux keycodes 2015-12-30 16:04:06 -05:00
Nicolas Viennot
862182df4a sync emacs/vi mode 2015-12-29 21:30:33 -05:00
Nicolas Viennot
d721b42306 missing AC_DEFINE(IS_LINUX) 2015-12-27 23:31:58 -05:00
Nicolas Viennot
49f07dca50 fix options 2015-12-23 23:19:55 -05:00
Nicolas Viennot
76ab267a35 fix options 2015-12-23 23:19:03 -05:00
Nicolas Viennot
75cb217c22 Early tmate init for the key bindings 2015-12-23 23:18:35 -05:00
Nicolas Viennot
2680e4fa04 master.tmate.io -> ssh.tmate.io 2015-12-23 23:17:35 -05:00
Nicolas Viennot
1b4ab580f3 early SIGSEGV 2015-12-23 23:04:56 -05:00
Nicolas Viennot
42ac90ca49 log file rename 2015-12-23 22:58:22 -05:00
Nicolas Viennot
c04755361c randomize the socket name
(single session for now)
2015-12-23 22:56:29 -05:00
Nicolas Viennot
47340d3203 Make sure tmate can't nest when ran under an older tmux 2015-12-23 22:41:41 -05:00
Nicolas Viennot
16e1b82cb8 fix options scope 2015-12-23 05:58:09 -05:00
Nicolas Viennot
834fbfed0a change log files prefix tmux- to tmate- 2015-12-23 05:57:43 -05:00
Nicolas Viennot
9b2778c439 Merge with latest tmux 2015-12-23 05:46:44 -05:00
Nicolas Viennot
f0d60cb1c8 update libssh/msgpack APIs 2015-12-23 04:37:06 -05:00
Nicolas Viennot
1670d15e8a detect libssh/msgpack during ./configure 2015-12-23 04:36:57 -05:00
Alexander Bergmann
915b3a0255 Remove libssh and msgpack package forks and use system libraries. 2015-12-23 04:36:48 -05:00
Thomas Adam
5083e93957 Merge branch 'obsd-master' 2015-12-21 10:01:08 +00:00
nicm
f2ec911b8a Detach the right session with -d. 2015-12-21 09:20:13 +00:00
Nicholas Marriott
c83d6ee0b1 Merge branch 'master' of github.com:tmux/tmux 2015-12-20 11:26:12 +00:00
Nicholas Marriott
83c96d2685 No need to set cwd on Cygwin now, from Yuya Adachi. 2015-12-20 11:25:13 +00:00
Thomas Adam
58b3d66229 Merge branch 'obsd-master' 2015-12-19 10:01:08 +00:00
nicm
bdbec099cc Make input off flag (selectp -d) apply to synchronize-panes too. 2015-12-19 08:43:04 +00:00
Thomas Adam
2ad9caad3f Merge branch 'obsd-master' 2015-12-18 00:01:08 +00:00
nicm
a337403868 As well as setting up the state, actually use it in cmd_find_target. 2015-12-17 23:08:22 +00:00
Thomas Adam
e0cae08c04 Merge branch 'obsd-master' 2015-12-17 00:01:08 +00:00
nicm
99e9a4c786 send-keys -R should reset the input parser to ground state (so it can be
used to escape from, for example, printf '\033]2;').
2015-12-16 22:05:35 +00:00
Thomas Adam
7c94dae702 Merge branch 'obsd-master' 2015-12-16 22:01:08 +00:00
nicm
021c64310d Add infrastructure to work out the best target given a pane or window
alone and use it to add pane_died and pane_exited hooks.
2015-12-16 21:50:37 +00:00
nicm
8eb1a7d5dc showenv and setenv need to be CANFAIL. 2015-12-16 21:47:00 +00:00
Thomas Adam
f7a6482e6b Merge branch 'obsd-master' 2015-12-15 16:01:12 +00:00
nicm
909b737289 Copy state directly rather than dereferencing wl (which could be NULL). 2015-12-15 14:32:55 +00:00
Thomas Adam
e5caf64815 Merge branch 'obsd-master' 2015-12-15 14:01:12 +00:00
nicm
ac9778395f Some hooks API changes to fire a hook while waiting another cmdq and
infrastructure that will be needed soon.
2015-12-15 13:43:07 +00:00
Thomas Adam
1a33ea9671 Merge branch 'obsd-master' 2015-12-15 02:01:14 +00:00
nicm
9d88d82d5e Allow list-keys and list-commands to be run without a running server. 2015-12-15 00:52:17 +00:00
nicm
6f417ec943 We changed somewhat recently to us the pty when tmux was run inside
itself to work out the current pane. This is confusing in many cases
(particularly notable is that "tmux neww\; splitw" would not split the
new window), and the few advantages do not make up for the confusion.

So drop this behaviour and return to using the current window and pane;
keep the pty check but only use it to limit the list of possible current
sessions.
2015-12-15 00:45:02 +00:00
nicm
56d097cfe0 Don't copy marked pane when can just point to it. 2015-12-15 00:11:24 +00:00
Thomas Adam
6ab17e3e15 Merge branch 'obsd-master' 2015-12-15 00:01:08 +00:00
nicm
12da13c9d1 Make the marked pane a cmd_find_state. 2015-12-15 00:00:01 +00:00
nicm
d5999f8b5c Use cmd_find_clear_state instead of an extra function doing the same. 2015-12-14 23:30:58 +00:00