[erlang-questions] user_drv cannot properly print new lines
Thu Aug 9 19:07:06 CEST 2012
If I run the following command:
$ erl -noinput -s user_drv
And then try to send any io message to the user process, the message
1> io:format(user, "foo\nbar\nbaz", ).
However, sending the message to io makes it appear correctly:
2> io:format(standard_io, "foo\nbar\nbaz", ).
This becomes a major problem when printing error logger messages to tty,
which become completely unreadable.
I have found out this issue when starting an Elixir shell with user_drv.
The issue also appears with LFE and any other time user_drv is started
Does anyone know a fix to this problem or how I could debug it further?
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions