[erlang-questions] ANSI escape sequences in the erlang shell
Thu Apr 2 15:36:39 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Andrew Thompson wrote:
> Is there a reason the erlang shell is making my attempts to print ANSI
> escape sequences (specifically the color codes) fail? I've tried
> io:format with both \e, inlining the ctrl-esc manually (using
> ctrl-v in vim) and using \033 (the ASCII octal code for the escape).
> None of these get me color in the shell, I just see the ^[[31m or
> It was my impression that the terminal caught those sequences and
> converted them to color codes - what is the shell doing to the control
> sequences that's preventing them from working?
It is at least working for me when I'm using -noshell and -run.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the erlang-questions