Changi NNTP Server 1.0

[ Bottom of Page | Previous Page | Next Page | Table of Contents ]

Changi Environment
Specifying Miscellaneous Parameters

CHANGIEXPIREREASON

Expire tries to pause the local Changi server when it needs exclusive access to the history file, using Expiring as the reason. Use this option to give a different reason.

Example:

SET CHANGIEXPIREREASON=daily maintainance

TZ

Like other global networking protocols, the NNTP protocol requires that dates and times be quoted in GMT (Greenwich mean time). PCs usually have set their internal clocks to local time.

The environment variable TZ is used to indicate and calculate the current offset from GMT.

For use in the USA or other countries that switch to daylight saving time at the same time the simple form of the TZ value is:

SET TZ=EST5EDT
where EST is the standard time zone name, EDT is the daylight saving time zone name and 5 is the difference between the standard time zone and GMT, measured in hours West of GMT.

This simple form assumes that a 1 hour time change starts at 01:00 on the first Sunday in April and ends at 02:00 on the last Sunday of October. If this is not the case in your country, then you must use the full format:


SET TZ=SSS[+|-]nDDD,sm,sw,sd,st,em,ew,ed,et,shift
SSS
The name of your local time zone.

n
This is the difference between your local time zone and GMT, expressed in hours west of Greenwich. If you're located east of Greenwich you may use a negative value. Germany, for example, is -1.

DDD
This is the name of the time zone if daylight saving time is in effect.

sm (em)
The starting (ending) month (1-12) for daylight saving time adjustment.

sw (ew)
The starting (ending) week for daylight saving time adjustment, either counting 1 to 4 from the beginning or -4 to -1 from the end. 0 indicates that a particular day of the month is specified.

sd (ed)
The starting (ending) day for daylight saving time adjustment, either the day of a week (0=Sunday, 1=Monday...), if sw isn't 0, or the day of a month (1-31), if sw is equal to 0.

st (et)
The starting (ending) second of the day for daylight saving time adjustment.

shift
Specifies the shift in daylight savomg time change, measured in seconds.

Example:

The setting for the UK in 1995 should have been:

SET TZ=GMT0BST,3,0,26,3600,10,0,22,3600,3600

[ Top of Page | Previous Page | Next Page | Table of Contents ]


URL: changi/manual/envimisc.html
Created: 2 November 1996
Revised: 21 November 1996
Author: harald@os2point.ping.de