[erlang-questions] ansi control codes in the shell.

mog mog-lists@REDACTED
Tue Jun 17 01:15:22 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi in adding clear option to shell, I also wanted to add ANSI color
codes, it seems through out Erlang there is escaping of any control
character.  It was easy to fix i just added 27 (ESC) as a visible char
in ttsl_drv.c .  This was easy and worked great, however I see that
ssh libraries are checking for this too and I can imagine where else
it might be as well.  I was wondering if anyone else thinks color
printing would be nice to add to shell in ssh interface, and should I
submit these patches to Erlang-bugs?  I only ask as it seems very much
the Erlang team's decision to filter out/ escape these escape sequences.

Mog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIVvQIeq+tARrxhnsRAgDVAJ4zxLfUSryNVHUvEvJ1bOfZPStpxACgpNH4
ASiOF62nM11GRDdRYZaGMUY=
=L/S4
-----END PGP SIGNATURE-----




More information about the erlang-questions mailing list