readline package with libedit

Judah Jacobson judah.jacobson at
Wed Jan 9 12:10:11 EST 2008

On Jan 9, 2008 12:59 AM, Christian Maeder <Christian.Maeder at> wrote:
> By the way I've the following lines in my ~/.ghci
> from
> :m +System.Console.Readline Data.List
> getCompleterWordBreakCharacters >>= setCompleterWordBreakCharacters .
> Data.List.delete '/'
> :m -System.Console.Readline Data.List
> Does this work with libedit, too?
> Christian

Hm... It runs, but doesn't have any effect.  It looks like you need to
use setBasicWordBreakCharacters instead of
setCompleterWordBreakCharacters.  (ghci sets both, which is why I
didn't notice this before.)

Note that with my fix to #998 (sent to cvs-ghc), that hack should no
longer be necessary.


More information about the Glasgow-haskell-users mailing list