---
** [tickets:#78] "set status-interval 0" doesn't work on tmux 1.8**
**Status:** open
**Created:** Thu Nov 14, 2013 05:59 PM UTC by CleanCut
**Last Updated:** Thu Nov 14, 2013 05:59 PM UTC
**Owner:** nobody
Steps to reproduce:
-------------------
Install tmux 1.8
Create the following `~/.tmux.conf`, launch tmux, and notice that the time in
the bottom right corner is updated once per second -- **good!**
set -g status-right "%H:%M:%S"
set -g status-interval 1
Quit tmux, and make sure no tmux sessions are running.
Change your `~/.tmux.conf` to look like this, which _ought_ to make it so that
the time only updates when tmux needs to update the screen for some other
reason.
set -g status-right "%H:%M:%S"
set -g status-interval 0
Launch tmux again and notice that the time in the bottom right corner is
_still_ updating once per second. **Bad!**
Now while still in the misbehaving session, try `C-b :set status-interval 0` --
you will notice that that also has no effect -- the time keeps updating every
second.
Discussion
----------
Why is it ignoring the new setting? Where did it get the old value of the
setting? (If it ignored the current setting, I would have expected it to
revert to the default setting (a status-interval of 15), not the old setting
which _no longer exists!_
My Setup
--------
I tested this on OS X 10.9 (Mavericks) with tmux 1.8 installed via HomeBrew
with the command `brew install tmux`.
I also tested this on CentOS 6.4 where I installed tmux 1.8 via these commands:
yum install -y gcc kernel-devel make ncurses-devel
cd /root
wget
https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local
make -j9
make install
cd /root
rm -rf libevent-2.0.21-stable*
wget
http://sourceforge.net/projects/tmux/files/tmux/tmux-1.8/tmux-1.8.tar.gz/download
tar zxvf tmux-1.8.tar.gz
cd tmux-1.8
LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure
--prefix=/usr/local
make -j9
make install
cd /root
rm -rf tmux-1.8*
The bad behavior appeared to be identical between the two OS's, so I would
guess this is not an OS-specific bug.
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users