unixclock - make the amiga hardware clock behave like a UNIX clock
© Copyright 1995 by Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
© Copyright 1997 by Gunther Nikl (gnikl@informatik.uni-rostock.de)
-----------------------------------------------------------------------------
Unixclock allows you to set your hardware clock to GMT (Greenwich Mean Time)
and have the correct time under UNIX-alikes (e.g. Linux/68k, NetBSD-Amiga,
etc...) and AmigaOS.
It reads the local time zone from the Locale prefs and patches
battclock.resource, so all hardware clock reads and writes will be converted
from GMT to local time and vice versa.
Drop the program into the WBStartup drawer or put the following line in your
`S:User-Startup' (i.e. after IPrefs):
Run <>NIL: unixclock
You can remove unixclock by sending it a CTRL-C.
This version doesn't care about DST (Daylight Savings Time) yet.
History:
1.1: - patch (de)installation now protected with Forbid()/Permit()
- pachtes rewritten in C (requires at least gcc 2.7.2)
- additional code cleanup
1.0: - initial release
-----------------------------------------------------------------------------
This program is subject to the terms and conditions of the GNU General Public
License. See the file README.legal for more details.
|