Page 1 of 1

Re: modified sleep desk accessory

Posted: February 22nd, 1985, 4:21 am
by Info-Mac
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site uw-beaver
Path: utzoo!dciem!nrcaero!pesnta!hplabs!tektronix!uw-beaver!info-mac
From: info-mac@uw-beaver
Newsgroups: fa.info-mac
Subject: Re: modified sleep desk accessory
Message-ID:
Date: Mon, 4-Feb-85 04:23:26 EST
Article-I.D.: uw-beave.749
Posted: Mon Feb 4 04:23:26 1985
Date-Received: Thu, 7-Feb-85 07:34:36 EST
Sender: daemon@uw-beaver
Organization: U of Washington Computer Science
Lines: 72

From: edmoy%ucbopal.CC@Berkeley

Thanks for notifying me of the sitting apple bug. I thought I fixed it,
but it reappeared. A new version is being posted to net.sources.mac and
info-mac.

As for the Lisa bug, we don't have a lisa here to play with yet, so I've
held off on doing anything. When I do, I'll let you know.

Edward Moy
Computing Services
University of California
Berkeley, CA 94720

[email protected]
ucbvax!ucbopal!edmoy
Return-Path:
Received: from UCB-VAX.ARPA by SUMEX-AIM.ARPA with TCP; Sat 2 Feb 85 14:40:24-PST
Received: from ucbjade.CC.Berkeley.ARPA (ucbjade.ARPA) by UCB-VAX.ARPA (4.24/4.41)
id AA02268; Wed, 30 Jan 85 19:13:50 pst
Received: from ucbopal.CC.Berkeley.ARPA (ucbopal.ARPA)
by ucbjade.CC.Berkeley.ARPA (4.19/4.31.3)
id AA28926; Wed, 30 Jan 85 17:42:33 pst
Received: by ucbopal.CC.Berkeley.ARPA (4.19/4.31.3)
id AA03388; Wed, 30 Jan 85 17:42:05 pst
Date: Wed, 30 Jan 85 17:42:05 pst
From: edmoy%ucbopal.CC@Berkeley
Message-Id:
To: [email protected]
Subject: Fixed sleep DA

Many thanks for all those of you out there who used my modified sleep desk
accessory and noticed the bug. I thought I'd fixed it once, but it reappeared.
I think this new version no longer leaves an apple motionless on the screen.
I've submitted it to net.sources.mac and to info-mac in compressed binhex
format and it uses the standard "desk" application to preview and install it.

For those who missed it the first time, here is part of the original text
I sent. Again, many thanks to Walter Smith, who submitted it first.

Sleep is a desk accessory that blacks out the screen, so that you can
leave it on all the time and instantly start where you left off.
Unlike turning down the brightness control, an apple is constantly moved
around the screen to remind you that it is still on.

The major change is that the desk accessory has been restructured so that
clicking the mouse button causes SystemClick to call CloseDeskAcc so that
memory for it is no longer locked. Also, it uses my dynamic relocation
scheme, so that it doesn't cause the Mac to bomb when it is restarted
after another desk accessory has been opened.

An added feature (actual hiding a bug) is that if you hold the mouse button
down and release it in the area where the menu bar is normally, sleep
continues. Unfortunately, if the cursor is already in the menu bar area
and you click the mouse, nothing happens (you just have to move the mouse
down).

I changed the cursor to be a hilited close box with an arrow in it when you
hold the mouse button down. Moving it into the menu bar area will cause the
cursor to disappear.

Edward Moy
Computing Services
University of California
Berkeley, CA 94720

edmoy@ucbopal
ucbvax!ucbopal!edmoy

[ Sleep2.hcx is replaced with this fixed version. -jma ]

(This file must be converted with BinHex.Hex)