----- Original Message ---- > From: Joey K Tuttle <[EMAIL PROTECTED]> > To: Programming forum <[email protected]> > Cc: J-programming forum <[email protected]> > Sent: Tuesday, June 17, 2008 12:09:53 PM > Subject: Re: [Jprogramming] J on Mac - versions of API calls for getting temp > dir > > Devon, > > I make a couple of changes to the j602 default distribution on my iMac - > > a) I put the j602 folder in /Applications (rather than user/home) > b) I change (as suggested in the template) j602/bin/profile.ijs > to have the system files to go into user/Documents/j602-user
Isn't the intent to create profilex.ijs (note "x") by using profile_template.ijs as the template. The intent is that with a new version profile.ijs is overwritten, which you keep profilex.ijs to yourself. (However, on Mac folder drop will replace whole content, so there is still a manual step. But at least you won't have to merge changes in profile.ijs.) > c) I make a a convenience alias for console e.g. > sudo ln -s /Applications/j602/bin/jconsole /usr/bin/ja > > This arrangement works for other users on the machine, keeps their > stuff in Documents (the normal place) and is MUCH cleaner than in > past releases. I also add in my own profile (with simple, very > ancient, personal verbs) at the end of the standard profile.ijs. I'm > really pleased with the flexibility and clean installation of j602 in > OSX. > > I find it very nice to use the Mac Preview application to view > Documents/j602-user/temp/plot.pdf and leaving that open on the > desktop while running ja (jconsole) in a terminal window, plots > appear automatically as you create them in the j session. One > advantage is that the rendering of the pdf file is smoother than the > normal j IDE - very pretty plots that scale beautifully. > > In profile_template.ijs it is suggested that you keep an eye on > SYSTEMFOLDERS_j_ which may contain the locations you want for temp > etc. > > - joey > > At 11:16 -0400 2008/06/17, Devon McCormick wrote: > >Members of the Forum - > > > >I've recently been getting my normal J environment to run on a Mac, with > >some success. I can run jconsole under emacs but have not yet figured out > >how to get jee to run so that I can use plotting, etc. from my emacs session > >manager. However, I'm still working on this, so I don't have a specific > >question yet. > > > >I have been pleased by the portability in most cases. The only real > >problem I noticed so far was with the few Windows API calls I use. So far, > >the only one that matters for my normal startup is the one that locates the > >default temp directory. It's easy enough to kludge this by hard-coding it > >in the Mac case but I was wondering what do other people do for the more > >general solution? > > > >Thanks, > > > >Devon > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
