New-session not working as expected

2012-12-01 Thread Nate Soares
Consider the following sequence of commands:

> tmux new-session -s Foo
[you are now attached to session Foo]
> tmux new-session -d -s Bar
sessions should be nested with care, unset $TMUX to force

I'm not trying to nest sessions. Note the "-d" in tmux new-session. I'm
trying to create the "Bar" session so that I can later

> tmux switch-client -t Bar

without tmux complaining.

This looks like a new-session bug. Is there any way to create (but not
attach to) a new session while already attached to a session?
--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: New-session not working as expected

2012-12-01 Thread Nicholas Marriott
a) There was a problem with the way nested sessions are detected on some
   platforms, try tmux from git.

b) Do TMUX= tmux new -dsBar


On Fri, Nov 30, 2012 at 11:36:27AM -0800, Nate Soares wrote:
>Consider the following sequence of commands:
>> tmux new-session -s Foo
>[you are now attached to session Foo]
>> tmux new-session -d -s Bar
>sessions should be nested with care, unset $TMUX to force
>I'm not trying to nest sessions. Note the "-d" in tmux new-session. I'm
>trying to create the "Bar" session so that I can later
>> tmux switch-client -t Bar
>without tmux complaining.
>This looks like a new-session bug. Is there any way to create (but not
>attach to) a new session while already attached to a session?

> --
> Keep yourself connected to Go Parallel: 
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [perl] Tmux rocks - it debugs fork()s

2012-12-01 Thread Peter Vereshagin
Hello.

2012/11/30 16:42:51 + Thomas Adam  => To Peter 
Vereshagin :
TA> That's because they use the generated configure script already.  In the case
TA> of using Git, you're having to bootstrap the creation of those files.

Cool my guess was right: the different build methods.

Should also like to know if the DSL (e. g., Perl) interface for Tmux protocol
client implementation shall ever be available which way to be notified about
that in time (before too long) is the best?

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 

--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [perl] Tmux rocks - it debugs fork()s

2012-12-01 Thread Thomas Adam
On 1 December 2012 20:22, Peter Vereshagin  wrote:
> Should also like to know if the DSL (e. g., Perl) interface for Tmux protocol
> client implementation shall ever be available which way to be notified about
> that in time (before too long) is the best?

I do not understand the question.  Are you asking if there's already a
way of manipulating tmux from perl (a la tmux-ruby [1]) or that you're
wanting to create one?

I'd personally wait for my hook support patches which will help with
this greatly.

-- Thomas Adam

[1]  https://github.com/dominikh/tmux-ruby

--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users