XEROX DUMPLOAD 2 4 1 DUMPLOAD 1 4 By: Larry Masinter and/or Bill van Melle (Masinter@Xerox.com, vanMelle@Xerox.com) This package reads files written by the Alto operating system Executive's DUMP command, and the Alto FTP command. (It's utility is limited to those who have machines with those systems.) (DUMPREAD FILE OPTIONS) [Function] FILE is the file to read. OPTIONS include (ASK PRINT DATES SEE COPY COLLECT). ASK - means to ask the user before processing each file PRINT - print information for each file DATES - include dates SEE - instead of copying the dumped files to separate files, copy them to T instead. COPY - copy the contents to a local file Dump file format A dump file is a sequence of blocks of eight-bit bytes. The first byte of each block is the block type. A typical dump file might look like: ... . . ... Name Block - Type=#377 A name block contains two bytes of file attributes and then the file name. (Ignored by load, set to 0 by Dump). Data Block - Type=#376 A data block contains two bytes of byte count (high-order byte first), two bytes of checksum (high-order byte first), and a sequence of data bytes. The count does not include the checksum or byte count; only the data bytes are counted. The checksum is a 16-bit add ignoring carry, over the data and byte count. If the block has an odd number of bytes, the last byte is NOT included in the checksum computation. End Block - Type=#374 An end block has no contents and terminates a Load. Date Block - Type=#373 Date blocks with six bytes of date are generated; contains the four byte Alto creation date into the first four bytes and zeros the remaining two. Date blocks are optional. (LIST ((PAGE NIL (FOLIOINFO (ARABIC) STARTINGPAGE# 1) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM) FORMATINFO (ARABIC)) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL)))))((È1È È(ŠŠ8(È (ŠŠ8DÈÈ PAGEHEADING RUNNINGHEAD  TIMESROMAN ?1(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8)) TERMINAL  HELVETICA MODERN MODERN MODERN MODERNMODERN LOGO   HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFNMODERN   HRULE.GETFNMODERN  HRULE.GETFNMODERN S½    $5#R%Ž?>p¨4°:bzº