[GHC] #11695: On GHCi prompt the arrow (movement) keys create strange character sequences

GHC ghc-devs at haskell.org
Thu Mar 17 00:21:56 UTC 2016


#11695: On GHCi prompt the arrow (movement) keys create strange character sequences
---------------------------------+--------------------------------------
        Reporter:  heisenbug     |                Owner:
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  GHCi          |              Version:  8.1
      Resolution:                |             Keywords:
Operating System:  Linux         |         Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+--------------------------------------

Comment (by judahj):

 Thanks for the details.  To clarify, what machine are you slogin'd *from*
 into hostB, is it your laptop or hostA?  If your laptop, what Windows
 program are you using to do the connection?

 (More details: I'm trying to reason about the chain of events from you
 pressing your key to it getting received by gghci as the character
 sequence "\ESC[A" (or similar).  The problem is that gghci (really,
 haskeline) expects to read those characters in a single block, but in your
 setup they're arriving separately for some reason.)

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


More information about the ghc-tickets mailing list