[erlang-questions] Carriage Return

Tom Burdick thomas.burdick@REDACTED
Fri May 18 22:13:38 CEST 2012


So after hunting around in otp source code I found this little gem,

erts/emulator/sys/unix/sys.c:    erts_printf_add_cr_to_stdout = 1;
erts/emulator/sys/unix/sys.c:    erts_printf_add_cr_to_stderr = 1;

Is there any particular reason this is left to this day? It makes
working with ports on linux rather annoying when they print out their
stack traces and other things.

I can always build a custom erl for myself without this but would that
break other things?

Thanks!

Tom



More information about the erlang-questions mailing list