This is the mail archive of the cygwin@sourceware.cygnus.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: CYGWIN-1.1.0 trouble: 40 to 80 sec delay if no network connection


--- Ulrich Jakobus <u.jakobus@web.de> wrote:
> On Tue, 25 Apr 2000 05:18:52 -0700 (PDT), Earnie Boyd wrote:
> 
> >Sounds like you've the network paths in your environment PATH.  AFAIR, this
> has
> >always been a problem.  Try removing the networked paths from PATH
> before/after
> >starting bash.
> 
> Unfortunately, this is not the problem. There are only directories on
> my local hard disk in $PATH. However, the output of "set" also includes
> variables
> 
> !0:=0:/home4/jakobus/LAPACK_3.0/BLAS/SRC/
> !A:='A:\'
> !D:='D:\cygnus\cygwin-1.1.0\lib\gcc-lib\i686-pc-cygwin\2.95.2'
> !E:='E:\zip'
> !\:='\\Ihfbdc\Netzsoftware\FEKO_update'
> 
> and indeed the "!\:" refers to a network directory. Can this be the
> reason? 

Yes, it could be the reason

> However, this is set only inside bash, not before in my
> DOS shell, from where I start bash 

This is certainly strange.  What's contained in the ~/.bashrc file.

> (I do observe the long delays
> only when executing CYGNUS commands from within a DOS window, not
> when running them from within BASH).
> 

Ah, we're getting closer to the problem.  I expect that Cygwin commands running
from the DOS prompt to be slightly longer overall.  Every instance of the
command has to load and initialize Cygwin.  There is a means to add the
Cygwin1.dll to the list of "Known DLL's" that get loaded on startup of the
environment and that might speed up the commands for you.  I don't remember the
particulars of how to do this but it is in one of the cygwin archives I don't
remember if it was discussed in cygwin or cygwin-developers.

You could also try one of the newer snapshots to see if that solves the
problem.

> I also tried to remove other environment variables that might 
> indicate a network connection, such as LOGONSERVER and USERDOMAIN,
> but also no effect with this.
> 

These should have no affect.

Cheers,

=====
---
   Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.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]