From owner-svn-src-head@FreeBSD.ORG Tue Apr 21 08:03:45 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05EF91065672; Tue, 21 Apr 2009 08:03:45 +0000 (UTC) (envelope-from emikulic@gmail.com) Received: from ipmail04.adl2.internode.on.net (ipmail04.adl2.internode.on.net [203.16.214.57]) by mx1.freebsd.org (Postfix) with ESMTP id 822398FC1A; Tue, 21 Apr 2009 08:03:43 +0000 (UTC) (envelope-from emikulic@gmail.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAGsV7UmWZZrw/2dsb2JhbADCD5Bvg30G X-IronPort-AV: E=Sophos;i="4.40,222,1238941800"; d="scan'208";a="354842600" Received: from ppp154-240.static.internode.on.net ([150.101.154.240]) by ipmail04.adl2.internode.on.net with ESMTP; 21 Apr 2009 17:17:26 +0930 Received: by ppp154-240.static.internode.on.net (Poo-fix, from userid 1001) id BA3225C45; Tue, 21 Apr 2009 17:47:26 +1000 (EST) Date: Tue, 21 Apr 2009 17:47:26 +1000 From: Emil Mikulic To: Alexey Dokuchaev Message-ID: <20090421074726.GB63004@dmr.ath.cx> References: <200904201819.n3KIJcZo054306@svn.freebsd.org> <20090420211608.GA86704@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090420211608.GA86704@FreeBSD.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: svn-src-head@freebsd.org, Roman Divacky , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r191330 - head/usr.bin/ncal X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 08:03:45 -0000 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