Re: [Cs-dev] fltk 1.1.6
Date | 2005-10-08 12:57 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] fltk 1.1.6 |
The only time I used X displays with OSX was when running a XFree86 server (darwin-xfree86). FLTK might be made to work with this. But it's awkward, as you have to have the extra X server running on the machine, making the whole thing probably even slower. I don't know anything about OSX support X-windows applications transparently without a separate X-server. Perhaps you can explain how it works (if it's indeed the case). Victor > > Victor Lazzarini wrote: > > > Another quirky thing with OSX is that when running > > csound through a graphic frontend (such as a > > Tk-interpreter-based), widgets work but without any > > screen update (the controls do not change appearance, > > but work 'blindly'). It appears to have > > something to do with Acqua not being aware of the > > widgets. The windows can be moved, so it's even more > > complicated... I wished OSX just provided a > straightforward X display. > > So what's not straightforward about the X display OS X > provides? I don't think anybody's tried it with CSound, > but it must surely be possible. It looks like there's a > --with-x configure option for FLTK. Where else does > CSound know about Quartz? > > > Graham > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, > downloads, discussions, and more. > http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-08 15:50 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] fltk 1.1.6 |
Apple has been providing their own X server with 10.3 and 10.4 as an optional install. While the server itself is open source, the Quartz window manager is not. So, it will not work on older OS X versions. (There was a beta for 10.2 but Apple now prohibits its redistribution). I too wish that there was an easy X windows solution for ALL OS X users. But, if you are lucky enough to have 10.3+, just look for the optional installer package on your OS discs. Anthony Kozar anthonykozar AT sbcglobal DOT net http://akozar.spymac.net/ Victor Lazzarini wrote on 10/8/05 7:57 AM: > I don't know anything about OSX support X-windows > applications > transparently without a separate X-server. Perhaps you > can explain how it works (if it's indeed the case). ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-10-08 18:27 |
From | Graham Breed |
Subject | Re: [Cs-dev] fltk 1.1.6 |
Victor Lazzarini wrote: > The only time I used X displays with OSX was when > running a XFree86 server (darwin-xfree86). FLTK might > be made to work with this. But it's awkward, as you have > to have the extra X server running on the machine, making > the whole thing probably even slower. My feeling is that X applications run faster than Aqua ones. There seems to be a huge memory overhead with the Quartz system. One application running in X11 won't fix this, but move a few over and I think it improves. Trouble is, it's all subjective, given that I don't trust top. > I don't know anything about OSX support X-windows > applications > transparently without a separate X-server. Perhaps you > can explain how it works (if it's indeed the case). For Tiger, you have to install X11 from one of the CDs. Naturally, if you aren't coming from UNIX you're unlikely to have done this but it isn't difficult. Once it's installed, you have an X Windows subsystem that can run in rootless mode. If you run CSound from an xterm, it should work pretty seamlessly. Launching an X application from the usual Terminal is more problematic. The only way I know that works is to call "open-x11" with the name of the application. It doesn't pass along the rest of the command line :( Embedding X widgets in an Aqua application isn't going to work. The whole X Windows system works as a single application. By default it launches with an xterm, so it's like the application is xterm. Apple's window manager looks like Aqua, but doesn't behave quite right. You can also run any other window manager (provided you can install it) and it manages the X windows as, er, I suppose you'd expect. That means writing a .xinitrc file. The Apple window manager also tries to synchronize the clipboards, which I found never quite worked. You can run X11 as a full screen application. This is where it becomes really annoying to use the current Csound widgets, because the whole X11 desktop disappears so that it can display the Aqua window, and it doesn't come back when Csound exits. The weirdest problem I've had is that the Xauthority defaults to the network name of your machine. When it connects to the internet, the machine name changes and so you can't open any X windows until you disconnect. It's simple to fix provided you know what you're doing (which the average user shouldn't). I think that's the only problem you'd have in running Csound, and only if you connect to a network after you launch the X11 application. Graham ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |