Re: [NTLK] NewTen (Mac OS X package installer)

From: Paul Guyot (pguyot_at_kallisys.net)
Date: Sat Feb 23 2002 - 14:13:13 EST


>As for ethernet, I don't have an ethernet card for my Newton yet, so I
>can't go too far with that.

I think that ADSP isn't possible within MacOS X with the documented
APIs. So the only easy way is TCP/IP, in case you want to dig that
problem.

>In answer to Robert's question, yes, it's just a package installer at
>the moment, not a backup / restore app. But I'd like to know more
>details about the backup / restore process... Can anyone point me to
>technical info on the protocol used? Not promising anything at this
>point, though. ;)

Newton Formats (should be on UNNA). Describes the loading package protocol.
http://www.kallisys.com/newton/bowels/docking_protocol.txt

Something not figuring in these documents is what happens during backup.
Basically, you open a session with authentification (even if you have
no password, there is a challenge).
Once the session is on, here is what you could do for a full backup.
Desktop Newton
        -> dsnc (not documented)
        -> kDRequestToSync (kills every root children)
        <- kDResult
        -> kDGetSyncOptions
        <- kDSyncOptions
// iterate on the stores
          -> kDSetStoreGetNames
          <- kDSoupNames
   // iterate on the soups
            -> kDSetCurrentSoup
            <- kDResult
            -> kDSendSoup
            <- kDEntry
            <- kDEntry
        ...
            <- kDBackupSoupDone

and then close the session.

Paul

-- 
Home page: http://www.kallisys.com/
Newton-powered WebServer: http://newt.dyndns.org:8080/

-- This is the Newtontalk mailinglist - http://www.newtontalk.net To unsubscribe or manage: visit the above link or mailto:newtontalk-request_at_newtontalk.net?Subject=unsubscribe



This archive was generated by hypermail 2.1.2 : Sat Mar 02 2002 - 10:03:39 EST