[GHC] #2606: Backspace, delete, etc. don't work in ghci in HEAD

GHC trac at galois.com
Sat Sep 20 02:55:17 EDT 2008


#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:4 judah]:
 > Just to clarify: what happens when you type :!stty -a from inside ghci
 immediately after entering ghci?

 Still the same output as what I pasted.

 > I suspect this is a problem with libedit, since HEAD replaced readline
 with it it between 6.8 and 6.10.  Do you know of any other programs on
 your machine that use libedit and whether they have the same issue?
 Otherwise, would it be possible for you to compile the following C program
 (with {{{gcc -ledit}}}) and check its behavior inside the xterm?
 >

 Done (I had to install libedit-dev first, but I don't think that had any
 other effects); your test program works fine (backspace, delete, Ctrl-U)
 work, when it's run in an xterm, but still the same problem with ghci.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2606#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list