Re: Once again, X11.app bugs
Re: Once again, X11.app bugs
- Subject: Re: Once again, X11.app bugs
- From: Jonathan Mckeown <email@hidden>
- Date: Tue, 13 Jan 2004 11:01:48 +1300
Sean Ahern wrote
Just a word of warning - setting DISPLAY in your "dot" files can bite you in
any number of ways, as shown above. It's almost always a bad idea.
Case in point: sshing into a box, so as to run an X11 client remotely from
it. If that box's dotfiles set DISPLAY, you will override the ssh-provided
DISPLAY, frustrating your attempts to run the client remotely.
You have been warned! :-)
Just use an 'if' to check that DISPLAY is not already set to value, like
this:
if (! $?DISPLAY) then
setenv DISPLAY :0.0
endif
Jonathan Mckeown.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.