Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  ansi control codes in the shell.

Guest
Posted: Mon Jun 16, 2008 11:19 pm Reply with quote
Guest
-----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-----

_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum