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

GHC ghc-devs at haskell.org
Thu Jan 12 16:20:06 UTC 2017


#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:                |
---------------------------------+--------------------------------------
Changes (by heisenbug):

 * status:  infoneeded => new


Comment:

 Looking at my previous comments it appears that the syscall `read` will
 (sometimes) break up `ESC` sequences (when coming through some `ssh`
 tunnel?), and `haskeline` chokes on bachelor `ESC`s instead of `read`ing
 on and combining stuff.

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


More information about the ghc-tickets mailing list