[fa.info-mac] modified sleep desk accessory

info-mac@uw-beaver (01/25/85)

From: edmoy%ucbopal.CC@UCB-VAX

Here is a modified version of the sleep desk accessory.  Many thanks to
Walter Smith, who submitted it first (Walter, if you're out there, I've held
off submitting the source code until I OK it with you).

For those who missed it the first time, 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 (another letter from me to info-mac talked about this), 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 change 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.

Like the note from Lonnie R. Abelbeck, I prefer a smoothly moving apple to
the jumping apple, so this version has that implemented.

The file is in binhex format and uses the standard desk application to
preview and install it.  Again, many thanks to Walter.

Edward Moy
Computing Services
University of California
Berkeley, CA  94720

edmoy@ucbopal
ucbvax!ucbopal!edmoy

----- cut here --------------------------------------------- cut here -----
(This file must be converted with BinHex.Hex)
#APPLCCOM$0000
***COMPRESSED
***RESOURCE FORK
(    0   ",    B     ((                     
(                                           
(                                           
(                                           
(                                           
(                                           
(                                           
(                                           
(     P / !1 +0!KP$ 554   !>  (      %H "@!N
( !0! )/2P      6@$. &X!5 0&0V%N8V5L       *
(  \ $8!7H@J4F5P;&%C92!S>7-T96T@<F5S;W5R8V4@
(%XP('1Y<&4]7C$@:60]7C(_    #F0D   " 4(   !H
( !L '  = !X!@!3;&5E<                       
(           8#0   W(    V   #.P             
(                                        '  
(& .< 1@"G (8 9P#& "<!!(YS_\1?K_X$?Z_WPB"P*!
( #___^2DF=*TY)'^O^>TY,H6].3)%O3DAX< H<   #_
(&8&TY,D6V#N#(<   #_9P;CG]7'8. (.0     !>V<,
(#\\  &IR'0!2H)F_"/-    9"\)+P@@?    0;1P"!0
($Z04(],WS_\#(!     9@1"@$YU+SD   C\3G4   $<
(    Y(   )"   #=@   ;0  $Y6  !([@    !*>0  
( S@9@  7B\\   -.$ZY   'S%B/+SP   U,3KD   ><
(%B/+SP    *3KD   @<6(\O/     I.N0  "$Q8CR\\
(     !.N0  "#Q8CR\Y   -.$ZY   'O%B/,_P  0  
( S@(&X #$JH !YF   ,+RX #&$  A!8CR \0    &  
(  &8    DY>3G5.5@  2.X     +SD   W 3KD   B\
(%B/(&X #$*H !XS_/__   ,WDZY   'W$IY   ,ZF8 
(  03KD   @,,_P  0  #.HO.0  #;A.N0  "1Q8CR\Y
(   #;A.N0  ")Q8CR\\   -3$ZY   'K%B/0GD   S@
($ZY   ([" \0    &    9@   "3EY.=4Y6__Q([B  
(/_\('D   W 2B@ ;F<  ! @>0  #<!** !O9@  #" \
($    !@  #\(&X "# H !I(P&   ,QA  ($8   V"!N
(  (*F@ '# 52,!@  "<+SD   W 3KD   C,6(\O.0  
( W 3KD   C<6(\O/   #3A.N0  !\Q8CR\\   -3$ZY
(   ![Q8CR\\   -="\\   -7$ZY   (?%"/+SD   TX
($ZY   'O%B/8   4C M  Y(P *      6<  "I.N0  
( D,(\    VX3KD   C\2GD   SJ9P  #DZY   '_$)Y
(   #.I@   6#(     &9P#_7@R     "&< _[)@   6
( R     0&< _S8,@    $%G /\D(#Q     8   !F  
(  "3.X@ /_\3EY.=4Y6  !([@     @/$    !@   &
(&    ).7DYU3E8  $CN     " \0    &    9@   "
($Y>3G5.5@  2.X     +SP   %6+SP   ( +SP     
("\\     "\\   -/$ZY   (;-_\    %"\\     "\\
(     $O//____\O/     (O/      O/   #-0O/   
( T\+SP     3KD   BLW_P    @(\    W ('D   W 
("/H 'X   U((#D   U( H#_    (CD   SP@($@>0  
( W (4  ?B Y   -2 *  /___R/    -2"!N  @A>0  
( W  !X@;@ ((GD   W ,V@ & !L8    DY>3G5.5@  
($CN     $IY   ,WFP   Q">0  #-Y@  %4+SP   TX
($ZY   'S%B/+SP   U,3KD   >\6(]*>0  #-YG   H
("\Y   -1"\Y   -O$ZY   (+%"/+SP    43KD   A<
(%B/8   "%)Y   ,WB Y   ,XM&Y   -O RY   !]P  
( V\;P  )B \   #[I"Y   -O"/    -O" Y   ,XD2 
("/    ,XF   "A*N0  #;QL   >0H"0N0  #;PCP   
( V\(#D   SB1( CP   #.(@.0  #.;1N0  #40,N0  
( %6   -1&\  "8@/    JR0N0  #40CP   #40@.0  
( SF1( CP   #.9@   L#+D    +   -1&P  !YP%I"Y
(   #40CP   #40@.0  #.9$@"/    ,YB\Y   -1"\Y
(   #;Q.N0  ""Q0CR\\    %$ZY   (7%B/+SD   TX
($ZY   'O%B/8    DY>3G4  $Y6_^Q([@  _^PO/   
(  ,2&[_]$ZY   ')%"/+4#_\# N__A(P&   )X@;O_Z
($HH &YF   ,(&[_\$*08   Y@RN    !/_T9@  3$IY
(   #.IG   ,3KD   ?\8   %B\\   ,]$ZY   '[%B/
($ZY   (#$IY   ,ZF8   AP 6    1"@#/    ,ZB!N
(/_P0I!@  "08   0B!N__HO*  82&[_]$ZY   (C%"/
($J 9P  "' $8   !$* (&[_\"" 8   8 R      &< 
(/]<#(     !9P#_PB\\    !$ZY   '@%B/+4#_["\\
(     Q(;O_T3KD   =<4(\@>0  #4@@4$Z0(&[_[")N
(/_P(I O/     1.N0  !Y!8CV    ).7DYU("\ "&<L
(")O  0@3E"(XH!3@#+84<C__").4(D@"9"/XH!3@#$A
(%'(__P@+P (W<#?P" .4(!.=2 O  AG&B!/G\ B3R+8
("+8(M @;P $XH!3@#+84<C__$YU   @3Y'O  0@ERY(
(" /4(!.=2!/T>\ !""7+DA.=4ZY   )+    !"H;TYQ
(   3KD   DL    $*A]3G$  $ZY   )+    !"H<TYQ
(   3KD   DL    $*AT3G$  $ZY   )+     "H4$YQ
(   3KD   DL    $*A13G$  $ZY   )+     "H4DYQ
(   3KD   DL     *A33G$  $ZY   )+     BHG$YQ
(   3KD   DL    2*B33G$  $ZY   )+     BHATYQ
(   3KD   DL    "*B)3G$  $ZY   )+     BH@TYQ
(   3KD   DL  "24*BG3G$  $ZY   )+    )"HI4YQ
(   3KD   DL    I:CH3G$  $ZY   )+    !    NF
(   3KD   DL JC6DJD33G$  $ZY   )+    !"I%$YQ
(   3KD   DL    $*DB3G$  $ZY   )+    !"I(TYQ
(   3KD   DL     *DW3G$  $ZY   )+     "I-$YQ
(   3KD   DL     JD[3G$  $ZY   )+    !"I/$YQ
(   3E;_ $CN( 3_^$(N_P ]?$[Y_PHM?   "?3_#$ON
(/\00>X #")N  0@&3U\3G'_!"U1_P9M!CU\3KG_!"( 
(.:( D$ !SU!_P)9CS( YH@"00 'TD$R.Q &3OL0 @!B
(  0 !H .  > #( %@ 6(A@_ 6#84B[_ "\88- B6!(9
(.&)$AGAB1(9X8D2&2\!8+PB&!\!8+8B& B! !AG!"\!
(&"J(D%"@B(-4HT:V6<*4H(,0@#F;?11C2)!$H(O 6",
("IY    9$[N_P1*+O\ 9P  .DON  PB;@ $)!GFBEF-
(%B-,@+FB@)!  =G'@P!  9M[F<,+Q5.N0  #)18CV#@
(")5,!%(P"* 8-8R+O\"TD$R.Q &3OL0 @ > !  %@ >
(  > !H '@ >,!](P& ((!]@!$* $!],[B $__A.7EB/
($YU(E\@7Z M8   4J L8   3B)?($^@&=[\  Y@   ^
(*$:+T@ !&   #8B7R!?H!M@   J+WD   *J  1@   H
("]Y   "I@ $8   '")?(!^@3"Z 8   !   <  O"3/ 
(    %9.=7  8 #_]")?(!^@36  _^B@'"]   1@ /_H
(")?(!^@0&  _]0B7Z$=(@@@7R"!+H!@ /_"+WD   $(
(  $8 #_PB)?(%^@2V  _ZXB7R!?H"U@ /^D('D   $P
($/Y   !%" (D)%T#+""91HB42/(   !%"* 0A$B>0  
( *J(H@@@M&I  Q.=2)?(!^A'BZ(8 #_9B)?(%^@'V  
(/]<(E\@7Z A+H!J   (0I=@ /]*8 #_1")?(!\@7Z @
(&  _SHB7R!?H4@NB&  _RXB7R ?H2(NB&  _R(B7R!?
(* C8 #_&")?(%^@)2Z :@  "$*78 #_!F  _P B7R ?
("!?H"1@ /[V(E\@7Z$F+HA@ /[J(E\@7Z$H+HA@ /[<
(")?(%^@*V  _M0B7R ?(%^@)V  _L@B7R!?H"E@ /Z^
(")?(%^@*F  _K0B7R!?H$E@ /ZJ(E\@7Z!*8 #^H* V
(&  _IPB'R ?(E\@7Z N(D%@ /Z*/WD   !6  1.=2]Y
(    R@ !$YU(E]"5R Y   #,&<   RPN0   RAF   &
(#Z\ 0!.T2!O  0R?   $!A* &<*$A 0P! !4HE@\B )
("!O  00@" (3G4@;P $(DA"@! 84X!M"A+89@)3B5'(
(/_X0A$@+P $3G4@;P $0H 0$-' 4HA"$" O  12@$YU
(" O  0(P  83G5#;VYE(%!I9P  __\       $    !
(  !   %_   #.P  '_P0A!24$B00!!Z\$,02Y!3T$/P
('_P _@#X -P CC_^/_X__C_^/_X__C_^/_X__C_^/_X
(/_\__P'_ ?\!_P !@ &                        
(                                           
(                                           
(                                           
(                                         42
( (" @()!0,$ P<'!P0#!1P#"0,#!00# P0#! ,$ Q$'
(!\#! ,$ P0#! ,#! ,. P,#!0-4 Q4#!@8#! ,&! 4&
( 4&#P4% P0#! 4# P<& P,%" ,#! 4& P,$ P,%" ,#
( 0'!@,#! ,# P<$ Q,<!04#! ,)$!T+! U$" @(" @(
( @(" @(" @(" @$! @(" @(" @251L  O\     &   
(  H   "      @    @   _/  !J?   !)L     6 L
(    (                                      
(                $/Z_](B"56!)%G5P1X2 H<   #_
($(2TY(,AP   /]G   82H=F   *)%G5P6  _][CG]7'
(&  _]9"9ZET2A]G   0/SP  :G(< %*@&8 __PCS0, 
(  J3KD#  "4*GD,   JK?0  $Y6_Q1([@  _Q1![O\R
("/( P 25" Y!P 25 :     RB\ 3KD$  FT6(].N0, 
( ID3KD#  J$3KD#  R$3KD#  KD(#D, !)4!H    !6
("! +6@ !/\:+5#_%B\\!@ 1X"\\     4ZY!  ,E%"/
("/  P 27"\\ P 1XB\Y P 27$ZY!P --%"/+SP     
("\Y P 27$ZY!  ,M%"/+SP& !'G+SP    "3KD$  R4
(%"/(\ # !)@+SP# !'L+SD# !)@3KD$  RD4(\O/ , 
(!'R+SD# !)@3KD$  RD4(\O/ , $?HO.0, $F!.N0< 
( RD4(\O/      O.0, $F!.N00 #+10CR\\!@ 1_R\\
(     -.N00 #)10CR/  P 29"\\ P 2!"\Y P 29$ZY
( 0 #*10CR\\ P 2"R\Y P 29$ZY!  ,I%"/+SP# !(.
("\Y P 29$ZY!  ,I%"/+SP# !(4+SD# !)D3KD$  RD
(%"/+SP# !(;+SD# !)D3KD$  RD4(\O/ , $B,O.0, 
(!)D3KD'  RD4(\O/      O.0, $F1.N00 #+10CTZY
( , #,0@.0< $E0&@    %XO $ZY!  )U%B/3KD#  Q$
($ZY"0 *I$J 9P  &B\\     B\Y P 28$ZY"0 -)%"/
(&   !8O/     (O.0, $F!.N0D #110CTAN_R(O//__
(/__3KD2  IT4(]*@&8   9@ /^H,"[_(DC 8  !+DAN
(/\>2&[_+$ZY!@ *U%"/8   M" Y!P 25 :     7B\ 
($ZY!@ )U%B/2&[_+$ZY"P ,U%B/+P!A  $<6(\O/   
(   3KD*  ST6(]@  ">+R[_'DAN_R).N0P ##10CV  
( "*2&[_%DAN_RPO+O\>3KD,  J4W_P    ,8   ;DAN
(/\L+R[_'DZY#P *Q%"/2H!G   .+SP  @ !80  N%B/
(&   $A.N0H "J0B+O\>LH!G   .+R[_'DZY*0 *M%B/
(&   "@$@     $,@     5B   8T$ P.P &3OL  O\T
(/]P_\;_A  ,_Z!@  !<,"[_,$C  H    $ 9P  *B N
(/\D H    #_+P!.N0H #.18CR\ 83Y8CR\\     $ZY
("  #/18CV   " ,@     %G /[,#(     #9P#_L@R 
(     5G /^H8 #^4&    ).7DYU3E;_M$CN  #_M$ZY
( < "J0M0/_\+R[__$ZY!@ )Q%B/+RX "$ZY"  *1%B/
("U __@O+@ (3KD.  I46(\M0/_T("[_^&   11(;O^T
("\N__0O.0, $EQ.N0P #03?_     Q(;O^T80 $JEB/
("\ 3KD0  QD6(]@  $ ("[_]&   "P@;O_\,"@ ;$C 
("\ 3KD*  QT6(]@   R80  Y&   "I.N1T "C1@   @
( R      6< _\X,@     )G /_<#(     #9P#_VF  
( "L("[_]&   %PO/     !.N0D #%18CV   ' O/   
(  "3KD)  Q46(]@  !>+SP    #3KD)  Q46(]@  !,
("\\    !$ZY"0 ,5%B/8   .B\\    !4ZY,P ,5%B/
(&   "@$@     $,@     5B   8T$ P.P &3OL  O^,
(  ,_Y[_L/_"_]1@   @#(     !9P#^Y@R      F< 
(/\.#(     #9P#_6&    ).7DYU3E;^G$CN  #^G"\\
( , $BM.N0@ "R18CRU __A"KO_T3KD(  ND+4#_\"\\
(     !.N1  "Q18CRU\     ?_\("[__+"N__AN  !Z
("\N__PO/ , $C!.N0P "S10CRU _^A*KO_H9P  )"\N
(/_H3KD&  MT6(\O+O_\+SP# !(U3KD,  LT4(\M0/_H
($JN_^AG   J+R[_Z$ZY&0 +E%B/L*[_\&8  !9![O^H
(%*N__0@+O_TY8#1P""N_^A2KO_\8 #_?B\\     4ZY
(!  "Q18CRU\     ?_\("[__+"N__1N  (T+R[_\$ZY
( L "O18CT'N_Z@@+O_\Y8#1P"\03KD+  MD6(]![O^H
(" N__SE@-' +Q!.N04 "@18CR\ 3KD&  GD6(\M0/_H
($ZY"  *)$J 9@ !Q"\N_^A.N1  "@18CR\ (&[_Z"\0
($'N_Z@@+O_\Y8#1P"!0+Q!.N1, "A3?_     Q(;OZ<
($AN_Z1(;O^@0>[_J" N__SE@-' +Q!.N0T "]3?_   
(  00>[_J" N__SE@-' +Q!.N0T "[18CRU _YQ![O^H
(" N__SE@-' +Q!.N0< "W18CR\\     $ZY!@ *]%B/
("\N_Z O/ , $CI.N0H "T10CRU _^QG  !:+R[_\$ZY
( 8 "O18CR\N_Z O/!0 $C](;OZ<80 !.-_\    # R 
(     )F   &8   ^B\\     $ZY!@ *]%B/+R[_[$ZY
( 8 "_18CR\N_^Q.N08 "?18CTAN_IPO/ , $D1.N0H 
( M44(\M0/_L9P  6B\N__!.N08 "O18CR\N_Z O/!0 
(!))2&[^G&$  ,;?_     P,@     )F   &8   B"\\
(     !.N08 "O18CR\N_^Q.N08 "_18CR\N_^Q.N0@ 
( GT6(](;OZ<+R[_H"\\!0 23B\N_^A.N08 "^3?_   
(  03KD(  P$2H!F   >+R[_Z$ZY"  +A%B/+R[_G"\N
(/_H3KD-  O$4(]@   80>[_J" N__SE@-' +Q!.N0L 
( MT6(]2KO_\8 #]Q"\\     $ZY!@ +!%B/+R[_\$ZY
(!$ "O18CV    ).7DYU3E;_\$CN  #_\$AN__ O+@ 0
($ZY!  -1%"/+SP) !)32&[_\"\N  PO+@ (3KD,  PD
(-_\    $"\\     "\\   ! $ZY1@ ,%%"/8   !F  
(  "3EY.=4Y6__1([@  __1"KO_X("X "%*N  @@0$H0
(&<   I2KO_X8 #_ZBUN__C_]" N  A5@"U __P@+O_T
(%.N__1*@&<  !@@;O_\(FX "!*04Z[__%.N  A@ /_>
("!N  A"$%.N  @0+O_[2(!(P%* (&X "!" +RX "$ZY
( H $=98CV    9@   "3EY.=4ZY"  -5    !"H;DYQ
(   3KD(  U4    $*AS3G$  $ZY"  -5    !"H44YQ
(   3KD$  U4    $@0 #\(  $ZY!  -5    ! $  _.
(   3KD$  U4    $@0 #]@  $ZY!  -5   !) $ !!6
(   3KD$  U4     00 $&8  $ZY"  -5     "I]$YQ
(   3KD(  U4    $:AJ3G$  $ZY"  -5    !&H:TYQ
(   3KD(  U4     *C^3G$  $ZY"  -5    (VI<$YQ
(   3KD(  U4     *D23G$  $ZY"  -5   !1"I)4YQ
(   3KD(  U4     JDD3G$  $ZY"  -5    !"I'TYQ
(   3KD(  U4   !%:D>3G$  $ZY"  -5    *&I+$YQ
(   3KD(  U4     *G,3G$  $ZY"  -5     BIF$YQ
(   3KD(  U4    "*F93G$  $ZY"  -5    "BIFTYQ
(   3KD(  U4    (:F<3G$  $ZY"  -5    &*IG4YQ
(   3KD(  U4    8JF@3G$  $ZY"  -5    .*IH4YQ
(   3KD(  U4    $*FB3G$  $ZY"  -5    !"IHTYQ
(   3KD(  U4    $*FP3G$  $ZY"  -5    !&II$YQ
(   3KD(  U4     :F43G$  $ZY"  -5    !&IIDYQ
(   3KD(  U4    4*FG3G$  $ZY"  -5   =9"IJ$YQ
(   3KD(  U4   S$*FK3G$  $ZY"  -5    !"IK4YQ
(   3KD(  U4     :FO3G$  $ZY"  -5    (FIB$YQ
(   3KD(  U4   VV*F+3G$  $ZY"  -5    )"ILTYQ
(   3KD(  U4     *FT3G$  $ZY"  -5     VIPDYQ
(   3KD(  U4    &:FV3G$  $ZY"  -5     BIMTYQ
(   3KD(  U4     *DP3G$  $ZY"  -5    ,JI,4YQ
(   3KD(  U4    T*DS3G$  $ZY"  -5    %"I-4YQ
(   3KD(  U4     *DW3G$  $ZY"  -5    "*I/4YQ
(   3KD(  U4    "JD^3G$  $ZY"  -5     BI.$YQ
(   3KD(  U4   .4*E&3G$  $ZY"  -5    %"I.4YQ
(   3KD(  U4    4*DZ3G$  $ZY"  -5    1"I34YQ
(   3KD$  U4   !T X $68  $Y6_P!([B $__A"+O\ 
(#U\3OG_"BU\50 .'/\,2^[_$$'N  PB;@ $(!D]?$YQ
(/\$+5'_!FT&/7Q.N?\$(@#FB )!  <]0?\"68\R .:(
( )!  ?203([$ 9.^Q " &( $  : #@ '@ R !8 %B(8
(#\!8-A2+O\ +QA@T")8$AGAB1(9X8D2&>&)$ADO 6"\
("(8'P%@MB(8"($ &&<$+P%@JB)!0H(B#5*-&MEG"E*"
( Q" .9M]%&-(D$2@B\!8(PJ>1L  "I.[O\$2B[_ &< 
(  Z2^X #")N  0D&>:*68U8C3("YHH"00 '9QX, 0 &
(&WN9PPO%4ZY_P 1H%B/8. B53 12, B@&#6,B[_ M)!
(#([$ 9.^Q " !X $  6 !X '@ : !X 'C ?2,!@"" ?
(& $0H 0'TSN( 3_^$Y>6(].=2)?(%^@+6   %*@+&  
( !.(E\@3Z 9WOP #F   #ZA&B](  1@   V(E\@7Z ;
(&   "HO>0   JH !&   "@O>0   J8 !&   !PB7R ?
(*!,+H!@   $  !P "\),\    !63G5P &  __0B7R ?
(*!-8 #_Z* <+T  !&  _^@B7R ?H$!@ /_4(E^A'2((
("!?(($N@&  _\(O>0   0@ !&  _\(B7R!?H$M@ /^N
(")?(%^@+6  _Z0@>0   3!#^0   10@")"1= RP@F4:
(")1(\@   $4(H!"$2)Y   "JB*(((+1J0 ,3G4B7R ?
(*$>+HA@ /]F(E\@7Z ?8 #_7")?(%^@(2Z :@  "$*7
(&  _TI@ /]$(E\@'R!?H"!@ /\Z(E\@7Z%(+HA@ /\N
(")?(!^A(BZ(8 #_(B)?(%^@(V  _Q@B7R!?H"4N@&H 
(  (0I=@ /\&8 #_ ")?(!\@7Z D8 #^]B)?(%^A)BZ(
(&  _NHB7R!?H2@NB&  _MPB7R!?H"M@ /[4(E\@'R!?
(* G8 #^R")?(%^@*6  _KXB7R!?H"I@ /ZT(E\@7Z!)
(&  _JHB7R!?H$I@ /Z@H#9@ /Z<(A\@'R)?(%^@+B)!
(&  _HH_>0   %8 !$YU+WD   ,H  1.=2)?0E<@.0  
( ,P9P  #+"Y   #*&8   8^O $ 3M%T 2!?/P(O"*WJ
('0#8 #_]'0"8 #_[G0$8 #_Z'0"(%\_ B\(K>ET!&  
(/_T= !@ /_N= 9@ /_H-#P "&  _^ T/  *8 #_V'0&
("!?/P(O"*WM= A@ /_T= !@ /_N= Y@ /_H= )@ /_B
('008 #_W'0$8 #_UC0\  I@   &-#P #"!?/P(O"*WM
(#0\  I@   &-#P #")O  0@;P (0D!"01 8$ADO2  (
("])  0@7S\ /P$_ B\(K>T@;P (/SP  :GN(&\ !"" 
(&   ! @;P $("\ "#\\  "I[B!?4$].T   (&\ !#)\
(   $!A* &<*$A 0P! !4HE@\B )(&\ !!" ( A.=2!O
(  $(DA"@! 84X!M"A+89@)3B5'(__A"$2 O  1.=2!O
(  $0H 0$-' 4HA"$" O  12@$YU("\ ! C  !A.=10 
($125E( 1FEL90!#;&]S90!);G-T86QL %%U:70 161I
('0 56YD;R]: "@M $-U="]8 $-O<'DO0P!087-T92]6
( !#;&5A<B]" $125E( 1%)64@!$4E92 $125E( 1%)6
(%( 1%)64@!$4E92 $125E(                     
(                                           
(                                           
(                                           
(                                           
(                                           
(                                  < 'H  T%,
(%)4    (D1)5$P    N1%)64@   #I#3T1%  $ 1@$ 
(/__(          ! /__(   $       &   ,   <@  
(     #__R  #MH       '__S0 #O8     !@!3;&5E
 G  
***END OF DATA
***CRC:40DF

info-mac@uw-beaver (01/30/85)

From: Seymour <JOSEPH@RU-BLUE.ARPA>

Ed,
Thanks for the new sleep Desk Accessory.  It seems to have a few minor
problems though.  On the second and every subsequent startup, the
Sleeper leaves a copy of the apple in the initial position while a
second copy continues to bounce about.  Also, on my Lisa 2/5 which I
use only to run MacWorks, Sleeper fails to redraw the right side of
the lisa screen when it exits.  That is, it redraws the area
equivalent to the Mac screen but leaves all the area to the right
(including my HARD DISK icon and trash can) completely black.  It
would be nice if it updated the whole desktop even if it was running
on a Macintosh XL- ... (sigh)

				Thanks,
				Seymour Joseph
-------

info-mac@uw-beaver (02/04/85)

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

edmoy@ucbopal.APRA
ucbvax!ucbopal!edmoy
Return-Path: <edmoy%ucbopal.CC@Berkeley>
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: <8501310142.AA03388@ucbopal.CC.Berkeley.ARPA>
To: info-mac@sumex-aim.ARPA
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

[ <info-mac>Sleep2.hcx is replaced with this fixed version. -jma ]

(This file must be converted with BinHex.Hex)