Re: tmux 1.9a in cygwin

2014-06-06 Thread Nicholas Marriott
Ok thanks. On Wed, Jun 04, 2014 at 10:20:07AM -0500, Mark Volkmann wrote: >That change seems to work. > >On Wed, Jun 4, 2014 at 4:43 AM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > > Mark please see if doing this fixes your problem. > > diff --git a/clien

Re: tmux 1.9a in cygwin

2014-06-04 Thread Mark Volkmann
That change seems to work. On Wed, Jun 4, 2014 at 4:43 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Mark please see if doing this fixes your problem. > > diff --git a/client.c b/client.c > index 0c9f9cb..6172d26 100644 > --- a/client.c > +++ b/client.c > @@ -110,7 +110,7 @@ retr

Re: tmux 1.9a in cygwin

2014-06-04 Thread Nicholas Marriott
Mark please see if doing this fixes your problem. diff --git a/client.c b/client.c index 0c9f9cb..6172d26 100644 --- a/client.c +++ b/client.c @@ -110,7 +110,7 @@ retry: fatal("socket failed"); if (connect(fd, (struct sockaddr *) &sa, SUN_LEN(&sa)) == -1) { -

Re: tmux 1.9a in cygwin

2014-06-04 Thread Nicholas Marriott
So I guess this is a Cgywin bug. For now you can probably just add "&& errno != 0" to the if after the connect until they fix it. On Tue, Jun 03, 2014 at 09:47:34AM +0100, Balazs Kezes wrote: > [+tmux-users] > > On 2014-06-03 09:06 +0200, Michael Wild wrote: > > Also, refer to https://cygwin.co

Re: tmux 1.9a in cygwin

2014-06-03 Thread Balazs Kezes
[+tmux-users] On 2014-06-03 09:06 +0200, Michael Wild wrote: > Also, refer to https://cygwin.com/ml/cygwin/2014-06/msg8.html. > Perhaps this helps you tracking down what exactly triggers this > behaviour. That post has the following fragment: > > Here's the strace I got: > > cygwin-1.7.30-1:

Re: tmux 1.9a in cygwin

2014-06-02 Thread Balazs Kezes
On 2014-06-02 08:30 +0200, Michael Wild wrote: > I am the maintainer of the Cygwin package, and I also ran into this > issue after upgrading the cygwin.dll to 1.7.30-1. Can you generate strace outputs for the tmux server/clients with both the old and new DLL and post the results here? -- Balazs

RE: tmux 1.9a in cygwin

2014-06-02 Thread Byron K. Boulton
I was running tmux that I compiled myself, and after I did some Cygwin updates the other day I started getting the "failed to connect to server: No error" error. I deleted the tmux-# directory in /tmp and was able to start tmux. While that instance of tmux is running I can start new ones are a

Re: tmux 1.9a in cygwin

2014-06-01 Thread Michael Wild
Dear all I am the maintainer of the Cygwin package, and I also ran into this issue after upgrading the cygwin.dll to 1.7.30-1. Removing the socket file in /tmp helps, but only as long as at least one tmux session is running (presumably while the server is alive?). After closing all sessions, it f

Re: tmux 1.9a in cygwin

2014-05-30 Thread J Raynor
When you installed tmux via cygwin, you might’ve updated some other packages that brought new behavior. I have to do some more checking, but it looks like cygwin might have changed something recently so that it doesn’t set errno when it can’t connect to an existing socket file, and this confuse

Re: Re : Re: tmux 1.9a in cygwin

2014-05-30 Thread Mark Volkmann
I also had it working with tmux 1.9. I built that using the steps I documented here: http://java.ociweb.com/mark/programming/tmuxInCygwin.html. However, when I let cygwin install version 1.9a for me, that doesn't work for me. Also, if I manually build version 1.9a using the steps I documented, it

Re: Re : Re: tmux 1.9a in cygwin

2014-05-30 Thread Frank Terbeck
c...@free.fr wrote: > Thnak you Mark for working to make tmux run under cygwin. I tried > before (actually also tried with mingw) but did'nt get it right. So, > once you succeed it would be great if you could provide, for the rest > of us who can't fix it, a step by step explainatory tuto to comple

Re : Re: tmux 1.9a in cygwin

2014-05-30 Thread clu
Thnak you Mark for working to make tmux run under cygwin. I tried before (actually also tried with mingw) but did'nt get it right. So, once you succeed it would be great if you could provide, for the rest of us who can't fix it, a step by step explainatory tuto to complete the task successfully.

Re: tmux 1.9a in cygwin

2014-05-29 Thread Nicholas Marriott
Is a tmux server already running or are you trying to start a new one? Did 1.9 work before? What Cgywin version? On what Windows? What's in the logs if you run tmux - new? What's in your .tmux.conf? Is there strace on Cgywin? strace -f -o strace.out tmux new On Thu, May 29, 2014 at 05:

tmux 1.9a in cygwin

2014-05-29 Thread Mark Volkmann
I have tmux 1.9a installed in cygwin, but can't get it to start. When I run "tmux new" it outputs "failed to connect to server: No error". Shouldn't that start the server? -- R. Mark Volkmann Object Computing, Inc. -- Tim