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: WinNT Lockup


Bash would eventually have something similar to say.  Once all the 
directories listed in PATH are checked or time out, bash will give something
like "file not found".  Assuming the PATH variable for bash is the same as
in CMD (which it doesn't have to be and is not by default, if I remember
correctly), bash will still be a bit slower than CMD searching for the same
command since it has to go through emulation code in Cygwin.  Some of the
path handling code is not optimal either.

Larry


At 02:52 PM 10/13/2000, Farmer, Tony wrote:
>Thanks, that was definitely the problem.  When you update the FAQ, it would
>be great if you could explain why this symptom only occurs within BASH.  If
>I'm in a regular WinNT command window (with the same active path) and type a
>command that doesn't exist, it says:  "The name specified is not recognized
>as an internal or external command, operable program or batch file."  I
>don't understand why the behavior would be different between the two shells.
>
>Cheers,
>ALF
>
>
> > -----Original Message-----
> > From: Earnie Boyd [SMTP:earnie_boyd@yahoo.com]
> > Sent: Friday, October 13, 2000 11:28 AM
> > To:   Larry Hall (RFK Partners, Inc); Farmer, Tony;
> > 'cygwin@sourceware.cygnus.com'
> > Subject:      Re: WinNT Lockup
> > 
> > --- "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com> wrote:
> > > At 01:52 PM 10/13/2000, Farmer, Tony wrote:
> > > >I've setup Cygwin on two systems - one NT and one 98.  The 98 system
> > seems
> > > >to work fine, but on the NT system whenever I type a command that
> > doesn't
> > > >exist ("XXX" for example), Cygwin locks up.  Ctl-C, Ctl-Break, nothing
> > will
> > > >get me out of it short of closing the Cygwin window.  Is this something
> > I'm
> > > >doing wrong or a peculiarity with NT?
> > > >
> > > >Thanks,
> > > >alfarmer@hotmail.com
> > > 
> > > 
> > > Are you sure your path on the NT system doesn't have a network share in
> > it?
> > > The longer the path, the longer the search.  Add several factors for any
> > > network shares in the path.  Add many more factors for network shares
> > that
> > > aren't reachable.  This could look like a "lock up".
> > > 
> > 
> > Good catch Larry.  Sounds like an explaination for the FAQ.
> > 
> > Cheers,
> > Earnie Boyd
> > mailto:earnie_boyd@yahoo.com
> > 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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