[comp.sys.mac.programmer] ResEdit Pig Mode

ari@eleazar.dartmouth.edu (Ari Halberstadt) (06/12/91)

In article <1991Jun11.033829.7065@midway.uchicago.edu> ajr3@quads.uchicago.edu (ajr3@midway.uchicago.edu (Al Roy)) writes:
>In article <1991Jun10.153307.11549@gorm.ruc.dk> speck@gorm.ruc.dk (Peter Speck) writes:
>>
>>BTW what's pig-mode (cmd-alt-shift about...) - a test mode?

From page 98 of the ResEdit Reference manual from Apple (typos probably due to
me):

''If you hold down the command, option, and shift keys while choosing About
ResEdit from the Apple menu, you can toggle a special stress-testing mode
("Pig mode"). In this mode, ResEdit performs a compact-memmory operation and a
purge-memory operation each time it receives an event from the queue,
excepting null events. This feature was designed as an aid to debugging
ResEdit itself, and is clearly something most people will never have any use
for. It is suggested that you avoid invoking this mode unless you are writing
an editor [an extension to ResEdit] and feel a need to stress-test it.``

Notice that debuggers like TMON have a heap check/scramble/purge feature which
is more comprehensive though probably slower. MacsBug has various dcmd's which
do the same thing.