[OS X TeX] X11

Ettore Aldrovandi ealdrov at zeno.math.fsu.edu
Sat May 28 09:46:39 EDT 2005


On Sat, May 28, 2005 at 11:38:05AM +0200, Peter Breitfeld wrote:
> 
> export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)
> 
> No login-shells, interactive shells and X11's xterm know the PATH as 
> well as Carbon-Emacs.

An elegant solution.  Setting .MacOSX/environment.plist takes
care not only of X11.app but also, among other things,
Carbon-Emacs, as you mention.

The problem with .MacOSX/environment.plist is that it relies on
the user to set it up in the appropriate way.  Gerben wants a
system-wide solution for X11.app--and he's right.  That's way I
also suggested to edit /etc/X11/xinit/xinitrc. The question is,
if a user has set  a .xinitrc, then will the global one be
executed? I haven't checked this.

On the other hand, here is a kludge.  Open X11.app with 
open -a X11 
from the command line. This way it will inherit the correct
environment. Works for carbon-emacs too. No need to modify other
files.

Another system-wide kludge is the following.  Force each xterm to
run a login shell by setting the appropriate resource in
/etc/X11/app-defaults.
-- 
Ettore Aldrovandi
Department of Mathematics	http://www.math.fsu.edu/~ealdrov
Florida State University	      aldrovandi at math.fsu.edu
Tallahassee, FL 32306-4510, USA	   +1 (850) 644-9717 (FAX: 4053)
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list