Has anyone ever attempted to make Tcl/Wish Shell use a Tcl console instead of a terminal for all of the messages that Pd dumps out? I think that using the Tcl console would make Pd seem much more like a single app, since the Tcl console window is tied to the Tcl/Wish Shell, which the terminal/cmd.exe is not.
.hc
I've tried, but I can't figure out how, in Windows at least, to suppress the terminal window altogether, and without being able to do that there seems little reason to redirect the output to the one window over the other. Plus, I'm convinced throwing the output on the terminal is more efficient than anything I could get running in Tk without hacking into the native window systems...
cheers Miller
On Fri, Aug 29, 2003 at 11:51:55AM -0400, Hans-Christoph Steiner wrote:
Has anyone ever attempted to make Tcl/Wish Shell use a Tcl console instead of a terminal for all of the messages that Pd dumps out? I think that using the Tcl console would make Pd seem much more like a single app, since the Tcl console window is tied to the Tcl/Wish Shell, which the terminal/cmd.exe is not.
.hc
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev
You can use WinMain() as the entry point instead of main(). You'll have to tokenize the command line string and use GetModuleFileName() to get the path to the executable file for argv[0]. I'll need to do this soon for Pd-VST anyway.
Joe jsarlo@ucsd.edu
I've tried, but I can't figure out how, in Windows at least, to suppress the terminal window altogether, and without being able to do that there
seems
little reason to redirect the output to the one window over the other. Plus, I'm convinced throwing the output on the terminal is more efficient than anything I could get running in Tk without hacking into the native window systems...
I've tried, but I can't figure out how, in Windows at least, to suppress the terminal window altogether, and without being able to do that there
seems
little reason to redirect the output to the one window over the other. Plus, I'm convinced throwing the output on the terminal is more efficient than anything I could get running in Tk without hacking into the native window systems...
As already brought up some time ago, there should be a way to redirect the console posts. Why not make PD a native Windows application (as opposed to a console application) then? I think that way also the "MIDI in active, don't close the console window" thing disappears.
best greetings, Thomas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 31 Août 2003 11:18, Thomas Grill a écrit :
Why not make PD a native Windows application (as opposed to a console application) then?
Because of cross-platform solidarity.
- -- Marc