Yuanbo Zhang wrote:
> 
> After I installed xfontpath, my Terminal.app started to get wired. Every
> time when I launched it, it took a long time for the prompt to appear. This
> didn't happen when the Xdarwin was running. I tracked this down, and found
> 'xfontpath enable' in fink's init.csh, but it can't execute when X window is
> not running. I am new to UNIX, can somebody tell me if there is any way to
> get around? Thank!

xfontpath enable is only run when your DISPLAY environment variable is
set, the idea being that you don't have it set when X11 is not running.
If you set DISPLAY in one of your shell startup scripts, try to do it
*after* you call "source /sw/bin/init.csh". I remember finding this
surprisingly difficult, so I have something like the following in my
~/Library/init/tcsh/path file:

if ( $?DISPLAY ) then
  set OLDDISPLAY=$DISPLAY
  unsetenv DISPLAY
  source /sw/bin/init.csh
  setenv DISPLAY $OLDDISPLAY
else
  source /sw/bin/init.csh
endif

-- 
Martin

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to