From owner-svn-src-head@FreeBSD.ORG Tue Apr 21 08:09:11 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 6768E106566B; Tue, 21 Apr 2009 08:09:11 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1E00F8FC1C; Tue, 21 Apr 2009 08:09:10 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D87EC9CB0EB; Tue, 21 Apr 2009 10:07:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1SoYWHjwX+B9; Tue, 21 Apr 2009 10:07:54 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A6E1F9CB31F; Tue, 21 Apr 2009 10:07:54 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n3L87svI007657; Tue, 21 Apr 2009 10:07:54 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 21 Apr 2009 10:07:54 +0200 From: Roman Divacky To: Emil Mikulic Message-ID: <20090421080754.GA7567@freebsd.org> References: <200904201819.n3KIJcZo054306@svn.freebsd.org> <20090420211608.GA86704@FreeBSD.org> <20090421074726.GB63004@dmr.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090421074726.GB63004@dmr.ath.cx> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, Alexey Dokuchaev , 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:09:11 -0000 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