I'm trying to upgrade to a newer version (that has a bug fix) than my current 1.6. I am on Ubuntu and recently upgraded to Ubuntu 13.04.
Ideally I want to use tmux version 1.8 or even 1.9. I've downloaded newer versions but can't get them working.
I downloaded 1.9a but when I try and run it, it just hangs.
I tried this download: http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/README#l26
and did the
$ sh autogen.sh
$ ./configure && make
but I get
$ ./tmux
$ protocol version mismatch (client 8, server 6)
I tried to download and use a 1.8.4 version but the download didn't seem to have files I could use.
tmux at
==no sessions
./var/run/tmux/tmux-0/default
existed, so I tried:tmux -S /var/run/tmux/tmux-0/default at
==protocol version mismatch (client 8, server 6)
. Now/proc/$(pgrep tmux)/exe
==/proc/2534/exe: Permission denied
andls -l /proc/$(pgrep tmux)/exe
==/proc/2534/exe -> /usr/bin/tmux (deleted)
. :-( – Peter V. Mørch Apr 23 '15 at 09:33/proc/$pid/exe
files aren't regular symlinks; you should be able to use them to invoke the relevant programs even if they've been unlinked. – Blacklight Shining Nov 30 '15 at 04:04pgrep -o tmux
gives the (single) pid of the oldest running tmux, presumably the one with the session you need, so/proc/$(pgrep -o tmux)/exe attach
might work better than just runningpgrep tmux
(which can return multiple pids) – Matt Curtis May 26 '17 at 00:14