#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 judah):
Do you reproduce the bug by opening up an xterm, and then typing 'ghci'?
If so, what happens when you type "stty -a" in the xterm? Alternately, if
you start ghci in such a way as to reproduce the bug, what happens when
you run the following commands from inside ghci:
{{{
System.IO.hIsTerminalDevice System.IO.stdin
System.IO.hIsTerminalDevice System.IO.stdout
System.Environment.getEnv "TERM"
}}}
Finally: what version of libedit are you building against?
I suspect that some part of your xterm configuration is not set quite
right, causing libedit to think that it's not inside a terminal. But it's
strange that readline (used in ghc-6.8.2) isn't affected.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2606#comment:2>
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