Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 17:47:26 +1000
From:      Emil Mikulic <emikulic@gmail.com>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, Roman Divacky <rdivacky@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r191330 - head/usr.bin/ncal
Message-ID:  <20090421074726.GB63004@dmr.ath.cx>
In-Reply-To: <20090420211608.GA86704@FreeBSD.org>
References:  <200904201819.n3KIJcZo054306@svn.freebsd.org> <20090420211608.GA86704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 20, 2009 at 09:16:08PM +0000, Alexey Dokuchaev wrote:
> On Mon, Apr 20, 2009 at 06:19:38PM +0000, Roman Divacky wrote:
> > Author: rdivacky
> > Date: Mon Apr 20 18:19:38 2009
> > New Revision: 191330
> > URL: http://svn.freebsd.org/changeset/base/191330
> > 
> > Log:
> >   Implement highlighting of today in month view of cal/ncal just like
> >   gnu cal does. This is currently disabled for year view because of hard
> >   coded padding in that case. This will hopefully be fixed soon.
> 
> OK, what if some of us do not want this?  Is there command line switch,
> compile macro, or anything else to retain traditional behavior planned?

Since it checks isatty(), you could get the previous behaviour with
"ncal | cat" plus any scripted use of ncal won't get the highlighting in
the output, right?

Roman - good work!  I really like this functionality, really helps to
find today "at a glance."

--Emil



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