Re: running from Terminal
Re: running from Terminal
- Subject: Re: running from Terminal
- From: Markian Hlynka <email@hidden>
- Date: Thu, 30 Jan 2003 10:43:35 -0700 (MST)
Also sprach Robin Goldman:
>
> New to this list, so sorry if this is a re-post.
>
> I used to be able to run all my apps from the Terminal window as long
> as I had OroborOSX (and XDarwin) running. I can't seem to do this with
> X11... is there a way to?
yes. I had this problem too. The problem is that Apple's X11 installer
somehow sets the path for an xterm, but does not change the path for
your terminal. I recommend listing your path in the xterm (echo $PATH)
and then setting your terminal path to match. To modify the default
path for all users, edit the file /etc/csh.login. To do it only for
one user, modify ~/.cshrc
I'm not sure what other files you might modify instead if you're not
running a c-style shell.
I'd also be very interested to hear the explanation as to what exactly
the X11 installer is doing that this happens. ie, what PATH variables
is it changing, if not the ones listed above? what config file are
they in?
Markian
PS: if you are using csh or equivalent, the line in your cshrc file
looks something like
setenv PATH
"${PATH}:.:/sw/bin:/sw/sbin:/bin:/usr/local/bin:usr/local/sbin:/usr/X11R6/bin:"
This means that you are appending stuff to your PATH, not replacing
it. I trust I'll be corrected if I got anything wrong!
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.