Telnet Output

Hi,

I am trying to use some telnet-softwares to perform different tasks, like enabling/disabling VPN, making backups with /export etc.

However - the telnet output in raw text is always looking like this: [m[36m/ip[m [m[36mpool

is it possible to add switches to the login to real clear text output?

If I run the same tool against a cisco router for example, and there I just get clear text.

Edit: I have tried using +t, +ct, +cte. Still same

Yeah - MT’s telnet console is seriously whacked for things like this.

I use s/\P{IsPrint}//g (Perl) on each line of output from the MT to remove all non printable characters (non-ascii). It works semi OK, but it’s still not 100%

EDIT: What you are seeing is ANSI escape sequences - there’s nothing available from MT to disable ANSI on the telnet console.
EDIT2: And as not everything is supported / possible through the API, Telnet is unfortunately STILL the only way to do certain things, so API does not rulezz :frowning: