Skip to contentSkip to conversation

After daylight savings time "TIME" returning previous time

DISCUSSION Stas Sergeev 2 participants 2 messages Nov 14, 2005 – Nov 22, 2005 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · [email protected] wrote:

After daylight savings time changes, the "TIME" program still returns the previous time. Is there a way to get it to return the correct time?

Without restarting dosemu?

Quoted 1 line

Or, possibly a different/better way to get the correct time?

There is a new $_timemode option in CVS.
$_timemode="linux" may do the trick.

#3 lore raw

Re: "TIME" different from Linux

In reply to a message not in the archive

Hi Stas,

This will not do. What I need is to Edit/Compile in one dosemu with normal time and another for debug with the time needed.

I was thinking that as the timer is being worked upon, this could be considered...

Alain

Stas Sergeev escreveu:

Quoted 13 lines
Quoted 1 line · Alain

Quite often (I have to do it today) I need to simulate a problem that happened ad a certain time (satutay 01:30 am) and rerun it many times for debugging.

Trivial script will do. It can set this date before running dosemu, but you probably don't want to disturb your system clocks, right? Well, the script can also restore the proper time after dosemu termination:
hwclock --hctosys