Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Chris Johnsen
On Wed, Apr 24, 2013 at 5:48 PM, Nicholas Marriott wrote: > You probably started tmux from somewhere that PATH was not set > correctly. Try eg C-b : run 'echo $PATH; sleep 100' to check. > > You can change it with tmux setenv -g PATH foo:bar:baz Another change in 1.8 run-shell (and if-shell) was

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Nicholas Marriott
You probably started tmux from somewhere that PATH was not set correctly. Try eg C-b : run 'echo $PATH; sleep 100' to check. You can change it with tmux setenv -g PATH foo:bar:baz On Wed, Apr 24, 2013 at 05:16:01PM -0400, James Jong wrote: >I redirected stderr as Chris suggested (great point

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread James Jong
I redirected stderr as Chris suggested (great pointer by the way) with: bind-key -n C-y run "exec 2>&1 ; xclip -o | tmux load-buffer - ; tmux paste-buffer" and when I try to paste with C-y I get the following: sh: tmux: command not found sh: tmux: command not found 'exec 2>&1 ; xclip -o | tmux l

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Ashwin G
I had a similar issue with xclip and tmux 1.8. I did not try xclip with previous versions of tmux, so not really sure if it was working with the older tmux versions. I think the problem is that xclip does not recognize that the input is from stdin and waits indefinitely, causing tmux to hang as we

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Chris Johnsen
On Wed, Apr 24, 2013 at 11:00 AM, James Jong wrote: > The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux > 1.8 > > # Move x clipboard into tmux paste buffer > bind-key -n C-y run "xclip -o | tmux load-buffer - ; tmux paste-buffer" > > But I now get the following in the stat

Re: [PATCH 2/2] Clear WINLINK_ALERTFLAGS across all sessions

2013-04-24 Thread Jason Timrod
Hi, This work breaks the ""bell-action current"" setting in my .tmux.conf file - can we have this reverted, please? Jason From: Thomas Adam To: tmux-users@lists.sourceforge.net Cc: Thomas Adam Sent: Sunday, June 17, 2012 6:35 PM Subject: [PATCH 2/2] Clear

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread James Jong
I just tried that, and when pasting tmux goes into some extensive computation, and eventually returns 127 too. James On Wed, Apr 24, 2013 at 12:16 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Does it work if you change it to "DISPLAY=:0.0 xclip -o|..."? > > > On Wed, Apr 24, 20

Re: Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread Nicholas Marriott
Does it work if you change it to "DISPLAY=:0.0 xclip -o|..."? On Wed, Apr 24, 2013 at 12:00:59PM -0400, James Jong wrote: >The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux >1.8 > ># Move x clipboard into tmux paste buffer >bind-key -n C-y run "xclip -o |

Unable to paste with Tmux 1.8 (it worked with 1.7)

2013-04-24 Thread James Jong
The following worked in Tmux 1.7 for pasting text in tmux, but not in Tmux 1.8 # Move x clipboard into tmux paste buffer bind-key -n C-y run "xclip -o | tmux load-buffer - ; tmux paste-buffer" But I now get the following in the status pane: xclip -o | tmux load-buffer - ; tmux paste-buffer exited

Re: Successive builds from repository. What to clean

2013-04-24 Thread Thomas Adam
Hi, On 24 April 2013 15:15, James Jong wrote: > The reason why I ask is because I am getting an error when running >> sh autoconf.sh > > But, I just verified that this error occurs _even_ if I reclone the remote > repository: > > $ git clone git://git.code.sf.

Re: Successive builds from repository. What to clean

2013-04-24 Thread James Jong
The reason why I ask is because I am getting an error when running > sh autoconf.sh But, I just verified that this error occurs _even_ if I reclone the remote repository: $ git clone git://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code $ cd tmux-tmux-code $ sh

Re: Successive builds from repository. What to clean

2013-04-24 Thread Thomas Adam
On Wed, Apr 24, 2013 at 10:03:25AM -0400, James Jong wrote: > Say I build tmux from the repository. A new version comes out, and that I > fetch and pull to build a new version again. > > At this point I see the following from git: > > > HEAD is now at 1b083aa .. .Update CHANGES and configure.ac f

Successive builds from repository. What to clean

2013-04-24 Thread James Jong
Say I build tmux from the repository. A new version comes out, and that I fetch and pull to build a new version again. At this point I see the following from git: > HEAD is now at 1b083aa .. .Update CHANGES and configure.ac for 1.8 release I usually build tmux by calling: sh autogen.sh ./config

Re: [PATCH 0/3] Minor nits in 1.8

2013-04-24 Thread Ben Boeckel
On Wed, Apr 24, 2013 at 08:59:45 +0100, Thomas Adam wrote: > Thanks. Please remember though that tmux.1 is now copied from tmux.1.in. > That's the file you ought to be patching. Yeah, I had rebased after sending out the patch after realizing I was on a separate branch. That branch is now unneeded

Re: Send UTF-8 encoded massage to tmux session with send-keys

2013-04-24 Thread Jacob Bang
If I start a tmux session and stat running an instance of “cat > testfile” I got a fine example of the problem. This is the text I got when I am trying to write the text directly in the tmux session and read it again with a hex reader (the word is æøå – three Danish letters): C3 A6 C3 B8 C3 A5 Wh

License file

2013-04-24 Thread Dagobert Michelsen
Hi, it would be cool if the license of tmux could be added to the repo/tarball so I as downstream packager can include it in the binary package. Maybe something like LICENSE or such. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do s

Re: Send UTF-8 encoded massage to tmux session with send-keys

2013-04-24 Thread Nicholas Marriott
What exactly do you get received? You should get the same bytes you put in. On Wed, Apr 24, 2013 at 12:29:08AM +0200, Jacob Bang wrote: >Hi everybody > >I have some problems and I hope some of you can help me. My problem is I >want to send a command to a tmux session from a cron job

Re: [PATCH 0/3] Minor nits in 1.8

2013-04-24 Thread Nicholas Marriott
Fixed, thanks. On Wed, Apr 24, 2013 at 02:09:20AM -0400, Ben Boeckel wrote: > On Sat, Apr 06, 2013 at 00:04:11 -0400, Ben Boeckel wrote: > > Minor nits I encountered when going over the history for zsh completion > > script. > > Found another when looking through the docs. > > --Ben > >From 7

Re: Make tmux.conf relative to sysconfdir

2013-04-24 Thread Nicholas Marriott
I've applied this now, thanks! Like others have said, we've just done 1.8 so 1.9 will be a few months out probably. On Tue, Apr 23, 2013 at 04:20:47PM +0200, Dagobert Michelsen wrote: > Hi Nicholas, > > Am 23.04.2013 um 00:40 schrieb Nicholas Marriott > : > > Ok makes sense, please try this. I

Re: [PATCH 0/3] Minor nits in 1.8

2013-04-24 Thread Thomas Adam
Hi Ben, Thanks. Please remember though that tmux.1 is now copied from tmux.1.in. That's the file you ought to be patching. Kindly, Thomas Adam On 24 Apr 2013 07:10, "Ben Boeckel" wrote: > > On Sat, Apr 06, 2013 at 00:04:11 -0400, Ben Boeckel wrote: > > Minor nits I encountered when going over t