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
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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Sorry, my fault I guess, i didn't test with -stderr... I can try to fix, but not before the end of the week.
Le lun. 23 août 2021 à 12:53, Christof Ressi info@christofressi.com a écrit :
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 listPd-dev@lists.iem.athttps://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev