On Mon, Apr 20, 2009 at 11:21:26AM +0200, Simon 'corecode' Schubert wrote:
> Hey Roman,
> 
> Roman Divacky wrote:
> >I made this patch that highlights today in cal/ncal just like gnu
> >cal does..
> >
> >     www.vlakno.cz/~rdivacky/cal.patch
> 
> Thanks for this patch, I've been meaning to hack one up properly, but 
> never got to it.  They problems I was facing seem to exist also with your 
> patch:
> 
> - only works for wide (cal) mode, not ncal mode
> - probably won't work properly with year displays:  the year printing 
> parts of the code use a length argument to printf ("%*s"), which will 
> confuse escape sequences with actual printed characters

after addressing Simon's concerns here's a new patch:

        www.vlakno.cz/~rdivacky/cal2.patch

this disables the highlighting for year printing because it's broken
and introduces the highlighting to ncal as well...
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to