Seting the terminal title from tmux

2012-11-17 Thread Adrian Luff
I'm trying to use escape sequences to set my xterm-title-compabile terminal's title from inside tmux. From a non-tmux shell the following works successfully: > echo -ne "\e]2;Title\e\\" According to the 1.6 changelog I need to add a DCS sequence (\eP) followed by "tmux" to passthrough escape seq

Re: tmux-powerline makes tmux crash overnight?

2012-11-17 Thread Thomas Adam
On Sat, Nov 17, 2012 at 12:07:40PM -0800, John Schmitt wrote: > https://github.com/erikw/tmux-powerline > > tmux-powerline is good fun, I use it on two computers. On my work machine > everything seems to run just fine. > > On my home machine I sometimes find that tmux has crashed overnight. >

tmux-powerline makes tmux crash overnight?

2012-11-17 Thread John Schmitt
https://github.com/erikw/tmux-powerline tmux-powerline is good fun, I use it on two computers. On my work machine everything seems to run just fine. On my home machine I sometimes find that tmux has crashed overnight. Turning on logging I see that status-left has died repeatedly. I've been

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

2012-11-17 Thread Thomas Adam
Hi, On Sat, Nov 17, 2012 at 11:42:06PM +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-off-by: Raghavendra D

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

2012-11-17 Thread Thomas Adam
Hi, On Sat, Nov 17, 2012 at 11:42:08PM +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-window -t:^' to jump to the

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

2012-11-17 Thread Thomas Adam
Hi, On Sat, Nov 17, 2012 at 11:42:07PM +0530, Raghavendra D Prabhu wrote: > choose-tree, by default, folds/collapses the window tree grouped by session. > This adds an option to make it configurable. This went round the houses somewhat when I wrote this feature. I am not sure this is worth it, g

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

2012-11-17 Thread Thomas Adam
Hi, On Sat, Nov 17, 2012 at 11:42:04PM +0530, Raghavendra D Prabhu wrote: > 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

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

2012-11-17 Thread Raghavendra D Prabhu
choose-tree, by default, folds/collapses the window tree grouped by session. This adds an option to make it configurable. Signed-off-by: Raghavendra D Prabhu --- options-table.c | 5 + window-choose.c | 5 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/options-table.c b/

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

2012-11-17 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 --- options-table.c | 7 +++ tmux.1 | 2 ++ window-choose.c | 13 ++

[PATCH 3/6] Man page update for extended behavior of select-window.

2012-11-17 Thread Raghavendra D Prabhu
Updates the man-page for select-window to include the new behavior. Signed-off-by: Raghavendra D Prabhu --- tmux.1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmux.1 b/tmux.1 index 213db74..7f081c0 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1643,6 +1643,8 @@ command. .D1 (alias: Ic selectw

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

2012-11-17 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 --- cmd-capture-pane.c | 81 +- 1 file changed, 43 insertions(+), 38 deletions(-) diff --git a/cmd-capture-pane.c

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

2012-11-17 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

[PATCH 0/6] Assorted tmux patchset

2012-11-17 Thread Raghavendra D Prabhu
Following are the patches that add/extend some of the features. They are also tested. Raghavendra D Prabhu (6): Add a simpler option to capture the entire pane If select-window is invoked on same window as current, switch to previous window. Man page update for extended behavior of

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

2012-11-17 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). Signed-off-by: Raghavendra D Prabhu --- cmd-select-windo