For one, you could use the much more feature
full with tab auto complete debugger, ipdb.
But I just verified that, even pdb.set_trace() works well with arrow
keys, on my system. Python 2.6.2 GNome Terminal 2.26

On Sat, Jul 4, 2009 at 2:19 PM, wei ribao <wrb...@gmail.com> wrote:

>
> Sorry if I did not describe the problem clear.
>
> It is , in ubuntu, in the terminal sometimes I cannot use the left key and
> some other keys in the shell, I press the left key the cursor will not go
> left, instead it displays something like "^X[[". Normally everything is ok,
> but in some interative environment, say, the environment brought by
> "pdb.set_trace()", this problem happens.
>
>
> On Sat, Jul 04, 2009 at 11:43:45AM +0530, Lakshman Prasad wrote:
>    >>Thats strange; Can you elaborate the problem a little;
>    >>
>    >>I have been  using Ubuntu9.04 and I couldn't be happier. I don't know
> how any
>    >>other environment can be even more conducive to development.
>    >>
>    >>2009/7/4 wei ribao <wrb...@gmail.com>
>    >>
>    >>
>    >>    I am using ubuntu9.04 too. I have a long-standing trouble.
>    >>
>    >>    When using pdb to debug, set pdb.set_trace() to bring up the
> interactive
>    >>    shell, i cannot use arrow keys.
>    >>
>    >>    It is all ok in windows. And I can find anything from google.
>    >>
>    >>    How do you guys slove that?
>    >>
>    >>    On Fri, Jul 03, 2009 at 03:56:14PM -0400, Vitaly Babiy wrote:
>    >>       >>I use Ubuntu 9.04, works great on a XPS M1530 Laptop
>    >>       >>
>    >>       >>Vitaly Babiy
>    >>       >>
>    >>       >>
>    >>       >>On Fri, Jul 3, 2009 at 2:36 PM, developingchris <
>    >>    developingch...@gmail.com>
>    >>       >>wrote:
>    >>       >>
>    >>       >>
>    >>       >>    Looking for opinion of the best distro for a developer
> machine for
>    >>       >>    django.
>    >>       >>
>    >>       >>    I'm on ubuntu now, its going ok. I'm having keyboard
> issues, and
>    >>       >>    wondering if I should put the time in on fixing it, or
> just ditch
>    >>    it
>    >>       >>    for say, pc-bsd, if thats what the cool django kids are
> using.
>    >>       >>
>    >>       >>
>    >>       >>
>    >>       >>
>    >>       >>
>    >>       >>    >>
>    >>
>    >>
>    >>
>    >>
>    >>
>    >>
>    >>--
>     >>Regards,
>    >>Lakshman
>    >>becomingguru.com
>    >>lakshmanprasad.com
>    >>
>    >>    >>
>
> >
>


-- 
Regards,
Lakshman
becomingguru.com
lakshmanprasad.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to