svn commit: r191330 - head/usr.bin/ncal

Roman Divacky rdivacky at FreeBSD.org
Tue Apr 21 08:09:11 UTC 2009


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


More information about the svn-src-all mailing list