LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > drask
User Name
Password

Notices



Rate this Entry

Fix the arrow keys in the Ubuntu Perl debugger

Posted 02-01-2010 at 01:14 PM by drask

This is just a quick note to myself. I spend a lot of time in the perl debugger (perl -d -e 1) and CPAN (perl -MCPAN -e shell) in Ubuntu and hate the way that when I get to the perl shell my keyboard cursor keys stop doing useful things like scrolling through my history and start producing garbage like "^[[A", "^[[B" "^[[C" and "^[[D" (up arrow, down arrow, right arrow and left arrow respectively).

I have fixed this several times on other boxes, but right now I'm setting up a new box and just spent about 2 hours searching the internet and scrolling through the package manager trying to remember how to make it work.

The answer, for the next time I forget, is to install either the libterm-readline-gnu-perl package or the libterm-readline-perl-perl package. Both seem to work.
Posted in Uncategorized
Views 2732 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration