Re: [NTLK] How to erase all info

From: Paul Guyot (pguyot_at_kallisys.net)
Date: Wed Sep 24 2003 - 09:25:47 PDT


Aux environs du 24/09/03 à 11:51 -0400, sous le titre "[NTLK] How to
erase all info", Marcy prit sa plus belle plume pour écrire les mots
suivants:
>I'm selling a 2100 and need to erase my info, but leave the programs. Is
>there an easy way?

In Extras, you can go to storage and delete the things one by one.
However, this won't delete your preferences (I don't think you can
delete the System soup there).

Still, you can use some software or some lines of NewtonScript to do
that. You'll understand that I didn't try this myself.
Nevertheless, something like:

begin
     // Get a reference to the Internal Store, it's always store 0 (is it
     // it really documented?)
     local theInternalStore := GetStores()[0];

     // Iterate on the soup names.
     foreach soupName in theInternalStore:GetSoupNames()
     do if not StrEqual(soupName, "Packages") then
         try
            // Try to remove the soup from the store
             // if it's not the Packages soup.
             theInternalStore:GetSoup(soupName)
                :RemoveFromStoreXmit('victorTheCleaner);
        onexception |evt| do nil;
end;

should do it. Type it in ViewFrame, evaluate and reboot once you're
done. The Newton will probably enter the setup screen. If it doesn't,
i.e. if something fails, you can always reboot and press the reset
button in the back to completely brain wipe your MP2100. In the worst
case, the soups wouldn't have been deleted because the system would
have refused, in which case the easiest will really be a complete
brain wipe followed by the installation of the software you had.

Paul

-- 
Philosophie de baignoire - consultations sur rendez-vous.
NPDS/NewtonOS: http://newton.kallisys.net:8080/
Apache/FreeBSD: http://www.kallisys.com/
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/


This archive was generated by hypermail 2.1.5 : Wed Sep 24 2003 - 10:00:02 PDT