[PATCH] Add format for reading session activity

2015-02-26 Thread Takatoshi Matsumoto
Hi, this patch adds session_activity and session_activity_string. With these additions, it's possible to do some operations to sessions by active time from CLI. e.g. getting last active session tmux list-sessions -F'#{session_activity} #{session_id} #{session_name}' | tr -d '$' | sort -k 1 -k 2n

Re: Entering tmux control mode without attaching session

2015-02-26 Thread Nicholas Marriott
No, it's a client like any other, you have to attach to a session. On Wed, Feb 25, 2015 at 07:40:05PM -0600, Jared Stafford wrote: > I was trying to write a script that uses control mode to monitor > window changes. However, if I run "tmux -C", it creates a new session > and attaches to it. If I