Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/cal



Module Name:    src
Committed By:   atatat
Date:           Thu Jun  5 00:21:21 UTC 2003

Modified Files:
        src/usr.bin/cal: Makefile cal.1 cal.c

Log Message:
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
Anglo-centric.  ;-P


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.




Home | Main Index | Thread Index | Old Index