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

Emil Mikulic emikulic at gmail.com
Tue Apr 21 08:03:45 UTC 2009


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


More information about the svn-src-all mailing list