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

GHC ghc-devs at haskell.org
Wed Mar 16 20:26:32 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 heisenbug):

 Replying to [comment:4 judahj]:
 > By any chance are you using tmux or a similar program?  If so, check out
 the instructions here (your symptoms sound similar):
 >
 > https://github.com/judah/haskeline/wiki/UsingTmux

 No `tmux`. My terminal is a simple `xterm`. There are 3 computers
 involved:
  * a windows laptop visualizing a VNC session (by RealVNC)
  * a linux machine (say, `hostA`) running `vncserver`
  * another linux server on which I am `slogin`-ed named `hostB`.

 `hostB` runs `ghci` and has `export DISPLAY=hostA:2` in effect. So all X
 visuals are being painted into the `vncserver` session.


 >
 > Otherwise, can you give a little more information about your setup?
 > - What is the value of $TERM
 > - What terminal program (e.g. xterm) you're using
 > - To try to figure out exactly what's confusing ghci: can you explain
 more what "$DISPLAY is a vnc session on a different box" means?  I'm not
 familiar with that kind of setup.  Which machine are you actually typing
 text into, and how is that text being relayed to the server that's
 actually running ghci?

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


More information about the ghc-tickets mailing list