> -----Original Message-----
> From: Harry Putnam [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 23, 2002 3:13 AM
> To: [EMAIL PROTECTED]
> Subject: Debugging the debugger
> 
> 
> Just going thru the debug tutorial:
>    perldoc perldebtut
> Following along having writen the example script to disk.
> I notice any `p' commands gives me a line with the first character
> chopped off.
> 
> Like when the tutorial gets to the part where you `p $key', I get
> elcome  instead of Welcome.  Actually it seems to print the line into
> my xterm like:
> 
>   DB<2> p $key                                                     w
>   elcome
> 
> Notice the `w' way to the right there.  This appears to possibly be
> TERM related.  $echo $TERM shows xterm.   My setup is:
> OS = Redhat 7.3
> Xwin setup Gnome/sawfish
> 
> Running debugger in an xterm  (not gnome-terminal)
> 
> Anyone have an idea what might be causing this?
> Can it be readline?

I have this problem using Putty and FreeBSD. I was able to fix it by
adding the following to my .bashrc:

   export "PERL_RL= o=0"

This was documented in perldoc Term::ReadLine. Not sure exactly why
it works...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to