OpenBCM V1.13 (Linux)

Packet Radio Mailbox

DB0FHN

[JN59NK Nuernberg]

 Login: GUEST





  
PA2AGA > TCPDIG   24.04.96 06:30l 184 Lines 7259 Bytes #-11177 (0) @ EU
BID : TCP_96_80F
Read: DG7DAH GUEST
Subj: TCP-Group Digest 96/80F
Path: DB0AAB<DB0PV<DB0MAK<DB0SON<DB0SIF<DB0SRS<DB0ZDF<DB0GE<LX0PAC<ON7RC<
      ON4AWP<ON6AR<PI8HWB<PI8VAD<PI8VNW
Sent: 960424/0151Z @:PI8VNW.#ZH2.NLD.EU #:54487 [Hoek v Holland] FBB5.15c
From: PA2AGA@PI8VNW.#ZH2.NLD.EU
To  : TCPDIG@EU

Received: from pa2aga by pi1hvh with SMTP
	id AA6684 ; Wed, 24 Apr 96 01:13:03 UTC
Received: from pa2aga by pa2aga (NET/Mac 2.3.60/7.5.3) with SMTP
	id AA00005627 ; Wed, 24 Apr 96 00:01:38 MET
Received: from pa2aga-10 by pa2aga with SMTP
	id AA00005575 ; Tue, 23 Apr 96 23:47:33 MET
Received: from pa2aga-10 by pa2aga-10 (NET/Mac 2.3.60/7.1) with SMTP
	id AA00004438 ; Tue, 23 Apr 96 23:47:27 MET
Date: Tue, 23 Apr 96 10:08:23 MET
Message-Id: <tcp_96_80F>
From: pa2aga
To: tcp_broadcast@pa2aga-10
Subject: TCP-Group Digest 96/80F
X-BBS-Msg-Type: B


 o   Both Linux and DOS/Windows are happy.


I'm not a Win95 user. I gather that there is some support for timezones
and automatic changeover to/from daylight savings time in Win95. If this is
the case, then this package may not be suitable, or may not give you much
in the way of extra features.

I'm a DOS/Win3/Linux user, and I wish I'd found this program =years= ago!

If you'd like to try out this 10$ shareware package, let me know a good site
to upload it to.

Here is the author's advert for it:

[Quote ON]

CLOCK  consists  of  two  programs  that  give  you  complete control over the
operation  of  your  calendar  (battery-protected)  clock  and  your  DOS/BIOS
internal  timer.    The  normal  DOS mode of operation is to read the calendar
clock  when  you  boot  the system and set the internal timer.  Thereafter all
read operations refer only to the internal timer while time setting operations
write to both clocks.  In levels of DOS prior to 3.3, even time setting opera-
tions  only  wrote  to the internal timer.  In order to set the calendar clock
you had to run the SETUP program.

Some  of  the  drawbacks  to  the  standard DOS clock operation that the CLOCK
programs address are:

     o    There  is  no  provision  to switch time zones without resetting the
          system time.

     o    DOS  does not handle automatic changes between daylight savings time
          and standard time.

     o    The DOS/BIOS internal timer often drifts quite rapidly away from the
          time maintained by the more accurate calendar clock.

     o    Even  the  calendar clock drifts slowly away from the accurate time.
          DOS provides no way to automatically adjust for that drift.

     o    If  your  battery  is  failing  or  some  other hardware or software
          problem  messes  up the time in your calendar clock, there is no way
          to  detect  that except by manually displaying the time and checking
          it.

     o    If  you  have  to  run  a program that occasionally changes the time
          incorrectly,  there  is  no  way  to  protect  your clock from those
          changes.    You can also have this problem if you are a parent whose
          children  set  the  clock when you don't want them to, an instructor
          whose students reset the time, or an expert young user whose parents
          mess up your clock.

     o    If  you  need  to  experiment with special times and dates but don't
          want to have to reset your clock afterwards, DOS has no mechanism to
          h e l p.    In  order  to  test  end-of-month  processing  for  your
          application,  you have to set the date and time, run your tests, and
          then set the time and date back.

     o    The  standard  DOS and BIOS software on some PCs can miss the change
          to a new day when the PC is left on over midnight.

     o    Your  clock  might not handle automatic changes to a new year or may
          not understand leap years.

     o    You may have an older PC from before the PC/AT clock standardization
          and  your vendor no longer releases new versions of DOS for that PC.
          You  are  stuck  on  DOS  3.2 or earlier or you have to give up your
          calendar clock.

If any of those circumstances cause problems for you, CLOCK can help.  The two
primary  programs  are  CLOCK.SYS  and  CLK.EXE.    In  addition, if you are a
software  developer,  CLKDEMO  is  provided  in source code to show you how to
program the extended clock operations into your own applications.


     CLOCK.SYS is a clock device driver (CLOCK$ device).  It replaces the
     DOS  internal  clock  driver.  CLOCK.SYS provides for automatic time
     zone conversion.  It also allows you to periodically or continuously
     get  the  time  from the calendar clock.  This can totally eliminate
     problems  with  missing  day  changes  and  realtime clocks that are
     inaccurate.    CLOCK.SYS provides support for many types of calendar
     clocks including many of the original add-in clocks of the 8088 era.
     If  your  clock is not currently supported, I want to hear from you.
     I will be happy to add it to the software.

     CLK.EXE  is  a  program  that  allows you to separately control your
     DOS/BIOS  internal clock and battery-protected calendar clock.  Most
     importantly,  CLK.EXE  will handle time zones and will automatically
     switch  between standard and daylight savings time for you.  It also
     supports  automatic  adjustment for calendar clock drift, checks for
     incorrect or unlikely times, and can restrict time changes.

     CLKDEMO.EXE  is  a  small part of CLK.EXE that is provided in source
     code  (C language) form so that you can see how to add clock control
     to your own applications.


The latest version of CLOCK (3.82) has the option to automatically set two
DOS environmental variables ("TZ" and "GTZ").  These variables are used by
standard C compiler libraries to implement the time routines.

[Quote off]


73, Andrew G8FSL

-- 
Andrew Benham       A.D.S.Benham@bnr.co.uk
Nortel Ltd, 140 Greenway, Harlow Business Park,
  Harlow, Essex CM19 5QD, United Kingdom
Tel: +44 1279 402372    Fax: +44 1279 405746

------------------------------

Date: Fri, 19 Apr 1996 22:42:37 +0200 (MET DST)
From: Simon J Mudd <sjmudd@bitmailer.net>
Subject: PC Clocks 

On 19 Apr 1996 A.D.S.Benham@bnr.co.uk wrote:

> [snip]
> 
> The straw that broke the camel's back in my case was having a PC with both
> DOS/Windows and Linux installed on it. Linux handles the clock and timezones
> perfectly IF the real-time clock is set to GMT. However this wrecks the time
> in DOS/Windows.
>
> [snip]

Linux can be setup to use the CMOS clock reading/writing local time, not GMT.

see man clock(8) for more info.

This shouldn't affect the DOS/Windows settings at all.

A crontab job could be setup to update the CMOS clock and thus eliminate 
the need to change the clock (if you are running unix) when the clocks 
change to or from summertime.

Also if you have a connection to the Internet and use a unix, a utility 
netdate (or better still ntp) will allow you to update your clock from a 
reliable source.

73, Simon J Mudd, EA4ELS / G0FNB
Madrid, SPAIN

------------------------------

End of TCP-Group Digest V96 #80
******************************

You can send your message for this bulletin
to:     tcp-group@pa2aga           on .AMPR.ORG-net
or:     tcpaga@pi8vnw.#zh2.nld.eu  on BBS-net
        ------

NOT TO: pa2aga@pa2aga  or  pa2aga@pi8vnw.#zh2.nld.eu  PLEASE!!

It will get posted automatically within a few days





Read previous mail | Read next mail


 30.11.2026 19:38:24lGo back Go up