Well, I've spent some time thinking about this. I think it would be a good thing. Some caveats:
1. pd now writes "printout" to standard error; this would have to be sent to the TK layer and displayed there. I don't know how to do this in the most efficient possible way; maybe it's OK just to display a "text" widget and keep stuffing text into it.
2. Sometimes one will still want to run it from Pd; for instance, if no GUI is desired at all;
3. Someday there should be a way to open a Pd patch from a web browser. This shouldn't start up a whole new pd process but connect with an existing one, if one exists. I'm not sure how this should play out: whether the TK layer should handle this or the pd layer.
I'm thinking of implementing (3) (from the pd layer) sometime soonish.
cheers Miller
On Tue, Jul 13, 2004 at 09:16:48PM -0400, Mathieu Bouchard wrote:
On Tue, 13 Jul 2004, Hans-Christoph Steiner wrote:
I am working on making Pd behave like a proper MacOS X app and in order to do this, I have to make Wish Shell.app launch the pd process rather than the pd launching wish, as it currently does. I was wondering whether anyone has made any attempts at this and whether anyone has any advice about approaches or possible pitfalls.
I was going to do this a few months ago but I got sidetracked by several gallery shows in a row. I still plan to make a rather stable IMPD (0.37.B) by the end of the summer, probably the end of this month. All I want to do before 0.37.B is to correct bugs and refine existing features. _After_ 0.37.B, one of the first things I'll do is delete pd/src/t_tkcmd.c and rewrite a smaller version of it in pure Tcl (that would be inserted in u_main.tk).
Mathieu Bouchard http://artengine.ca/matju
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev