[PD] pd 0.38 printing to shell

Hans-Christoph Steiner hans at eds.org
Fri Jul 15 19:37:04 CEST 2005


On Jul 14, 2005, at 8:10 AM, IOhannes m zmoelnig wrote:

> Miller Puckette wrote:
>> I think you just undefine MSW in s_entry.c (so that it makes a main()
>> routine instead of a WinMain()).. Run with the -stderr flag and  
>> presto.
>> Is there enough need for this that I should supply a "pd-console"  
>> version in the standard release?  I can't decide...
>
> i support sven, as i think that having a console version is important  
> even on windows.
>
> after some investigation (i think i've posted in to the tracker a  
> while ago) it seems that the most "standard" way to do this, is by  
> creating 2 applications, one pd.exe (being the windows version) and  
> one pd.com (console version); this hack is even used by M$ themselves.
>
> for some weird historic reasons, the DOS-box still prefers .com over  
> .exe, so if you type "pd" (supposed that you have set the paths  
> right), you will automatically get the console-version, which i think  
> is ok, as you are running pd from the DOS-box anyhow.
>
> all links to the application,... would go to the pd.exe, which has no  
> console support.

I think a flag is a muuuuch cleaner way to do this.  What's wrong with  
-stderr?

.hc

________________________________________________________________________ 
____

"Information wants to be free."
                                      -Stewart Brand





More information about the Pd-list mailing list