Contrarily to pdfTeX and XeTeX, which send ^^M
to the terminal for the character 13
, LuaTeX sends the character 13
itself. This garbles the output of my terminal (bash under Ubuntu 10.04).
\edef\foo{\string\^^M}
\message{\meaning\foo ab}
gives
abcro:->\
i.e., the same as
macro:->\
ab
but smashed into a single line. How can I tell LuaTeX to output ^^M
instead?
^^M
was displayed in my particular terminal. I'll submit a bug report. – Bruno Le Floch Jul 31 '12 at 20:01