Subject: [email@example.com: CVS commit: src/usr.bin/cal]
To: Andrew Brown <firstname.lastname@example.org>
From: John Hawkinson <jhawk@MIT.EDU>
Date: 06/05/2003 00:15:40
Are we going to go adding color support to all of the basic unix apps?
It seems like a slippery slope, and I really question whether it is
one we should start down.
----- Forwarded message from Andrew Brown <email@example.com> -----
From: Andrew Brown <firstname.lastname@example.org>
Subject: CVS commit: src/usr.bin/cal
Date: Thu, 5 Jun 2003 00:21:21 +0000 (UTC)
Module Name: src
Committed By: atatat
Date: Thu Jun 5 00:21:21 UTC 2003
src/usr.bin/cal: Makefile cal.1 cal.c
Add -h to cal, which makes it highlight the current date, if it's
present in the displayed calender. It uses libtermcap to discover the
proper sequences to turn on bold, or uses overstriking if output is
not to a terminal. If you use two -h options with terminal output,
the date is presented in reverse video instead of bold.
Next we'll have to make the Gregorian gap vary with TZ settings, since
the current method (do it only for September 1752) is decidely
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/usr.bin/cal/Makefile
cvs rdiff -r1.14 -r1.15 src/usr.bin/cal/cal.1 src/usr.bin/cal/cal.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
----- End forwarded message -----