PTC MKS Toolkit Knowledge Base

Section:IO
Product:MKS Toolkit (All)
Version:8.6
OS: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.