How StripANSI() works? - WeOnlyDo Discussion board

How StripANSI() works? (wodSSH / wodSSH.NET)

by kevin, Tuesday, October 11, 2016, 08:06 (2726 days ago)

http://www.weonlydo.com/SSH/Help/wodSSH-Object-StripANSI-property.html
Related introduction:
This property will help you remove those sequences so that you can receive raw data - which was your intention in the first place. It will also remove NULL characters from incoming data. If you want to remove only NULL characters, use StripNull property instead.


Is it means wodSSH only remove ANSI characters, not responses it?
Note: "responses" means wodSSH response to the control characters, E.g.: ASNI:backspace or VT100.

Thanks,

How StripANSI() works?

by Jasmine, Tuesday, October 11, 2016, 09:54 (2725 days ago) @ kevin

Hi Kevin.

StripANSI removes all ANSI sequences that come from remote server, without going into their interpretation. wodSSH doesn't care if it's request or response - if it's ANSI it's stripped out.

I hope this helps!
Jasmine.