Re: [PD] sdtout converts symbol with space to list
hi guys, Thanks for your tips. Finally the workaround i choosed is to not use [stdout]... In fact i need to get and set properties of a [pix_video] embedded in a [pd~] and I was forwarding pix_video outlet to the main patch through [stdout] which leads to disaster with symbols with space... Actually, i made another [pix_video] instance in the main patch outside the rendering chain, just to get and set properties. It's linked to the embedded one (just to use the same driver/device). it seems to work for now... cheers a. -- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter 2012/2/7 Mathieu Bouchard ma...@artengine.ca Le 2012-02-07 à 17:08:00, Cyrille Henry a écrit : pd did not have any escape character to deal with space. this is a generic problem more than a bug. The parser knows how to parse backslash space to mean a space within a symbol, but the printer doesn't handle it. Additionally, third-party parsers in other languages don't support blackslash space, except the one I wrote in Tcl. so, you should find dirty hack to avoid problem. if you have only a symbol, then it's not a problem to split it to a list and make back a symbol thanks to symbol2list and list2symbol. Il y a aussi [#import] et/ou [#sprintf], avec [#to_l], pour faire des listes d'octets. __**__** __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sdtout converts symbol with space to list
Le 2012-02-07 à 16:35:00, Antoine Villeret a écrit : should this be reported as bug ? Oui. is there a generic workaround for that ? Soit les détours sont tortueux, soit ils impliquent de ne pas utiliser d'espaces. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sdtout converts symbol with space to list
Le 2012-02-07 à 17:08:00, Cyrille Henry a écrit : pd did not have any escape character to deal with space. this is a generic problem more than a bug. The parser knows how to parse backslash space to mean a space within a symbol, but the printer doesn't handle it. Additionally, third-party parsers in other languages don't support blackslash space, except the one I wrote in Tcl. so, you should find dirty hack to avoid problem. if you have only a symbol, then it's not a problem to split it to a list and make back a symbol thanks to symbol2list and list2symbol. Il y a aussi [#import] et/ou [#sprintf], avec [#to_l], pour faire des listes d'octets. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sdtout converts symbol with space to list
On Tue, Feb 07, 2012 at 11:24:13AM -0500, Mathieu Bouchard wrote: Le 2012-02-07 à 17:08:00, Cyrille Henry a écrit : pd did not have any escape character to deal with space. this is a generic problem more than a bug. The parser knows how to parse backslash space to mean a space within a symbol, but the printer doesn't handle it. [stdout] does handle spaces in symbols, but not in combination with the [t a] in front of it, only when it receives the spaced-out symbol directly. I guess there is something shady with [stdout]'s anything-method going on. Ciao -- Frank BarknechtDo You RjDj.me? _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list