how to filter out funny (Escape charaters)

Posted by cityprince143 on 2014-03-23 20:50
Forums: Expect discussion | OS: Windows 7

I have written an application in Tcl-Expect which spawns minicom and
sends and receives data via the serial port. Sometimes i see that the
application receives control characters along with human readable data.
A search on the internet tells me that the control characters are
nothing but the VT terminal codes. However i could not find a solution
to filter out the terminal codes.

I am attaching a sample of the expected buffer and the actual buffer.

PFA

Thanks a lot

Regards
Ashok

AttachmentSize
Help.txt459 bytes