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: > "<Esc>[4m DB<1> <Esc>[24m<Esc>[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