Re: panes, windows, sessions vs screen's behaviour.

2010-02-07 Thread Paul Hoffman
On Fri, Jan 29, 2010 at 06:56:52PM -0700, Aaron Denney wrote: I've gotten the proposed solution of tmux-in-tmux to work fairly well. For others amusement, I'm attaching the scripts I'm using. In addition, I have a seperate conf that unbinds the window switching in the top tmux, and switches

Re: panes, windows, sessions vs screen's behaviour.

2010-02-07 Thread Aaron Denney
On Sun, Feb 07, 2010 at 08:30:00AM -0500, Paul Hoffman wrote: Sorry if this is nitpicky, but you can save two processes by putting more logic in your awk code, e.g.: unattached=$(tmux $@ list-sessions | awk '!/attached/ { print $1; exit }') ... attached=$(tmux $@ list-sessions

Re: [Patch] Repeat search in reverse direction

2010-02-07 Thread Micah Cowan
Nicholas Marriott wrote: Hi Thanks for the diff, n retains the sense of the last search (repeats in the same direction), so this is to reverse the sense of the last search? Well, it's to search in the reverse of the last actually typed search. So, if you searched up, n will continue

Re: [Patch] per-window alternate screen option

2010-02-07 Thread Nicholas Marriott
This diff is close enough, I will tweak the remaining style problems myself and commit it either later today or tomorrow. On Mon, Feb 08, 2010 at 12:23:53AM +0100, clemens fischer wrote: Nicholas Marriott wrote: It could be much smaller by doing: if

Re: [Patch] per-window alternate screen option

2010-02-07 Thread Nicholas Marriott
I'm trimming to just to alternate-screen rather than use-alternate-screen which fits better with the other options. On Mon, Feb 08, 2010 at 12:23:53AM +0100, clemens fischer wrote: Nicholas Marriott wrote: It could be much smaller by doing: if