[comp.sys.mac.programmer] fkey for restart

agc@mentor.cc.purdue.edu (Eric Palmer) (06/14/90)

Sometimes when I am in multifinder and I hava a program bomb, the
mouse stops moving.  I can press the button and than will work, highlighting
an icon, etc.  But the pointer will not change position.  This has happened 
both when running someone else's programs and when I am working on programs of 
my own that I am debugging.  

After this happens, the only way I can get the mac to do anything is pressing
the restart button.  I don't like to do this.  I was wondering if there was
a fkey, or how one would create one, which would restart the mac nicely, so it
would save all the changes to the desktop, etc?  How else could this be done?

Thanks
Eric Palmer
agc@mentor.cc.purdue.edu
 

philip@Pescadero.Stanford.EDU (Philip Machanick) (06/15/90)

In article <11486@mentor.cc.purdue.edu>, agc@mentor.cc.purdue.edu (Eric
Palmer) writes:
> Sometimes when I am in multifinder and I hava a program bomb, the
> mouse stops moving.  I can press the button and than will work, highlighting
> an icon, etc.  But the pointer will not change position.  This has happened 
> both when running someone else's programs and when I am working on
programs of 
> my own that I am debugging.  
> 
> After this happens, the only way I can get the mac to do anything is pressing
> the restart button.  I don't like to do this.  I was wondering if there was
> a fkey, or how one would create one, which would restart the mac
nicely, so it
> would save all the changes to the desktop, etc?  How else could this be done?
I find it pretty useful to have a keyboard shortcut for shutdown and restart
in the Finder. If you can make it back there, you can shut down / restart even
if you've had the dreaded mouse freeze. (Use Resedit to hack in the keyboard
shortcuts; I use OPTION-s and OPTION-r, i.e., hit COMMAND-OPTION-s to shut
down - not something likely to happen by mistake).

Philip Machanick
philip@pescadero.stanford.edu