Emily Jackson wrote:

I would like to know if there is any way to get identical PATHs in both
Terminal.app and xterm.

This depends on how you start xterm. I didn't see in your message how you do it. There are several ways:


1. If you start the xterm from your Terminal.app window, it will inherit the environment variables from the latter.

2. If you start xterm from inside your ~/.xinitrc, it will inherit whatever PATH you define before you call it. The default PATH inside ~/.xinitrc is extremely poor, though.

3. If you start xterm from the Applications menu in X11.app, it inherits the environment of X11.app which is extremely poor, too.

In cases 2 and 3, you should always call xterm with the "-ls" option which runs a login shell inside it. This will read your standard shell startup scripts, so you end up basically with the same environment as in your Terminal.app windows. You will want to add a couple more options anyway, like "-sb -rightbar -sl 2000" to get something remotely usable.

The best option, however, if you don't need to run the xterm on a remote machine is, IMHO:

4. Do not run xterm at all. You can do anything you do with an xterm (except run it remotely) with the much more ergonomic Terminal.app window.

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to