Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > source /sw/bin/init.csh takes 15 seconds ?

source /sw/bin/init.csh takes 15 seconds ?
Thread Tools
Grizzled Veteran
Join Date: Sep 2000
Location: Adelaide, Australia
Status: Offline
Reply With Quote
Jan 2, 2003, 07:29 AM
 
Does anyone know why ? I am using 10.2.3 on a 1 gig PB and
Fink 5.0a.

I haven't tried commenting the file init.csh to find the offending lines. I'll do that next if no-one here has an answer.

Thanks - Michael
     
mmurray  (op)
Grizzled Veteran
Join Date: Sep 2000
Location: Adelaide, Australia
Status: Offline
Reply With Quote
Jan 2, 2003, 07:54 AM
 
Originally posted by mmurray:
Does anyone know why ? I am using 10.2.3 on a 1 gig PB and
Fink 5.0a.

I haven't tried commenting the file init.csh to find the offending lines. I'll do that next if no-one here has an answer.

Thanks - Michael
So it seems having

if (! $?DISPLAY) then
setenv DISPLAY localhost:0.0
endif

in my .cshrc is the problem. If I do (as it says on the OroborOSX web pages)

unsetenv DISPLAY
source /sw/bin/init.csh


if (! $?DISPLAY) then
setenv DISPLAY localhost:0.0
endif

its OK.

Michael
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jan 2, 2003, 09:32 AM
 
Originally posted by mmurray:
So it seems having

if (! $?DISPLAY) then
setenv DISPLAY localhost:0.0
endif

in my .cshrc is the problem. If I do (as it says on the OroborOSX web pages)

unsetenv DISPLAY
source /sw/bin/init.csh


if (! $?DISPLAY) then
setenv DISPLAY localhost:0.0
endif

its OK.

Michael
Well, I guess we weren't much help here - but when you first mentioned it I suspected DNS lookup timeout which can easaily cause that kind of delay. What is your DISPLAY variable set to?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:53 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2