Hangar.La tienda de software del Amiga

WatchDST1_1 1.1

tool to handle DST switches automatically

Short:        tool to handle DST switches automatically
Author:       andre@melior.s.bawue.de (Andre Schenk)
Uploader:     andre melior s bawue de (Andre Schenk)
Type:         util/time
Version:      1.1
Architecture: m68k-amigaos >= 3.1

This little tool is almost a bug fixed clone of the tool "ClockDaemon".

Features:
---------
 - keeps the hardware clock at GMT,
 - patches battclock.resource so that reads and writes to the hardware
   clock are transparently adjusted,
 - handles daylight savings time,
 - detects DST changes while computer is running and during startup,
 - optionally runs a command when DST changes,
 - includes DSTCheck program for use in scripts,
 - optionally patches locale.library to give correct offset during DST

Installation:
-------------
Copy WatchDST and DSTCheck to C:, and add 

Run <NIL: >NIL: WatchDST <command> LOCALEPATCH

to your User-Startup, where <command> is a program you want to be executed when
daylight savings time begins or ends. Store an appropriate (see timezone.doc)
timezone string in ENVARC:TZ.

The switch LOCALEPATCH will make WatchDST patch the OpenLocale()
function in locale.library. When OpenLocale() is called with a NULL
argument to get the default locale setting, the field loc_GMTOffset will
be set to the correct value. Caution: Some clever programs make a DST
correction of their own. This will blow up now, so you have to disable
that.

Reboot and reset your clock to your local time via the Time preferences
program.

WatchDST notices the start or end of daylight savings time regardless if your
computer is running at that time or not. (If it is not running, the change
command will be executed the next time WatchDST is started.)

ATTENTION: The command you want to have executed must terminate or WatchDST
           will hang!

Gratis

Descargar 48 KB

Desde el Amiga: abre Hangar y busca WatchDST1_1.

Autorandre@melior.s.bawue.de (Andre Schenk)
Categoríautil/time
Tamaño48 KB
Param68k-amigaos >= 3.1
OrigenAminet