[ghci] HOME, END, DELETE and BACKSPACE keys input garbage instead of being interpreted - libedit-dev missing in ghc6 >=6.10's build-deps

Bug #483455 reported by pheeror
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
ghc6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ghc6

If you press HOME, END, DELETE or BACKSACE key in ghci prompt garbage characters are inputed, which is definitely not a desirable behaviour.

You only need to add libedit-dev to build-deps to make ghci interpret these keys correctly.

see http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation/Linux and http://hackage.haskell.org/trac/ghc/ticket/2606

I can confirm it really helps:

aptitude install libedit-dev
apt-src install ghc6
cd ghc ....
dpkg-buildpackage
dpkg -i ../ghc....

and the keys work as they are supposed to :-)

thanks!

Revision history for this message
Luke Maurer (luke-maurer) wrote :

!! Thanks a lot — this has been driving me nuts :-)

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Closing since ghc6 is not in ubuntu anymore

Changed in ghc6 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.