Can tmux access environment variables of specific panes?

2014-04-23 Thread Gil Rutter
Hi, It would be useful in multiple cases to access environment variables set in the shell of the active pane. Here are two such cases. 1 - Put the active pane's $PWD on tmux's paste buffer. I currently achieve this by 'send-keys'ing the pwd command and automatically entering copy-mode to grab the

Re: Can tmux access environment variables of specific panes?

2014-04-23 Thread Nicholas Marriott
tmux can't read variables inside other running processes. You'll need to store them somewhere from inside the pane, perhaps put in PS1 something like (untested): [ -n "$TMUX" ] && (mkdir -p ~/.panes; env >~/.panes/$TMUX_PANE) Then you can read them from outside by doing similar to: if -shell "te

tmux Git (eventual 2.0 release): Incompatible Changes

2014-04-23 Thread Thomas Adam
Hi all, This is a courtesy email for anyone who is currently tracking the SF Git version of tmux. I've just pushed a bunch of updates out which will result in the breakage of some people's configuration, namely: * The 'monitor-content' option is no longer available; * The 'choose-list' command h

[tmux:tickets] #125 List windows output truncated

2014-04-23 Thread mMontu
--- ** [tickets:#125] List windows output truncated** **Status:** open **Created:** Sun Apr 20, 2014 03:16 PM UTC by mMontu **Last Updated:** Sun Apr 20, 2014 03:16 PM UTC **Owner:** nobody Issuing the command on a windows with a vertical split (two panes) leads to the following result:

Re: tmux Git (eventual 2.0 release): Incompatible Changes

2014-04-23 Thread Michael Treibton
Hi, On 23 April 2014 11:33, Thomas Adam wrote: > Hi all, > > This is a courtesy email for anyone who is currently tracking the SF Git > version of tmux. I've just pushed a bunch of updates out which will result > in the breakage of some people's configuration, namely: > > * The 'monitor-content

Re: tmux Git (eventual 2.0 release): Incompatible Changes

2014-04-23 Thread Thomas Adam
On 23 April 2014 14:24, Michael Treibton wrote: > Hi, > > On 23 April 2014 11:33, Thomas Adam wrote: >> >> Hi all, >> >> This is a courtesy email for anyone who is currently tracking the SF Git >> version of tmux. I've just pushed a bunch of updates out which will >> result >> in the breakage of

Re: select-pane behavior changed?

2014-04-23 Thread Erik Johnson
On Sun, Apr 13, 2014 at 12:33:46PM -0500, Erik Johnson wrote: The select-pane behavior seems to have changed in 1.9. If you have 4 panes arranged as quadrants of your terminal window, and you are in the upper-right pane, then switch to the bottom left pane by entering your prefix, followed by dow

Re: select-pane behavior changed?

2014-04-23 Thread Thomas Adam
On Wed, Apr 23, 2014 at 10:16:37AM -0500, Erik Johnson wrote: > On Sun, Apr 13, 2014 at 12:33:46PM -0500, Erik Johnson wrote: > >The select-pane behavior seems to have changed in 1.9. If you have 4 > >panes arranged as quadrants of your terminal window, and you are in the > >upper-right pane, then

Re: patch for named buffers

2014-04-23 Thread J Raynor
I've attached a new patch for named buffers. There's no longer a paste stack. There's a name-tree which stores all the buffers, and a time-tree which just stores unsticky buffers. The time-tree only needs to store unsticky buffers since they're the only ones which can be aged away. I was going

Re: use "--" to mark start of command w/ neww etc to avoid quoting

2014-04-23 Thread J Raynor
I've attached the 2nd part of the "--" patch. On Fri, Apr 18, 2014 at 12:39 PM, J Raynor wrote: > On Thu, Apr 17, 2014 at 8:04 AM, Nicholas Marriott > wrote: >> Applied this to OpenBSD now with the const char * thing fixed. Thanks > > Ok. I'll wait until this shows up in the git repository an