Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > ANSI(?) characters from perl debug are unwanted

Reply
Thread Tools

ANSI(?) characters from perl debug are unwanted

 
 
Alan
Guest
Posts: n/a
 
      02-06-2004
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
 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      02-07-2004
In article <(E-Mail Removed) >,
Alan <(E-Mail Removed)> wrote:
: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.


r alternatively XP be told to handle the ANSI correctly?

Sorry, no clue on that part.
--
Any sufficiently advanced bug is indistinguishable from a feature.
-- Rich Kulawiec
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting rid of unwanted characters in the input subramanian100in@yahoo.com, India C++ 7 08-13-2010 01:52 PM
Deleted unwanted characters from a string Juo Hundred Ruby 4 06-18-2009 02:30 PM
Stripping out unwanted characters et ASP .Net 3 02-22-2006 03:52 PM
Unwanted debug messages rocketman768@gmail.com C Programming 3 01-18-2006 01:55 AM
regular expression validator, get rid of unwanted characters Steve ASP .Net 7 09-18-2005 11:23 AM



Advertisments