I am using jsch to output ssh from the local ssh server.
When I show the output in a text box, I get all this strange line in the output, for example:
] 0; ~ / rails_sites / rex_raid
[32mRob @shinchanii [33m ~ / rails_sites / rex_raid [0m
I assume that [33m and [0m mark the beginning of a new color or something else] 0; ~ marks a new line
How can I get rid of these errors when parsing the output for these lines?
Here is an example (not from me) what my output looks like:
http://www.google.de/codesearch#048v6jEeHAU/typescript&q=%5D0;~&l=1
source share