Hi Thorsten, and thanks for your solution!
no, you’ve discovered you did not read the manpage ☺
I did read it, but I didn't understand it...! Adding the \r and surrounding all escape sequences with \1 solves my problem, but I don't understand why (?).
Best regards, John