No problem.

What you are doing works, too, except for applications that require
information about the PATH (e.g. emacs).  If you put an Application menu
entry with "/sw/bin/emacs" in it, emacs will run, but not be able to find
external applications, e.g. TeX or ispell.

If, on the other hand, you use "source /sw/bin/init.sh ; emacs"
(or ". /sw/bin/init.csh ; emacs" for sh purists), then it's the same
effect as when you open a terminal window:  the PATH, MANPATH, etc. get
set up, and emacs can find all of the external apps.

Note that it's "init.sh" rather than "init.csh" in this case, because the
system uses bash for its shell, rather than tcsh.

I'm not sure which applications other than emacs and Xemacs need you to do
this.

On Mon, 24 Mar 2003, Jason Knight wrote:

> In newbie terms, can you explain your comment? :)
> When setting up the application menu, I've just been entering the exact
> path to the app (for example, /sw/bin/freecell, for one of the
> embarrassingly more used shortcuts). Is this what you mean by "sourcing
> init.csh" ? Or am I just being very lucky that so seemingly obvious an
> entry has been working for the few shortcuts I've set up?
>
> Thanks
>
> J
> On Monday, March 24, 2003, at 10:12 AM, Alexander Hansen wrote:
>
> > 1)  It shouldn't be necessary, if your fink environment is set up
> > correctly:  this is only to run applications from the Apple X11
> > menubar.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Fink-beginners mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-beginners
>

--
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to