Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
StripANSI property
Automatically removes ANSI codes from received data.
Type
A Boolean value. When set to True, wodSSH will remove all ANSI code from received data.Syntax
- Basic
object.StripANSI [= value]
The StripANSI(object,value) syntax has these parts:
The StripANSI(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
value | A Boolean value. |
Remarks
The StripANSI property defines if wodSSH should remove all ANSI escape sequences from incoming data. Since wodSSH does not have it's own GUI, these sequences may just be getting in the way while receiving regular data.A good example is RedHat 7.1 Linux, which sends these codes immediately after you login. After you send 2 bytes of the command, it replies with a new ANSI code to move the cursor. When file listing is requested, it is formatted with ANSI codes - and this may NOT be what you wanted in the first place.
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.