Date: Mon, 20 Apr 2009 11:21:26 +0200 From: Simon 'corecode' Schubert <corecode@fs.ei.tum.de> To: Roman Divacky <rdivacky@freebsd.org> Cc: hackers@freebsd.org Subject: Re: [PATCH]: today highlighting in [n]cal Message-ID: <49EC3E96.50208@fs.ei.tum.de> In-Reply-To: <20090420084118.GA16337@freebsd.org> References: <20090420084118.GA16337@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
cheers
simon
--
<3 the future +++ RENT this banner advert +++ ASCII Ribbon /"\
rock the past +++ space for low €€€ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EC3E96.50208>
