ANSI(?) characters from perl debug are unwanted

A

Alan

The display from perl -d is showing what i guess are ANSI display
control sequences in an Windows XP Command Prompt window.

E.g. the command line
perl -d -e 42
gives
main::(-e:1): 42
?[4;m DB<1> ?[1mq
?[0m

<I've snipped the banner lines>

This is using perl, v5.8.0 built for MSWin32-x86-multi-thread
(ActiveState build 806)

How can the ANSI output be turned off, or alternatively XP be told to
handle the ANSI correctly?

thanks
Alan
 
W

Walter Roberson

:The display from perl -d is showing what i guess are ANSI display
:control sequences in an Windows XP Command Prompt window.

:E.g. the command line
: perl -d -e 42
:gives
: main::(-e:1): 42
: ?[4;m DB<1> ?[1mq

Those are ANSI alright. Turn on underline, then turn on bold.


:How can the ANSI output be turned off,

You could remove the Term::ANSI module I suppose.


:eek:r alternatively XP be told to handle the ANSI correctly?

Sorry, no clue on that part.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top