tmux session getting killed after auto logout

2013-05-27 Thread Prashant M. Bapat
Hi Tmux-Users.

Facing an odd issue. In my workplace sysadmin has a set a TMOUT readonly
variable in the bash profile. I cannot unset or change this.

Problem is when I start a tmux session and logout, it will kill the tmux
session also after the bash timeout.

Has anyone seen this before and how to get around it ?

Thanks.
--Prashant
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux session getting killed after auto logout

2013-05-27 Thread Thomas Adam
On 27 May 2013 12:51, Prashant M. Bapat  wrote:
> Hi Tmux-Users.
>
> Facing an odd issue. In my workplace sysadmin has a set a TMOUT readonly
> variable in the bash profile. I cannot unset or change this.

Can you not update this in tmux's environment with update-environment?

> Problem is when I start a tmux session and logout, it will kill the tmux
> session also after the bash timeout.
>
> Has anyone seen this before and how to get around it ?

Set remain-on-exit for all windows you care about?

-- Thomas Adam

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux session getting killed after auto logout

2013-05-27 Thread Prashant M. Bapat
Tried remain-on-exit, I got  "pane is dead" on all the panes.

Since TMOUT is readonly, I was not able to unset it with update-environment.




On Mon, May 27, 2013 at 5:27 PM, Thomas Adam  wrote:

> On 27 May 2013 12:51, Prashant M. Bapat  wrote:
> > Hi Tmux-Users.
> >
> > Facing an odd issue. In my workplace sysadmin has a set a TMOUT readonly
> > variable in the bash profile. I cannot unset or change this.
>
> Can you not update this in tmux's environment with update-environment?
>
> > Problem is when I start a tmux session and logout, it will kill the tmux
> > session also after the bash timeout.
> >
> > Has anyone seen this before and how to get around it ?
>
> Set remain-on-exit for all windows you care about?
>
> -- Thomas Adam
>
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux session getting killed after auto logout

2013-05-27 Thread Thomas Adam
On 27 May 2013 13:20, Prashant M. Bapat  wrote:
> Tried remain-on-exit, I got  "pane is dead" on all the panes.

Yes, and now you can respawn them.

> Since TMOUT is readonly, I was not able to unset it with update-environment.

Ah, I missed that.

Perhaps tell your sysadmin to stop making global-wide policies on
something as stupid as setting TMOUT read-only?  If he/she is worried
about people leaving open sessions to machine, they've got _FAR_ worse
problems than that to deal with.

-- Thomas Adam

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux not respecting disabled control flow

2013-05-27 Thread Marco
On 2013–05–24 Chris Johnsen wrote:

> That renaming behavior (based on the actual command string, not the process
> that is running) sounds like what oh-my-zsh does. You could probably modify
> omz_termsupport_preexec in lib/termsupport.zsh to ignore your "stty prefix"
> (similar to the way it strips off sudo/ssh/rake and their options from the
> start of the command string before using the rest as the basis of the new
> name).

I don't use oh-my-zsh, however I copied this function and added
"stty" to the list of ignored strings and it works.

Thanks for the tip

Marco


--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Actually type the default prefix key

2013-05-27 Thread Long Vu
Hi,

I rebind the default prefix key from Ctrl+B to ` (backtick).

How do I do to really type the backtick now?

Thanks,
Long

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.


--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Actually type the default prefix key

2013-05-27 Thread Ashwin G
You need to make use of the key assigned for 'send-prefix', the default for
that is Ctrl+B. Ctrl + B followed by backtick, should insert a backtick in
your current pane.

I usually tend to keep the send-prefix the same as the prefix key.

unbind C-b; bind ` send-prefix

Now if you type backtick twice, it should insert a backtick.

-Ashwin


On Mon, May 27, 2013 at 11:07 AM, Long Vu  wrote:

> Hi,
>
> I rebind the default prefix key from Ctrl+B to ` (backtick).
>
> How do I do to really type the backtick now?
>
> Thanks,
> Long
>
> --
>
> This email or any attachments may contain confidential or legally
> privileged information intended for the sole use of the addressees. Any
> use, redistribution, disclosure, or reproduction of this information,
> except as intended, is prohibited. If you received this email in error,
> please notify the sender and remove all copies of the message, including
> any attachments.
>
>
>
> --
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Actually type the default prefix key

2013-05-27 Thread Long Vu
Oh !  Thanks !   I never knew the difference between prefix and
send-prefix, I know now.


On Mon, May 27, 2013 at 2:14 PM, Ashwin G  wrote:
> You need to make use of the key assigned for 'send-prefix', the default for
> that is Ctrl+B. Ctrl + B followed by backtick, should insert a backtick in
> your current pane.
>
> I usually tend to keep the send-prefix the same as the prefix key.
>
> unbind C-b; bind ` send-prefix
>
> Now if you type backtick twice, it should insert a backtick.
>
> -Ashwin
>
>
> On Mon, May 27, 2013 at 11:07 AM, Long Vu  wrote:
>>
>> Hi,
>>
>> I rebind the default prefix key from Ctrl+B to ` (backtick).
>>
>> How do I do to really type the backtick now?
>>
>> Thanks,
>> Long
>>
>> --
>>
>> This email or any attachments may contain confidential or legally
>> privileged information intended for the sole use of the addressees. Any
>> use, redistribution, disclosure, or reproduction of this information,
>> except as intended, is prohibited. If you received this email in error,
>> please notify the sender and remove all copies of the message, including
>> any attachments.
>>
>>
>>
>> --
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring
>> service
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
>> ___
>> tmux-users mailing list
>> tmux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.


--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Fwd: Multi-window synchronization - Issues...

2013-05-27 Thread Enzay Teezay
Hi there!

So far, I have tmux working as follows:  I run a script with a list of
hosts (or netgroups), and it creates an ssh connection to each one.  It
creates as many 12-pane windows as it requires.  So far, so good.

The aim now is to have it act as a complete replacement for cssh and the
like.

So - I set synchronization on and off, and yes that does the job, however
here is the problem:

It appears as though there is no way to ask tmux if synchronization is on
or off for a given window

What I'd like to do ultimately, is:


   1. *Be able to set synchronization on/off for the entire session (how do
   you do this?)
   *
   2. Be able to set synchronization on/off for a single window (I can do
   this already)
   3. Be able to change pane border color in all windows in the session (I
   can do this already)
   4. *Be able to change pane border color in a single window (how do you
   do this?)
   *
   5. *Ask if the current window is in sync mode or not*


Note that if I could do (1 and 3), or (2 and 4), I could make it obvious if
I am in sync mode or not, but 1 and 4 are together do not provide me with
an alternative.

5 would definitely be nice.

I've read the docs several times but can't see any way to do this, any
ideas?

-n
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users