I have applied this now, thanks!


On Tue, 8 May 2018, 19:09 , <[email protected]> wrote:

>
>
> nicholas, thank you.
>
> tested on ubu 18.04 and osx 10.13.4 with no config and with my customized
> session configuration.  in all combinations, new-window works as expected.
>
> test harness 1:
>
> tmux -Ltest kill-server
> tmux -vv -Ltest -f/dev/null new
> tmux new-window
> tmux new-window -t '0:2'
> tmux new-window -t '3'
>
> test harness 2:  (local config base-index=1)
>
> tmux -Ltest kill-server
> tmux new-session -s titl
> tmux new-window
> tmux new-window -t 'titl:2'
> tmux new-window -t 4
>
> many thanks.
>
> --
> s. cowles
> [email protected]
> Key fingerprint = A156 277B 875A D6E3 A00C  23D9 869E 72BE 1FD3 5B80
>
>
> On Tue, 8 May 2018, Nicholas Marriott wrote:
>
> > Date: Tue, 8 May 2018 02:13:00
> > From: Nicholas Marriott <[email protected]>
> > To: [email protected]
> > Cc: [email protected]
> > Subject: Re: problem with new-window
> >
> > Can you try this please?
> >
> > Index: cmd-find.c
> > ===================================================================
> > RCS file: /cvs/src/usr.bin/tmux/cmd-find.c,v
> > retrieving revision 1.63
> > diff -u -p -r1.63 cmd-find.c
> > --- cmd-find.c        4 May 2018 08:21:42 -0000       1.63
> > +++ cmd-find.c        8 May 2018 09:12:56 -0000
> > @@ -1159,7 +1159,8 @@ cmd_find_target(struct cmd_find_state *f
> >                       /* This will fill in winlink and window. */
> >                       if (cmd_find_get_window_with_session(fs, window)
> != 0)
> >                               goto no_window;
> > -                     fs->wp = fs->wl->window->active;
> > +                     if (fs->wl != NULL) /* can be NULL if index only */
> > +                             fs->wp = fs->wl->window->active;
> >                       goto found;
> >               }
> >
> > On Mon, May 07, 2018 at 05:54:49PM -0700, [email protected] wrote:
> >>
> >> PROBLEM:
> >>
> >> when i issue any of the following commands in an existing tmux session,
> a
> >> new window is created as expected:
> >>
> >> user@host:~$ tmux new-window
> >> user@host:~$ tmux new-window -n win_nam
> >> user@host:~$ tmux new-window -n win_nam -a -t 'session_title:$'
> >>
> >> but if i try the following, the entire tmux session is killed.  this is
> new
> >> behaviour as of about 8 days ago.
> >>
> >> =======================================
> >> on ubuntu 18.04:
> >>
> >> user@host:~$ tmux -Ltest kill-server
> >> user@host:~$ tmux -vv -Ltest -f/dev/null new
> >> user@host:~$ tmux new-window
> >> user@host:~$ tmux new-window -t '0:2'
> >> [lost server]
> >>              %
> >> =======================================
> >> on osx 10.13.5:
> >>
> >> user@host:~$ tmux -Ltest kill-server
> >> user@host:~$ tmux -vv -Ltest -f/dev/null new
> >> user@host:~$ tmux new-window
> >> user@host:~$ tmux new-window -t '0:2'
> >> [lost server]
> >> [0] 0:zsh- 1:error connecting to /private/tmp/tmux-502/default (No such
> file or directory)
> "cla-air-6e87" 17:21 07-May-18
> >>
>                    error connecting to /private/tmp/tmux-502/default (No
> such file or directory)
> >>    %
>
>                 18-05-07
> [x,x,x|st534|5.5.1-20|8.0.1795|2.7-43|e|screen-256color] [vim: vicmd]
> >> =======================================
> >> on windows 10/1803, cygwin 2.10.0
> >>
> >> user@host:~$ tmux -Ltest kill-server
> >> error connecting to /tmp/tmux-197611/test (No such file or directory)
> >> =======================================
> >>
> >>
> >> PLATFORM INFO (3):
> >>
> >> user@host:~$ uname -sp && tmux -V && echo $TERM
> >> Linux x86_64
> >> tmux master
> >> screen-256color
> >>
> >> user@host:~$ uname -sp && tmux -V && echo $TERM
> >> Darwin i386
> >> tmux master
> >> screen-256color
> >>
> >> user@host:~$ uname -sp && tmux -V && echo $TERM
> >> CYGWIN_NT-10.0 unknown
> >> tmux master
> >> screen-256color
> >>
> >> TMUX INFO:
> >>
> >> i am currently using tmux built from git source as of patch id
> >> 91b220525b0406763dafb6698d2741bec580bc10 dated 2018-05-04.
> >>
> >> i have include the error log from the ubuntu session.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to