Re: [PATCH]: today highlighting in [n]cal
Hey Roman,
Roman Divacky wrote:
> I made this patch that highlights today in cal/ncal just like gnu
> cal does..
>=20
> www.vlakno.cz/~rdivacky/cal.patch
Thanks for this patch, I've been meaning to hack one up properly, but=20
never got to it. They problems I was facing seem to exist also with your=
=20
patch:
- only works for wide (cal) mode, not ncal mode
- probably won't work properly with year displays: the year printing=20
parts of the code use a length argument to printf ("%*s"), which will=20
confuse escape sequences with actual printed characters
cheers
simon
--=20
<3 the future +++ RENT this banner advert +++ ASCII Ribbon /"\
rock the past +++ space for low =E2=82=AC=E2=82=AC=E2=82=AC NOW!1 +=
++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 2 之 11 篇):