[PATCHv2 6/6] Remove the extra window_choose_redraw_screen.

2012-12-14 Thread Raghavendra D Prabhu
window_choose_collapse_all already calls window_choose_redraw_screen, hence removing it from window_choose_ready. Signed-off-by: Raghavendra D Prabhu diff --git a/window-choose.c b/window-choose.c index 3368c66..686e97f 100644 --- a/window-choose.c +++ b/window-choose.c @@ -118,7 +118,6 @@ windo

[PATCHv2 5/6] Allow '$' and '^' in select-window index.

2012-12-14 Thread Raghavendra D Prabhu
This allows one to select the last window (not last-window but window with highest index), so one can bind it to 'select-window -t:$' to jump to the end window, and similary bind to 'select-window -t:^' to jump to the first window (first determined by base-index). Signed-off-by: Raghavendra D Prab

[PATCHv2 4/6] Add flag 'u' to choose-tree to uncollapse tree by default.

2012-12-14 Thread Raghavendra D Prabhu
choose-tree, by default, folds/collapses the window tree grouped by session. This adds a flag 'u' to uncollapse it by default. Signed-off-by: Raghavendra D Prabhu diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c index e8da7a4..65d88a8 100644 --- a/cmd-choose-tree.c +++ b/cmd-choose-tree.c @@ -

[PATCHv2 2/6] Added 'T' flag for select-window wherein if select-window is invoked on same window as current, it switches to previous window.

2012-12-14 Thread Raghavendra D Prabhu
This is to simulate a behavior similar to what is found in window managers where using the same key used to switched to the workspace returns to previous workspace; since this allows faster switching (by making use of locality of the key). To keep the existing default behavior, added as a flag 'T'

[PATCHv2 3/6] Add 'choice-characters' to define the characters in choice-mode.

2012-12-14 Thread Raghavendra D Prabhu
The characters used in choice-mode are hardcoded. This option allows one to use custom characters (and order) based on one's preference. Also, added description to the man page. Signed-off-by: Raghavendra D Prabhu diff --git a/options-table.c b/options-table.c index 8ce838a..c2ef30c 100644 --- a

[PATCHv2 0/6] Assorted tmux patchset

2012-12-14 Thread Raghavendra D Prabhu
Following are the patches that add/extend some of the features. They are also tested. Revision 1: Initial patchset. Revision 2: Made changes/improvements suggested by reviewers. Also added another patch fixing a bug, also rebased over latest tmux HEAD. Raghavendra D Prabhu (6): Add a simpler op

[PATCHv2 1/6] Add a simpler option to capture the entire pane

2012-12-14 Thread Raghavendra D Prabhu
Adds a '-h' option to capture the entire pane without providing the appropriate co-ordinates. Signed-off-by: Raghavendra D Prabhu diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c index a94c717..11c4367 100644 --- a/cmd-capture-pane.c +++ b/cmd-capture-pane.c @@ -31,8 +31,8 @@ enum cmd_retval

Re: Re: [PATCH 4/6] Add 'choice-characters' to define the characters in choice-mode.

2012-12-14 Thread Raghavendra D Prabhu
Hi, * On Fri, Dec 14, 2012 at 11:06:18PM +, Thomas Adam wrote: Hi, On 14 December 2012 21:47, Raghavendra D Prabhu wrote: Yes, with only 5 characters you can hit the duplicates very fast, however, with the default value you should hit it after 62 windows, so there is a limit anyways.

Re: Re: [PATCH 4/6] Add 'choice-characters' to define the characters in choice-mode.

2012-12-14 Thread Thomas Adam
Hi, On 14 December 2012 21:47, Raghavendra D Prabhu wrote: > Yes, with only 5 characters you can hit the duplicates very fast, however, > with the default value you should hit it after 62 windows, so there is a > limit anyways. > > I currently use this > set -g choice-characters 'qwerasdfzxcv123~

Re: Re: [PATCH 5/6] Add option 'choose-tree-collapse'.

2012-12-14 Thread Raghavendra D Prabhu
Hi, * On Mon, Nov 19, 2012 at 10:55:42AM +, Nicholas Marriott wrote: 12 Please make this a flag to choose-tree, not a tmux option. Also don't forget the man page. Ah, yes, making it an option sounds superfluous, will make it a flag. Thanks. Thanks On Sat, Nov 17, 2012 at 11:42:07

Re: Re: [PATCH 2/6] If select-window is invoked on same window as current, switch to previous window.

2012-12-14 Thread Raghavendra D Prabhu
Hi, * On Mon, Nov 19, 2012 at 10:54:22AM +, Nicholas Marriott wrote: n't like this behaviour at all, sorry. If you really want it make it a flag to select-window. Thanks, I will make it like that. Also don't goto the inside of if statements! I will fix this as well. On Sat, Nov

Re: Re: [PATCH 6/6] Allow '$' and '^' in select-window index.

2012-12-14 Thread Raghavendra D Prabhu
Hi, * On Sat, Nov 17, 2012 at 06:22:38PM +, Thomas Adam wrote: +0530, Raghavendra D Prabhu wrote: This allows one to select the last window (not last-window but window with highest index), so one can bind it to 'select-window -t:$' to jump to the end window, and similary bind to 'select-

Re: Re: [PATCH 4/6] Add 'choice-characters' to define the characters in choice-mode.

2012-12-14 Thread Raghavendra D Prabhu
Hi, * On Sat, Nov 17, 2012 at 06:38:38PM +, Thomas Adam wrote: M +0530, Raghavendra D Prabhu wrote: The characters used in choice-mode are hardcoded. This option allows one to use custom characters (and order) based on one's preference. Also, added description to the man page. Signed-of

Re: Re: [PATCH 0/6] Assorted tmux patchset

2012-12-14 Thread Raghavendra D Prabhu
Hi, * On Mon, Dec 10, 2012 at 11:20:33PM +, Thomas Adam wrote: Hi, On Sat, Nov 17, 2012 at 11:42:02PM +0530, Raghavendra D Prabhu wrote: Following are the patches that add/extend some of the features. They are also tested. Given some feedback on the patches you sent out, were you plann

Re: Can't build tmux on Solaris 10

2012-12-14 Thread John Long
On Fri, Dec 14, 2012 at 10:18:00AM +, John Long wrote: > On Fri, Dec 14, 2012 at 07:28:58AM +, Thomas Adam wrote: > > Hi, > > > > On 14 December 2012 06:59, John Long wrote: > > > On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > > >> On Wed, Dec 05, 2012 at 12:20:47PM +,

Re: [PATCH] More window status indicators

2012-12-14 Thread Scott Frazer
On Wed, Dec 12, 2012 at 2:21 PM, Nicholas Marriott wrote: > Hi > > You definitely shouldn't use C0 control codes for this, you should > probably use DCS but with a different prefix instead of "tmux;" which is > used for raw passthrough (look at input_dcs_dispatch). > Yes, I thought that was proba

Re: Can't build tmux on Solaris 10

2012-12-14 Thread John Long
On Fri, Dec 14, 2012 at 07:28:58AM +, Thomas Adam wrote: > Hi, > > On 14 December 2012 06:59, John Long wrote: > > On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > >> On Wed, Dec 05, 2012 at 12:20:47PM +, John Long wrote: > >> > Hey guys, any progress on this? > >> > >> No.

Re: Can't build tmux on Solaris 10

2012-12-14 Thread John Long
On Fri, Dec 14, 2012 at 07:28:58AM +, Thomas Adam wrote: > Hi, > > On 14 December 2012 06:59, John Long wrote: > > On Wed, Dec 05, 2012 at 01:04:24PM +, Thomas Adam wrote: > >> On Wed, Dec 05, 2012 at 12:20:47PM +, John Long wrote: > >> > Hey guys, any progress on this? > >> > >> No.