|
From: <tim...@en...> - 2006-11-18 23:54:29
|
Joe Koski wrote: > on 11/18/06 10:09 AM, Mojca Miklavec at moj...@gm... > wrote: > > =20 >> On 11/18/06, Timoth=E9e Lecomte wrote: >> =20 >>> Mojca Miklavec wrote: >>> =20 >>>> However, there remain some problems. It seems to run OK, but when I >>>> click on the window with plot an icon appears (as if there was some >>>> action in the background which has to be finished first - an >>>> equivalent to "sand-watch" in windows or linux), so there are proble= ms >>>> with "interactivity" of that window. Plotting works OK. >>>> >>>> =20 >>> I am sorry to ask but, as you are not giving any precision about it : >>> Have you bundled it ? >>> =20 >> Sorry, I should have replied to that as well. I "bundled" it in a way >> that it looks like a nice application on desktop with a nice icon, and >> running ./gnuplot.app/[whatever is here]/gnuplot from terminal works >> OK, but when I click on it or call "open gnuplot.app" nothing happens >> (I would expect that a terminal window would open automatically just >> as it does under windows). >> >> Apart from that: someone would have to build it in a way that would >> work on both types of processors and not in such a way that one would >> need to have fink installed in order to have a working application >> etc. >> >> =20 >>> If no, then you need to do it. >>> If yes, then it would mean bundling is not enough and we need to >>> investigate further. >>> =20 >> I doubt that proper bundling would resolve that problem. >> >> (I'm probably way too green to be of any help anyway. I just came from >> "Windows word".) >> >> Mojca >> =20 > > Mojca, > > I had the same concern about the lack of a terminal window for gnuplot.= I > haven't bundled mine yet, but when I do, I'll try to build an AppleScri= pt > that starts something like iTerm (http://iterm.sourceforge.net/), and t= hen > starts gnuplot within the iTerm window. Something like that is probably > necessary on a Mac. For other applications like maxima and octave, the > ./gnuplot approach is probably OK. > > Joe > > =20 Again, I'm not a Mac expert since I don't have any, but the way I=20 understand things, you need to start gnuplot from a terminal, iTerm or=20 whatever terminal it is. That's independent from the backend that=20 gnuplot uses to plot, which can wxWidgets, aquaterm, or whatever=20 graphics system (correct me if I'm wrong). Isn't there a default terminal with MacOS ? How do you start octave or=20 maxima on MacOS for example ? The wxWidgets guys told me repeateadly that bundling is absolutely=20 needed when you build a wxMac application on MacOS, otherwise you=20 precisely don't get the focus. There must be some MacOS-magic that=20 recognises the directory structure and the Info.plist file and handles=20 that as a GUI application. Best regards, Timoth=E9e |