#3641: ^L Does Not Work Anymore in Interactive Mode for 6.10.x?
---------------------------+------------------------------------------------
Reporter: Aviator | Owner: judah
Type: bug | Status: assigned
Priority: normal | Milestone: 6.12 branch
Component: GHCi | Version: 6.10.4
Resolution: | Keywords:
Difficulty: | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment (by judahj):
A few questions:
Do arrow keys work with ghci in your terminal?
If you run the following command in the shell, does it clear the screen?
{{{
tput clear
}}}
If you run the following command, press the Home key, then press Return,
what happens?
{{{
ghc -e getLine
}}}
Finally, the haskeline library (which handles line-reading for ghci) has
had several updates since ghc-6.10.4 was released. Can you confirm
whether this problem still occurs with the most recent version of
haskeline?
The easiest way to test this is to run the following commands:
{{{
cabal update && cabal install ghci-haskeline
--constraint=haskeline==0.6.2.2
}}}
which will build and install the `ghci-haskeline` executable, usually in
`~/.cabal/bin`. Let me know if you have problems getting it working.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3641#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs