[PD-dev] -stderr garbled

Christof Ressi info at christofressi.com
Mon Aug 23 12:53:18 CEST 2021


Hi,

in this commit, "print_anything()" and "print_list()" now (ab)uses the 
new "startlogpost()" function for printing individual pd atoms. However, 
for "-stderr" and custom printhooks this will accidentally print 
"verbose(2) " before each atom.

I would suggest to add another function "logatom()" - analogous to 
"postatom()" - which would only print the atom (without a newline) and 
omit the "verbose(N) " header.

Christof

On 23.08.2021 10:50, Roman Haefeli wrote:
> Hi
>
> Since f16dd5ec34 (I believe) everything printed to stderr is garbled.
> For instance, when doing:
>
> [list a b 12(
> |
> [print]
>
> in 'pd -stderr', I get:
>
> ~~~
> verbose(2): print: listverbose(2):  averbose(2):  bverbose(2):  12
> ~~~
>
> Without '-stderr', the print output looks fine in the Pd console.
>
> Roman
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20210823/aff56fec/attachment.htm>


More information about the Pd-dev mailing list