#2606: Backspace, delete, etc. don't work in ghci in HEAD
-----------------------+----------------------------------------------------
Reporter: tim | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.9
Severity: major | Resolution:
Keywords: | Testcase:
Architecture: x86 | Os: Linux
-----------------------+----------------------------------------------------
Comment (by tim):
Replying to [comment:6 judah]:
> Hmm, if you had to install libedit-dev to build that program then maybe
ghc's editline bindings weren't built when you built ghc. Can you please
check whether ghc's editline package is installed, for example by:
> - trying to run {{{:browse System.Console.Editline.Readline}}} inside
ghci
> - double-checking whether the up/down arrow keys page through the ghci
history
>
> If it's not installed, you can probably fix this problem by building ghc
again.
Indeed, the browse command you suggested says there's no such module, and
the arrow keys don't work (even after I suspend ghci and bring it back to
the foreground as I described before). So I think your explanation is
probably right. I won't have a chance to build ghc again for a little bit,
but I think it should really be documented that you need to install the
libedit-dev package (or whatever the equivalent is for distros other than
Ubuntu/Debian), because my install of Ubuntu didn't come with it by
default and I would expect that either this would work out of the box, or
configure would tell me that I lacked a needed dependency.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2606#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs