Re: about renaming screens

2011-05-10 Thread Nicholas Marriott
yes this is a good idea, added to todo list On Wed, May 04, 2011 at 03:58:57PM -0700, Randy Stauner wrote: >this brings up an interesting idea... this could be achieved if the -p >argument to command-prompt >processed the status-line escape sequences: >command-prompt -p "rename (f

Re: Tmux and uim-fep (or, how to emulate screen's "backtick 0 0 0 0")

2011-05-10 Thread Nicholas Marriott
No we don't have support for this, programs must output and exit. Someone else asked about the same application a long time ago and found some solution. IIRC they run it writing to a file in the background and then tail -1 the file in the tmux prompt, with status-interval 1. On Mon, May 09, 20

Re: Fwd: Question: how to interrupt a process by pressing Ctrl-C in tmux?

2011-05-10 Thread Nicholas Marriott
this also annoys me immensely so i need to work on it sometime there is buffering in there but it is currently disabled and only helps on localhost, need to figure out how to do it better, either we need throttling or to use the libevent watermarks On Sun, May 08, 2011 at 09:03:23PM -0700, Robi

Re: tmux segfaults with [lost server] if second pane is closed after third pane has been broke out

2011-05-10 Thread Karl Ferdinand Ebert
Hello Nicholas, Thanks. The segfault does not occur anymore. Best regards, Ferdinand Am Sonntag 08 Mai 2011, 23:28:54 schrieb Nicholas Marriott: > This should fix it I think: > > Index: cmd-break-pane.c > === > RCS file: /cvs/sr

Re: bind a key to multiple commands in copy mode

2011-05-10 Thread Dave Disser
Yes, I goofed it up spectacularly! Here's the correct patch. --Dave On Fri, Apr 29, 2011 at 1:40 PM, Randy Stauner wrote: > is this patch missing something? > it looks awfully short and doesn't make sense to me... it just looks like a > line was moved up. > It doesn't apply to sf cvs and if i j

Re: bind a key to multiple commands in copy mode

2011-05-10 Thread Dave Disser
I decided I didn't like my kludge. Here's a proper copy-line with working prefix arg. I also have another patch to use a single function for begin-selection and copy-selection since I like to have both bound to the same key, if anyone's interested. --Dave On Thu, Apr 28, 2011 at 6:49 PM, Randy

Re: tmux, vim, and OS X

2011-05-10 Thread Tim Gray
On May 10, 2011 at 08:44 PM +0200, Martial Boniou wrote: >You need this: > >https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard That is indeed what I needed. Thanks. Fixed all my problems I think. -- Achieve unpreced

Re: tmux, vim, and OS X

2011-05-10 Thread Martial Boniou
You need this: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard (Actually I just use it to paste this url in my iTerm running emacs/vimpulse/wanderlustMUA) Cheers, At Tue, 10 May 2011 13:09:19 -0400, Tim Gray wrote: > > Anyone else having issues with vim using the OS X clipboard as it'

Re: [PATCH] save-buffer: allow to save to a "pipe"

2011-05-10 Thread Nicholas Marriott
In HEAD you can do tmux saveb -. On Tue, May 10, 2011 at 06:12:28PM +0200, Pierre Habouzit wrote: > use-case: save-buffer "|xclip" > > Signed-off-by: Pierre Habouzit > --- > cmd-save-buffer.c | 15 --- > tmux.1|6 ++ > 2 files changed, 18 insertions(+), 3 dele

Re: tmux, vim, and OS X

2011-05-10 Thread Randy Stauner
sorry, I don't use mac (or gui vim) so I have no idea what you're talking about. On Tue, May 10, 2011 at 10:09 AM, Tim Gray wrote: > Anyone else having issues with vim using the OS X clipboard as it's > default yank buffer? I'm using MacVim as vim and I'm on OS X > 10.6.whateveriscurrent. In f

tmux, vim, and OS X

2011-05-10 Thread Tim Gray
Anyone else having issues with vim using the OS X clipboard as it's default yank buffer? I'm using MacVim as vim and I'm on OS X 10.6.whateveriscurrent. In fact, it doesn't even seem that vim has a "* register when I run it under tmux. I have `set clipboard=unnamed` in my .vimrc. Furthermore

Re: [PATCH] save-buffer: allow to save to a "pipe"

2011-05-10 Thread Pierre Habouzit
On Tue, May 10, 2011 at 09:34:13AM -0700, Micah Cowan wrote: > On 05/10/2011 09:12 AM, Pierre Habouzit wrote: > >use-case: save-buffer "|xclip" > > tmux already does this; see the "show-buffer" command. E.g., > > tmux show-buffer | xclip Oh right, I got confused by https://wiki.archlinux.org/

Re: [PATCH] save-buffer: allow to save to a "pipe"

2011-05-10 Thread Micah Cowan
On 05/10/2011 09:12 AM, Pierre Habouzit wrote: > use-case: save-buffer "|xclip" tmux already does this; see the "show-buffer" command. E.g., tmux show-buffer | xclip -mjc -- Achieve unprecedented app performance and

[PATCH] save-buffer: allow to save to a "pipe"

2011-05-10 Thread Pierre Habouzit
use-case: save-buffer "|xclip" Signed-off-by: Pierre Habouzit --- cmd-save-buffer.c | 15 --- tmux.1|6 ++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/cmd-save-buffer.c b/cmd-save-buffer.c index d7b7738..a45fe43 100644 --- a/cmd-save-buffer.