ANNOUNCE: GHC version 6.10.1 - EditLine / terminal incompatibility?

Don Stewart dons at galois.com
Sun Nov 9 14:03:57 EST 2008


judah.jacobson:
> On Sun, Nov 9, 2008 at 6:42 AM, Duncan Coutts
> <duncan.coutts at worc.ox.ac.uk> wrote:
> > On Sun, 2008-11-09 at 01:49 +0000, Ian Lynagh wrote:
> >> On Sat, Nov 08, 2008 at 12:33:57PM -0800, Judah Jacobson wrote:
> >> >
> >> > bind "\e[3~" ed-delete-next-char
> >>
> >> It's a shame this doesn't just work out of the box in an xterm, on
> >> Debian at least. Perhaps we should consider switching to haskeline? Do
> >> we know anything about how portable and complete that is?
> >
> > If we're considering that I think we should consider bringing back
> > readline as an option and let the people who have problems with gpl code
> > configure in editline support instead.
> >
> > Note that haskeline has a lot of dependencies and requires
> > TemplateHaskell and many other language extensions.
> 
> I'm also somewhat wary of switching to haskeline in ghc-6.10.  I think
> these issues could be resolved in time for 6.12, though:

haskeline needs /way/ too many extensions for a simple console reader...


More information about the Glasgow-haskell-users mailing list