Claus Reinke wrote:
while undocumented (?), there seems to be a lot of code
in GHCi regarding commandline completion. but in a
default build, i don't get any benefit from that, as editline
doesn't seem available for mingw (?).
is there a way to get this working on windows? i'm growing
rather tired of typing VeryLongCamelCaseLanguageExtensions
in GHCi sessions, and this would help!-)
if there really is no working editline for windows, is there a
way of pluggin in Malcolm's System.Console.SimpleLineEditor (currently
in package readline), extended to handle completion?
the completion code itself is in haskell, anyway, just that there's
no editline/readline to call this code on windows, right?
Yes, exactly. I believe at one stage there was a readline C library
available for mingw, and we could build the Haskell readline library, but
IIRC it was a bit flaky and only worked in some of the console environments
(cmd, MSYS, cygwin, xterm).
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc