README revision 1.5
11.5Skleink@(#)README	7.11
21.4Sjtc
31.4Sjtc"What time is it?" -- Richard Deacon as The King
41.4Sjtc"Any time you want it to be." -- Frank Baxter as The Scientist
51.4Sjtc					(from the Bell System film "About Time")
61.4Sjtc
71.4SjtcThe 1989 update of the time zone package featured
81.4Sjtc
91.4Sjtc*	POSIXization (including interpretation of POSIX-style TZ environment
101.4Sjtc	variables, provided by Guy Harris),
111.4Sjtc*	ANSIfication (including versions of "mktime" and "difftime"),
121.4Sjtc*	SVIDulation (an "altzone" variable)
131.4Sjtc*	MACHination (the "gtime" function)
141.4Sjtc*	corrections to some time zone data (including corrections to the rules
151.4Sjtc	for Great Britain and New Zealand)
161.4Sjtc*	reference data from the United States Naval Observatory for folks who
171.4Sjtc	want to do additional time zones
181.4Sjtc*	and the 1989 data for Saudi Arabia.
191.4Sjtc
201.4Sjtc(Since this code will be treated as "part of the implementation" in some places
211.4Sjtcand as "part of the application" in others, there's no good way to name
221.4Sjtcfunctions, such as timegm, that are not part of the proposed ANSI C standard;
231.4Sjtcsuch functions have kept their old, underscore-free names in this update.)
241.4Sjtc
251.4SjtcAnd the "dysize" function has disappeared; it was present to allow compilation
261.4Sjtcof the "date" command on old BSD systems, and a version of "date" is now
271.4Sjtcprovided in the package.  The "date" command is not created when you "make all"
281.4Sjtcsince it may lack options provided by the version distributed with your
291.4Sjtcoperating system, or may not interact with the system in the same way the
301.4Sjtcnative version does.
311.4Sjtc
321.4SjtcSince POSIX frowns on correct leap second handling, the default behavior of
331.4Sjtcthe "zic" command (in the absence of a "-L" option) has been changed to omit
341.4Sjtcleap second information from its output files.
351.4Sjtc
361.5SkleinkHere is a recipe for acquiring, building, installing, and testing the
371.5Skleinktz distribution on a GNU/Linux or similar host.
381.5Skleink
391.5Skleink	mkdir tz
401.5Skleink	cd tz
411.5Skleink	wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
421.5Skleink	gzip -dc tzcode*.tar.gz | tar -xf -
431.5Skleink	gzip -dc tzdata*.tar.gz | tar -xf -
441.5Skleink
451.5SkleinkBe sure to read the comments in "Makefile" and make any changes needed
461.5Skleinkto make things right for your system, especially if you are using some
471.5Skleinkplatform other than GNU/Linux.  Then run the following commands,
481.5Skleinksubstituting your desired installation directory for "$HOME/tzdir":
491.5Skleink
501.5Skleink	make TOPDIR=$HOME/tzdir install
511.5Skleink	$HOME/tzdir/etc/zdump -v America/Los_Angeles
521.4Sjtc
531.4SjtcTo use the new functions, use a "-ltz" option when compiling or linking.
541.4Sjtc
551.4SjtcHistorical local time information has been included here not because it
561.4Sjtcis particularly useful, but rather to:
571.4Sjtc
581.4Sjtc*	give an idea of the variety of local time rules that have
591.4Sjtc	existed in the past and thus an idea of the variety that may be
601.4Sjtc	expected in the future;
611.4Sjtc
621.4Sjtc*	provide a test of the generality of the local time rule description
631.4Sjtc	system.
641.4Sjtc
651.4SjtcThe information in the time zone data files is by no means authoritative;
661.4Sjtcif you know that the rules are different from those in a file, by all means
671.4Sjtcfeel free to change file (and please send the changed version to
681.4Sjtctz@elsie.nci.nih.gov for use in the future).  Europeans take note!
691.4Sjtc
701.4SjtcThanks to these Timezone Caballeros who've made major contributions to the
711.4Sjtctime conversion package:  Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
721.4SjtcGuy Harris; Mark Horton; John Mackin; and Bradley White.  Thanks also to
731.4SjtcMichael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
741.4Sjtcfor testing work, and to Gwillim Law for checking local mean time data.
751.4SjtcNone of them are responsible for remaining errors.
761.4Sjtc
771.4SjtcLook in the ~ftp/pub directory of elsie.nci.nih.gov
781.4Sjtcfor updated versions of these files.
791.4Sjtc
801.4SjtcPlease send comments or information to tz@elsie.nci.nih.gov.
81