clcal

command-line calendar

  clcal home     download     usage     screenshots  

  source     useful     changes     install     to do  


source

latest version
Click to download clcal-0.20.tar.bz2.
old releases
clcal-0.19.tar.bz2.
clcal-0.18.tar.bz2.
clcal-0.17.tar.bz2.
clcal-0.16a.tar.bz2.
clcal-0.16.tar.bz2.
clcal-0.15.tar.bz2.

useful stuff

resource file 2008
This is a compressed tarball containing a .calendar directory and associated year and month directories, with date files for UK (England) public holidays for 2008. This also contains some UK saints' days plus other events such as St. Valentine's Day and Chinese New Year.
Click to download calendar_uk-en_2008.tar.bz2.
resource file 2007
This is a compressed tarball containing a .calendar directory and associated year and month directories, with date files for UK (England) public holidays for 2007.
Click to download calendar_uk-en_2007.tar.bz2.
resource file 2006
This is a compressed tarball containing a .calendar directory and associated year and month directories, with date files for UK (England) public holidays for 2006.
Click to download calendar_uk-en_2006.tar.bz2.
resource file 2004-5
This is a compressed tarball containing a .calendar directory and associated year and month directories, with date files for UK (England) public holidays from May 2004 - December 2005.
Click to download calendar_uk-en_2004-5.tar.bz2.
external resources
Slackware profile.d companion script package. Runs "clcal -w" if it finds an interactive shell.
Thanks to Daniel for writing this.
Click to download http://www.uwrf.edu/~w3001697/slackpacks/10.0/clcal_profile.d-0.1-noarch-1h3x.tgz.
calendar entry script
A script to easily add entries to ones calendar, generating directories on the way as needed. This script is easily adjusted to your specific requirements. As provided, it needs:
  • Xdialog to be installed on your system
  • $EDITOR to be set to the command-line editor of your choice
Thanks to Juho for writing this.
Click to download clentry.sh.

If anyone wishes to make any other resources available (perhaps calendars for other countries' holidays), I'll be happy to provide links to those resources from this website.


changes

0.20

Added the ability to search all calendar entries for a regular expression.

Also added the ability to print all calendar entries to screen.

Generally tidied up some of the code.

0.19

Extended the ability to print previous entries: clcal -d 7 -w -9 will print calendar entries for nine weeks prior to today, then today's entries, then the entries for the next seven days. clcal -w -9 -w will achieve the same output. Note that the negative period modifier must be specified (the positive period modifier is 1 by implication unless specified), so that in order to show calendar entries for one week prior to and one week after today, you could use: clcal -w -w -1.

Fixed a couple of bugs where clcal would core dump instead of displaying the customary brief usage message.

0.18

Added the ability to print previous entries using negative period modifiers, for example: clcal -d -7 will print the calendar entries for the seven days prior to today. This function has also been extended to searches, such that clcal -s dentist -w -4 will search the four weeks prior to today for all calendar entries containing the string "dentist".

The clcal options --searchfwd, -b, and --searchbck are now deprecated by the introduction of the use of negative numbers as search period modifiers and will be removed from later versions of clcal.

If you are upgrading from clcal version 0.16a or earlier, please change your existing ~/.clcal/colour.cfg with the modified colour.cfg included, or make appropriate changes to your existing colour.cfg.

0.17

A new search function allows searching back through past calendar files. Note that searched past entries can be coloured differently to avoid confusion, so examine the modified colour.cfg file included with this release and make appropriate changes to your existing ~/.clcal/colour.cfg if you are upgrading.

0.16a

Bugfix: a sequence of date files, all empty bar one (near the centre) produces unusual output. Thanks to Andres for pointing this one out.

0.16

Added a search function. Allows you to search your calendar for a regular expression. The search is case-insensitive. See the usage page for more details.

Currently the search function only searches future (or current) entries. The ability to search past entries will follow with a later release.

0.15

Initial release.


install

  1. Uncompress and untar the source tarball
  2. cd into the source directory
  3. build the binary using "make"
  4. optionally copy the binary to a directory in your path

$ tar xjvf clcal-0.20.tar.bz2
$ cd clcal-0.20
$ make
$ cp clcal /dir/in/your/path/


to do

The initial planned features of clcal are complete. I'm moving the development status of clcal (as listed on freshmeat.net) to "beta" :)



Valid XHTML 1.0!     Valid CSS!     freshmeat.net