[PD-dev] -guiport vs other arguments

Hans-Christoph Steiner hans at eds.org
Wed Jan 14 17:09:22 CET 2009


Hmm, yeah, sorry, got nabbed by a Tcl gotcha.  This is how I learned  
that a variable named "args" has special meaning in Tcl.  So it was  
sticking in {} to quote things...

.hc

On Jan 13, 2009, at 10:36 AM, Miller Puckette wrote:

> Hmm, works fr me...  (from wish this time...)
>
> %  exec -- /home/msp/pd/bin/pd  -stderr -guiport  6000 &
> 2320
> % connecting stream socket: Connection refused (111)
>
>
> On Tue, Jan 13, 2009 at 12:35:10AM -0500, Hans-Christoph Steiner  
> wrote:
>>
>> I mean if I exec pd from Tcl with more arguments than just "-guiport
>> 5600", I get the output of -help and then pd quits.   so say like  
>> this:
>>
>> exec -- $pd_exec -stderr -guiport $portnumber &
>>
>> .hc
>>
>> On Jan 12, 2009, at 7:27 PM, Miller Puckette wrote:
>>
>>> Hmm, over here it does this:
>>>
>>> [msp at slash src]$ pd -guiport 5600
>>> connecting stream socket: Connection refused (111)
>>> [msp at slash src]$
>>>
>>> This seems correct, since there wasn't anybody listening on port  
>>> 5600.
>>> cheers
>>> Miller
>>>
>>> On Mon, Jan 12, 2009 at 07:15:48PM -0500, Hans-Christoph Steiner
>>> wrote:
>>>>
>>>> So I have startup in both directions working,  ('pd.tk' starts  
>>>> 'pd',
>>>> and 'pd' starts 'pd.tk').  This means you can choose which wish  
>>>> shell
>>>> to use on any platform, and it'll use that one.  Here's how:
>>>>
>>>> wish /path/to/pd.tk
>>>>
>>>> This means you can easily use any 'wish' and run Pd with it. It  
>>>> also
>>>> makes it possible on Mac OS X to run pd in the Pd.app Aqua GUI, or
>>>> run
>>>> it in the wish X11 GUI.   Hopefully it makes the code cleaner too,
>>>> much fewer #ifdefs.
>>>>
>>>> Now I have a question: it seems that if I start 'pd' with -guiport,
>>>> then it seems to ignore any other command line arguments and dumps
>>>> the
>>>> '-help' text.  Any reason why it shouldn't be possible to use -
>>>> guiport
>>>> with all the rest of the options?  Anyone know how to do this? :D
>>>>
>>>> .hc
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>> "[T]he greatest purveyor of violence in the world today [is] my own
>>>> government." - Martin Luther King, Jr.
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-dev mailing list
>>>> Pd-dev at iem.at
>>>> http://lists.puredata.info/listinfo/pd-dev
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>> There is no way to peace, peace is the way.       -A.J. Muste
>>



----------------------------------------------------------------------------

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli






More information about the Pd-dev mailing list