I sent the following question directly to Active State and got a response that led me to subscribe to this mailing list. I have not found any references to this problem in the archives but there must be other Windows 2000 users out there who have encountered the same problem. Any ideas for resolving this would be greatly appreciated as this behavior makes debug mode very hard to use, especially when the debug expression is complex and the command produces lots of output. I have used Active State Perl on NT4 and many versions of Perl on Unix and Linux and have never seen this debug display behavior before on any of those platforms.
Delivered-To: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]@pop.starband.net
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Mon, 10 Sep 2001 14:13:22 -0700
To: [EMAIL PROTECTED]
From: "T. William Schmidt" <[EMAIL PROTECTED]>
Subject: Garbled debug prompts
Cc: [EMAIL PROTECTED]
X-Commtouch-Loop: 5
Hello Active State,
I am running Active Perl v 5.6.1 build 629 on Win 2000 and running my Perl scripts from the command line in debug mode produces a very ugly set of prompts. Here are some examples of the garbled lines (I am omitting those lines from my script that print correctly):
Default die handler restored.
Loading DB routines from perl5db.pl version 1.07
Editor support available.
Enter h or `h h' for help, or `perldoc perldebug' for more help.
main::(C:\users\wills\src\perl\parse.pl:4):
4: $defaultFile = 'docNames.txt';
<-[4;m DB<1> <-[1m
My cursor is -------^
If I now type 'l' to list some lines of code I get:
<-[4;m DB<1> <-[1ml
<-[0m4==> $defaultFile = 'docNames.txt';
lines 5-13 from my script which print correctly, then
<-[4;m DB<1> <-[1m
These have all the appearance of escape sequences and if they are, should resolve to something more readable, but they don't. I have searched the docs for some configuration parameter that I need to set but have found nothing to explain this appearance. I use and rely on debug mode extensively and this is really a pain to have to parse through to see my code and expressions. Any idea how to correct this?
Thanks for your help.
Will Schmidt
SW Engineer/Consultant
Kipe & Associates
Portland, OR
(541) 462-3160
(541) 462-3899 fax
