From owner-svn-src-head@FreeBSD.ORG Mon Mar 8 00:39:32 2010 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 6C290106564A; Mon, 8 Mar 2010 00:39:32 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay3.uni-muenster.de (ZIVM-EXRELAY3.UNI-MUENSTER.DE [128.176.192.20]) by mx1.freebsd.org (Postfix) with ESMTP id C279C8FC0A; Mon, 8 Mar 2010 00:39:31 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,599,1262559600"; d="scan'208";a="27851575" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay3.uni-muenster.de with ESMTP; 08 Mar 2010 01:39:30 +0100 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id 0EDD61B0750; Mon, 8 Mar 2010 01:39:29 +0100 (CET) Date: Mon, 08 Mar 2010 01:39:28 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Edwin Groothuis Message-ID: In-Reply-To: <20100307233409.GF2682@mavetju.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r204849 - 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: Mon, 08 Mar 2010 00:39:32 -0000 Edwin Groothuis schrieb am 2010-03-08: > On Mon, Mar 08, 2010 at 12:16:04AM +0100, Alexander Best wrote: > > could you have another look at the -J option? it seems highlighting > > still > Aha, only -J in "month only" view is still not working. Will take > care of it later. Also add a bunch of regression tests to it, because > of all of this. > > isn't enabled in combination with it. also i'm wondering what the > > purpose of > > the -b switch is. running `cal` and `ncal -b` seems to be doing the > > very same > > thing (setting flag_backward = 1). > You can't run "cal" until you have installed it, while being able > to run "ncal -b" and coming into "cal" mode is kind of nice. thanks for the hint. the -b switch definitely comes in handy when `cal` isn't available, because one is running ncal from /usr/src/usr.bin. will the -b switch disappear once you ncal/cal works properly with highlighting? what confused me a little is the output of something like `ncal 10 2011`. judging from ncal(1) i guessed the output to be October of 2011, yet the output is all months from October 2011 to September 2012. i tried `ncal -m 10 2011` instead and the output was just the same. so what's the right way to see the entry for lets say October 2011? another issue i'm having is the -m switch in combination with f and p. judging from ncal(1) `ncal -m 3p` should output February 2010 and `ncal -m 3f` April 2010. however instead of printing the previous and next month the previous and next year gets printed. running `ncal -m 10f` on the other hand behaves even weirder because it prints the same as `ncal -m 10`. alex > Edwin