host_short not so short (tmux-1.9)

2013-09-02 Thread Michael Scholz
% git describe 1.8-116-g75ec17f In tmux-1.9/format.c seems to be a mistake finding host_short, strrchr should be replaced by strchr for searching for a dot in hostname. E.g. my hostname is "pumpkin.fth-devel.net". With #h in status-right I get "pumpkin.fth-devel" but I expect "pumpkin". ---

Re: join-pane crashes with revision 2860

2012-08-16 Thread Michael Scholz
> Now that is interesting because this area of tmux hasn't changed in a > while. Hmm. Does the following resolve the issue for you? > > diff --git a/trunk/names.c b/trunk/names.c > index 11baae3..44b96ab 100644 > --- a/trunk/names.c > +++ b/trunk/names.c > @@ -55,6 +55,10 @@ window_name_callback(

Re: join-pane crashes with revision 2860

2012-08-16 Thread Michael Scholz
On Thu, 16 Aug 2012, Nicholas Marriott wrote: > You're right. This is cos windows can now stick around w/o having any > panes or winlinks. This is the fix: Yes, it fixes the crash. Thank you very much for your fast fix! Mike -

join-pane crashes with revision 2860

2012-08-16 Thread Michael Scholz
After updating tmux-1.7 to revision 2860 join-pane doesn't work any longer. One can reproduce it (without any ~/.tmux.conf file) with % tmux-1.7 new \; neww -d \; joinp -s 1 -t 0 [lost server] and tmux-1.7 dumps core. % gdb -q tmux-1.7 tmux-1.7.core Core was generated by `tmux-1.7'. Program te