I tried to test Haskeline support yesterday. Since "cabal install haskeline" gave me 0.4.something, I tried to use that by loosening the version constraint in darcs.cabal.
I used cabal configure -f'haskeline <other flags>', so IIUC it did link against haskeline. Certainly cabal configure complained about not having haskeline 0.3 until I loosened the constraint. Darcs built successfully (with "cabal build"). Now, maybe I've misunderstood what haskeline is supposed to provide. I expect it to provide a line editor similar to what the C libraries libreadline and libedit provide in e.g. bash, or what the rlwrap program provides for arbitrary stdio programs. For example, I expect typing Control+B or the left arrow to move the cursor back one character when I'm at the "What is the patch name?" prompt. But it just inserts the control/escape codes on the end of the line -- the same behaviour as I get without haskeline. Is this because I used haskeline 0.4, or have I misunderstood what haskeline is supposed to do, or have I done something else wrong? _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
