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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 21, 2009 at 05:47:26PM +1000, Emil Mikulic wrote:
> 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."

I am about to commit some more changes, among others introducing "-h" argument for
disabling the highlight



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