Brian Beckage <[EMAIL PROTECTED]> writes:

>    The first 'problem' that I noticed is that when I launch xemacs from
>    the terminal window, a new xemacs window/buffer does not appear with
>    the GUI.  So I guess that perhaps this is related to using a terminal
>    window instead of an X11 window and so I try launching xemacs from an
>    X11 window.  xemacs is not found and NONE of the fink installations
>    are even in the search path:
>
>    echo $PATH from the X11 window gives
>
>     (/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin)
>
>    while echo $PATH from the terminal window gives
>
>    (/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin).
>
>    I'm using the bash shell and the .profile file has only the line:
>
>    test -r /sw/bin/init.sh && . /sw/bin/init.sh
>
>    Why do the X11 and terminal windows have different search paths?

Terminal.app starts a login shell while XTerm starts an non login
shell. The .profile file is sourced only by login shells, not by 
non login shells (see bash man page). Try to create a .bashrc file 
containting the same lines than you .profile shell.

Alternatively, you can put everything in your .bashrc and make a
.profile file containing only "source ~/.bashrc"

Sébastien




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to