This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Openssh 2.3.0p1 weird exec problem, cont.


On Sat, Dec 30, 2000 at 08:00:44PM +0100, Corinna Vinschen wrote:
> On Fri, Dec 29, 2000 at 05:21:07PM -0500, bailey9@akamai.com wrote:
> > That seems to solve the problem for me. Thanks!
> 
> You _did_ recompile OpenSSH with USE_PIPES and that solves
> actually the problem? I'm just asking to be really sure.
> 
> Corinna
> 

 Yup, compiling with USE_PIPES defined eliminates the problem of sometimes 
not getting output from exec'd commands. I haven't tested interactive mode
extensively but at least superficially everything seems to work ok.

 .andy


> > > On Fri, Dec 29, 2000 at 03:59:12PM -0500, John Pollock wrote:
> > > > However, i've only seen this issue with non-cygwin apps (like VC++ and
> > > > such) which don't seem to understand how to send output reliably when
> > > > cooperating with a version of ssh using socket pairs instead of pipes.
> > > > The cygwin version of openssh, i believe ,uses socket pairs and not pipes,
> > > > which may be the source of the problem.
> > > 
> > > That's an interesting point. socket pairs are prefered over pipes in
> > > OpenSSH. Using pipes is a special option. I'm currently on vacation
> > > and need the time for my move to another town. If somebody is willing
> > > to build OpenSSH using pipes and test that situation again I would
> > > gladly appreciate this.
> > > 
> > > Using pipes instead of socket pairs is easy: After configuring just
> > > open `defines.h', goto line 378 and remove the comments from this
> > > line containing `#define USE_PIPES 1', then make. If that solves the
> > > problem (and still works in all other situations) I will release
> > > a new Cygwin version of OpenSSH then.
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]