in reply to Re: Previous commands in Ubuntu terminal
in thread Previous commands in Ubuntu terminal

I don't see cpan being mentioned anywhere in the OP. I suppose he's talking about accessing the regular shell's command history. Without more details it's hard to tell what the problem is, though. As ^[[A is the normal escape sequence generated by many terminals for the up key, it's probably a misconfiguration of the shell that's causing the problem.
  • Comment on Re^2: Previous commands in Ubuntu terminal

Replies are listed 'Best First'.
Re^3: Previous commands in Ubuntu terminal
by marto (Cardinal) on Jun 27, 2010 at 15:42 UTC

    I didn't see cpan mentioned either, however since Ubuntu uses bash 'out of the box' the up arrow key works fine for command recall. While I agree that a broken shell is a possability I'd expect not the OP to have asked for help accessing previous commands rather than 'previous Perl' as explicitly stated. The modules I mentioned don't ship with with perl/ubuntu as default. Weither it's cpan related or as LanX suggests perl debugger, the advice I've given is accurate. However, as you quite accuratly state, without knowing exactly what the OP is really asking for, it could be several things.