[PD] symbols with zero paddings and spaces

Christof Ressi info at christofressi.com
Thu Mar 18 14:30:20 CET 2021


> I think it should work using "normal" escaping mechanisms
The shell does all the escaping it needs to do before passing the 
argument string vector to the program (in Oliver's case the 'echo' program).
> ie. "quoted" strings end up as symbols in Pd.
pdsend gets its messages from stdin, which is an character *stream* that 
has no notions of tokens. So the only option is to use Pd's own escape 
sequences.

Christof

On 18.03.2021 13:18, Dan Wilcox wrote:
> My thoughts too. I think it should work using "normal" escaping 
> mechanisms on the command line and lead to predictable results, ie. 
> "quoted" strings end up as symbols in Pd.
>
> The fault could also lie in pesend which should do the escaping before 
> sending as well.
>
>> On Mar 18, 2021, at 10:29 AM, pd-list-request at lists.iem.at 
>> <mailto:pd-list-request at lists.iem.at> wrote:
>>
>> Message: 2
>> Date: Thu, 18 Mar 2021 09:18:32 +0100
>> From: IOhannes m zmoelnig <zmoelnig at iem.at <mailto:zmoelnig at iem.at>>
>> To:pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>
>> Subject: Re: [PD] symbols with zero paddings and spaces
>> Message-ID: <c5b2daaf-2979-dac5-aa5c-d800b282cf6b at iem.at 
>> <mailto:c5b2daaf-2979-dac5-aa5c-d800b282cf6b at iem.at>>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> On 3/17/21 2:25 PM, Christof Ressi wrote:
>>>
>>> Note the different position of the backslash! I'm not sure if this
>>> particular escaping behavior is actually intended or just works by
>>> chance... Generally, it would be great to document Pd's string escaping,
>>> because it is not entirely obvious.
>>
>>
>> something like that was reported as
>> https://github.com/pure-data/pure-data/issues/1277 
>> <https://github.com/pure-data/pure-data/issues/1277>
>>
>> i'm pretty convinced that the backslash escaping of numbers to force
>> them to symbols is accidental and should not be relied on.
>> whenever i find the time, i would like to fix this bug.
>>
>>
>> gfmdasr
>> IOhannes
>
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com>
> robotcowboy.com <http://robotcowboy.com>
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210318/95903be6/attachment-0001.htm>


More information about the Pd-list mailing list