Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodTelnetDLX
- Methods
- Properties
- Authentication
- AutoSize
- BackColor
- BackLog
- BindIP
- BindPort
- Blocking
- BorderVisible
- Certificate
- CharEncoding
- Column
- Columns
- ColWidth
- Command
- ContextMenu
- CursorHeight
- DataOut
- DataReady
- Enabled
- ErrorText
- ExitSignal
- ExitStatus
- Font
- ForeColor
- HandleSysKeys
- Hostname
- hWnd
- KeepAlives
- Language
- LastError
- LocalCertBag
- Login
- MousePointer
- MouseWheel
- MyHostname
- MyIP
- Notification
- Password
- Picture
- Port
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RecordMode
- RemoteIdentification
- Row
- RowHeight
- Rows
- ScrollBars
- ScrollX
- ScrollY
- SecureMethod
- SelectedText
- ShowCursor
- Socket
- SpecialKeyFocus
- State
- StateText
- StripANSI
- StripColors
- TabStop
- TelnetOption
- TerminalEmulation
- TerminalType
- Text
- Timeout
- TranslateSpecial
- UseIPv6
- Version
- Events
- IwodTelnetNotify
- wodTelnetDLX
- How to get support?
- Technical information
- Fast notifications interface
- Error list
StripANSI property
Automatically removes ANSI codes from received data.
Type
BooleanSyntax
- Basic
object.StripANSI [= value]
The StripANSI(object) syntax has these parts:
The StripANSI(object) syntax has these parts:
object | An expression evaluating to an object of type wodTelnetDLX |
Remarks
Newer servers (such as Redhat 6.1) will internally use vt100 emulation by all means - thus sending you escape sequences for virtually anything, even for displaying rows when you list remote directories.. This may be a bit of pain to remove since it's not what you expect to receive - plain data you needed is 'garbled' with ANSI sequences which you don't need.One of the solutions would be to select different TerminalType property value, for example 'tty' instead of 'vt100'. Yet, if 'tty' is used you may receive frequent errors from the server that it doesn't understand 'tty' emulation.
In such cases, you can set StripANSI property to True. When set, wodTelnetDLX will just remove ANSI sequences from received data, thus leaving you with pure text you intended to receive in the first place.