Re: Escape chars in the prompt of perl5db.pl

2009-05-07 Thread Peter Scott
On Thu, 07 May 2009 07:43:59 +0800, Dasn wrote:
> I'm writing a program to communicate with perl debugger. The thing I
> found hard to handle is the Escape chars output from the prompt, for
> example, on my platform, the "DB<1>" is:
>   "[4m  DB<1> [24m[1m"
> 
> My question is: Is it possible to turn off these escape chars in perldb,
> without changing perl5db.pl?

Try setting the TERM environment variable to 'dumb'.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274


Escape chars in the prompt of perl5db.pl

2009-05-07 Thread Dasn
Hello, I hope this is the right place to ask this question.

I'm writing a program to communicate with perl debugger. The thing I
found hard to handle is the Escape chars output from the prompt, for
example, on my platform, the "DB<1>" is: 
"[4m  DB<1> [24m[1m"

My question is: Is it possible to turn off these escape chars in perldb,
without changing perl5db.pl?

Thanks, please Cc me.

-- 
Dasn