Kit-Cat xclock
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
catclock.xcodeproj
.gitignore
Imakefile
Makefile
README.md
alarm.c
alarm.h
analog.xbm
bell.xbm
cat.xbm
catback.xbm
catclock.hlp
cattie.xbm
catwhite.xbm
digital.xbm
eyes.xbm
patchlevel.h
readme_original
tail.xbm
xclock.ad
xclock.c
xclock.man
xclock.xclock

README.md

catclock

This is a version of the X Window System xclock program, which has been enhanced with a "cat mode". Originally an X10 program by Tony Della Fera (MIT-Athena, DEC), Dave Mankins (MIT-Athena, BBN) and Ed Moy (UC Berkeley), Deanna Hohn and I (at Digital Equipment Corporation) crafted this for our own entertainment in the late 1980's. The graphics were inspired by the famous, indeed iconic, Kit-Cat (R) clock, one of which still hangs in my kitchen. I've put this up on github in honor of this year being the 30th anniversary of the introduction of X10, and because it's a fun desktop toy.

Since the time of our enhancements, the code has been changed very little, primarily to conform to now-more-strict compilers. Currently, it compiles and runs on various Linux distros, Cygwin, and OS X (XQuartz), with changes to the Makefile necessitated only by Macport's default installation of X-related files into /opt/local. The Imakefile is rather dated, and I've not yet attempted to try to make it work -- it's only included now for "historical" reasons. The original readme file, now named readme_original, is also included for historical reasons.

In addition to the cat mode, this version of xclock includes an alarm feature and an hourly chime (see the man page for details). Various X defaults and command-line switches can be used to control the colors for the cat. You may have to modify the Makefile's header and library paths for your machine's X configuration. The only "nonstandard" dependency is on Motif, which is easily obtainable from your favorite package manager.

Usage: xclock [toolkitoptions] [-mode <analog, digital, cat>] [-alarm] [-bell] [-chime] [-file ] [-period ] [-hl ] [-hd ] [-catcolor ] [-detailcolor ] [-tiecolor ] [-padding ] [-update ] [-ntails ] [-help]

Enjoy!