Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: How to remove special characters in expet_out(buffer)

7 views
Skip to first unread message

Rich

unread,
Jul 14, 2015, 10:37:21 PM7/14/15
to
rajesh...@gmail.com wrote:
> Hi,

> I see lot of special characters(may be control characters too) in expect_out(bugger).

> For example:

> ^[[0;32mIn [^[[1;32m2^[[0;32m]: ^[[0m

Those are terminal control codes. I.e., ^[[0;32m is reset all
attributes and then set green foreground color. Look here for more
info: http://www.termsys.demon.co.uk/vtansi.htm

0 new messages