Re: if-shell 'tmux has-session' hangs

2011-04-30 Thread Nicholas Marriott
Probably epoll bug in Linux. If you are using libevent 1.4 NOEPOLL can trigger a different bug in libevent though :-/. On Fri, Apr 29, 2011 at 08:32:14AM -0700, Randy Stauner wrote: >yes it does. >i also had my first experience of tmux completely not responding... >(only happened onc

Re: if-shell 'tmux has-session' hangs

2011-04-29 Thread Randy Stauner
yes it does. i also had my first experience of tmux completely not responding... (only happened once so far). since i have "tmux list-sessions" in my .bashrc I had to open a new xterm with a different shell (dash) just to be able to issue a "killall tmux". Was this hang related to the NOEPOLL or s

Re: if-shell 'tmux has-session' hangs

2011-04-29 Thread Nicholas Marriott
If you kill tmux entirely and export EVENT_NOEPOLL=1 before starting it again does the problem go away? On Thu, Apr 28, 2011 at 09:43:12AM -0700, Randy Stauner wrote: >I was trying to source a conf file to create default windows, >but it seems that when doing >if-shell "tmux has-sessi

if-shell 'tmux has-session' hangs

2011-04-28 Thread Randy Stauner
I was trying to source a conf file to create default windows, but it seems that when doing if-shell "tmux has-session -t auto" "display-message yes" tmux seems to hang on the "has-session" call if the session does not exist. I can see these in a ps: rando27867 0.0 0.0 1832 496 ?