HDTenEightyP/NetNews huggingface dataset:
From: elm@cs.berkeley.edu (ethan miller)
Newsgroups: comp.sys.mac.programmer,misc.education,soc.college
Subject: Re: Computer Science Programs
Date: 15 Aug 92 02:26:15
Organization: Berkeley--Shaken, not Stirred
Reply-To: elm@cs.berkeley.edu
NNTP-Posting-Host: terrorism.cs.berkeley.edu
In-reply-to: solman@athena.mit.edu's message of 14 Aug 92 23:02:23 GMT

In article <1992Aug14.230223.17066@athena.mit.edu> solman@athena.mit.edu (Jason W Solinsky) writes:
=>If you plan on going to graduate school in CS, go to (in order) MIT,
=>Stanford, CMU, UCB, or the University of Illinois at Urbana or don't
=>think of it. Anything less than a good GPA and great recomendations
=>from a second tier CS school (Ivy League, Caltech) and you probaly
=>won't make it. If you're from a third tier school, forget it.

Actually, I would put UCB above Stanford for sure, and perhaps ahead
of CMU.  The federal funding scandal has hurt Stanford, and CMU just
lost three good professors (Rashing, Kung, and one other whose name
escapes me).  Of course, it depends on your area, too.  Berkeley is
probably tops in theory, while CMU has an advantage in robotics.  The
bottom line is that you should visit each school you're considering,
as there are cultural differences between them.  Remember that even
the hardest working grad student will spend more than 20 hours/week
awake and outside the lab (much more than that in most cases).  Pick
somewhere you'll be happy for five years.

ethan
--
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
ethan miller--cs grad student   | "Anybody not wearing 2000000 sunblock's
elm@cs.berkeley.edu             |  gonna have a REALLY bad day.  GET IT?"
#include <std/disclaimer.h>     |  -- Sarah Connor, _Terminator 2_
From: chuck@gte.com (Chuck Hoffman)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Stupid Newbie Question #17
Date: 13 Aug 92 18:35:34 GMT
Followup-To: comp.sys.mac.programmer
Organization: GTE Laboratories

In article <BswD91.L9u@world.std.com>, Sarek@world.std.com (Garrett
Fitzgerald) wrote:
> 
> I'm trying to figure out how to do a large input screen with
> fixed-length input fields. My mental image is something like the
> FileMaker Pro interface. Can someone point me in the right direction?
> Thanks muchly. :-)

It's curious that the longer I do this, the smarter the "stupid" newbie
questions get.  Anyway, if you're really a neophyte, consider doing it with
HyperCard.  If you're more into programming and don't want to use a
commercial database product, give me a call at the number below.

Chuck Hoffman
GTE Laboratories, Waltham, Massachusetts, USA
(617) 466-2131
=====================================
I'm not sure why we're here, but I am sure that while we're here we're
supposed to help each other.
=====================================
From: bowman@reed.edu (Eric Bowman (bobo))
Newsgroups: comp.sys.mac.programmer
Subject: IYourObject, Views, & ViewEdit
Date: 12 Aug 92 23:13:36 GMT
Article-I.D.: reed.1992Aug12.231336.1049
Organization: Reed College, Portland, OR

MacApp 3.0.1 question:

I've created a window in ViewEdit with several views, including a couple of
subclasses of TTextListView.  When I close then window, MacApp drops into
Macsbug to tell me that I've handed FreeIfObject an invalid object.  I
thought the problem might be that IMyTextListView wasn't getting called.
This belief proved to be correct (though I have no idea if it's related to
the crashing...), which causes me some confusion.  So I played with the
skeleton app, and discovered that IViewSkeleton never gets called, either.
So what's up here?  411 says about TTextListView.ITextListView,

Call?
	ALWAYS, if you are instantiating a TTextListView 
	object or creating a subclass of TTextListView. 
	If you are creating a subclass of TTextListView, 
	your I<Subclass> method of that subclass must call
	ITextListView.

So what's up here?  None of the sample MacApp code calls the respective
IYourObject; in fact, most of the sample code never defines such a best
for their subclassed views.

On an unrelated note, my code and sample code no longer handles "<<<>>>"
correctly for window titles -> "Untitled 1", etc.  This worked fine under
ETO 7, but doesn't work with ETO 8.

Thanks,
bobo
bowman@reed.edu
Newsgroups: comp.sys.mac.programmer,soc.college
From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
Subject: Re: Computer Science Programs
Followup-To: alt.screensaver.usage.unusual
Organization: Kalamazoo College
Date: Mon, 17 Aug 1992 21:39:28 GMT

potts@itl.itd.umich.edu (Paul Potts) writes:
>
>look around the department and see if you can find a room
>with lots of unshaven young [people]
>staring bleary-eyed at terminals, clearly lacking
>in sleep. If they ... have sleeping bags
>rolled up underneath the table for a catnap during long compiles - you've
>found the right place!  

Tip:  buy After Dark and one of those $10 little plug-into-the-audio-jack
speakers with adjustable volume.  Turn on AD's "System IQ," set the fade
delay to one minute, and select the "Supernova" module.  Crank up the
speaker's volume and set it next to your sleeping bag.

When your compile's done, you'll be woken up by loud explosions.
For a snooze button, just hit the spacebar!
-- 
 Jamie McCarthy      Internet: k044477@kzoo.edu      AppleLink: j.mccarthy
 Sure, I subscribe to alt.sex, but I only read it for the articles...
From: benescc@mentor.cc.purdue.edu (Chris Benes)
Newsgroups: comp.sys.mac.programmer
Subject: bad f-line instruction
Keywords: f-line, major bug, frustration
Date: 16 Aug 92 02:42:48 GMT
Organization: Purdue University


I am receiving a bad f-line instruction error.  There was
a thread on just such an error about a week ago.
Could someone please mail me the pertinent information, namely
the cause of such an error?

I am using Think C 5.0.2 on a IIci under System 7.0.  I am in
the process of porting UNIX code compiled under cc (not ANSI 
compatible.)  I have added a user interface to the
UNIX program using ToolBox routines that I believe might be 
contributing to the problem.

The UNIX code works fine when run alone but the problem arises when
I combine it with my interface.  The UNIX source is called from the
interface and when it is done executing, the bad f-line error
occurs.  The flow of control does not return to my interface.

The UNIX source extensively uses the various memory allocation routines 
which could be screwing up the Memory Manager.

If anyone has any suggestions, please let me know.  Thanks
for your help.

- Chris


___________
Chris Benes
benescc@mentor.cc.purdue
From: baer@qiclab.scn.rain.com (Ken Baer)
Newsgroups: comp.sys.mac.programmer
Subject: Creating background tasks (HELP!).
Date: 13 Aug 92 17:00:29 GMT
Article-I.D.: qiclab.1992Aug13.170029.3055
Organization: SCN Research/Qic Laboratories of Tigard, Oregon.

OK, first of all, I do realize that the Mac OS does not yet support real
Multitasking (nor does MS Windows). But, I keep hearing about certain
applications or inits that allow programs to run in the background (like
the one that allows Think C to compile in the background).  What I want
to do is allow our 3D rendering software to render in the background to
the user can use the modeller etc. while rendering.  Could someone either
post, or point me to some documented code to set this up?  What are the
limits and conditions to this?  We are already doing this under Windows,
so I imagine a similar process should be possible on the Mac.

Any and all related information will be greatly appreciated.

	-Ken Baer.
	baer@qiclab.scn.rain.com
-- 
    //    -Ken Baer.  Programmer/Animator, Hash Enterprises
  \X/     Usenet: baer@qiclab.UUCP  /  Office: (206)573-9427
          "Hey, I think a glacier just passed us!" - Andy from Joyride
From: udasbell@mcs.drexel.edu (Volleyball Vic)
Newsgroups: comp.sys.mac.programmer
Subject: PixMap from PICT
Date: 12 Aug 92 21:20:58 GMT
Organization: Drexel University

Hi.
Does anyone know how to convert a PICT into a PixMap and stores the result
as a new resource of type 'pmap' ??

Thanks
Dave

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ David M. Asbell       udasbell@mcs.drexel.edu  ~
~  (215)243-1234        David48 on AOL           ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Mike.Gleason@macnet.omahug.org (Mike Gleason)
Newsgroups: comp.sys.mac.programmer
Subject: RE: Re: annoying pascal strings
Date: 12 Aug 92 10:02:31 CST
Reply-To: mike.gleason@macnet.omahug.org
Organization: Macnet Omaha
Followup-To: comp.sys.mac.programmer

SR> This was a discussion of how to sprintf to a Pascal string...
SR> In article <25403@dog.ee.lbl.gov> sichase@csa2.lbl.gov writes:
>In article <zben-100892215906@zben-mac-ii.umd.edu>, zben@ni.umd.edu (Charles

SR> B. Cranston) writes...
>>In article <1992Aug10.132907.23439@das.harvard.edu>,
>>vreddy@das.harvard.edu (Venkatesh Reddy) wrote:
>>
>>sprintf(&str[1], "%d %f", 45, 3.4567);
>>str[0] = strlen(&str[1]);
>
>That's the hard way.  The easy way is:
>sprintf(str, "\p%d %f", 45, 3.4567);
>Think C recognizes the \p control character and takes care of the rest.

SR> Actually, Charles's solution doesn't work.  Think C translates the
SR> string into "\005%d %f" and then treats it as a C string.  The result
SR> from the sprintf would be "\00545 3.456700" which is the same as "\p45
SR> 3.", NOT the result we'd want.  I'd go with Venkatesh's solution and
SR> maybe check for resulting strings longer than 255 characters.
SR> Stepan

Could do either of these:
sprintf(str, "%d %f", 45, 3.4567);
CtoPstr(str);

or:
unsigned char str[256];
From: grobbins@Apple.COM (Grobbins)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Determining if volume is local
Summary: PBHGetVolParms
Date: 12 Aug 92 16:25:52 GMT
Organization: Apple Computer, Inc., Mac Software Division

In article <1992Aug11.073406.800@cubetech.com> andrew@cubetech.com (Andrew Loewenstern) writes:
>I want to determine if a volume is local or remote (mounted via
>AppleShare).  I cannot seem to find anything that will let me do this.

The DTS way to do this is to call PBHGetVolParms (Inside Mac V, p 392)
and check if vMServerAdr is non-zero, which it should be for server
volumes.  This and other advice on finding things out about volumes
(is it a floppy, etc) is available in the Q&A Stack.

Grobbins                        grobbins@apple.com

Usual disclaimers apply.
From: kjh+@cs.cmu.edu (Kenneth Hughes)
Newsgroups: comp.sys.mac.programmer
Subject: Bids sought: init/cdev development
Summary: Seeking bids for code that'll intercept system event calls.
Keywords: WaitNextEvent, jGNEFilter, trap, patch
Date: 16 Aug 92 01:40:09 GMT
Article-I.D.: cs.Bt1zAz.Hs2.1
Organization: School of Computer Science, Carnegie Mellon

[First post either didn't make it out or drew no response after several days.]

	I am willing to pay for source code for a combination init/cdev that
will allow WaitNextEvent, GetNextEvent, etc to work as normal except when
in "intercept mode".  Intercept mode can be turned on and off in the cdev.
In intercept mode, a window should be displayed when an application has
called one of the WaitNextEvent family of functions.  The window should allow
the event record to be edited.  An 'Ok' button will cause the edited event to
be the one that the calling application will receive.  A 'Cancel' button will 
allow the event to be passed through to the application as if nothing different
had happened. This must work without conflict with other applications and
utilities under Systems 6 and 7.  The source should be in Think C 5.0.

	There is a strong possibility for future work.  If you're interested,
please send me your lowested fixed bid and approximate completion time.
Also please include a description of your background.  I'm more interested
in getting decent code that works well than in being impressed with
resume-like prose, but I do need to know that the job will get done.
(If you really want to impress me, send me a binhexed executable that does
what I want instead of your background.  You'll have my attention, and
we'll talk about the source for me and the money for you.  :-)
Thank you.

Kenneth J. Hughes        (kjh@cs.cmu.edu)
President, Entelechy Corporation
From: chuck@gte.com (Chuck Hoffman)
Newsgroups: comp.sys.mac.programmer
Subject: Re: SFPPutFile question
Date: 20 Aug 92 11:42:34 GMT
Followup-To: comp.sys.mac.programmer
Organization: GTE Laboratories

In article <71362@apple.Apple.COM>, mlanett@Apple.COM (Mark Lanett) wrote:
> 
> I think for append you really want SFGetFile (or StandardGetFile or...). It
> means having similar code to deal w/ two dialog boxes, and two menu commands
> or whatever to get there, but is certainly the least likely to break in the
> future.

I concur.
-Chuck
Xref: sparky comp.sys.mac.programmer:14358 comp.sys.mac.wanted:7751
From: gt5870c@prism.gatech.EDU (Noah White)
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.wanted
Subject: ** Looking for ZIP source on Mac
Date: 22 Aug 92 06:03:10 GMT
Followup-To: comp.sys.mac.programmer
Organization: Universal Exports


  Now that there is a program which ZIPs and UnZips on the Mac I was wondering
where I can find the source (preferably PASCAL) for ZIPping and UNZIPing on the
Mac, thanks!

-Noah


Newsgroups: comp.sys.mac.programmer
From: Cameron Esfahani <dirty@engin.umich.edu>
Subject: 411 for Think C?
Date: Sun, 16 Aug 92 01:56:09 EDT
Organization: CAEN-The University of Michigan
X-Useragent: Nuntius v1.1.1d7
X-Xxdate: Sun, 16 Aug 92 07:01:25 GMT

Would anyone be interested in an extension which would allow
you to use 411 with Think C?  I have been working on one for
a few days and it does work.  It still has bugs galore, but if
there are people interested, I can clean it up and release it in 
a few days.  Anyone interested?


Cameron "Make Mine a 99" Esfahani
dirty@engin.umich.edu
From: kim_g_helliwell@cup.portal.com
Newsgroups: comp.sys.mac.programmer
Subject: Apple Event Registry
Date: Wed, 12 Aug 92 22:03:41 PDT
Organization: The Portal System (TM)

IM VI makes reference several times to the Apple Event Registry, coyly hinting
at events other than the core ones that are "required," without mentioning
what they are.

How and where can I, (a mere hobby developer) get a copy of the AER?

Replies via email please:

kim_g_helliwell@cup.portal.com
Newsgroups: comp.sys.mac.programmer
From: obi@gumby.ocs.com (Kuryan "Obi" Thomas)
Subject: Re: What is a sun raster file? can a pict file be converted?
Reply-To: obi@gumby.ocs.com
Organization: Online Computer Systems, Inc.
Date: Fri, 21 Aug 1992 23:27:36 GMT

In article <mxmora-200892152011@css-mac2.sri.com>, mxmora@unix.sri.com
(Matthew Xavier Mora) writes:

> Has anyone coverted a mac pict file to a sun raster file?

If you have Jeff Poskanzer's pbmplus package on the Sun, it'll convert
from just about any picture format to just about any other (by going
through a format called Portable Pix Map or ppm). For example, to convert
pict to sun raster:

	picttoppm pict-file | ppmtorast >rast-file

There are also all sorts of utilities to work on the image in ppm format.
It's free software and I highly recommend it.
Newsgroups: comp.sys.mac.programmer
Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system
Subject: Re: VBL tasks on Quadra video, SlotVInstall
From: Bruce.Hoult@bbs.actrix.gen.nz
Date: Thu, 13 Aug 1992 13:47:55 GMT
Organization: Actrix Information Exchange

In article <1992Aug12.195612.24140@galileo.cc.rochester.edu> haake@cvs.rochester.edu (Bill Haake) writes:
> 
> We need to get a vertical blanking interrupt from the internal video on
> a Quadra 700 (ultimately a 950 also). According to the address map in Macintosh 
> Quadra 700 Developer Note  (Chapter 1 pg 11), the address space for the
> internal video is the slot 9 space. We assummed that this meant we could 
> install a VBL task with SlotVInstall passing slot 9 as theSlot. This doesn't
> work, the call is accepted, as if the task is installed, but no 
> interrupts are generated. The code works fine on a IIfx with a 8*24 board in
> slot 9, the problem appears to be peculiar to the Quadra's internal video.
> Can anyone tell us if it is possible to install
> a VBL task on the Quadra internal video and how to do it?


This seems to work fine on my Q700 (and everything else I've tried it on):

TYPE
  devTbl = ARRAY[0..128] OF AuxDCEHandle;
  devTblPtr = ^devTbl;
  devTblPtrPtr = ^devTblPtr;

{find out which nuBus slot the main screen card is in}
slotNum := devTblPtrPtr($11C)^^[-1 - GetMainDevice^^.gdRefNum]^^.dctlSlot;


-- Bruce
-- 
Bruce.Hoult@bbs.actrix.gen.nz   Twisted pair: +64 4 477 2116
BIX: brucehoult                 Last Resort:  PO Box 4145 Wellington, NZ
"Cray's producing a 500 MIPS personal computer with 256MB RAM and 8 GB
hard disk that fits in your pocket!"   "Great!  Is it PC compatible?"
Newsgroups: comp.sys.mac.programmer
From: sdorner@qualcom.qualcomm.com (Steve Dorner)
Subject: Re: Bloody F-Line errors!!!!!!!!!!!!! ARRRGGHGHH!!
Organization: Qualcomm, Inc., San Diego, CA
Date: Fri, 14 Aug 1992 14:01:21 GMT

mtc@mundil.cs.mu.OZ.AU (Michael Trevor CUTTER) writes:
>Has anybody out there come up with the solution to the F-line errors which 
>occur on my Quadra 700's for ABSOLUTELY NO APPARENT REASON!!!!

I'll give you a solution.  Just Say No to Microsoft.

While I haven't seen this on Quadras, I have seen it on LC's.  To wit,
calls to SndPlay from bg apps frequently cause MS apps to die.  Even
notification manager sounds can kill MS apps on LC's, should an application
have the temerity to try to take the user's attention away from a
Gates baby. F-line errors are the crash of choice.

Your problem may or may not be related to this; but it sounds
suspiciously similar to me.  Try WriteNow or Nisus or WordPerfect for a
while, and see if the problem disappears.
-- 
Steve Dorner, Qualcomm, Inc.
Yes, I'm still working on Eudora and it's still free.
From: mrn@eplunix.UUCP (Mark R. Nilsen)
Newsgroups: comp.sys.mac.programmer
Subject: Re: THINK C Question... a beginner's blues...
Date: 13 Aug 92 07:24:33 GMT
Organization: Eaton-Peabody Lab, Boston, MA

in article <1992Aug13.013640.29223@magnus.acs.ohio-state.edu>, dmoney@magnus.acs.ohio-state.edu (Dean R Money) says:
> Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu

> I can't seem to get my programs to open desk accesories correctly. I'm
> using OpenDeskAcc(accName). The interesting thing is that the desk
> accessory does actually open,

I had this problem when I started as well.  Can't remeber how I
figured it out though.  Anyway,  what was happening with me, and
probably you, was the handling of update events.  When you get an
update event for a window call:

BeginUpdate(YourWindowPtr);

... Update, drawing, blitting, blabing ...

EndUpdate(YourWindowPtr);

The ToolBox call BeginUpdate and EndUpdate removes the update event
from the queue, otherwise it stays there and blocks your DA.  Now
update events are posted in a different way than other events
(mouseDown, keyDown) and aren't realy in the FIFO queue.  I forget
all the details, but I'll look them up if you send me some e-mail.

Anyway that should fix you problem.

--Mark. 
-- 
Mark Nilsen.  == mrn%eplunix.UUCP@eddie.mit.edu
The world has changed and we can no longer think that logic is going to
prevail ... 
   - A. Scott Crossfield, Proceeding of X-15 first flight anniversary.
Newsgroups: comp.sys.mac.programmer
Subject: cdev/INIT & THINK pascal.
From: fingolfin@abyss.actrix.gen.nz (Paul Thompson)
Date: Tue, 18 Aug 92 12:41:02 +1200
Organization: Abyss E-mail Site, New Plymouth, Taranaki, New Zealand.
X-Mailer: Fernmail 1.2b1

Yet again, I come to infinite wisdom of the net :-) I've got THINK
pascal (an old version 2.0.3 I think) According to the manual to make an
INIT or cdev you must change the current library from runtime.lib to
DRVRruntime.lib. I must then create a unit and add it to the project.
(In the same segment) In the unit you must have a procedure/function
called "main" and NO GLOBAL variables. Then I set the options in the
"Set project type" in the Project menu.

Ok, my question is Whats next? I have the feeling that to make a cdev
which is INIT'ed I must do something else. What is it? Do I need to pass
parameters into the procedure/function Main?

Any other "interesting" bits that I need to know,

BTW I don't have access to inside mac vols IV V & VI, for the same reason
that I have THINK pascal 2.0.3 (Being a student I simply can't afford my
computer costs. :-), no matter how much I *want* too!)

Thanks for all your help.

Cheers, Paul.
From: mxmora@unix.sri.com (Matthew Xavier Mora)
Newsgroups: comp.sys.mac.programmer
Subject: What the trick to put a ldef into your project?
Date: 21 Aug 92 22:59:01 GMT
Followup-To: comp.sys.mac.programmer
Organization: SRI International


Is there some stub code that I can use to be able to debug my 
ldef in the applications project? ( with the added benefit
of full access to global vars too.) I'm using think C. 
I wouldn't mind an answer for both C and pascal since
I will need to to it in pascal one of these days. I seem to remember
THP comes with an example of this but I can't find it.



Thanks

Matt
From: John_Shepardson.esh@qmail.slac.stanford.edu (John Shepardson)
Newsgroups: comp.sys.mac.programmer
Subject: Re: THINK Reference
Date: 21 Aug 92 17:06:49 GMT
Followup-To: comp.sys.mac.programmer
Organization: slac

I agree that Think C ref is great, but it doesn't yet contain Sys 7 info.
A big disadvantage is that is does not have much low level stuff, (but you
can find that in MPW 411).  I have also noted quite a few inaccuracies in
it.  For instance the GDevice structure is incorrect, and that's not the
only one!

-------------------------------------------
John_Shepardson.esh@qmail.slac.stanford.edu
Newsgroups: comp.sys.mac.programmer
From: Meessen@slig.ucl.ac.be  (Christophe Meessen)
Subject: Printing problem
Followup-To: comp.sys.mac.programmer
Organization: Universite Catholique de Louvain (Belgium)
Date: Wed, 12 Aug 1992 17:03:36 GMT

I'm currently writing an application that draws a grid on the screen and
may be printed. Some lines in the grid a drawn with a special pattern that
I defined.

Drawing on screen works fine.
Previewing withe Preview 2.0 works fine.
Printing on the LaserWriter cause the Laser writer to hang: green lite
blinking, showing status: user <me> Processing Job... Even after ClosePage 
and CloseDoc.
When I change the self defined Pattern into a ltGray or a gray, the printer
do print the grid.

Any suggestions ?

Bien cordialement,

                           Christophe MEESSEN
Newsgroups: comp.sys.mac.programmer
From: adam@media.mit.edu (Adam Glass)
Subject: VU Documentation
Summary: where can I get it?
Organization: MIT Media Laboratory
Distribution: usa
Date: Fri, 21 Aug 1992 19:15:10 GMT

[Please *do not* post responses to this message -- I don't read this group.]

I'm looking for the complete documentation to Virtual User.  The only
documentation for VU that I have is on the ETO disc, and that's only a
changes file -- not the complete documentation.

Could someone please *email* me a pointer to where I can find the complete
VU documentation?  Thanks in advance.

Adam
--
"Copilot."
"Copilot, aye, aye."
"This is fun!  Thank you for marrying me."
"Roger, Captain darling, me too!"
From: dodd@apple.com (Mike Dodd)
Newsgroups: comp.sys.mac.programmer
Subject: Re: What is a memory error -113 ?
Date: 13 Aug 92 03:12:41 GMT
Organization: Apple Computer Inc.

In article <13992@gazette.bcm.tmc.edu>, jstevens@crick.ssctr.bcm.tmc.edu (Jason Philip Stevens) writes:
> BTW, do any MacWizards know about my "head of pointer info" theory?  If it
> is right, is there a map of what is stored there anywhere? 
yes... the memory manager stores some information before each block in memory.
the data structure is private and subject to change (it's also different
depending on 24/32 bit mode).

void initToolbox(void)
{
	MaxApplZone();
	InitGraf(&qd.thePort);
	InitFonts();
	InitWindows();
	FlushEvents(0xffff,0);	
	InitMenus();
	TEInit();
	InitDialogs(0);
	InitCursor();
}