Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 1997 03:20:11 +0100 (MET)
From:      Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
To:        adam@veda.is (Adam David)
Cc:        helbig@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/cal cal.1
Message-ID:  <199712130220.DAA17585@rvc1.informatik.ba-stuttgart.de>
In-Reply-To: <199712121113.LAA25484@veda.is> from Adam David at "Dec 12, 97 11:13:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >   Modified files:
> >     usr.bin/cal          cal.1 
> >   Log:
> >   Eleven days were eliminated by the Gregorian Reformation in 1752, not ten.
> 
> No days are missing :)
> 
> It was 10 to 13 calendar dates, depending on when the change was effected
> in different countries. Isn't it rather too anglocentric to pick 1752 as
> the year of transition? Is there use for specifying on the commandline
> to force a particular calendar?

Well, I've coded a more international version of cal(1), called ncal(1),
but the layout seems to look "totally bizarre" to people who are used
to cal(1) and anglo-american calendars.

- It starts the weeks on monday.
- It arranges the days in columns not in rows, which lets you put one whole
  year on a 25x80 terminal. This layout is fairly common in Germany.
- It lets you specify the date of transition by a country code.
- It lets you print the date of easter in Julian and Gregorian Calendar.
- It prints the weeknumbers according to ISO 8601: 1988.

I'd like to replace cal(1) by ncal(1), but if a lot of FreeBSD users don't
feel comfortable with the layout, I think I'd rather keep it where it is.
It's not important enough to justify coexistence of cal(1) and ncal(1) in
the base system. I don't even think, ncal should be a port.

If you are offended by strange calendars, don't read further :-)

    December 1997
Mo  1  8 15 22 29
Tu  2  9 16 23 30
We  3 10 17 24 31
Th  4 11 18 25
Fr  5 12 19 26
Sa  6 13 20 27
Su  7 14 21 28

Wolfgang



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712130220.DAA17585>