Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!ucsdhub!esosun!seismo!uunet!uvm-gen!chaffee From: chaffee@uvm-gen.UUCP (Alex D. Chaffee) Newsgroups: comp.sys.mac.programmer Subject: A Few Technical Questions Keywords: help, mac, sofa Message-ID: <940@uvm-gen.UUCP> Date: 15 Oct 88 23:55:41 GMT Distribution: na Organization: EMBA Computer Facility, Univ. of Vermont, Burlington. Lines: 40 (1) For the past several months I've been programming with LS C, with liberal use of MacsBug. Many of my system bombs are easily recovered from by using ES (Exit-To-Shell) or EA (Exit-To-Application). Many of them are totally beyond recovery. Occasionally, I will exit from Macsbug and everything will run fine -- except that the mouse and keyboard have become disconnected. Is there a trap I can execute from Macsbug that will reinitialize the Desktop Bus, so that I don't have to reboot? (2) If I take the time to select "Shut Down" from the Finder, the next time I boot my hard disk (an internal HD20SC - in my Mac SE with1 MB RAM) it takes maybe a second to display the "Welcome to Macintosh" dialog. If I don't select Shut Down, the drive is active for more than a minute - I've got a very full hard disk - before it continues. I'd like to know, first of all, what the HD thinks it's doing during this interminable pause; second, exactly what "Shut Down" does (I've seen DAs that park the heads on a SCSI drive, so I presume that Shut Down does not park); third, if there's anything I can do to fix it -- if there's no general fix, maybe there's some way I can access the Shut Down code from Macsbug after an unrecoverable crash... (I can hear you all thinking, "Fat chance..!") (3) Is there any way to get SelectDialog to return me the part code of the control that was just pressed in a modeless dialog? I've got a dialog with scroll bars whose elevators work fine, but the arrows and grey area remain blind to the world... I caught the tail end of the Dialog discussion on this board, so I presume that Dialogs don't like Controls very much. It doesn't hurt to ask, though -- right? Thanks in advance, Alex Chaffee chaffee@uvm-gen.uvm.edu