[GHC] #11695: On GHCi prompt the arrow (movement) keys create strange character sequences
GHC
ghc-devs at haskell.org
Sun Apr 17 22:46:14 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):
Let's try this. Can you please download the file Read.hs from:
https://gist.github.com/judah/5c5ad518bb43d235efba4fa8f1e9953a
And run (in the same terminal/environment that you have the ghci problem):
{{{
ghc Read.hs
./Read
}}}
Then press some letter keys and some arrow keys, and let me know what the
output is?
For example, on my terminal:
{{{
$ ./Prompt
"a"
"s"
"d"
"\ESC[D"
"\ESC[B"
"\ESC[A"
}}}
The last three lines are from when I pressed arrow keys. Do you see them
split into separate lines (e.g. "\ESC", "[" and "D")? If so, that's the
problem we should try to solve. Does the same behavior of Read.hs occur
on laptop<-vnc->hostA, or only on laptop<->hostA<->hostB?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11695#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list