Thank you, I think you are on the right track, but actually the string that gets printed DOES have the \n characters as can be seen from the monitor output in the OP. The \n that is thrown away is right at the end, the "\n"s within the "..." are retained but ignored, it seems.