ArchiveTool An Interlisp-D Interface to the Cedar Archive System Frank G. Halasz Xerox PARC The ArchiveTool provides an semi-automatic interface to the PARC Cedar Archive system. The goal of the ArchiveTool is to make the multi-step archiving process as simple and as automatic as possible, approximating the functionality that was available on the old Maxc archive system. Currently, the ArchiveTool supports only the archiving of files. Later additions will support the retrieval of archived files. The Cedar Archive System The Cedar Archive system is built around the Grapevine mail system. To archive a file from a file server, you send mail to Archivist.pa. When the file has been archived, Archivist.pa sends you back a message listing the files archived, where they were archived, and any problems that were encountered. It is then up to you, the user, to delete the archived files from the file server. It is also up to you (at the present time) to maintain a directory of archived files and their locations. To retrieve an archived file, you must send Archivist.pa a message stating the file and its archive location. Documentation on the Cedar Archive system can be found on {indigo}documentation>ArchiveDoc.press. The Interlisp ArchiveTool The ArchiveTool provides an interface to both the sending of archive requests to Archivist.pa and the processing of the message returned from Archivist.pa. At present there is no support for the sending of retrieve requests. Requesting an archive The ArchiveTool is based on the FileBrowser library package. When the ArchiveTool is loaded, a new command, Archive, is added to the FileBrowser menu. To archive some files, bring up a FileBrowser that includes those files (e.g., FileBrowser on the directory containing the files). Select the files and then choose the Archive command in the FileBrowser menu. This will automatically compose and send an archive request message to Archivist.pa. For more information on using the FileBrowser, bug your local Xerox AISBU representative since there appears to be no documentation on {ERIS}library>! Processing the return message After some delay (1 to a few days), Archivist.pa will return to you a mail message containing a listing of the files that were archived. You most probably want to delete these files. You also want to SAVE this message, because you will need it for retrieve requests. Saving the message is up to you, deleting the files can be done using the ArchiveTool. To delete the archived files, display the message from Archivist.pa (i.e., using the Lafite display command). From the background menu, choose the ArchiveTool entry. The ArchiveTool will then ask you to click a mouse button inside of the window containing the message from Archivist.pa. The ArchiveTool will extract the names of the archived files from this message and then delete them from the file server. Before starting to delete, the ArchiveTool will ask you to confirm your desire to delete the files. As the files are deleted they are listed in a prompt window above the message display window. User Settable Parameters Arch.CcToSelfFlg if the globalvar Arch.CcToSelfFlg is non-NIL, then copies of your archive request messages will be CCed to you. If Arch.CcToSelfFlg is NIL, the archive request will not be Cced to you. Deafult setting is T. (LIST ((PAGE NIL NIL (0 0 612 792) ((TEXT NIL NIL (2540 2540 16510 22860) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD RIGHT) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY GACHA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (16510 26670 2540 1270) NIL) (TEXT NIL NIL (2540 2540 16510 22860) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD RIGHT) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY GACHA OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (16510 26670 2540 1270) NIL) (TEXT NIL NIL (2540 2540 16510 22860) NIL)))))NILNIL TIMESROMAN NILNIL5 TIMESROMAN  NILNIL TIMESROMAN NILNIL TIMESROMAN NILNIL TIMESROMAN NILNIL TIMESROMAN  NILNIL^ TIMESROMAN NILNILm TIMESROMAN  NILNIL TIMESROMAN  NILNIL TIMESROMAN $$ NILNIL TIMESROMAN  NILNILm TIMESROMAN  TIMESROMAN $ TIMESROMAN NILNIL TIMESROMAN  TIMESROMAN x TIMESROMAN NILNIL TIMESROMAN $$ NILNIL TIMESROMAN  NILNILe TIMESROMAN NILNIL TIMESROMAN TIMESROMAN  TIMESROMAN NILNIL TIMESROMAN  NILNIL TIMESROMAN  TIMESROMAN  TIMESROMAN J TIMESROMAN TIMESROMAN  TIMESROMAN L TIMESROMAN NILNIL TIMESROMAN NILNIL TIMESROMAN  ,7z