ANNOUNCE: GHC version 6.10.1 - EditLine / terminal
alexander.dunlap at gmail.com
Fri Nov 7 23:38:45 EST 2008
On Fri, Nov 7, 2008 at 3:13 AM, Philip K.F. Hölzenspies
<p.k.f.holzenspies at utwente.nl> wrote:
> Dear Ian, all,
> After the announcement, I downloaded and installed the final release of
> 6.10.1. At some prior stage, I used the RC1 release, which had the same bug,
> but I had generally assumed it to be an RC-phenomenon. Which bug? Well...
> It seems editline has some incompatibility with my terminal. Maybe, I should
> configure something differently, but any and all of the control characters I
> type and work for all readline based (and all custom line-readers I have come
> across), but not for the new ghci. Most annoying is the fact that backspace
> doesn't work (instead, the control sequence ^? is printed and pressing enter
> results in "lexical error at character '\DEL'"). However, arrow keys (left
> ^[[D, up ^[[A, right ^[[C and down ^[[B) and common Ctrl+_ combinations (^d,
> ^e, ^a) also give similar errors. It is striking that the lexer does
> recognize them as the correct characters (printed error messages doe say
> \DEL, \EOT, \ENQ, etc).
> I'm using xterm (X.Org 188.8.131.523(229)) on an OpenSuSE 10.3 system and the
> default termcap settings. Any clues? Is this bug known?
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
I apologize if this is off-topic, but I'm having a similar (but
distinct) problem: editline thinks that my delete key is a tilde key.
When I type <DELETE>, it inserts a tilde. The tilde then acts
completely like a tilde (i.e. GHCi interprets it as a tilde). I have
been unable to find an answer by googling. Does anyone else have/know
how to fix this problem?
More information about the Glasgow-haskell-users