From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a01a7c797e7f3d61 X-Google-Attributes: gidfee84,public From: "Gerhard Stegemann" Subject: Re: date fix for OSF1 V 3.2 Date: 2000/01/03 Message-ID: <84r8tr$rba$1@ssauraac-i-1.production.compuserve.com>#1/1 X-Deja-AN: 567923927 Content-Transfer-Encoding: 7bit References: <3870A12A.41C67EA6@ic.ac.uk> <6cln67nr5t.fsf@rational.com> X-Priority: 3 Content-Type: text/plain; charset="Windows-1252" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: newsmaster@compuserve.com X-Trace: ssauraac-i-1.production.compuserve.com 946939643 28010 212.211.70.32 (3 Jan 2000 22:47:23 GMT) Organization: =?Windows-1252?Q?Ing.-B=FCro_Gerhard_Stegemann?= X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 3 Jan 2000 22:47:23 GMT Newsgroups: comp.unix.osf.osf1 "John Kohl" schrieb im Newsbeitrag news:6cln67nr5t.fsf@rational.com... > Scott Channon writes: > > > > > I have an old dec 3000 running OSF1 V 3.2. Although this is not > > y2k compliant, it has booted up fine although the date command > > command only allows you to change the date from 1999 to 2036. > > I would guess you should be able to write your own C program to call the > settimeofday() routine. Just calculate the seconds since > 1970-01-01.00:00 UTC, then use that in the values passed to > settimeofday(). Much simpler. I have downloaded the GNU Shell Utilities (current version 2.0). Configured and compiled them. Ran the date command out of this package, and voila, I'm back in the current year. However, I didn't install the package. It was sufficient to run the the GNU date command from a local directory. But you may place the date executable in a system directory to have it right in place. And also the modified man pages. -- Gerhard Stegemann