Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2010 08:52:58 +0100
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        src-committers@FreeBSD.org, svn-src-user@FreeBSD.org
Subject:   Re: svn commit: r204479 - user/edwin/ncal
Message-ID:  <20100301075258.GA92408@freebsd.org>
In-Reply-To: <20100228221653.GA2682@mavetju.org>
References:  <201002282036.o1SKaPUI085762@svn.freebsd.org> <20100228205005.GA4003@freebsd.org> <20100228221653.GA2682@mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 01, 2010 at 09:16:53AM +1100, Edwin Groothuis wrote:
> On Sun, Feb 28, 2010 at 09:50:05PM +0100, Roman Divacky wrote:
> > On Sun, Feb 28, 2010 at 08:36:25PM +0000, Edwin Groothuis wrote:
> > > Author: edwin
> > > Date: Sun Feb 28 20:36:24 2010
> > > New Revision: 204479
> > > URL: http://svn.freebsd.org/changeset/base/204479
> > > 
> > > Log:
> > >   Do some work on ncal while we're at it.
> > 
> > I have a patch that implementes "cal -3" are you interested in it?
> 
> Sure. What does it do? :-)

it shows 3 months period - this month, month before and month after.

patch: vlakno.cz/~rdivacky/ncal.3months.patch

example:

lev ~/ncal$ ./ncal -3
    February 2010     March 2010        April 2010
Mo  1  8 15 22        1  8 15 22 29        5 12 19 26
Tu  2  9 16 23        2  9 16 23 30        6 13 20 27
We  3 10 17 24        3 10 17 24 31        7 14 21 28
Th  4 11 18 25        4 11 18 25        1  8 15 22 29
Fr  5 12 19 26        5 12 19 26        2  9 16 23 30
Sa  6 13 20 27        6 13 20 27        3 10 17 24
Su  7 14 21 28        7 14 21 28        4 11 18 25




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100301075258.GA92408>