Hi On Wed, Mar 23, 2011 at 09:54:59AM -0400, Andrew Schulman wrote: > > On Tue, Dec 28, 2010 at 01:14:06PM +0100, Hamlet DArcy wrote: > > > Hi all, > > > > > > Is it possible to run tmux under Windows using cygwin? Can anyone point > > > to a how-to on this or any other relevant information? > > > > Nope, not until Cgywin supports passing file descriptors over a Unix > > domain socket. > > Hi everyone. First post here. > > I'm resurrecting this old thread to see if I can get a little more > information about what the problem is with Cygwin. Nicholas, can you > please tell me anything more about this problem, or point me to any mailing > list discussions of it? I looked around and found a mention of yours that > "tmux uses the SCM_RIGHTS OOB data mechanism to pass a file descriptor". Is > that the issue?
Yes, we need to be able to pass the stdin, stdout, stderr file descriptors from each tmux client to the tmux server. This happens by sending control messages (of type SOL_SOCKET/SCM_RIGHTS) over the tmux Unix domain socket. See http://www.openbsd.org/cgi-bin/man.cgi?query=CMSG_DATA. The CMSG API is also described in SUS and RFC2292. Working around this lack in tmux is not trivial, we would need to wrap a lot of stuff to pass the data around ourselves over a couple of sockets. Possible but very messy. Some other programs seem to be in the same boat for at least some of their features, for example Dovecot. > > The reason I ask is that I'd like to engage the Cygwin developers and see > if there's any possibility of working through or around this. If there is > I'd be willing to package tmux for Cygwin. libevent builds in Cygwin with At one point OpenSSH needed this for some feature and there was a discussion about maybe how to add it but I gather it is not easy and whatever happened it has not so far happened. > no problem. > > Thanks, > Andrew. > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users