Unix Technical Digest V1 #51
Heiby
netnews at wnuxb.UUCP
Sun Apr 28 07:56:42 AEST 1985
Unix Technical Digest Sat, 27 Apr 85 Volume 1 : Issue 51
Today's Topics:
Daylight saving time for Western Europe.
group accounting in 4.2
----------------------------------------------------------------------
Date: Fri, 19 Apr 85 04:54:47 -0200
From: seismo!mcvax!kunivv1!sjors
Subject: Daylight saving time for Western Europe.
At the end of this item you will find corrected and extended day-
light saving time tables for Western Europe. (4.2 BSD) These
have to be inserted in ctime.c. The original table was incorrect
for 1985, as has been noted before in this newsgroup, and didn't
have entries for the years after 1985.
I have also included the original comment. It too requires a few
corrections:
- Portugal is in the WET time zone, but follows the rules of the
MET time zone for daylight saving time.
- Iceland is also in the WET time zone, but doesn't have daylight
saving time. They are too far to the North and to the West to
benefit from it, I guess.
- Albania is missing from the list of countries in the MET time
zone. It has its very own rules for daylight saving time, dif-
ferent from anyone else's.
For the years after 1988, the EEC Council of Ministers hasn't yet
decided on the dates. They are still trying to get the UK and
Ireland in line with the rest of Europe. La perfide Albion
again.
/*
* The European tables ... based on hearsay
* Believed correct for:
* WE: Great Britain, Ireland, Portugal
* ME: Belgium, Luxembourg, Netherlands, Denmark, Norway,
* Austria, Poland, Czechoslovakia, Sweden, Switzerland,
* DDR, DBR, France, Spain, Hungary, Italy, Jugoslavia
* Eastern European dst is unknown, we'll make it ME until someone speaks up.
* EE: Bulgaria, Finland, Greece, Rumania, Turkey, Western Russia
*/
static struct dstab wedaytab[] = {
1983, 86, 303, /* 1983: end March - end Oct */
1984, 86, 303, /* 1984: end March - end Oct */
1985, 89, 303, /* 1985: end March - end Oct */
1986, 89, 301, /* 1986: end March - end Oct */
1987, 89, 301, /* 1987: end March - end Oct */
1988, 89, 301, /* 1988: end March - end Oct */
0, 400, 0, /* others: no daylight saving at all ??? */
};
static struct dstab medaytab[] = {
1983, 86, 272, /* 1983: end March - end Sep */
1984, 86, 272, /* 1984: end March - end Sep */
1985, 89, 272, /* 1985: end March - end Sep */
1986, 89, 272, /* 1986: end March - end Sep */
1987, 89, 272, /* 1987: end March - end Sep */
1988, 89, 272, /* 1988: end March - end Sep */
0, 400, 0, /* others: no daylight saving at all ??? */
};
------------------------------
Date: Wed, 27 Mar 85 21:02:15 MST
From: utah-cs!j at utah-cs.UTAH-CS (J Lepreau)
Subject: group accounting in 4.2
We have done this (for years, moving it into each new release, yech).
Changes to /etc/sa are trivial since the "base" gid is already
recorded in acct: basically just "sed s/pw/gr/g sa.c >gsa.c".
Connect time accounting is harder, and requires adding a "group"
field to utmp, and a little code to login, init, and ac; optionally
one can also add a little code to who and last to display the group.
{decvax,ihnp4,seismo}!utah-cs!lepreau, lepreau at utah-cs
------------------------------
End of Unix Technical Digest
******************************
--
Ronald W. Heiby / netnews at wnuxb.UUCP | unix-request at cbosgd.UUCP
AT&T Information Systems, Inc., Lisle, IL (CU-D21)
More information about the Mod.unix
mailing list