From http://www.macosxhints.com/
Improve terminal/script startup time Fri, May 17 '02 at 09:02AM � from: the_shrubber Ever notice how Terminal just sorta sits there when you start? Or if you have a script, sometimes it just seems to do nothing for a bit before actually doing its stuff. The reason it happens is that 1) you're using Fink 2) you're probably also following a previous hint that told you to set DISPLAY to :0.0 so that you can launch X stuff from your Terminal.app. What happens is that your fink startup scripts try to run xfontpath ... only your X server probably isn't even running yet. So it sits there and hangs, waiting to contact the X server and eventually gives up, which is where your script, or the Terminal, kicks in. How do you fix this? By delaying the setting of the DISPLAY variable until after executing the fink init. In your .cshrc file, add: # in case you're running a script unsetenv DISPLAY source /sw/bin/init.cshrc setenv DISPLAY :0.0 And naturally, if you're using bash, you know what to do. -- Expanded Cinemah: http://www.cinemah.com/ Godard Tracker: http://www.cinemah.com/godard/ _______________________________________________________________ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
