On Fri, Nov 28, 2008 at 4:10 AM, Eric Kow <[EMAIL PROTECTED]> wrote:
> Fri Nov 28 12:09:51 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
> * Disable terminfo by default (Cabal)
> Salvatore points out that the terminfo package does not install on Windows
>
Would it make sense to set the terminfo flag to be true by default,
and instead use this in the .cabal file?
if flag(terminfo) && !os(windows)
build-depends: terminfo == 0.2.* && >= 0.2.2
cpp-options: -DHAVE_TERMINFO
Also, I see there's a curses flag which uses the C curses library
instead of the Haskell terminfo package. That might be redundant,
since currently the terminfo package actually requires lib(n)curses
instead of just a terminfo c library. (It uses the "cur_term"
variable from libcurses in order to provide a haskell-appropriate
API.)
(I'm not really aware of a system which has terminfo available and not
curses; but I can probably remove the curses dependency if someone
needs me to.)
-Judah
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users