wodTelnetDLX ActiveX Control - StripANSI Property
      
 

Description

Automatically removes ANSI codes from received data.


Property type

A Boolean value.  


Syntax

object.StripANSI [= value]



The StripANSI Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetDLX.
value A Boolean value.

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.