[PATCHv3 37/42] Add a simpler option to capture the entire pane

2013-01-06 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..b193748 100644 --- a/cmd-capture-pane.c +++ b/cmd-capture-pane.c @@ -31,8 +31

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

2013-01-06 Thread Raghavendra D Prabhu
Hi, * On Mon, Dec 24, 2012 at 12:38:59PM +, Nicholas Marriott wrote: Applied, with man page bits :-). On Sat, Dec 15, 2012 at 05:32:20AM +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

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

2013-01-06 Thread Raghavendra D Prabhu
Hi, This patch had a slight editing error. Corrected it. (patch will be in the reply to this.) * On Sat, Dec 15, 2012 at 05:32:16AM +0530, Raghavendra D Prabhu wrote: Adds a '-h' option to capture the entire pane without providing the appropriate co-ordinates. Signed-off-by: Rag

[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

[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-o

[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-cho

[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
x27;T' to select-window. Also updated the man-page for select-window to include the new flag 'T'. Signed-off-by: Raghavendra D Prabhu diff --git a/cmd-select-window.c b/cmd-select-window.c index 5d87e59..d62c1be 100644 --- a/cmd-select-window.c +++ b/cmd-select-window.c @@

[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 1

[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

[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

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 5/6] Add option 'choose-tree-collapse'.

2012-12-14 Thread Raghavendra D Prabhu
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. Signed-off-by: Raghavendra D Prabhu --- options-table.c | 5 + window-choose.c | 5 - 2 files changed, 9 insertions(

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
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 of locality

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

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. S

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

[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

[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/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-o

[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

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Raghavendra D Prabhu
Hi, * On Wed, Aug 29, 2012 at 06:47:24AM +0530, Raghavendra D Prabhu wrote: Hi, * On Tue, Aug 28, 2012 at 02:01:15PM +0100, Thomas Adam wrote: Hi, On 28 August 2012 13:43, Vladimir Lomov wrote: I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently I updat

Re: Possible bug with libevent-2.0.20

2012-08-28 Thread Raghavendra D Prabhu
Hi, * On Tue, Aug 28, 2012 at 02:01:15PM +0100, Thomas Adam wrote: Hi, On 28 August 2012 13:43, Vladimir Lomov wrote: I'm using Archlinux x86_64, tmux compiled from SVN, rev. 2860. Recently I updated my system with new kernel, 3.5.3, and libevent, 2.0.20. I rebooted after update and starte

Re: Re: Reverse video

2011-12-27 Thread Raghavendra D Prabhu
* On Tue, Dec 27, 2011 at 06:38:04PM -0200, Tiago Resende wrote: On Wednesday, 2011-12-28, at 00:21:55 +0530, Raghavendra D Prabhu wrote: The reverse-video seems to be broken with tmux. I tried with rxvt-unicode, tmux and TERM=screen-256color that reverse-video as seen in search highlighting

Reverse video

2011-12-27 Thread Raghavendra D Prabhu
Hi, The reverse-video seems to be broken with tmux. I tried with rxvt-unicode, tmux and TERM=screen-256color that reverse-video as seen in search highlighting in less,man etc is not working. I updated my tmux after sometime so I may be noticing this late. Is this a bug or is there a workaroun

Highlighting in vi copy mode

2011-04-27 Thread Raghavendra D Prabhu
Hi, I am quite used to highlighting of search items in vim and it helps quite a lot. Is it possible to have a similar thing in tmux vi-copy mode as well ? I presume the searched item will need to be highlighted with certain terminal capabilities. To illustrate, urxvt currently

Re: [PATCH] Added the capability to capture history to capture-pane command.

2011-04-02 Thread Raghavendra D Prabhu
13AM +0530, Raghavendra D Prabhu wrote: Hi, I have been wanting the capability to capture the history and store store it to a file much akin to save-buffer. While checking the sources, I noticed that it had been noticed in TODO to be added with -h to capture-pane. So I have implemented it. I have also

[PATCH] Added the capability to capture history to capture-pane command.

2011-03-30 Thread Raghavendra D Prabhu
. %<%<-- Adding -h to capture-pane now captures history of that pane. Signed-off-by: Raghavendra D Prabhu --- cmd-capture-pane.c | 50 -- 1 files changed, 36 insertions(+), 14 deletions(-)

Weird behavior with SIGWINCH

2010-09-12 Thread Raghavendra D Prabhu
Hi, I am seeing an issue when resizing the client(urxvt). Text cleared reappears. Steps to reproduce: 1. ls (or any command to produce output) 2. clear the screen with clear 3. Now tile the window horizontally by opening any other applications 4. Now close the newly opened application so that ur

Re: Regarding the window-tmux redraw issue

2010-06-03 Thread Raghavendra D Prabhu
tty_region(tty, 0, tty->sy - 1); >+ } >+ >+ return (1); > } > > int > tty_open(struct tty *tty, const char *overrides, char **cause) > { >+ char out[MAXPATHLEN]; > int fd; > > if (debug_level > 3) { >- fd

Regarding the window-tmux redraw issue

2010-06-02 Thread Raghavendra D Prabhu
prefix-r or running any other command like ls overwrites it. I have tested this with xmonad and dwm. In both this issue persists. I am attaching tmux info for reference. --- Raghavendra D Prabhu tmux 1.3, pid 19021, started Thu Jun 3 01:56:05 2010 socket path /tmp//tmux-1000