Hi, Sylvain--

Ah! Thank you for everything!

All My Best,
Jeffrey


on 12/19/02 9:35 AM, Sylvain Cuaz at [EMAIL PROTECTED] wrote:

> 
> Le jeudi, 19 d�c 2002, � 18:10 Europe/Paris, Jeffrey Ellis a �crit :
> 
>> May I ask, will I have to setenv each time, or is there a way to
>> permanently
>> write that somewhere?
> 
> yes you could put the setenv line along the 'source /sw/bin/init.csh'
> in your .[t]cshrc.
> But beware that if you do that and XDarwin is not launched then you
> will have the reverse problem :
> 
> [alias:~] sylvain% setenv DISPLAY :0
> [alias:~] sylvain% emacs
> emacs: Cannot connect to X server :0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.
> 
> emacs tries to open the display :0 but there isn't one.
> So the easiest way is to launch X programs in xterm.
> 
> You could also write a script that launch XDarwin and set the DISPLAY
> var :
> 
> open /Applications/XDarwin.app && setenv DISPLAY :0
> 
> put this in a file where you want (eg in ~/bin/X.csh) then when you
> want to launch X simply do 'source  ~/bin/X.csh'
> DISPLAY will only be set in the Terminal where you sourced X.csh, you
> still would have to set it in other terminals.
> 
> 
> HTH
> 
> 
> --
> zauc
> 
> 



-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to