[darcs-users] Re: colour output/libcurses on windows(TM)

John Meacham john at repetae.net
Sun Apr 3 13:01:09 UTC 2005


On Sun, Apr 03, 2005 at 10:42:14AM +0000, Csaba Henk wrote:
> On 2005-04-02, Stefan Rank <e9725431 at student.tuwien.ac.at> wrote:
> > hi
> >
> > with all the talk about colour output going on,
> > i was wondering if somebody managed to get colourised darcs output on 
> > the windows platform?
> > (strangely enough i did not notice the difference when switching between
> >   lin and win until now...)
> >
> > as far as i understand, darcs uses libcurses, and it checks the 
> > environment variable TERM to decide if colour output is acceptable.
> >
> > the windows binaries (generously provided by glozer.net) are not linked 
> > against libcurses.
> > did anybody succeed in compiling darcs for windows including curses?
> 
> There is pdcurses for (non cyg-)windows. I haven't yet compiled anything against
> it, but my guess would be that it would be possible to link against
> that. Well, it might depend on GHC as well... dunno.

I once got pdcurses working with ghc on windows, it is not a consolse
version of curses though, It opens up its own graphical window and
writes text into that so most likely is very much overkill just for
colors.


-- 
John Meacham - ⑆repetae.net⑆john⑈ 




More information about the darcs-users mailing list