Hi Karel and others, The cal branch I have in my git has got fixes to issues reviewed earlier, and I hope all works. Based on that I decided to get rid of upper cal year limit, 9999, and replace it with unsigned long. I know the change does not make much practical sense, the point of the change is that where there is no need to have artificial limits to a random magic number they should not exist. Assuming the patch series are applied at somepoint I think the next thing to do for this command is the cal_context Karel proposed[1]. Having more sensible way to pass run time configuration will hopefully make implementing the week numbering column easy (which I originally wanted), and may even make various color additions possible. Meanwhile here comes mostly old patch series, with couple new changes. [1] http://www.spinics.net/lists/util-linux-ng/msg07983.html The following changes since commit ef264c830effc91add6da334204215f61eb8515e: agetty: allow full control on CLOCAL flag (2013-05-23 09:47:58 +0200) are available in the git repository at: git://github.com/kerolasa/lelux-utiliteetit.git cal-fourth for you to fetch changes up to 3f5e9ecbf54213867ec787f40bd23d76d43dbd61: docs: cal: stop telling year 9999 is upper limit (2013-05-26 09:59:21 +0100) ---------------------------------------------------------------- Sami Kerola (18): cal: fix preprocessor directive indendation cal: convert function like definitions to functions cal: clean up use of constants tests: add calendar reformation check cal: simplify calendar reformat calculations cal: remove unnecessary initializations cal: de-duplicate julian specific functions cal: support --color[={auto,always,never}] cal: add --color to usage() docs: cal: add --color option description to manual page tests: add cal day color corner cases cal: stop trimming whitespaces cal: mark all functions static cal: simplify day_in_week() calculation cal: use Claus Tøndering's day of the week algorithm cal: remove arbitrary limit of maxium year being 9999 tests: check cal works when year is far in future docs: cal: stop telling year 9999 is upper limit misc-utils/Makemodule.am | 2 +- misc-utils/cal.1 | 16 +- misc-utils/cal.c | 611 +++++++++++++++++++++++---------------------- tests/expected/cal/1m | 48 ++-- tests/expected/cal/3m | 48 ++-- tests/expected/cal/bigyear | 206 +++++++++++++++ tests/expected/cal/color | 55 ++++ tests/expected/cal/sep1752 | 198 +++++++++++++++ tests/expected/cal/year | 240 +++++++++--------- tests/ts/cal/bigyear | 95 +++++++ tests/ts/cal/color | 68 +++++ tests/ts/cal/sep1752 | 95 +++++++ 12 files changed, 1211 insertions(+), 471 deletions(-) create mode 100644 tests/expected/cal/bigyear create mode 100644 tests/expected/cal/color create mode 100644 tests/expected/cal/sep1752 create mode 100755 tests/ts/cal/bigyear create mode 100755 tests/ts/cal/color create mode 100755 tests/ts/cal/sep1752 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html