On Dec 17, 2007, at 10:27 , Robert Bradshaw wrote:
> > On Dec 17, 2007, at 10:19 AM, Justin C. Walker wrote: [snip] >> 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. All .apps use more or less the same structure (a variant of a 'bundle', I think): Contents MacOS Executables ... Once the app is located, given that you know something about what it's bundle contains, you can run the appropriate executable. There are tracks that one can follow to get to the .app bundle, but the ones I have found are 'circumstantial' and should be viewed with suspicion :-}. I'd like to have a sure-fire way to locate the app, rather than spend time pawing through old config files and trying things out until one works. The Finder has a database to let it associate a document with an app, so that when you double-click a document, the proper app gets launched. I don't know yet whether that's an available API, or just something that Apple keeps locked in the Finder source. Justin -- They said it couldn't be done, but sometimes, it doesn't work out that way. - Casey Stengel -- --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---