3 readclock \- read the AT's real time clock
5 \fBreadclock\fP [\fB\-nwW2\fP]
8 reads the AT's real time clock and sets the machine's time. It is usually
9 the second thing done in
11 the first thing is setting the time zone by sourcing
13 This means that the clock is assumed to tell the wall clock time. If you
14 want to run the clock in GMT then you can put
16 (or any other TZ value) in front of the readclock command.
20 Play-act, don't set the time nor change the calibration data, just show what
24 Write the current time to the CMOS clock. Dangerous, see
28 in front of readclock if the clock should run in GMT.
33 but also sets the status registers of the CMOS clock to their proper values.
34 (For if the clock suddenly runs at an odd pace or has stopped and the BIOS
38 Add 20 to any year before 2000. If your CMOS clock year can't run past 2000,
39 then you can set it to 1980 and use
41 to correct the year. Together with
43 the year minus 20 is written to the clock.
47 Timezone and other shell initialization code.
52 Reported to not work on some AT's.
54 May mess up the clock royally when setting it
56 Only if you have a very standard AT and you are not afraid of having your
57 CMOS setup reset to the default with a "checksum error" should you use
59 to set the time of the CMOS clock. You have been warned.
61 Kees J. Bot (kjb@cs.vu.nl)