Hi All,
I am developing a program using the concept of pseudo master-slave terminal system to track the commands typed and the output.
I had been really successfull in implementing that.
The part that I find very difficult to analyze is the control characters that are produced as output.
like,
when i execute the command clear
in the prompt
i get a log of the command as clear
^[[v^[[H
and many control characters if I run cursor based programs
I would like to log only the characters without any control characters.
How to identify the pattern of control characters ?
Any help would be greatly appreciated ?
Thanks a lot for your help !!!
