PTC MKS Toolkit Knowledge Base

Product:MKS Toolkit (All)
Keywords:perl, ActiveState, debug, escape
Category:Utilities/Knowledge Base

Why do console escape sequences appear when using ActiveState Perl in debug mode?

The problem is that Perl 5.0.6 and up doesn't recognize the terminal type nutc. Thus you get incorrect escape characters when running perl debug.

This is fixed in the MKS version of Perl (MKS Toolkit v8.0 and up) but not ActiveState Perl.

In order to work around this problem set the terminal type to something other than nutc. For example, vt100 or ansi.