Subject: mailing-list for TeXmacs Users
List archive
From : slelievre <address@hidden>- To: address@hidden
- Subject: Re: maxima (was :Re: [TeXmacs] session maxima; session tableur ?)
- Date: Mon, 27 Jun 2011 23:13:48 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=xiICHiPiEHaRvyG1DLH8hHJU1m6PgC+OJcgb4wsJhUnGEUP67o/zS6rq9jlO1JImA2 aO+wSmOtnGx4pa7CVN371n4q4FlStWnvg/jLEIiraqN2SmKrt12S/fdhJrV8fpqLGpTj nuoiIQv3jDUW/7EeKnC6d20f3PlIVh4lyiOX0=
2011-06-27 El.Douwen:
>
> hi everyone
> invisibles on mac os X
> if a beginner like me has to work with hidden files, the better i found at
> the moment is TinkerTool "make the invisibles visibles" and then you can
> edit the bash_profile in the ~/ folder (icon with little home) with
> textedit.
> modifying $PATH
> in this file (bash_profile) i have written on a new line :
>
> export PATH=$PATH:/Applications/Maxima.app/Contents/Resources/
>
> now if i type "maxima.sh" in a terminal window, it laucnhes maxima in the
> temrinal window
> but in this "Resources" there is no "maxima" only "maxima.sh"
> so if i type "maxima" alone (without .sh) in a terminal window it says
> /usr/local/bin/maxima: line 10: /usr/local/bin/maxima//bin/maxima: Not a
> directory
> /usr/local/bin/maxima: line 10: exec: /usr/local/bin/maxima//bin/maxima:
> cannot execute: Not a directory
> alias
> so i created an alias of this maxima.sh with this instruction :
> sudo ln -s /Applications/Maxima.app/Contents/Resources/maxima.sh ~/Desktop/
> i would then put this alias in Applications/Maxima.app/Contents/Resources/
> but this alias has for name "maxima.sh" and this extension appeals not to me
> since i guess that TeXmacs can not lauch maxima because terminal can not
> launch maxima with the instruction "maxima" alone
> as i can not tell TeXmacs (or dont know how to do) that the real name of
> maxima should be "maxima.sh", i assume i must rename the alias "maxima.sh"
> into "maxima"
> but the finder lets me not do this, and not even modify the authorizations
> so i swim in the terminal help to learn about the instruction "rename"
> it says "rename old_name new_name"
> i type rename /Users/elodouwen/Desktop/maxima.sh
> /Users/elodouwen/Desktop/maxima
> it answers
> -bash: rename: command not found
> so…
You can produce the symlink next to the original maxima.sh and choose
its name all at once:
cd /Applications/Maxima.app/Contents/Resources/
sudo ln -s maxima.sh maxima
Otherwise you could put the alias in /usr/local/bin (it's a folder
which contains other syminks to binaries, and it's already in your
path) and you wouldn't have to put
"/Applications/Maxima.app/Contents/Resources/" in your path. Like
this:
cd /Applications/Maxima.app/Contents/Resources/
sudo ln -s maxima.sh /usr/local/bin/maxima
> so i think, maybe i leave the idea of running maxima under mac os X's
> teXmacs
Don't give up, you're almost there!
Samuel
- maxima (was :Re: [TeXmacs] session maxima; session tableur ?), El.Douwen, 06/27/2011
- Re: maxima (was :Re: [TeXmacs] session maxima; session tableur ?), slelievre, 06/27/2011
Archive powered by MHonArc 2.6.19.