From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,3ba4cceb6a457425,start X-Google-Attributes: gid10d4db,public From: matuli_a@marlin.navsea.navy.mil (Alex Matulich 03T1) Subject: cal 3.5 - enhanced cal (calendar) command Date: 1996/12/11 Message-ID: #1/1 X-Deja-AN: 203457823 x-original-date: 10 Dec 1996 18:51:57 GMT organization: Naval Sea Systems Command Code 03T1 followup-to: comp.os.linux.misc newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- CAL is a nicely-enhanced version of the unix `cal' command. This is cal 3.5, an update to version 3.4 available on some linux archives. Available at ftp://ftp.unicorn.us.com/pub/cal35.zip Features: * Commandline-compatible with unix `cal' command, but with several enhanced switch settings. * Hilights today's date when displaying a monthly calendar. * Can be compiled to use ANSI color, with a #define in the source. Completely configurable colors -- eight separate color attributes which may be specified in an optional color control file. A DOS executable requiring no ANSI driver is also included in the archive. * Displays an optional user-definable list of `special day' descriptions (like appointments) to the right of the monthly calendar display. Cal can be set optionally to ignore appointments older than the current day. Next month's appointments are shown if there is room to do so. Multiple appointment data files may also be specified on the commandline. * Date descriptions can display "years since" a given year, useful for birthdays and anniversaries. The program also handles periodic appointments (paydays every two weeks, Thanksgiving day the 4th thursday in November, and so on). I'm posting this here in the hope that this program will be distributed to various linux archives. This archived collection of files is placed into the Public Domain. If you distribute the archive, please make sure it contains all these original files: readme.cal - Information similar to what you just read cal.exe - An MSDOS executable program cal.doc - documentation for cal.exe cal.dat - optional sample data file of appointment dates cal.col - optional sample file of color attributes source/*.os2 - files about compiling the source for OS/2 source/*.unx - unix-related information source/cal.1 - unix man page for cal with formatting codes source/cal.c - source code for cal Version history from 3.4 to the current 3.5: 3.4 Chris Bagwell modified the source extensively to use ANSI color control instead of hardware control, and made other unix-related changes. Added support for periodic reminders (e.g. payday every 14 days). Added -p flag. 3.5 Dan Fandrich added support for unix "reminder(1)" date file. Cleaned up source code. Fixed a bug in periodic reminders that caused all periodic dates for that month to have todays date on the day of the event. Added support for reading an environment variable CALOPT. If this variable is set then it will be read in and any command line options will be used. Cal will now return an error code if it did not successfully run. Dates calculated in description text changed. It now never displays the [] or {}'s. If you need them then you can add it to the text by escaping them with a '\' (such as "\["). Added -thismonth option to disable appointment display for next month; this also now requires the -today option to be specified with more than just -t. Enjoy. - -- "These are MY words, not my employer's" /| - -- Alex Matulich -- __. __=#|| ___ _o-- matuli_a@marlin.navsea.navy.mil ____##_/_____|==###===###____ \____________________________\ -----BEGIN PGP SIGNATURE----- Version: 2.6.3 Charset: noconv iQCVAwUBMq5dY6kybebRDjw1AQFbkQP/aac0/1nQvlULhE50UqP6dLUlmPTTE606 FpHT7+qprD6dVmRznG82I52DxIUn2flvZ3/07o85nnfmD6fk47vLhrwjB2c1cF3h KpL+6tfY5xFhv4Ry0B0+ClKD4XjqtXksrUWWDEg1OZh9Pn4AXw67gtd0pJvoDNd7 bM18QKhi2kg= =yV+h -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.pathname.com/~quinlan/pgp.html has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html.