On Dec 17, 2007 10:27 AM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > On Dec 17, 2007, at 10:19 AM, Justin C. Walker wrote: > > > Hi, all, > > > > On Dec 17, 2007, at 08:48 , William Stein wrote: > > > >> There are now a lot of people using Sage on OSX who don't know > >> (much) about the command line, but who are maple/mathematica > >> users. When they try: > >> > >> sage: mathematica('2+2') > >> > >> they get a big error message about creating a "math" script, etc., > >> and similarly for Maple. > >> > >> It seems to me that instead of that big error, we could > >> *automatically* > >> track down Maple/Mathematica on their system and > >> create the script and put it in SAGE_ROOT/local/bin/. > >> > >> Thoughts? > > > > The trick is to locate the app. I know nothing about Maple, but for > > Mathematica, it should obey the "app rules". Of course, I don't > > know what they are either :-}, but at least I can try to track them > > down. > > > > FWIW, I see a very skanky way to do this, but it would just be wrong > > to that :-} > > > > I will see what I can dig up. In the meantime, on Mac OS X, does > > Maple install as "Maple.app", or is it a bunch of command-line > > programs tied together with scripts? > > IIRC, It's an .app, but inside the .app folder there's a executable > file "maple" that one can invoke from the command line works as one > would expect. On OS X one can use spotlight (also accessible from the > shell) to locate such things fairly rapidly. > > - Robert >
Here's the script I suggest in the error message for running Maple on OSX: rank4:Applications was$ more /Users/was/bin/maple #!/bin/sh /Library/Frameworks/Maple.framework/Versions/Current/bin/maple $@ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---