socketpair hasn't caused any issues so far, OpenSSH are much more concerned about supporting older platforms than I am.
On Wed, Mar 20, 2013 at 03:38:08AM -0500, Chris Johnsen wrote: > On Wed, Mar 20, 2013 at 2:18 AM, Nicholas Marriott > <nicholas.marri...@gmail.com> wrote: > > Hmm maybe I'm being an idiot and it is ok, let me look at it again > > later. Stdin/stdout/stderr are normally all the same fd anyway of > > course. > > Having maintained tmux as cross-platform project, you probably have > a good feel for where the sharp cross-platform edges lurk, so > I welcome further consideration of the right approach. I would > certainly not attempt to claim that my implementation is definitely > cross-platformly correct, just that it seemed like a reasonable > approach, and that "it works for me" (for all _that_ is worth). > > Portable OpenSSH certainly seems to have encountered some reasons > for avoiding socketpair on some platforms; the details of exactly > why are a bit murky though. I poked around in the history and found > some corresponding mailing list messages, but none of them really > gave much detail about what exactly was failing (mostly just that > switching to pipes fixed a problem on several platforms). > > -- > Chris ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users