Re: tmux 1.9 released: A note for users/packagers

2014-02-21 Thread Aaron Schrab
At 13:15 +0100 21 Feb 2014, hubert depesz lubaczewski wrote: 2. is there a way to upgrade tmux without killing programs that run under it? In the past I've avoided the need to kill some programs being run in a tmux session in this situation by using reptyr[1] to temporarily move them out o

Re: Support showenv output as shell code

2013-08-18 Thread Aaron Schrab
At 14:49 +0100 18 Aug 2013, Nicholas Marriott wrote: >How do you show the difference between an empty value and one to be >unset then? An empty value would still have a pair of single quotes after the equal sign, an unset value would not. But, I'm now thinking that I should change it to emit

Re: Support showenv output as shell code

2013-08-18 Thread Aaron Schrab
At 07:51 +0100 18 Aug 2013, Nicholas Marriott wrote: >All you are adding here is escaping quotes? For variables that are set, it adds single quotes around the value and replaces every single quote within the value with '\'' . So in that case you could say that it's only adding escaping quotes

Re: Support showenv output as shell code

2013-08-12 Thread Aaron Schrab
At 16:59 +1200 13 Aug 2013, Jan Larres wrote: >I use this code in zsh to do the same thing without having to patch >tmux. The preexec variable is an array of functions that get called >before each interactive command execution. I don't think such a variable >exists in bash, but you could hack some

Re: Support showenv output as shell code

2013-08-12 Thread Aaron Schrab
At 00:11 +0100 13 Aug 2013, Thomas Adam wrote: >On Mon, Aug 12, 2013 at 04:01:46PM -0400, Aaron Schrab wrote: >> Add -s option to the shown-environment command which will alter the >> output format to Bourne shell commands, allowing import of the >> environment into curren

[PATCH] Support showenv output as shell code

2013-08-12 Thread Aaron Schrab
Add -s option to the shown-environment command which will alter the output format to Bourne shell commands, allowing import of the environment into current shell with: eval `tmux showenv -s` --- cmd-show-environment.c | 59 ++-- tmux.1

Re: tmux with multiple monitors

2012-11-01 Thread Aaron Schrab
At 10:40 -0500 01 Nov 2012, Mark Volkmann wrote: >The only issue is that it seems that the number of rows and columns of >characters displayed in each iTerm window must be the same. Extra space >in the larger window is filled with period characters. set-window-option -g aggressive-resize on --