MAILSCAVENGEForScavengingMailFoldersTheLispLibrarypackageMAILSCAVENGEisusedtorebuildtheinternalpointersinamailfilethathasbeendamaged.Lafitegenerallyreports``Can'tparsefile''andterminatesitsBrowsecommandwhenitdetectsdamageinafile.ThesimplestremedyistocallMAILSCAVENGE,thenbrowsethefileagain.(MAILSCAVENGEFILENAMEERRORMSGSTREAMTEMPDIR)[Function]ThisfunctionscavengesthefilenamedFILENAME.FILENAMEdefaultstoextensionMAILandyourLafitedirectory,exactlyaswithLafite'sBrowsecommand.IfERRORMSGSTREAMisspecified,itisastreamonwhichMAILSCAVENGEwritesinformationaboutwhatitisdoingtocorrectthefile.TEMPDIRisahost/directoryspecificationforwhereMAILSCAVENGEshouldwriteitsintermediatefile.TEMPDIRdefaultsto{DSK},unlessyouareonan1108withoutalocaldiskfilesystem,inwhichcaseitdefaultstothesamedirectoryasFILENAME.WhenMAILSCAVENGEfinishes,itasksifyouwanttoreplacetheoriginalfilewiththescavengedfile.Ifyoureply"No",MAILSCAVENGEreturnsthenameofthetemporaryfileitwrote,whichyoucanthenrenameordeleteasyouwish.Ordinarily,youshouldreply"Yes",unlessyoufindthereportofwhatMAILSCAVENGEhadtocorrecttobesuspicious.(MAILSCAVENGE.IN.PLACEFILENAMEERRORMSGSTREAM)[Function]ThisissimilartoMAILSCAVENGE,butdestructivelyscavengesthefilein-place.ThisisfasterthanMAILSCAVENGE,butyouhavetobebraveandassumeMAILSCAVENGEisnotoverwritinganythingvaluableasitscansthefile. q?` p` q?` g_p` b5q` b5"^r`{"^ 2D^D[q` !![s`i[$ -06[t`X[6[ Yu`{ Y VTt`X a||VTq`VT #VTt`XVT#%;(S).05:l@E\FJJCBEv$d%%Bv`FB, Bt`XB,cB?;?;q`?; ?;t`X?;@"k#&['*-Q.3g5:x<?AH1JKK?;=hSltt=hq`=h $=ht`X=h$)+/1;3:" EBJJ0v.)7h. , , +V +V ) ), q?` TIMESROMAN TIMESROMAN TIMESROMAN  TIMESROMAN  HELVETICA~GACHA ~GACHAj/ EBD,{ERIS}LIBRARY>MAILSCAVENGE.PRESS;1VANMELLE21-Feb-85 18:11:15