I have discovered something that seems odd. Maybe it's working as intended but it results in a lot of spurious diff mismatches for me.
When I run cpu without a Pty (i.e. by middle clicking in Acme / Edwood), command results do not contain \r characters. I.e.:
cpu -namespace $_h helios4 echo hello | od -c
0000000 h e l l o \n
0000006
But when I run cpu with a Pty (i.e. by typing in a conventional terminal, it does contain \r as part of the line endings. I.e.:
; cpu -namespace $_h helios4 echo hello | od -c
0000000 h e l l o \r \n
0000007