Re: X11 article, for review (take 2)
Re: X11 article, for review (take 2)
- Subject: Re: X11 article, for review (take 2)
- From: Colin A Smith <email@hidden>
- Date: Mon, 31 Mar 2003 14:26:41 -0500
- Priority: normal
Regarding the whole X11/Terminal/Emacs discussion, this is the line I use in my .cshrc file:
if ( `ps -U $USER | grep X11.app | grep -cv grep` && ! $?DISPLAY ) setenv DISPLAY :0.0
It's a bit long and convoluted. (Perhaps some command line jocks out there could help me shorten it.) It basically checks to see whether the active user is running X11.app before setting the DISPLAY variable.
That line may be a bit long for your article but I think it's just about the best solution.
-Colin
--
Colin Alexander Smith
email@hidden
_______________________________________________
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.