"rlwrap" adds readline support to everything.
Well, yes, see the GHCi wiki for how to augment 'rlwrap ghci' with some basic completion support (filenames, flags, module names): http://www.haskell.org/haskellwiki/GHC/GHCi#rlwrap_-_what_to_try_when_your_GHCi_was_compiled_without_readline.2Feditline but is there a way to make rlwrap's completion context-sensitive? As with bash's complete command, for instance, I'd like to be able to tell rlwrap that :load wants filenames, while :module wants module names, and :set wants settable things. If your ghci is readline/editline enabled, you get quite specific support (or so I gather from the source code..), while rlwrap seems to throw everything in one pot. That said, rlwrap is still a good workaround, Claus _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
