* date fix for OSF1 V 3.2
@ 2000-01-03 5:00 Scott Channon
2000-01-03 5:00 ` John Kohl
0 siblings, 1 reply; 3+ messages in thread
From: Scott Channon @ 2000-01-03 5:00 UTC (permalink / raw)
I have an old dec 3000 running OSF1 V 3.2. Although this is no
t
y2k compliant, it has booted up fine although the date command
command only allows you to change the date from 1999 to 2036.
Does anyone know of a fix for this? I realise that 3.2 is out of date
but would like to know if there is one.
Regards
Scott Channon
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: date fix for OSF1 V 3.2
2000-01-03 5:00 date fix for OSF1 V 3.2 Scott Channon
@ 2000-01-03 5:00 ` John Kohl
2000-01-03 5:00 ` Gerhard Stegemann
0 siblings, 1 reply; 3+ messages in thread
From: John Kohl @ 2000-01-03 5:00 UTC (permalink / raw)
Scott Channon <sw.channon@ic.ac.uk> writes:
>
> I have an old dec 3000 running OSF1 V 3.2. Although this is no
> t
> 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().
--
John Kohl <jtk@rational.com>
working for but not speaking for: Rational Software <http:/www.rational.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: date fix for OSF1 V 3.2
2000-01-03 5:00 ` John Kohl
@ 2000-01-03 5:00 ` Gerhard Stegemann
0 siblings, 0 replies; 3+ messages in thread
From: Gerhard Stegemann @ 2000-01-03 5:00 UTC (permalink / raw)
"John Kohl" <jtk@rational.com> schrieb im Newsbeitrag
news:6cln67nr5t.fsf@rational.com...
> Scott Channon <sw.channon@ic.ac.uk> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-01-03 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-03 5:00 date fix for OSF1 V 3.2 Scott Channon
2000-01-03 5:00 ` John Kohl
2000-01-03 5:00 ` Gerhard Stegemann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox