Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Jan Larres
On 24/09/13 12:15, Sharon Kimble wrote: > Thanks Jan, thats .bashrc is now sorted out, so I do this - > > 1 - CTRL+a+[ > 2 - move cursor to beginning of required text > 3 - press SPACE > 4 - move cursor to end of required text > 5 - press ENTER > 6 - CTRL+a+] > 7 - command xclip -o > tmuxing.txt >

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Tue, 24 Sep 2013 11:58:35 +1200 Jan Larres wrote: > On 24/09/13 11:26, Sharon Kimble wrote: > > On Tue, 24 Sep 2013 10:57:02 +1200 > > Jan Larres wrote: > >> No. Tmux copies things to its own internal paste buffers without > >> touching the system clipboard. To pipe the current buffer to xcli

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Jan Larres
On 24/09/13 11:26, Sharon Kimble wrote: > On Tue, 24 Sep 2013 10:57:02 +1200 > Jan Larres wrote: >> No. Tmux copies things to its own internal paste buffers without >> touching the system clipboard. To pipe the current buffer to xclip do >> this: >> >> $ tmux saveb - | xclip -i -selection clipbo

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Tue, 24 Sep 2013 10:57:02 +1200 Jan Larres wrote: > On 24/09/13 09:21, Sharon Kimble wrote: > > On Mon, 23 Sep 2013 20:54:43 +0100 > > Nicholas Marriott wrote: > > > >> Pipe it to xclip or xsel or something. > > > > How? I thought it just went to xclip automatically, which then > > transferre

Re: How to copy the whole buffer?

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 23:52:06 +0100 Thomas Adam wrote: > On Mon, Sep 23, 2013 at 11:46:04PM +0100, Sharon Kimble wrote: > > Okay, I'm attacking the problem from another direction - how can i > > copy *all* of the buffer to a text file please. I've used 'tmux > > capture-pane -t keep \; save-buffer

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Jan Larres
On 24/09/13 09:21, Sharon Kimble wrote: > On Mon, 23 Sep 2013 20:54:43 +0100 > Nicholas Marriott wrote: > >> Pipe it to xclip or xsel or something. > > How? I thought it just went to xclip automatically, which then > transferred it to the normal clipboard? No. Tmux copies things to its own intern

Re: How to copy the whole buffer?

2013-09-23 Thread Thomas Adam
On Mon, Sep 23, 2013 at 11:46:04PM +0100, Sharon Kimble wrote: > Okay, I'm attacking the problem from another direction - how can i copy > *all* of the buffer to a text file please. I've used 'tmux capture-pane > -t keep \; save-buffer -b 0 ~/tmuxtest.txt' which worked slightly in > that it only co

How to copy the whole buffer?

2013-09-23 Thread Sharon Kimble
Okay, I'm attacking the problem from another direction - how can i copy *all* of the buffer to a text file please. I've used 'tmux capture-pane -t keep \; save-buffer -b 0 ~/tmuxtest.txt' which worked slightly in that it only copied over the visible part of the buffer/pane but I'm after everything!

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 20:54:43 +0100 Nicholas Marriott wrote: > Pipe it to xclip or xsel or something. How? I thought it just went to xclip automatically, which then transferred it to the normal clipboard? Sharon. > > Original message > From: Sharon Kimble > Date: 23/09/2013

Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
I have the urgent need to copy a tmux pane to either the normal clipboard or a text file. I have used these instructions to copy the text output in tmux - Cut & Paste - 1) enter copy mode using Control+a [ 2) navigate to beginning of text, you want to select and hit Control+Space 3) move aroun

[PATCH] Restore 'splitw -h' binding

2013-09-23 Thread Chris Johnsen
The binding from '%' to 'splitw -h' was inadvertently lost in a36da3a (Remove the barely-used and unnecessary command check() function., 2013-08-21). --- I rarely split windows manually, but I happened to notice that the usual binding for '%' changed recently. This seems like an accidental change

[PATCH] Keep client when attaching in a "child" cmdq

2013-09-23 Thread Chris Johnsen
With tmux 1.7, when a client executes a 'source-file' command that includes a 'new-session' or an 'attach-session' command, the client will end up attached. After the cmdq revamp, such a client always exits after 'source-file' finishes. The "attaching commands" set cmdq->client_exit to 0, but, whe

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Nicholas Marriott
Pipe it to xclip or xsel or something. Original message From: Sharon Kimble Date: 23/09/2013 20:07 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: Copying from tmux to clipboard or text file needed urgently. On Mon, 23 Sep 2013 19:25

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Nicholas Marriott
Do "tmux saveb -" to send it to stdout, or just paste it into emacs or something with C-b ]. On Mon, Sep 23, 2013 at 07:00:38PM +0100, Sharon Kimble wrote: > I have the urgent need to copy a tmux pane to either the normal > clipboard or a text file. I have used these instructions to copy the > te

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 19:25:15 +0100 Nicholas Marriott wrote: > Do "tmux saveb -" to send it to stdout, or just paste it into emacs or > something with C-b ]. Thanks for this, I'm now got to the stage of highlighting it, then press ENTER and 'tmux saveb -' and it pastes itself into the same pane!

Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 13:13:59 -0500 Mark Volkmann wrote: > On Mon, Sep 23, 2013 at 1:00 PM, Sharon Kimble > wrote: > > > I have the urgent need to copy a tmux pane to either the normal > > clipboard or a text file. I have used these instructions to copy the > > text output in tmux - > > > > Cut &

[tmux:tickets] #64 Imporve tmux emulating virtual console

2013-09-23 Thread roucarb
--- ** [tickets:#64] Imporve tmux emulating virtual console** **Status:** open **Created:** Wed Sep 18, 2013 04:09 PM UTC by roucarb **Last Updated:** Wed Sep 18, 2013 04:09 PM UTC **Owner:** nobody Hi, I use something like this to create virtual console like with tmux, shared between local

Cannot 'write' to pts because user not logged in

2013-09-23 Thread Porcelain Mouse
Hello All, I use 'write' for a number of things, but since I switched to tmux, I can no longer write to different terminals. 'write' complains that the use I'm trying to send a message isn't logged in on the target terminal. write: is not logged in on pts/10 One idea is to get tmux to regist