home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / Other / Coherent / DemonArchives / sources32 / system / 42cdkit.tar < prev    next >
Tape Archive  |  1995-02-11  |  820.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), directory cd-kit/, mode 40755 , uid 3 , gid 3 , size 0 , seconds 5564021001, user bin, group bin default
98% file data default
41% TrID Sybase iAnywhere database files default (weak)
36% TrID TAR - Tape ARchive (GNU) default
21% TrID TAR - Tape ARchive (directory) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU) default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 63 64 2d 6b 69 74 2f 00 | 00 00 00 00 00 00 00 00 |cd-kit/.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000070| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 35 36 34 30 32 31 | 0 | 5564021|
|00000090| 30 30 31 20 20 20 37 35 | 36 34 00 20 35 00 00 00 |001 75|64. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 00 |cd-kit/i|so9660/.|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000270| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 35 35 36 33 35 36 30 | 0 | 5563560|
|00000290| 33 36 36 20 20 31 30 37 | 33 30 00 20 35 00 00 00 |366 107|30. 5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00000410| 74 66 2d 32 2d 32 2f 00 | 00 00 00 00 00 00 00 00 |tf-2-2/.|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 20 |.... 407|55 . |
|00000470| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00000480| 20 20 20 20 20 20 30 20 | 20 35 35 36 33 35 36 30 | 0 | 5563560|
|00000490| 33 35 37 20 20 31 32 30 | 31 37 00 20 35 00 00 00 |357 120|17. 5...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00000610| 74 66 2d 32 2d 32 2f 4d | 61 6b 65 66 69 6c 65 00 |tf-2-2/M|akefile.|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 31 30 30 36 | 34 30 20 00 20 20 20 20 |....1006|40 . |
|00000670| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00000680| 20 20 20 31 31 36 35 20 | 20 35 35 36 33 35 36 30 | 1165 | 5563560|
|00000690| 33 35 36 20 20 31 33 35 | 35 32 00 20 30 00 00 00 |356 135|52. 0...|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 23 20 6d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 43 |# makefi|le for C|
|00000810| 44 20 6d 61 67 69 63 0a | 23 0a 23 20 57 72 69 74 |D magic.|#.# Writ|
|00000820| 74 65 6e 20 62 79 20 52 | 69 63 68 20 4d 6f 72 69 |ten by R|ich Mori|
|00000830| 6e 2c 20 43 46 43 4c 2c | 20 4a 75 6c 79 2c 20 31 |n, CFCL,| July, 1|
|00000840| 39 39 32 0a 0a 63 6d 64 | 73 3a 09 09 63 61 74 73 |992..cmd|s:..cats|
|00000850| 75 62 20 63 64 5f 64 69 | 72 73 20 63 64 5f 66 69 |ub cd_di|rs cd_fi|
|00000860| 6c 65 73 20 67 65 74 5f | 66 69 6c 65 0a 0a 63 6c |les get_|file..cl|
|00000870| 65 61 6e 3a 0a 09 72 6d | 20 2d 66 20 2a 2e 6f 20 |ean:..rm| -f *.o |
|00000880| 63 61 74 73 75 62 20 63 | 64 5f 64 69 72 73 20 63 |catsub c|d_dirs c|
|00000890| 64 5f 66 69 6c 65 73 20 | 67 65 74 5f 66 69 6c 65 |d_files |get_file|
|000008a0| 0a 0a 63 61 74 73 75 62 | 3a 09 63 61 74 73 75 62 |..catsub|:.catsub|
|000008b0| 2e 63 0a 09 63 63 20 63 | 61 74 73 75 62 2e 63 20 |.c..cc c|atsub.c |
|000008c0| 2d 6f 20 63 61 74 73 75 | 62 0a 0a 63 64 5f 64 69 |-o catsu|b..cd_di|
|000008d0| 72 73 3a 09 63 64 5f 64 | 69 72 73 2e 63 0a 09 63 |rs:.cd_d|irs.c..c|
|000008e0| 63 20 63 64 5f 64 69 72 | 73 2e 63 20 2d 6f 20 63 |c cd_dir|s.c -o c|
|000008f0| 64 5f 64 69 72 73 0a 0a | 63 64 5f 66 69 6c 65 73 |d_dirs..|cd_files|
|00000900| 3a 09 63 64 5f 66 69 6c | 65 73 2e 63 20 64 69 72 |:.cd_fil|es.c dir|
|00000910| 5f 72 65 63 2e 63 0a 09 | 63 63 20 63 64 5f 66 69 |_rec.c..|cc cd_fi|
|00000920| 6c 65 73 2e 63 20 20 64 | 69 72 5f 72 65 63 2e 63 |les.c d|ir_rec.c|
|00000930| 20 2d 6f 20 63 64 5f 66 | 69 6c 65 73 0a 0a 67 65 | -o cd_f|iles..ge|
|00000940| 74 5f 66 69 6c 65 3a 09 | 67 65 74 5f 66 69 6c 65 |t_file:.|get_file|
|00000950| 2e 63 0a 09 63 63 20 67 | 65 74 5f 66 69 6c 65 2e |.c..cc g|et_file.|
|00000960| 63 20 2d 6f 20 67 65 74 | 5f 66 69 6c 65 0a 0a 72 |c -o get|_file..r|
|00000970| 65 6c 65 61 73 65 3a 09 | 48 49 53 54 4f 52 59 20 |elease:.|HISTORY |
|00000980| 4e 4f 54 45 53 20 52 45 | 41 44 4d 45 20 2a 2e 63 |NOTES RE|ADME *.c|
|00000990| 20 63 64 63 61 74 20 66 | 75 6c 6c 20 6d 61 6b 65 | cdcat f|ull make|
|000009a0| 66 69 6c 65 0a 09 72 6d | 20 2d 72 66 20 72 65 6c |file..rm| -rf rel|
|000009b0| 65 61 73 65 2a 0a 09 6d | 6b 64 69 72 20 72 65 6c |ease*..m|kdir rel|
|000009c0| 65 61 73 65 0a 09 63 70 | 20 48 49 53 54 4f 52 59 |ease..cp| HISTORY|
|000009d0| 20 4e 4f 54 45 53 20 52 | 45 41 44 4d 45 20 2a 2e | NOTES R|EADME *.|
|000009e0| 63 20 63 64 63 61 74 20 | 66 75 6c 6c 20 6d 61 6b |c cdcat |full mak|
|000009f0| 65 66 69 6c 65 20 72 65 | 6c 65 61 73 65 0a 09 74 |efile re|lease..t|
|00000a00| 61 72 20 63 76 66 20 72 | 65 6c 65 61 73 65 2e 74 |ar cvf r|elease.t|
|00000a10| 61 72 20 72 65 6c 65 61 | 73 65 0a 09 63 6f 6d 70 |ar relea|se..comp|
|00000a20| 72 65 73 73 20 72 65 6c | 65 61 73 65 2e 74 61 72 |ress rel|ease.tar|
|00000a30| 0a 09 75 75 65 6e 63 6f | 64 65 20 72 65 6c 65 61 |..uuenco|de relea|
|00000a40| 73 65 2e 74 61 72 2e 5a | 20 72 65 6c 65 61 73 65 |se.tar.Z| release|
|00000a50| 2e 74 61 72 2e 5a 20 3e | 20 72 65 6c 65 61 73 65 |.tar.Z >| release|
|00000a60| 2e 74 7a 75 0a 09 77 63 | 20 72 65 6c 65 61 73 65 |.tzu..wc| release|
|00000a70| 2e 74 7a 75 0a 00 00 00 | 00 00 00 00 00 00 00 00 |.tzu....|........|
|00000a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00000c10| 74 66 2d 32 2d 32 2f 48 | 49 53 54 4f 52 59 00 00 |tf-2-2/H|ISTORY..|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 31 30 30 36 | 34 30 20 00 20 20 20 20 |....1006|40 . |
|00000c70| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00000c80| 20 20 20 31 32 31 37 20 | 20 35 35 36 33 35 36 30 | 1217 | 5563560|
|00000c90| 33 35 36 20 20 31 33 31 | 37 34 00 20 30 00 00 00 |356 131|74. 0...|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 48 49 53 54 4f 52 59 0a | 3d 3d 3d 3d 3d 3d 3d 0a |HISTORY.|=======.|
|00000e10| 0a 56 65 72 73 69 6f 6e | 20 31 2e 31 20 6f 66 20 |.Version| 1.1 of |
|00000e20| 39 36 36 30 5f 75 20 28 | 4a 61 6e 75 61 72 79 20 |9660_u (|January |
|00000e30| 31 31 2c 20 31 39 39 33 | 29 0a 0a 20 20 44 6f 63 |11, 1993|).. Doc|
|00000e40| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 63 68 61 6e 67 |umentati|on chang|
|00000e50| 65 73 20 6f 6e 6c 79 2e | 0a 0a 56 65 72 73 69 6f |es only.|..Versio|
|00000e60| 6e 20 31 2e 30 20 6f 66 | 20 39 36 36 30 5f 75 20 |n 1.0 of| 9660_u |
|00000e70| 28 41 75 67 75 73 74 20 | 32 32 2c 20 31 39 39 32 |(August |22, 1992|
|00000e80| 29 0a 0a 20 20 4d 69 6e | 6f 72 20 66 72 6f 62 20 |).. Min|or frob |
|00000e90| 74 6f 20 63 64 5f 64 69 | 72 73 20 61 6e 64 20 63 |to cd_di|rs and c|
|00000ea0| 64 5f 66 69 6c 65 73 3b | 20 68 61 6e 64 6c 65 20 |d_files;| handle |
|00000eb0| 64 69 73 63 73 20 77 69 | 74 68 20 6d 6f 72 65 20 |discs wi|th more |
|00000ec0| 74 68 61 6e 20 32 35 36 | 0a 20 20 64 69 72 65 63 |than 256|. direc|
|00000ed0| 74 6f 72 69 65 73 2e 0a | 0a 56 65 72 73 69 6f 6e |tories..|.Version|
|00000ee0| 20 30 2e 33 20 6f 66 20 | 39 36 36 30 5f 75 20 28 | 0.3 of |9660_u (|
|00000ef0| 41 75 67 75 73 74 20 38 | 2c 20 31 39 39 32 29 0a |August 8|, 1992).|
|00000f00| 0a 20 20 54 68 69 6e 67 | 73 20 73 65 65 6d 73 20 |. Thing|s seems |
|00000f10| 66 61 69 72 6c 79 20 73 | 74 61 62 6c 65 3b 20 70 |fairly s|table; p|
|00000f20| 6f 73 74 20 74 6f 20 63 | 6f 6d 70 2e 75 6e 69 78 |ost to c|omp.unix|
|00000f30| 2e 61 75 78 0a 0a 56 65 | 72 73 69 6f 6e 20 30 2e |.aux..Ve|rsion 0.|
|00000f40| 32 20 6f 66 20 39 36 36 | 30 5f 75 20 28 41 75 67 |2 of 966|0_u (Aug|
|00000f50| 75 73 74 20 33 2c 20 31 | 39 39 32 29 0a 0a 20 20 |ust 3, 1|992).. |
|00000f60| 54 68 69 73 20 72 65 6c | 65 61 73 65 20 70 75 72 |This rel|ease pur|
|00000f70| 70 6f 72 74 73 20 74 6f | 20 66 69 78 20 74 68 65 |ports to| fix the|
|00000f80| 20 74 6f 70 2d 6c 65 76 | 65 6c 20 64 69 72 65 63 | top-lev|el direc|
|00000f90| 74 6f 72 79 20 62 75 67 | 2c 20 69 6d 70 72 6f 76 |tory bug|, improv|
|00000fa0| 65 20 74 68 65 0a 20 20 | 6d 61 6b 65 66 69 6c 65 |e the. |makefile|
|00000fb0| 2c 20 65 74 63 2e 0a 0a | 56 65 72 73 69 6f 6e 20 |, etc...|Version |
|00000fc0| 30 2e 31 20 6f 66 20 39 | 36 36 30 5f 75 20 28 4a |0.1 of 9|660_u (J|
|00000fd0| 75 6e 65 20 32 36 2c 20 | 31 39 39 32 29 0a 0a 20 |une 26, |1992).. |
|00000fe0| 20 54 68 69 73 20 77 61 | 73 20 73 68 69 70 70 65 | This wa|s shippe|
|00000ff0| 64 20 6f 6e 20 50 54 46 | 20 31 2d 32 2e 20 20 49 |d on PTF| 1-2. I|
|00001000| 74 20 77 6f 72 6b 73 20 | 66 61 69 72 6c 79 20 77 |t works |fairly w|
|00001010| 65 6c 6c 2c 20 62 75 74 | 20 66 61 69 6c 73 20 74 |ell, but| fails t|
|00001020| 6f 20 66 69 6e 64 0a 20 | 20 66 69 6c 65 73 20 69 |o find. | files i|
|00001030| 6e 20 74 68 65 20 74 6f | 70 2d 6c 65 76 65 6c 20 |n the to|p-level |
|00001040| 64 69 72 65 63 74 6f 72 | 79 20 28 65 2e 67 2e 2c |director|y (e.g.,|
|00001050| 20 30 2e 64 6f 63 29 2c | 20 61 6e 64 20 6d 61 79 | 0.doc),| and may|
|00001060| 20 6d 69 73 73 20 66 69 | 6c 65 73 20 61 74 0a 20 | miss fi|les at. |
|00001070| 20 74 68 65 20 65 6e 64 | 73 20 6f 66 20 6c 6f 6e | the end|s of lon|
|00001080| 67 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 0a 00 |g direct|ories...|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00001210| 74 66 2d 32 2d 32 2f 4e | 4f 54 45 53 00 00 00 00 |tf-2-2/N|OTES....|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 31 30 30 36 | 34 30 20 00 20 20 20 20 |....1006|40 . |
|00001270| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00001280| 20 20 20 36 30 37 34 20 | 20 35 35 36 33 35 36 30 | 6074 | 5563560|
|00001290| 33 35 36 20 20 31 32 37 | 33 31 00 20 30 00 00 00 |356 127|31. 0...|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 54 68 69 73 20 74 65 78 | 74 20 69 73 20 65 78 74 |This tex|t is ext|
|00001410| 72 61 63 74 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |racted f|rom the |
|00001420| 54 72 6f 75 62 6c 65 73 | 68 6f 6f 74 69 6e 67 20 |Troubles|hooting |
|00001430| 73 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 50 |section |of the P|
|00001440| 54 46 20 31 2d 32 0a 62 | 6f 6f 6b 6c 65 74 2e 20 |TF 1-2.b|ooklet. |
|00001450| 20 49 74 20 77 61 73 20 | 77 72 69 74 74 65 6e 2c | It was |written,|
|00001460| 20 61 6e 64 20 69 73 20 | 43 6f 70 79 72 69 67 68 | and is |Copyrigh|
|00001470| 74 2c 20 31 39 39 32 2c | 20 62 79 20 52 69 63 68 |t, 1992,| by Rich|
|00001480| 20 4d 6f 72 69 6e 2e 20 | 20 53 65 65 0a 74 68 65 | Morin. | See.the|
|00001490| 20 62 6f 6f 6b 6c 65 74 | 20 28 4c 65 67 61 6c 69 | booklet| (Legali|
|000014a0| 74 69 65 73 20 73 65 63 | 74 69 6f 6e 29 20 66 6f |ties sec|tion) fo|
|000014b0| 72 20 72 65 73 74 72 69 | 63 74 69 6f 6e 73 20 6f |r restri|ctions o|
|000014c0| 6e 20 69 74 73 20 63 6f | 6d 6d 65 72 63 69 61 6c |n its co|mmercial|
|000014d0| 20 75 73 65 2e 0a 0a 41 | 2f 55 58 2c 20 4d 61 63 | use...A|/UX, Mac|
|000014e0| 4f 53 2c 20 65 74 63 2e | 0a 0a 50 72 69 6f 72 20 |OS, etc.|..Prior |
|000014f0| 74 6f 20 72 65 6c 65 61 | 73 65 20 33 2e 30 2c 20 |to relea|se 3.0, |
|00001500| 41 2f 55 58 20 28 41 70 | 70 6c 65 27 73 20 55 4e |A/UX (Ap|ple's UN|
|00001510| 49 58 29 20 64 69 64 20 | 6e 6f 74 20 73 75 70 70 |IX) did |not supp|
|00001520| 6f 72 74 20 49 53 4f 2d | 39 36 36 30 20 61 74 20 |ort ISO-|9660 at |
|00001530| 61 6c 6c 2e 0a 41 2f 55 | 58 20 33 2e 30 20 64 6f |all..A/U|X 3.0 do|
|00001540| 65 73 20 73 75 70 70 6f | 72 74 20 49 53 4f 2d 39 |es suppo|rt ISO-9|
|00001550| 36 36 30 2c 20 62 75 74 | 20 6e 6f 74 20 66 72 6f |660, but| not fro|
|00001560| 6d 20 55 4e 49 58 20 70 | 72 6f 67 72 61 6d 73 2e |m UNIX p|rograms.|
|00001570| 20 20 28 49 53 4f 2d 39 | 36 36 30 20 64 69 73 63 | (ISO-9|660 disc|
|00001580| 73 0a 61 72 65 20 6f 6e | 6c 79 20 61 63 63 65 73 |s.are on|ly acces|
|00001590| 73 69 62 6c 65 20 66 72 | 6f 6d 20 4d 61 63 69 6e |sible fr|om Macin|
|000015a0| 74 6f 73 68 20 70 72 6f | 67 72 61 6d 73 2e 29 20 |tosh pro|grams.) |
|000015b0| 43 6f 6e 73 65 71 75 65 | 6e 74 6c 79 2c 20 74 68 |Conseque|ntly, th|
|000015c0| 65 20 50 54 46 20 73 63 | 72 69 70 74 73 0a 28 61 |e PTF sc|ripts.(a|
|000015d0| 6e 64 20 61 6e 79 20 6f | 74 68 65 72 20 55 4e 49 |nd any o|ther UNI|
|000015e0| 58 20 63 6f 6d 6d 61 6e | 64 73 29 20 64 6f 20 6e |X comman|ds) do n|
|000015f0| 6f 74 20 77 6f 72 6b 2e | 20 20 57 6f 72 73 65 2c |ot work.| Worse,|
|00001600| 20 41 2f 55 58 20 74 68 | 69 6e 6b 73 20 74 68 61 | A/UX th|inks tha|
|00001610| 74 20 61 6c 6c 0a 49 53 | 4f 2d 39 36 36 30 20 43 |t all.IS|O-9660 C|
|00001620| 44 2d 52 4f 4d 20 66 69 | 6c 65 73 20 61 72 65 20 |D-ROM fi|les are |
|00001630| 6f 66 20 74 79 70 65 20 | 22 54 45 58 54 22 2e 20 |of type |"TEXT". |
|00001640| 20 43 6f 6e 73 65 71 75 | 65 6e 74 6c 79 2c 20 69 | Consequ|ently, i|
|00001650| 74 20 77 69 6c 6c 20 74 | 72 79 20 74 6f 0a 22 63 |t will t|ry to."c|
|00001660| 6f 6e 76 65 72 74 22 20 | 74 68 65 6d 20 28 63 68 |onvert" |them (ch|
|00001670| 61 6e 67 69 6e 67 20 63 | 61 72 72 69 61 67 65 20 |anging c|arriage |
|00001680| 72 65 74 75 72 6e 73 20 | 69 6e 74 6f 20 6e 65 77 |returns |into new|
|00001690| 6c 69 6e 65 73 29 20 77 | 68 65 6e 20 79 6f 75 20 |lines) w|hen you |
|000016a0| 64 72 61 67 20 74 68 65 | 6d 0a 74 6f 20 61 20 55 |drag the|m.to a U|
|000016b0| 4e 49 58 20 66 69 6c 65 | 20 73 79 73 74 65 6d 2e |NIX file| system.|
|000016c0| 0a 0a 41 6c 6c 20 69 73 | 20 6e 6f 74 20 6c 6f 73 |..All is| not los|
|000016d0| 74 2c 20 68 6f 77 65 76 | 65 72 2e 20 20 55 73 69 |t, howev|er. Usi|
|000016e0| 6e 67 20 61 20 77 6f 72 | 64 2d 70 72 6f 63 65 73 |ng a wor|d-proces|
|000016f0| 73 69 6e 67 20 70 61 63 | 6b 61 67 65 2c 20 79 6f |sing pac|kage, yo|
|00001700| 75 20 63 61 6e 20 62 72 | 6f 77 73 65 0a 74 68 65 |u can br|owse.the|
|00001710| 20 43 44 2d 52 4f 4d 27 | 73 20 74 65 78 74 20 28 | CD-ROM'|s text (|
|00001720| 30 2e 64 6f 63 2c 20 30 | 2e 6c 73 74 2c 20 2a 2e |0.doc, 0|.lst, *.|
|00001730| 6c 74 76 2c 20 65 74 63 | 2e 29 20 66 69 6c 65 73 |ltv, etc|.) files|
|00001740| 2e 20 20 54 65 6c 6c 20 | 74 68 65 20 77 6f 72 64 |. Tell |the word|
|00001750| 2d 70 72 6f 63 65 73 73 | 6f 72 0a 74 68 61 74 20 |-process|or.that |
|00001760| 74 68 65 20 66 69 6c 65 | 73 20 61 72 65 20 22 74 |the file|s are "t|
|00001770| 65 78 74 22 2c 20 61 6e | 64 20 69 74 20 73 68 6f |ext", an|d it sho|
|00001780| 75 6c 64 20 72 65 61 64 | 20 74 68 65 6d 20 73 75 |uld read| them su|
|00001790| 63 63 65 73 73 66 75 6c | 6c 79 2e 0a 0a 4f 6e 63 |ccessful|ly...Onc|
|000017a0| 65 20 79 6f 75 20 68 61 | 76 65 20 66 6f 75 6e 64 |e you ha|ve found|
|000017b0| 20 61 6e 20 61 72 63 68 | 69 76 65 20 6f 66 20 69 | an arch|ive of i|
|000017c0| 6e 74 65 72 65 73 74 2c | 20 79 6f 75 20 6e 65 65 |nterest,| you nee|
|000017d0| 64 20 74 6f 20 67 65 74 | 20 69 74 20 73 61 66 65 |d to get| it safe|
|000017e0| 6c 79 20 6f 6e 74 6f 20 | 61 0a 55 4e 49 58 20 66 |ly onto |a.UNIX f|
|000017f0| 69 6c 65 20 73 79 73 74 | 65 6d 2e 20 20 4f 6e 65 |ile syst|em. One|
|00001800| 20 77 6f 72 6b 61 72 6f | 75 6e 64 20 72 65 71 75 | workaro|und requ|
|00001810| 69 72 65 73 20 74 68 61 | 74 20 79 6f 75 20 68 61 |ires tha|t you ha|
|00001820| 76 65 20 73 75 66 66 69 | 63 69 65 6e 74 20 72 6f |ve suffi|cient ro|
|00001830| 6f 6d 20 66 6f 72 0a 74 | 68 65 20 61 72 63 68 69 |om for.t|he archi|
|00001840| 76 65 20 6f 6e 20 61 6e | 20 48 46 53 20 66 69 6c |ve on an| HFS fil|
|00001850| 65 20 73 79 73 74 65 6d | 2e 20 20 44 72 61 67 20 |e system|. Drag |
|00001860| 74 68 65 20 61 72 63 68 | 69 76 65 20 74 6f 20 74 |the arch|ive to t|
|00001870| 68 65 20 48 46 53 20 66 | 69 6c 65 20 73 79 73 74 |he HFS f|ile syst|
|00001880| 65 6d 2e 0a 55 73 69 6e | 67 20 52 65 73 45 64 69 |em..Usin|g ResEdi|
|00001890| 74 2c 20 63 68 61 6e 67 | 65 20 74 68 65 20 54 79 |t, chang|e the Ty|
|000018a0| 70 65 20 66 72 6f 6d 20 | 22 54 45 58 54 22 20 74 |pe from |"TEXT" t|
|000018b0| 6f 20 22 42 49 4e 20 22 | 2e 20 20 54 68 65 6e 20 |o "BIN "|. Then |
|000018c0| 64 72 61 67 20 69 74 20 | 74 6f 20 61 0a 55 4e 49 |drag it |to a.UNI|
|000018d0| 58 20 66 69 6c 65 20 73 | 79 73 74 65 6d 2e 0a 0a |X file s|ystem...|
|000018e0| 54 6f 20 75 6e 70 61 63 | 6b 20 74 68 65 20 61 72 |To unpac|k the ar|
|000018f0| 63 68 69 76 65 2c 20 75 | 73 65 20 7a 63 61 74 2c |chive, u|se zcat,|
|00001900| 20 74 61 72 2c 20 61 6e | 64 2f 6f 72 20 63 70 69 | tar, an|d/or cpi|
|00001910| 6f 2c 20 61 73 20 6e 65 | 65 64 65 64 2e 20 20 54 |o, as ne|eded. T|
|00001920| 68 65 20 63 6f 64 65 20 | 69 6e 0a 61 32 7a 2f 62 |he code |in.a2z/b|
|00001930| 69 6e 2f 70 2e 67 65 74 | 20 69 73 20 61 20 67 6f |in/p.get| is a go|
|00001940| 6f 64 20 73 74 61 72 74 | 69 6e 67 20 70 6f 69 6e |od start|ing poin|
|00001950| 74 20 66 6f 72 20 74 68 | 69 73 2e 20 20 41 6c 74 |t for th|is. Alt|
|00001960| 65 72 6e 61 74 69 76 65 | 6c 79 2c 20 79 6f 75 20 |ernative|ly, you |
|00001970| 63 61 6e 0a 72 65 6e 61 | 6d 65 20 74 68 65 20 66 |can.rena|me the f|
|00001980| 69 6c 65 2c 20 67 69 76 | 69 6e 67 20 69 74 20 61 |ile, giv|ing it a|
|00001990| 20 5a 20 65 78 74 65 6e | 73 69 6f 6e 2c 20 74 68 | Z exten|sion, th|
|000019a0| 65 6e 20 75 6e 63 6f 6d | 70 72 65 73 73 20 69 74 |en uncom|press it|
|000019b0| 2e 20 20 46 69 6e 61 6c | 6c 79 2c 20 69 66 0a 79 |. Final|ly, if.y|
|000019c0| 6f 75 20 68 61 76 65 20 | 69 6e 73 74 61 6c 6c 65 |ou have |installe|
|000019d0| 64 20 47 4e 55 20 74 61 | 72 2c 20 79 6f 75 20 63 |d GNU ta|r, you c|
|000019e0| 61 6e 20 75 6e 70 61 63 | 6b 20 63 6f 6d 70 72 65 |an unpac|k compre|
|000019f0| 73 73 65 64 20 61 72 63 | 68 69 76 65 73 20 64 69 |ssed arc|hives di|
|00001a00| 72 65 63 74 6c 79 2e 0a | 28 43 68 65 63 6b 20 6f |rectly..|(Check o|
|00001a10| 75 74 20 74 68 65 20 22 | 2d 7a 22 20 6f 70 74 69 |ut the "|-z" opti|
|00001a20| 6f 6e 2e 29 0a 0a 41 20 | 64 69 66 66 65 72 65 6e |on.)..A |differen|
|00001a30| 74 20 77 6f 72 6b 61 72 | 6f 75 6e 64 20 77 61 73 |t workar|ound was|
|00001a40| 20 73 75 67 67 65 73 74 | 65 64 20 62 79 20 50 61 | suggest|ed by Pa|
|00001a50| 72 61 67 20 50 61 74 65 | 6c 20 28 70 61 72 61 67 |rag Pate|l (parag|
|00001a60| 40 6e 65 74 63 6f 6d 2e | 63 6f 6d 29 2e 0a 54 68 |@netcom.|com)..Th|
|00001a70| 65 72 65 20 69 73 20 61 | 20 66 69 6c 65 20 6e 61 |ere is a| file na|
|00001a80| 6d 65 64 20 22 49 53 4f | 20 39 36 36 30 20 46 69 |med "ISO| 9660 Fi|
|00001a90| 6c 65 20 41 63 63 65 73 | 73 22 20 69 6e 20 74 68 |le Acces|s" in th|
|00001aa0| 65 20 53 79 73 74 65 6d | 20 46 6f 6c 64 65 72 2e |e System| Folder.|
|00001ab0| 20 20 55 73 69 6e 67 0a | 52 65 73 45 64 69 74 2c | Using.|ResEdit,|
|00001ac0| 20 68 61 63 6b 20 74 68 | 65 20 22 4d 61 69 6e 22 | hack th|e "Main"|
|00001ad0| 20 4e 43 4f 44 20 72 65 | 73 6f 75 72 63 65 20 6f | NCOD re|source o|
|00001ae0| 66 20 74 68 69 73 20 66 | 69 6c 65 2c 20 63 68 61 |f this f|ile, cha|
|00001af0| 6e 67 69 6e 67 20 74 68 | 65 20 73 74 72 69 6e 67 |nging th|e string|
|00001b00| 0a 22 54 45 58 54 22 20 | 74 6f 20 74 68 65 20 73 |."TEXT" |to the s|
|00001b10| 74 72 69 6e 67 20 22 42 | 49 4e 20 22 20 28 77 69 |tring "B|IN " (wi|
|00001b20| 74 68 20 61 20 73 70 61 | 63 65 29 2c 20 61 6e 64 |th a spa|ce), and|
|00001b30| 20 74 68 65 20 73 74 72 | 69 6e 67 20 22 68 73 63 | the str|ing "hsc|
|00001b40| 64 22 20 69 6e 74 6f 20 | 74 68 65 0a 73 74 72 69 |d" into |the.stri|
|00001b50| 6e 67 20 22 41 2f 55 58 | 22 2e 20 20 54 68 65 6e |ng "A/UX|". Then|
|00001b60| 20 6c 6f 67 6f 75 74 20 | 61 6e 64 20 6c 6f 67 69 | logout |and logi|
|00001b70| 6e 20 61 67 61 69 6e 2e | 0a 0a 55 6e 66 6f 72 74 |n again.|..Unfort|
|00001b80| 75 6e 61 74 65 6c 79 2c | 20 6e 6f 77 20 74 68 65 |unately,| now the|
|00001b90| 20 66 69 6c 65 73 20 77 | 68 69 63 68 20 72 65 61 | files w|hich rea|
|00001ba0| 6c 6c 79 20 61 72 65 20 | 54 45 58 54 20 63 61 6e |lly are |TEXT can|
|00001bb0| 6e 6f 74 20 62 65 20 64 | 69 72 65 63 74 6c 79 0a |not be d|irectly.|
|00001bc0| 76 69 65 77 65 64 20 62 | 79 20 64 6f 75 62 6c 65 |viewed b|y double|
|00001bd0| 2d 63 6c 69 63 6b 69 6e | 67 20 74 68 65 6d 2e 20 |-clickin|g them. |
|00001be0| 20 4f 6e 65 20 68 61 63 | 6b 20 66 6f 72 20 74 68 | One hac|k for th|
|00001bf0| 69 73 20 70 72 6f 62 6c | 65 6d 20 69 73 20 74 6f |is probl|em is to|
|00001c00| 20 75 73 65 20 74 68 65 | 0a 66 72 65 65 77 61 72 | use the|.freewar|
|00001c10| 65 20 42 42 45 64 69 74 | 20 74 65 78 74 20 65 64 |e BBEdit| text ed|
|00001c20| 69 74 6f 72 2c 20 73 65 | 74 20 69 74 20 74 6f 20 |itor, se|t it to |
|00001c30| 72 65 61 64 20 61 6e 79 | 20 74 79 70 65 20 6f 66 |read any| type of|
|00001c40| 20 66 69 6c 65 20 61 6e | 64 20 74 6f 0a 61 75 74 | file an|d to.aut|
|00001c50| 6f 6d 61 74 69 63 61 6c | 6c 79 20 63 6f 6e 76 65 |omatical|ly conve|
|00001c60| 72 74 20 6c 69 6e 65 66 | 65 65 64 73 2c 20 74 68 |rt linef|eeds, th|
|00001c70| 65 6e 20 75 73 65 20 69 | 74 73 20 4f 70 65 6e 20 |en use i|ts Open |
|00001c80| 64 69 61 6c 6f 67 20 74 | 6f 20 62 72 6f 77 73 65 |dialog t|o browse|
|00001c90| 20 74 68 65 20 43 44 0a | 66 69 6c 65 73 79 73 74 | the CD.|filesyst|
|00001ca0| 65 6d 2e 20 20 41 6c 74 | 65 72 6e 61 74 69 76 65 |em. Alt|ernative|
|00001cb0| 6c 79 2e 2e 2e 0a 0a 49 | 53 4f 2d 39 36 36 30 20 |ly.....I|SO-9660 |
|00001cc0| 55 74 69 6c 69 74 69 65 | 73 0a 0a 42 69 6c 6c 20 |Utilitie|s..Bill |
|00001cd0| 53 69 65 67 6d 75 6e 64 | 20 61 6e 64 20 52 69 63 |Siegmund| and Ric|
|00001ce0| 68 20 4d 6f 72 69 6e 20 | 68 61 76 65 20 77 72 69 |h Morin |have wri|
|00001cf0| 74 74 65 6e 20 73 6f 6d | 65 20 75 73 65 72 2d 6d |tten som|e user-m|
|00001d00| 6f 64 65 20 49 53 4f 2d | 39 36 36 30 20 75 74 69 |ode ISO-|9660 uti|
|00001d10| 6c 69 74 69 65 73 2e 0a | 4f 6e 65 20 70 72 6f 67 |lities..|One prog|
|00001d20| 72 61 6d 20 6c 69 73 74 | 73 20 61 20 43 44 2d 52 |ram list|s a CD-R|
|00001d30| 4f 4d 2c 20 61 6e 6f 74 | 68 65 72 20 67 72 61 62 |OM, anot|her grab|
|00001d40| 73 20 66 69 6c 65 73 20 | 62 79 20 6e 61 6d 65 20 |s files |by name |
|00001d50| 61 6e 64 20 77 72 69 74 | 65 73 20 74 68 65 6d 20 |and writ|es them |
|00001d60| 74 6f 0a 73 74 61 6e 64 | 61 72 64 20 6f 75 74 70 |to.stand|ard outp|
|00001d70| 75 74 2c 20 65 74 63 2e | 20 20 28 49 66 20 79 6f |ut, etc.| (If yo|
|00001d80| 75 20 75 73 65 20 74 68 | 65 73 65 20 74 6f 6f 6c |u use th|ese tool|
|00001d90| 73 20 6f 6e 20 41 2f 55 | 58 2c 20 73 6b 69 70 20 |s on A/U|X, skip |
|00001da0| 74 68 65 20 52 65 73 45 | 64 69 74 0a 68 61 63 6b |the ResE|dit.hack|
|00001db0| 65 72 79 20 64 65 73 63 | 72 69 62 65 64 20 61 62 |ery desc|ribed ab|
|00001dc0| 6f 76 65 2e 20 20 55 73 | 65 20 61 6e 20 65 64 69 |ove. Us|e an edi|
|00001dd0| 74 6f 72 20 74 6f 20 6c | 6f 6f 6b 20 6f 76 65 72 |tor to l|ook over|
|00001de0| 20 74 68 65 20 30 2e 64 | 6f 63 20 66 69 6c 65 73 | the 0.d|oc files|
|00001df0| 2c 20 74 68 65 6e 0a 75 | 73 65 20 74 68 65 73 65 |, then.u|se these|
|00001e00| 20 74 6f 6f 6c 73 20 74 | 6f 20 72 65 74 72 69 65 | tools t|o retrie|
|00001e10| 76 65 20 64 65 73 69 72 | 65 64 20 61 72 63 68 69 |ve desir|ed archi|
|00001e20| 76 65 73 2e 29 0a 0a 49 | 66 20 79 6f 75 20 63 61 |ves.)..I|f you ca|
|00001e30| 6e 20 72 65 61 64 20 74 | 68 65 20 50 54 46 20 64 |n read t|he PTF d|
|00001e40| 69 73 63 73 20 6f 6e 20 | 73 6f 6d 65 20 6f 74 68 |iscs on |some oth|
|00001e50| 65 72 20 73 79 73 74 65 | 6d 2c 20 67 72 61 62 20 |er syste|m, grab |
|00001e60| 74 68 65 20 66 69 6c 65 | 73 20 69 6e 0a 61 72 63 |the file|s in.arc|
|00001e70| 68 69 76 65 2f 39 36 36 | 30 5f 75 2e 20 20 44 75 |hive/966|0_u. Du|
|00001e80| 65 20 74 6f 20 61 6e 20 | 65 64 69 74 69 6e 67 20 |e to an |editing |
|00001e90| 65 72 72 6f 72 2c 20 74 | 68 65 79 20 63 6f 6e 74 |error, t|hey cont|
|00001ea0| 61 69 6e 20 61 20 70 72 | 65 6c 69 6d 69 6e 61 72 |ain a pr|eliminar|
|00001eb0| 79 20 28 72 65 61 64 0a | 62 75 67 67 79 29 20 76 |y (read.|buggy) v|
|00001ec0| 65 72 73 69 6f 6e 2c 20 | 61 6e 64 20 77 69 6c 6c |ersion, |and will|
|00001ed0| 20 66 61 69 6c 20 74 6f | 20 73 65 65 20 73 6f 6d | fail to| see som|
|00001ee0| 65 20 66 69 6c 65 73 20 | 61 6e 64 20 64 69 72 65 |e files |and dire|
|00001ef0| 63 74 6f 72 69 65 73 2e | 20 20 54 68 65 79 0a 73 |ctories.| They.s|
|00001f00| 68 6f 75 6c 64 20 68 65 | 6c 70 20 79 6f 75 20 74 |hould he|lp you t|
|00001f10| 6f 20 67 65 74 20 73 74 | 61 72 74 65 64 2c 20 68 |o get st|arted, h|
|00001f20| 6f 77 65 76 65 72 2e 0a | 0a 54 6f 20 67 65 74 20 |owever..|.To get |
|00001f30| 74 68 65 20 63 75 72 72 | 65 6e 74 20 76 65 72 73 |the curr|ent vers|
|00001f40| 69 6f 6e 2c 20 73 65 6e | 64 20 61 20 6e 6f 74 65 |ion, sen|d a note|
|00001f50| 20 74 6f 20 52 69 63 68 | 20 28 72 64 6d 40 63 66 | to Rich| (rdm@cf|
|00001f60| 63 6c 2e 63 6f 6d 29 2e | 0a 41 6c 74 65 72 6e 61 |cl.com).|.Alterna|
|00001f70| 74 69 76 65 6c 79 2c 20 | 42 69 6c 6c 20 73 61 79 |tively, |Bill say|
|00001f80| 73 20 68 65 20 77 69 6c | 6c 20 6d 61 6b 65 20 75 |s he wil|l make u|
|00001f90| 70 20 61 6e 64 20 6d 61 | 69 6c 20 61 6e 20 4d 53 |p and ma|il an MS|
|00001fa0| 2d 44 4f 53 20 66 6c 6f | 70 70 79 20 28 33 36 30 |-DOS flo|ppy (360|
|00001fb0| 20 4b 42 2c 0a 35 2e 32 | 35 22 2c 20 44 53 2f 44 | KB,.5.2|5", DS/D|
|00001fc0| 44 29 20 66 6f 72 20 24 | 35 20 55 53 2e 20 20 43 |D) for $|5 US. C|
|00001fd0| 6f 6e 74 61 63 74 20 68 | 69 6d 20 61 74 20 42 69 |ontact h|im at Bi|
|00001fe0| 6c 6c 20 53 69 65 67 6d | 75 6e 64 2c 20 43 61 6c |ll Siegm|und, Cal|
|00001ff0| 2d 54 65 78 20 43 6f 6d | 70 75 74 65 72 73 2c 0a |-Tex Com|puters,.|
|00002000| 31 30 38 30 20 52 65 62 | 65 63 63 61 20 44 72 2e |1080 Reb|ecca Dr.|
|00002010| 2c 20 42 6f 75 6c 64 65 | 72 20 43 72 65 65 6b 2c |, Boulde|r Creek,|
|00002020| 20 43 41 20 39 35 30 30 | 36 2c 20 2b 31 20 34 30 | CA 9500|6, +1 40|
|00002030| 38 20 33 33 38 2d 32 35 | 37 32 2e 0a 00 00 00 00 |8 338-25|72......|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00002210| 74 66 2d 32 2d 32 2f 52 | 45 41 44 4d 45 00 00 00 |tf-2-2/R|EADME...|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 31 30 30 36 | 34 30 20 00 20 20 20 20 |....1006|40 . |
|00002270| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00002280| 20 20 20 34 31 32 35 20 | 20 35 35 36 33 35 36 30 | 4125 | 5563560|
|00002290| 33 35 36 20 20 31 32 37 | 37 31 00 20 30 00 00 00 |356 127|71. 0...|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 39 36 36 30 5f 75 20 28 | 49 53 4f 2d 39 36 36 30 |9660_u (|ISO-9660|
|00002410| 20 55 74 69 6c 69 74 69 | 65 73 29 20 52 45 41 44 | Utiliti|es) READ|
|00002420| 4d 45 2c 20 39 33 30 31 | 31 31 0a 3d 3d 3d 3d 3d |ME, 9301|11.=====|
|00002430| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002440| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002450| 3d 3d 3d 3d 3d 0a 0a 56 | 65 72 73 69 6f 6e 20 31 |=====..V|ersion 1|
|00002460| 2e 31 20 6f 66 20 39 36 | 36 30 5f 75 20 28 4a 61 |.1 of 96|60_u (Ja|
|00002470| 6e 75 61 72 79 20 31 31 | 2c 20 31 39 39 33 29 0a |nuary 11|, 1993).|
|00002480| 0a 42 69 6c 6c 20 53 69 | 65 67 6d 75 6e 64 20 64 |.Bill Si|egmund d|
|00002490| 75 67 20 69 6e 74 6f 20 | 74 68 65 20 49 53 4f 2d |ug into |the ISO-|
|000024a0| 39 36 36 30 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |9660 doc|umentati|
|000024b0| 6f 6e 20 61 6e 64 20 70 | 75 6c 6c 65 64 20 6f 75 |on and p|ulled ou|
|000024c0| 74 20 65 6e 6f 75 67 68 | 0a 69 6e 66 6f 72 6d 61 |t enough|.informa|
|000024d0| 74 69 6f 6e 20 74 6f 20 | 77 72 69 74 65 20 73 6f |tion to |write so|
|000024e0| 6d 65 20 6c 6f 77 2d 6c | 65 76 65 6c 20 75 73 65 |me low-l|evel use|
|000024f0| 72 2d 6d 6f 64 65 20 63 | 6f 64 65 20 66 6f 72 20 |r-mode c|ode for |
|00002500| 72 65 61 64 69 6e 67 20 | 49 53 4f 2d 39 36 36 30 |reading |ISO-9660|
|00002510| 0a 64 69 73 63 73 2e 20 | 20 52 69 63 68 20 4d 6f |.discs. | Rich Mo|
|00002520| 72 69 6e 20 74 77 65 61 | 6b 65 64 20 74 68 65 20 |rin twea|ked the |
|00002530| 63 6f 64 65 20 61 20 62 | 69 74 20 61 6e 64 20 61 |code a b|it and a|
|00002540| 64 64 65 64 20 73 6f 6d | 65 20 73 68 65 6c 6c 20 |dded som|e shell |
|00002550| 73 63 72 69 70 74 73 20 | 61 73 0a 66 72 6f 73 74 |scripts |as.frost|
|00002560| 69 6e 67 2e 20 20 4e 65 | 69 74 68 65 72 20 42 69 |ing. Ne|ither Bi|
|00002570| 6c 6c 20 6e 6f 72 20 52 | 69 63 68 20 69 73 20 74 |ll nor R|ich is t|
|00002580| 6f 74 61 6c 6c 79 20 68 | 61 70 70 79 20 77 69 74 |otally h|appy wit|
|00002590| 68 20 74 68 65 20 72 65 | 73 75 6c 74 73 2c 20 62 |h the re|sults, b|
|000025a0| 75 74 0a 74 68 65 79 20 | 61 67 72 65 65 20 74 68 |ut.they |agree th|
|000025b0| 61 74 20 69 74 20 69 73 | 20 66 61 72 20 62 65 74 |at it is| far bet|
|000025c0| 74 65 72 20 74 68 61 6e | 20 6e 6f 74 68 69 6e 67 |ter than| nothing|
|000025d0| 2c 20 61 6e 64 20 67 69 | 76 65 20 69 74 20 74 6f |, and gi|ve it to|
|000025e0| 20 79 6f 75 20 61 73 20 | 61 0a 73 74 61 72 74 69 | you as |a.starti|
|000025f0| 6e 67 20 70 6f 69 6e 74 | 2c 20 74 6f 6f 6c 2c 20 |ng point|, tool, |
|00002600| 6f 72 20 77 68 61 74 20 | 68 61 76 65 20 79 6f 75 |or what |have you|
|00002610| 2e 20 20 54 68 65 20 72 | 65 6c 65 76 61 6e 74 20 |. The r|elevant |
|00002620| 66 69 6c 65 73 20 61 72 | 65 3a 0a 0a 20 20 48 49 |files ar|e:.. HI|
|00002630| 53 54 4f 52 59 09 63 68 | 61 6e 67 65 20 68 69 73 |STORY.ch|ange his|
|00002640| 74 6f 72 79 20 6c 6f 67 | 0a 20 20 4e 4f 54 45 53 |tory log|. NOTES|
|00002650| 09 09 66 72 6f 6d 20 31 | 2d 32 20 62 6f 6f 6b 6c |..from 1|-2 bookl|
|00002660| 65 74 20 54 72 6f 75 62 | 6c 65 73 68 6f 6f 74 69 |et Troub|leshooti|
|00002670| 6e 67 20 73 65 63 74 69 | 6f 6e 2e 0a 20 20 52 45 |ng secti|on.. RE|
|00002680| 41 44 4d 45 09 74 68 69 | 73 20 66 69 6c 65 0a 20 |ADME.thi|s file. |
|00002690| 20 63 61 74 73 75 62 2e | 63 09 63 61 74 20 73 70 | catsub.|c.cat sp|
|000026a0| 65 63 69 66 69 65 64 20 | 43 44 2d 52 4f 4d 20 64 |ecified |CD-ROM d|
|000026b0| 61 74 61 20 74 6f 20 73 | 74 61 6e 64 61 72 64 20 |ata to s|tandard |
|000026c0| 6f 75 74 70 75 74 0a 20 | 20 63 64 5f 64 69 72 73 |output. | cd_dirs|
|000026d0| 2e 63 09 67 65 6e 65 72 | 61 74 65 20 72 61 77 20 |.c.gener|ate raw |
|000026e0| 6c 69 73 74 20 6f 66 20 | 43 44 2d 52 4f 4d 20 64 |list of |CD-ROM d|
|000026f0| 69 72 65 63 74 6f 72 69 | 65 73 0a 20 20 63 64 5f |irectori|es. cd_|
|00002700| 66 69 6c 65 73 2e 63 09 | 67 65 6e 65 72 61 74 65 |files.c.|generate|
|00002710| 20 72 61 77 20 6c 69 73 | 74 20 6f 66 20 43 44 2d | raw lis|t of CD-|
|00002720| 52 4f 4d 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |ROM dire|ctories |
|00002730| 61 6e 64 20 66 69 6c 65 | 73 0a 20 20 63 64 63 61 |and file|s. cdca|
|00002740| 74 09 09 63 61 74 20 73 | 70 65 63 69 66 69 65 64 |t..cat s|pecified|
|00002750| 20 43 44 2d 52 4f 4d 20 | 66 69 6c 65 20 74 6f 20 | CD-ROM |file to |
|00002760| 73 74 61 6e 64 61 72 64 | 20 6f 75 74 70 75 74 0a |standard| output.|
|00002770| 20 20 64 69 72 5f 72 65 | 63 2e 63 09 72 65 61 64 | dir_re|c.c.read|
|00002780| 20 61 6e 64 20 70 72 6f | 63 65 73 73 20 64 65 73 | and pro|cess des|
|00002790| 69 67 6e 61 74 65 64 20 | 44 69 72 65 63 74 6f 72 |ignated |Director|
|000027a0| 79 20 52 65 63 6f 72 64 | 20 62 6c 6f 63 6b 0a 20 |y Record| block. |
|000027b0| 20 66 75 6c 6c 09 09 67 | 65 6e 65 72 61 74 65 20 | full..g|enerate |
|000027c0| 66 75 6c 6c 20 6c 69 73 | 74 20 6f 66 20 64 69 73 |full lis|t of dis|
|000027d0| 63 27 73 20 63 6f 6e 74 | 65 6e 74 73 0a 20 20 67 |c's cont|ents. g|
|000027e0| 65 74 5f 66 69 6c 65 2e | 63 09 69 6e 74 65 72 61 |et_file.|c.intera|
|000027f0| 63 74 69 76 65 20 43 44 | 2d 52 4f 4d 20 64 61 74 |ctive CD|-ROM dat|
|00002800| 61 20 72 65 74 72 69 65 | 76 65 72 0a 20 20 6d 61 |a retrie|ver. ma|
|00002810| 6b 65 66 69 6c 65 09 62 | 75 69 6c 64 20 43 20 70 |kefile.b|uild C p|
|00002820| 72 6f 67 72 61 6d 73 0a | 0a 52 69 63 68 20 73 75 |rograms.|.Rich su|
|00002830| 67 67 65 73 74 73 20 74 | 68 65 20 66 6f 6c 6c 6f |ggests t|he follo|
|00002840| 77 69 6e 67 20 70 6c 61 | 6e 20 66 6f 72 20 75 73 |wing pla|n for us|
|00002850| 69 6e 67 20 74 68 65 73 | 65 20 74 6f 6f 6c 73 3a |ing thes|e tools:|
|00002860| 0a 0a 20 20 31 29 09 42 | 75 69 6c 64 20 74 68 65 |.. 1).B|uild the|
|00002870| 20 43 20 70 72 6f 67 72 | 61 6d 73 2e 20 20 54 68 | C progr|ams. Th|
|00002880| 65 79 20 63 75 72 72 65 | 6e 74 6c 79 20 63 6f 6d |ey curre|ntly com|
|00002890| 70 69 6c 65 20 75 6e 64 | 65 72 20 53 56 52 34 20 |pile und|er SVR4 |
|000028a0| 61 6e 64 0a 09 41 2f 55 | 58 20 33 2e 30 3b 20 66 |and..A/U|X 3.0; f|
|000028b0| 6f 72 20 61 6e 79 74 68 | 69 6e 67 20 65 6c 73 65 |or anyth|ing else|
|000028c0| 2c 20 79 6f 75 27 72 65 | 20 6f 6e 20 79 6f 75 72 |, you're| on your|
|000028d0| 20 6f 77 6e 2e 0a 0a 20 | 20 32 29 09 46 69 6e 64 | own... | 2).Find|
|000028e0| 20 6f 75 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 | out the| name of|
|000028f0| 20 74 68 65 20 72 61 77 | 20 43 44 2d 52 4f 4d 20 | the raw| CD-ROM |
|00002900| 64 65 76 69 63 65 20 6f | 6e 20 79 6f 75 72 20 73 |device o|n your s|
|00002910| 79 73 74 65 6d 2e 20 20 | 4f 6e 0a 09 52 69 63 68 |ystem. |On..Rich|
|00002920| 27 73 20 41 2f 55 58 20 | 62 6f 78 2c 20 69 74 20 |'s A/UX |box, it |
|00002930| 69 73 20 2f 64 65 76 2f | 64 73 6b 2f 63 33 64 30 |is /dev/|dsk/c3d0|
|00002940| 73 33 31 2c 20 77 68 65 | 72 65 20 74 68 65 20 33 |s31, whe|re the 3|
|00002950| 20 73 70 65 63 69 66 69 | 65 73 0a 09 53 43 53 49 | specifi|es..SCSI|
|00002960| 20 49 44 20 33 2e 20 20 | 59 6f 75 20 6d 61 79 2c | ID 3. |You may,|
|00002970| 20 66 6f 72 20 63 6f 6e | 76 65 6e 69 65 6e 63 65 | for con|venience|
|00002980| 2c 20 77 69 73 68 20 74 | 6f 20 6c 69 6e 6b 20 74 |, wish t|o link t|
|00002990| 68 65 20 6e 61 6d 65 20 | 74 6f 0a 09 73 6f 6d 65 |he name |to..some|
|000029a0| 74 68 69 6e 67 20 6d 6f | 72 65 20 6d 6e 65 6d 6f |thing mo|re mnemo|
|000029b0| 6e 69 63 20 28 65 2e 67 | 2e 2c 20 2f 64 65 76 2f |nic (e.g|., /dev/|
|000029c0| 63 64 29 2e 0a 0a 20 20 | 33 29 09 52 75 6e 20 22 |cd)... |3).Run "|
|000029d0| 66 75 6c 6c 22 20 74 6f | 20 67 65 6e 65 72 61 74 |full" to| generat|
|000029e0| 65 20 61 20 73 6f 72 74 | 65 64 20 69 6e 64 65 78 |e a sort|ed index|
|000029f0| 20 6c 69 73 74 2c 20 61 | 73 3a 0a 0a 09 20 20 66 | list, a|s:... f|
|00002a00| 75 6c 6c 20 2f 64 65 76 | 2f 63 64 20 3e 20 31 2d |ull /dev|/cd > 1-|
|00002a10| 32 61 0a 0a 20 20 34 29 | 09 55 73 65 20 22 67 72 |2a.. 4)|.Use "gr|
|00002a20| 65 70 22 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |ep" to f|ind the |
|00002a30| 66 75 6c 6c 20 70 61 74 | 68 20 6e 61 6d 65 73 20 |full pat|h names |
|00002a40| 6f 66 20 64 65 73 69 72 | 65 64 20 66 69 6c 65 73 |of desir|ed files|
|00002a50| 2e 0a 0a 20 20 35 29 09 | 45 78 74 72 61 63 74 20 |... 5).|Extract |
|00002a60| 74 68 65 20 66 69 6c 65 | 73 20 75 73 69 6e 67 20 |the file|s using |
|00002a70| 22 63 64 63 61 74 22 2c | 20 61 73 3a 0a 0a 09 20 |"cdcat",| as:... |
|00002a80| 20 63 64 63 61 74 20 31 | 2d 32 61 20 2f 64 65 76 | cdcat 1|-2a /dev|
|00002a90| 2f 63 64 20 6c 61 6e 67 | 75 61 67 65 2f 30 2e 64 |/cd lang|uage/0.d|
|00002aa0| 6f 63 20 3e 20 6c 61 6e | 67 75 61 67 65 5f 30 2e |oc > lan|guage_0.|
|00002ab0| 64 6f 63 0a 0a 46 75 74 | 75 72 65 20 64 65 76 65 |doc..Fut|ure deve|
|00002ac0| 6c 6f 70 6d 65 6e 74 20 | 63 6f 75 6c 64 20 74 61 |lopment |could ta|
|00002ad0| 6b 65 20 61 6e 79 20 6f | 66 20 73 65 76 65 72 61 |ke any o|f severa|
|00002ae0| 6c 20 70 61 74 68 73 2e | 20 20 54 68 65 20 63 75 |l paths.| The cu|
|00002af0| 72 72 65 6e 74 20 6d 65 | 73 73 20 6f 66 0a 73 63 |rrent me|ss of.sc|
|00002b00| 72 69 70 74 73 20 61 6e | 64 20 43 20 63 6f 64 65 |ripts an|d C code|
|00002b10| 20 6d 69 67 68 74 20 62 | 65 20 74 75 72 6e 65 64 | might b|e turned|
|00002b20| 20 69 6e 74 6f 20 73 6f | 6d 65 74 68 69 6e 67 20 | into so|mething |
|00002b30| 77 69 74 68 20 61 20 72 | 65 61 73 6f 6e 61 62 6c |with a r|easonabl|
|00002b40| 65 20 75 73 65 72 0a 69 | 6e 74 65 72 66 61 63 65 |e user.i|nterface|
|00002b50| 2e 20 20 41 6c 74 65 72 | 6e 61 74 69 76 65 6c 79 |. Alter|natively|
|00002b60| 2c 20 41 20 75 73 65 72 | 2d 6d 6f 64 65 20 4e 46 |, A user|-mode NF|
|00002b70| 53 20 73 65 72 76 65 72 | 20 64 61 65 6d 6f 6e 20 |S server| daemon |
|00002b80| 63 6f 75 6c 64 20 62 65 | 20 77 72 69 74 74 65 6e |could be| written|
|00002b90| 2c 0a 61 6c 6c 6f 77 69 | 6e 67 20 49 53 4f 2d 39 |,.allowi|ng ISO-9|
|00002ba0| 36 36 30 20 43 44 2d 52 | 4f 4d 73 20 74 6f 20 62 |660 CD-R|OMs to b|
|00002bb0| 65 20 6d 6f 75 6e 74 65 | 64 20 61 73 20 69 66 20 |e mounte|d as if |
|00002bc0| 74 68 65 79 20 77 65 72 | 65 20 55 4e 49 58 20 66 |they wer|e UNIX f|
|00002bd0| 69 6c 65 20 73 79 73 74 | 65 6d 73 2e 0a 46 69 6e |ile syst|ems..Fin|
|00002be0| 61 6c 6c 79 2c 20 76 65 | 6e 64 6f 72 20 73 6f 66 |ally, ve|ndor sof|
|00002bf0| 74 77 61 72 65 20 6d 69 | 67 68 74 20 62 65 63 6f |tware mi|ght beco|
|00002c00| 6d 65 20 6d 61 74 75 72 | 65 20 65 6e 6f 75 67 68 |me matur|e enough|
|00002c10| 20 74 68 61 74 20 74 68 | 69 73 20 73 6f 72 74 20 | that th|is sort |
|00002c20| 6f 66 20 68 61 63 6b 0a | 77 6f 75 6c 64 20 6e 6f |of hack.|would no|
|00002c30| 20 6c 6f 6e 67 65 72 20 | 62 65 20 6e 65 63 65 73 | longer |be neces|
|00002c40| 73 61 72 79 2e 20 20 53 | 74 61 79 20 74 75 6e 65 |sary. S|tay tune|
|00002c50| 64 2e 2e 2e 0a 00 00 00 | 00 00 00 00 00 00 00 00 |d.......|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00002e10| 74 66 2d 32 2d 32 2f 63 | 61 74 73 75 62 2e 63 00 |tf-2-2/c|atsub.c.|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 31 30 30 36 | 34 30 20 00 20 20 20 20 |....1006|40 . |
|00002e70| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00002e80| 20 20 20 32 36 34 30 20 | 20 35 35 36 33 35 36 30 | 2640 | 5563560|
|00002e90| 33 35 36 20 20 31 33 35 | 33 36 00 20 30 00 00 00 |356 135|36. 0...|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 2f 2a 20 63 61 74 73 75 | 62 2e 63 20 2d 2d 20 72 |/* catsu|b.c -- r|
|00003010| 65 74 72 69 65 76 65 20 | 61 20 66 69 6c 65 20 66 |etrieve |a file f|
|00003020| 72 6f 6d 20 61 6e 20 49 | 53 4f 2d 39 36 36 30 20 |rom an I|SO-9660 |
|00003030| 43 44 2d 52 4f 4d 2e 0a | 20 2a 0a 20 2a 20 55 73 |CD-ROM..| *. * Us|
|00003040| 61 67 65 3a 20 63 61 74 | 73 75 62 20 3c 64 65 76 |age: cat|sub <dev|
|00003050| 69 63 65 3e 20 3c 62 6c | 6f 63 6b 3e 20 3c 6c 65 |ice> <bl|ock> <le|
|00003060| 6e 67 74 68 3e 0a 20 2a | 0a 20 2a 20 3c 64 65 76 |ngth>. *|. * <dev|
|00003070| 69 63 65 3e 09 66 75 6c | 6c 20 70 61 74 68 20 6e |ice>.ful|l path n|
|00003080| 61 6d 65 20 66 6f 72 20 | 74 68 65 20 43 44 2d 52 |ame for |the CD-R|
|00003090| 4f 4d 20 64 65 76 69 63 | 65 0a 20 2a 20 3c 62 6c |OM devic|e. * <bl|
|000030a0| 6f 63 6b 3e 09 73 74 61 | 72 74 69 6e 67 20 62 6c |ock>.sta|rting bl|
|000030b0| 6f 63 6b 20 6f 6e 20 74 | 68 65 20 43 44 20 28 68 |ock on t|he CD (h|
|000030c0| 65 78 61 64 65 63 69 6d | 61 6c 29 0a 20 2a 20 3c |exadecim|al). * <|
|000030d0| 6c 65 6e 67 74 68 3e 09 | 6c 65 6e 67 74 68 20 6f |length>.|length o|
|000030e0| 66 20 74 68 65 20 66 69 | 6c 65 2c 20 69 6e 20 62 |f the fi|le, in b|
|000030f0| 79 74 65 73 20 28 64 65 | 63 69 6d 61 6c 29 0a 20 |ytes (de|cimal). |
|00003100| 2a 0a 20 2a 20 21 21 21 | 20 54 68 69 73 20 63 6f |*. * !!!| This co|
|00003110| 6d 6d 61 6e 64 20 69 73 | 20 6d 65 61 6e 74 20 66 |mmand is| meant f|
|00003120| 6f 72 20 75 73 65 20 62 | 79 20 74 68 65 20 73 63 |or use b|y the sc|
|00003130| 72 69 70 74 20 63 64 63 | 61 74 20 21 21 21 0a 20 |ript cdc|at !!!. |
|00003140| 2a 0a 20 2a 20 41 64 61 | 70 74 65 64 20 28 62 79 |*. * Ada|pted (by|
|00003150| 20 52 69 63 68 20 4d 6f | 72 69 6e 2c 20 43 46 43 | Rich Mo|rin, CFC|
|00003160| 4c 2c 20 4a 75 6e 65 2c | 20 31 39 39 32 29 20 66 |L, June,| 1992) f|
|00003170| 72 6f 6d 20 67 65 74 5f | 66 69 6c 65 2e 63 2c 20 |rom get_|file.c, |
|00003180| 77 68 69 63 68 20 77 61 | 73 3a 0a 20 2a 0a 20 2a |which wa|s:. *. *|
|00003190| 20 57 72 69 74 74 65 6e | 20 62 79 20 42 69 6c 6c | Written| by Bill|
|000031a0| 20 53 69 65 67 6d 75 6e | 64 2c 20 43 61 6c 2d 54 | Siegmun|d, Cal-T|
|000031b0| 65 78 20 43 6f 6d 70 75 | 74 65 72 73 2c 20 49 6e |ex Compu|ters, In|
|000031c0| 63 2e 0a 20 2a 20 31 30 | 38 30 20 52 65 62 65 63 |c.. * 10|80 Rebec|
|000031d0| 63 61 20 44 72 2e 2c 20 | 42 6f 75 6c 64 65 72 20 |ca Dr., |Boulder |
|000031e0| 43 72 65 65 6b 2c 20 43 | 41 20 20 39 35 30 30 36 |Creek, C|A 95006|
|000031f0| 0a 20 2a 20 2b 31 20 34 | 30 38 20 33 33 38 2d 32 |. * +1 4|08 338-2|
|00003200| 35 37 32 0a 20 2a 2f 0a | 20 0a 23 69 66 6e 64 65 |572. */.| .#ifnde|
|00003210| 66 20 43 4f 48 45 52 45 | 4e 54 0a 23 69 6e 63 6c |f COHERE|NT.#incl|
|00003220| 75 64 65 20 3c 6d 61 63 | 72 6f 73 2e 68 3e 0a 23 |ude <mac|ros.h>.#|
|00003230| 65 6e 64 69 66 0a 0a 2f | 2a 20 5f 41 55 58 5f 53 |endif../|* _AUX_S|
|00003240| 4f 55 52 43 45 20 69 73 | 20 64 65 66 69 6e 65 64 |OURCE is| defined|
|00003250| 20 69 6e 20 41 70 70 6c | 65 27 73 20 41 2f 55 58 | in Appl|e's A/UX|
|00003260| 20 33 2e 30 20 2a 2f 0a | 23 69 66 20 64 65 66 69 | 3.0 */.|#if defi|
|00003270| 6e 65 64 28 5f 41 55 58 | 5f 53 4f 55 52 43 45 29 |ned(_AUX|_SOURCE)|
|00003280| 20 7c 7c 20 64 65 66 69 | 6e 65 64 28 43 4f 48 45 | || defi|ned(COHE|
|00003290| 52 45 4e 54 29 0a 23 69 | 6e 63 6c 75 64 65 20 3c |RENT).#i|nclude <|
|000032a0| 73 79 73 2f 74 79 70 65 | 73 2e 68 3e 0a 23 69 6e |sys/type|s.h>.#in|
|000032b0| 63 6c 75 64 65 20 3c 66 | 63 6e 74 6c 2e 68 3e 0a |clude <f|cntl.h>.|
|000032c0| 23 65 6c 73 65 0a 23 69 | 6e 63 6c 75 64 65 20 3c |#else.#i|nclude <|
|000032d0| 73 79 73 2f 66 63 6e 74 | 6c 2e 68 3e 0a 23 65 6e |sys/fcnt|l.h>.#en|
|000032e0| 64 69 66 0a 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |dif..#in|clude <s|
|000032f0| 74 64 69 6f 2e 68 3e 0a | 0a 23 69 66 64 65 66 20 |tdio.h>.|.#ifdef |
|00003300| 43 4f 48 45 52 45 4e 54 | 0a 23 64 65 66 69 6e 65 |COHERENT|.#define|
|00003310| 20 6d 69 6e 28 61 2c 20 | 62 29 20 28 28 61 29 20 | min(a, |b) ((a) |
|00003320| 3c 20 28 62 29 29 20 3f | 20 28 61 29 20 3a 20 28 |< (b)) ?| (a) : (|
|00003330| 62 29 0a 23 65 6e 64 69 | 66 0a 0a 6d 61 69 6e 28 |b).#endi|f..main(|
|00003340| 61 72 67 63 2c 20 61 72 | 67 76 29 0a 69 6e 74 20 |argc, ar|gv).int |
|00003350| 61 72 67 63 3b 0a 63 68 | 61 72 20 2a 2a 61 72 67 |argc;.ch|ar **arg|
|00003360| 76 3b 0a 7b 0a 20 20 75 | 6e 73 69 67 6e 65 64 20 |v;.{. u|nsigned |
|00003370| 63 68 61 72 20 62 75 66 | 5b 32 30 34 38 5d 3b 0a |char buf|[2048];.|
|00003380| 20 20 69 6e 74 20 66 72 | 6f 6d 2c 20 6e 3b 0a 20 | int fr|om, n;. |
|00003390| 20 6c 6f 6e 67 20 70 6f | 73 69 74 69 6f 6e 2c 20 | long po|sition, |
|000033a0| 6c 73 65 65 6b 28 29 2c | 20 48 65 78 42 6c 6b 4e |lseek(),| HexBlkN|
|000033b0| 72 2c 20 4c 65 6e 67 74 | 68 3b 0a 0a 20 20 69 66 |r, Lengt|h;.. if|
|000033c0| 20 28 61 72 67 63 20 21 | 3d 20 34 29 20 7b 0a 20 | (argc !|= 4) {. |
|000033d0| 20 20 20 66 70 72 69 6e | 74 66 28 73 74 64 65 72 | fprin|tf(stder|
|000033e0| 72 2c 20 22 55 73 61 67 | 65 3a 20 63 61 74 73 75 |r, "Usag|e: catsu|
|000033f0| 62 20 3c 64 65 76 69 63 | 65 3e 20 3c 62 6c 6f 63 |b <devic|e> <bloc|
|00003400| 6b 3e 20 3c 6c 65 6e 67 | 74 68 3e 5c 6e 22 29 3b |k> <leng|th>\n");|
|00003410| 0a 20 20 20 20 65 78 69 | 74 28 31 29 3b 0a 20 20 |. exi|t(1);. |
|00003420| 7d 0a 0a 20 20 73 73 63 | 61 6e 66 28 61 72 67 76 |}.. ssc|anf(argv|
|00003430| 5b 32 5d 2c 20 22 25 6c | 58 22 2c 20 26 48 65 78 |[2], "%l|X", &Hex|
|00003440| 42 6c 6b 4e 72 29 3b 0a | 20 20 73 73 63 61 6e 66 |BlkNr);.| sscanf|
|00003450| 28 61 72 67 76 5b 33 5d | 2c 20 22 25 6c 64 22 2c |(argv[3]|, "%ld",|
|00003460| 20 26 4c 65 6e 67 74 68 | 29 3b 0a 0a 20 20 69 66 | &Length|);.. if|
|00003470| 20 28 28 66 72 6f 6d 20 | 3d 20 6f 70 65 6e 28 61 | ((from |= open(a|
|00003480| 72 67 76 5b 31 5d 2c 20 | 4f 5f 52 44 4f 4e 4c 59 |rgv[1], |O_RDONLY|
|00003490| 29 29 20 3c 20 30 29 20 | 7b 0a 20 20 20 20 70 65 |)) < 0) |{. pe|
|000034a0| 72 72 6f 72 28 61 72 67 | 76 5b 31 5d 29 3b 0a 20 |rror(arg|v[1]);. |
|000034b0| 20 20 20 65 78 69 74 28 | 31 29 3b 0a 20 20 7d 0a | exit(|1);. }.|
|000034c0| 0a 20 20 69 66 20 28 20 | 28 70 6f 73 69 74 69 6f |. if ( |(positio|
|000034d0| 6e 20 3d 20 6c 73 65 65 | 6b 28 66 72 6f 6d 2c 20 |n = lsee|k(from, |
|000034e0| 28 20 48 65 78 42 6c 6b | 4e 72 20 3c 3c 20 31 31 |( HexBlk|Nr << 11|
|000034f0| 20 29 2c 20 30 29 20 29 | 20 3d 3d 20 2d 31 20 29 | ), 0) )| == -1 )|
|00003500| 0a 20 20 20 20 65 78 69 | 74 28 31 29 3b 0a 0a 20 |. exi|t(1);.. |
|00003510| 20 77 68 69 6c 65 20 28 | 4c 65 6e 67 74 68 20 3e | while (|Length >|
|00003520| 20 30 29 20 7b 0a 20 20 | 20 20 6e 20 3d 20 72 65 | 0) {. | n = re|
|00003530| 61 64 28 66 72 6f 6d 2c | 20 62 75 66 2c 20 73 69 |ad(from,| buf, si|
|00003540| 7a 65 6f 66 28 62 75 66 | 29 29 3b 0a 20 20 20 20 |zeof(buf|));. |
|00003550| 77 72 69 74 65 28 31 2c | 20 62 75 66 2c 20 6d 69 |write(1,| buf, mi|
|00003560| 6e 28 4c 65 6e 67 74 68 | 2c 6e 29 29 3b 0a 20 20 |n(Length|,n));. |
|00003570| 20 20 4c 65 6e 67 74 68 | 20 2d 3d 20 6e 3b 0a 20 | Length| -= n;. |
|00003580| 20 7d 0a 0a 20 20 63 6c | 6f 73 65 28 66 72 6f 6d | }.. cl|ose(from|
|00003590| 29 3b 0a 20 20 65 78 69 | 74 28 30 29 3b 0a 7d 0a |);. exi|t(0);.}.|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00003610| 74 66 2d 32 2d 32 2f 63 | 64 5f 64 69 72 73 2e 63 |tf-2-2/c|d_dirs.c|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00003670| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00003680| 20 20 20 35 32 36 31 20 | 20 35 35 36 33 35 36 30 | 5261 | 5563560|
|00003690| 33 35 37 20 20 31 33 36 | 37 33 00 20 30 00 00 00 |357 136|73. 0...|
|000036a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 2f 2a 20 43 44 5f 64 69 | 72 73 2e 63 20 20 2d 2d |/* CD_di|rs.c --|
|00003810| 20 20 20 6c 69 73 74 20 | 64 69 72 65 63 74 6f 72 | list |director|
|00003820| 69 65 73 20 6f 6e 20 61 | 6e 20 49 53 4f 2d 39 36 |ies on a|n ISO-96|
|00003830| 36 30 20 43 44 2d 52 4f | 4d 0a 20 2a 0a 20 2a 20 |60 CD-RO|M. *. * |
|00003840| 52 65 61 64 20 42 6c 6f | 63 6b 20 30 78 31 30 20 |Read Blo|ck 0x10 |
|00003850| 66 72 6f 6d 20 74 68 65 | 20 43 44 2e 20 20 41 74 |from the| CD. At|
|00003860| 20 6f 66 66 73 65 74 20 | 30 78 38 43 20 74 68 65 | offset |0x8C the|
|00003870| 72 65 20 67 65 74 20 74 | 68 65 20 66 6f 75 72 2d |re get t|he four-|
|00003880| 62 79 74 65 0a 20 2a 20 | 48 65 78 42 6c 6b 4e 72 |byte. * |HexBlkNr|
|00003890| 20 77 68 65 72 65 20 74 | 68 65 20 72 6f 6f 74 20 | where t|he root |
|000038a0| 64 69 72 65 63 74 6f 72 | 79 20 62 65 67 69 6e 73 |director|y begins|
|000038b0| 2e 20 20 53 74 61 72 74 | 20 74 68 65 72 65 20 61 |. Start| there a|
|000038c0| 6e 64 20 62 75 69 6c 64 | 0a 20 2a 20 61 20 66 6c |nd build|. * a fl|
|000038d0| 61 74 20 6c 69 73 74 20 | 6f 66 20 64 69 72 65 63 |at list |of direc|
|000038e0| 74 6f 72 69 65 73 20 6f | 6e 20 74 68 65 20 43 44 |tories o|n the CD|
|000038f0| 2e 20 55 73 65 20 6f 75 | 74 70 75 74 20 72 65 64 |. Use ou|tput red|
|00003900| 69 72 65 63 74 69 6f 6e | 20 74 6f 20 73 61 76 65 |irection| to save|
|00003910| 0a 20 2a 20 74 68 65 20 | 6c 69 73 74 20 61 73 20 |. * the |list as |
|00003920| 61 20 55 4e 49 58 20 66 | 69 6c 65 2e 0a 20 2a 0a |a UNIX f|ile.. *.|
|00003930| 20 2a 20 57 72 69 74 74 | 65 6e 20 62 79 20 42 69 | * Writt|en by Bi|
|00003940| 6c 6c 20 53 69 65 67 6d | 75 6e 64 2c 20 43 61 6c |ll Siegm|und, Cal|
|00003950| 2d 54 65 78 20 43 6f 6d | 70 75 74 65 72 73 2c 20 |-Tex Com|puters, |
|00003960| 49 6e 63 2e 0a 20 2a 20 | 31 30 38 30 20 52 65 62 |Inc.. * |1080 Reb|
|00003970| 65 63 63 61 20 44 72 2e | 2c 20 42 6f 75 6c 64 65 |ecca Dr.|, Boulde|
|00003980| 72 20 43 72 65 65 6b 2c | 20 43 41 20 20 39 35 30 |r Creek,| CA 950|
|00003990| 30 36 0a 20 2a 20 2b 31 | 20 34 30 38 20 33 33 38 |06. * +1| 408 338|
|000039a0| 2d 32 35 37 32 0a 20 2a | 0a 20 2a 20 54 77 65 61 |-2572. *|. * Twea|
|000039b0| 6b 65 64 20 62 79 20 52 | 69 63 68 20 4d 6f 72 69 |ked by R|ich Mori|
|000039c0| 6e 2c 20 43 46 43 4c 2c | 20 31 39 39 32 0a 20 2a |n, CFCL,| 1992. *|
|000039d0| 2f 0a 0a 2f 2a 20 5f 41 | 55 58 5f 53 4f 55 52 43 |/../* _A|UX_SOURC|
|000039e0| 45 20 69 73 20 64 65 66 | 69 6e 65 64 20 69 6e 20 |E is def|ined in |
|000039f0| 41 70 70 6c 65 27 73 20 | 41 2f 55 58 20 33 2e 30 |Apple's |A/UX 3.0|
|00003a00| 20 2a 2f 0a 23 69 66 20 | 64 65 66 69 6e 65 64 28 | */.#if |defined(|
|00003a10| 5f 41 55 58 5f 53 4f 55 | 52 43 45 29 20 7c 7c 20 |_AUX_SOU|RCE) || |
|00003a20| 64 65 66 69 6e 65 64 28 | 43 4f 48 45 52 45 4e 54 |defined(|COHERENT|
|00003a30| 29 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |).#inclu|de <sys/|
|00003a40| 74 79 70 65 73 2e 68 3e | 0a 23 69 6e 63 6c 75 64 |types.h>|.#includ|
|00003a50| 65 20 3c 66 63 6e 74 6c | 2e 68 3e 0a 23 65 6c 73 |e <fcntl|.h>.#els|
|00003a60| 65 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |e.#inclu|de <sys/|
|00003a70| 66 63 6e 74 6c 2e 68 3e | 0a 23 65 6e 64 69 66 0a |fcntl.h>|.#endif.|
|00003a80| 0a 23 64 65 66 69 6e 65 | 20 4d 61 78 44 69 72 42 |.#define| MaxDirB|
|00003a90| 6c 6f 63 6b 73 20 31 35 | 0a 0a 2f 2a 20 4d 61 78 |locks 15|../* Max|
|00003aa0| 44 69 72 42 6c 6f 63 6b | 73 20 69 73 20 61 20 68 |DirBlock|s is a h|
|00003ab0| 61 72 64 2d 63 6f 64 65 | 64 20 6c 69 6d 69 74 20 |ard-code|d limit |
|00003ac0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00003ad0| 20 32 4b 42 20 62 6c 6f | 63 6b 73 20 74 68 61 74 | 2KB blo|cks that|
|00003ae0| 0a 20 2a 20 61 72 65 20 | 61 76 61 69 6c 61 62 6c |. * are |availabl|
|00003af0| 65 20 69 6e 20 74 68 69 | 73 20 70 72 6f 67 72 61 |e in thi|s progra|
|00003b00| 6d 20 74 6f 20 73 74 6f | 72 65 20 65 6e 74 72 69 |m to sto|re entri|
|00003b10| 65 73 20 69 6e 20 61 20 | 67 69 76 65 6e 20 64 69 |es in a |given di|
|00003b20| 72 65 63 74 6f 72 79 2e | 20 20 20 0a 20 2a 20 54 |rectory.| . * T|
|00003b30| 68 65 20 6e 75 6d 62 65 | 72 20 31 35 20 61 6c 6c |he numbe|r 15 all|
|00003b40| 6f 77 73 20 61 72 6f 75 | 6e 64 20 35 30 30 20 65 |ows arou|nd 500 e|
|00003b50| 6e 74 72 69 65 73 20 70 | 65 72 20 64 69 72 65 63 |ntries p|er direc|
|00003b60| 74 6f 72 79 2e 20 20 52 | 61 69 73 65 20 74 68 69 |tory. R|aise thi|
|00003b70| 73 20 0a 20 2a 20 69 66 | 20 79 6f 75 20 74 68 69 |s . * if| you thi|
|00003b80| 6e 6b 20 79 6f 75 20 61 | 72 65 20 6d 69 73 73 69 |nk you a|re missi|
|00003b90| 6e 67 20 74 68 65 20 74 | 61 69 6c 2d 65 6e 64 20 |ng the t|ail-end |
|00003ba0| 65 6e 74 72 69 65 73 20 | 69 6e 20 79 6f 75 72 20 |entries |in your |
|00003bb0| 6c 61 72 67 65 72 20 0a | 20 2a 20 64 69 72 65 63 |larger .| * direc|
|00003bc0| 74 6f 72 69 65 73 2e 20 | 20 4c 6f 77 65 72 20 69 |tories. | Lower i|
|00003bd0| 74 20 69 66 20 79 6f 75 | 20 61 72 65 20 72 75 6e |t if you| are run|
|00003be0| 6e 69 6e 67 20 6f 75 74 | 20 6f 66 20 52 41 4d 2e |ning out| of RAM.|
|00003bf0| 20 41 20 76 61 6c 75 65 | 20 6f 66 0a 20 2a 20 66 | A value| of. * f|
|00003c00| 6f 75 72 20 73 68 6f 75 | 6c 64 20 73 75 66 66 69 |our shou|ld suffi|
|00003c10| 63 65 20 66 6f 72 20 50 | 54 46 20 64 69 73 63 73 |ce for P|TF discs|
|00003c20| 2e 0a 20 2a 2f 0a 0a 6d | 61 69 6e 28 61 72 67 63 |.. */..m|ain(argc|
|00003c30| 2c 20 61 72 67 76 29 0a | 69 6e 74 20 61 72 67 63 |, argv).|int argc|
|00003c40| 3b 0a 63 68 61 72 20 2a | 2a 61 72 67 76 3b 0a 7b |;.char *|*argv;.{|
|00003c50| 0a 20 20 69 6e 74 20 62 | 6c 6f 63 6b 73 2c 20 64 |. int b|locks, d|
|00003c60| 69 72 2c 20 66 72 6f 6d | 2c 20 6f 66 66 73 65 74 |ir, from|, offset|
|00003c70| 2c 20 69 2c 20 6a 2c 20 | 4c 44 49 2c 20 70 61 72 |, i, j, |LDI, par|
|00003c80| 65 6e 74 5f 64 69 72 3b | 0a 20 20 75 6e 73 69 67 |ent_dir;|. unsig|
|00003c90| 6e 65 64 20 63 68 61 72 | 20 62 75 66 5b 4d 61 78 |ned char| buf[Max|
|00003ca0| 44 69 72 42 6c 6f 63 6b | 73 20 2a 20 32 30 34 38 |DirBlock|s * 2048|
|00003cb0| 5d 3b 0a 20 20 6c 6f 6e | 67 20 70 6f 73 69 74 69 |];. lon|g positi|
|00003cc0| 6f 6e 2c 20 6c 73 65 65 | 6b 28 29 2c 20 48 65 78 |on, lsee|k(), Hex|
|00003cd0| 42 6c 6b 4e 72 20 3d 20 | 30 78 31 30 3b 0a 0a 20 |BlkNr = |0x10;.. |
|00003ce0| 20 69 66 20 28 61 72 67 | 63 20 21 3d 20 32 29 20 | if (arg|c != 2) |
|00003cf0| 7b 0a 20 20 20 20 77 72 | 69 74 65 28 32 2c 20 22 |{. wr|ite(2, "|
|00003d00| 55 73 61 67 65 3a 20 22 | 2c 20 37 29 3b 0a 20 20 |Usage: "|, 7);. |
|00003d10| 20 20 77 72 69 74 65 28 | 32 2c 20 2a 61 72 67 76 | write(|2, *argv|
|00003d20| 2c 20 73 74 72 6c 65 6e | 28 2a 61 72 67 76 29 2b |, strlen|(*argv)+|
|00003d30| 31 29 3b 0a 20 20 20 20 | 77 72 69 74 65 28 32 2c |1);. |write(2,|
|00003d40| 20 22 20 73 6f 75 72 63 | 65 2d 64 65 76 69 63 65 | " sourc|e-device|
|00003d50| 2d 66 69 6c 65 20 2d 2d | 20 74 72 79 20 2f 64 65 |-file --| try /de|
|00003d60| 76 2f 63 64 5c 6e 22 2c | 20 33 35 29 3b 0a 20 20 |v/cd\n",| 35);. |
|00003d70| 20 20 65 78 69 74 28 31 | 29 3b 0a 20 20 7d 0a 0a | exit(1|);. }..|
|00003d80| 20 20 69 66 20 28 28 66 | 72 6f 6d 20 3d 20 6f 70 | if ((f|rom = op|
|00003d90| 65 6e 28 61 72 67 76 5b | 31 5d 2c 20 4f 5f 52 44 |en(argv[|1], O_RD|
|00003da0| 4f 4e 4c 59 29 29 20 3c | 20 30 29 20 7b 0a 20 20 |ONLY)) <| 0) {. |
|00003db0| 20 20 70 65 72 72 6f 72 | 28 61 72 67 76 5b 31 5d | perror|(argv[1]|
|00003dc0| 29 3b 0a 20 20 20 20 65 | 78 69 74 28 31 29 3b 0a |);. e|xit(1);.|
|00003dd0| 20 20 7d 0a 0a 20 20 69 | 66 20 28 20 28 70 6f 73 | }.. i|f ( (pos|
|00003de0| 69 74 69 6f 6e 20 3d 20 | 6c 73 65 65 6b 28 66 72 |ition = |lseek(fr|
|00003df0| 6f 6d 2c 20 28 20 48 65 | 78 42 6c 6b 4e 72 20 3c |om, ( He|xBlkNr <|
|00003e00| 3c 20 31 31 20 29 2c 20 | 30 29 20 29 20 3d 3d 20 |< 11 ), |0) ) == |
|00003e10| 2d 31 20 29 0a 20 20 20 | 20 65 78 69 74 28 31 29 |-1 ). | exit(1)|
|00003e20| 3b 0a 0a 20 20 72 65 61 | 64 28 66 72 6f 6d 2c 20 |;.. rea|d(from, |
|00003e30| 62 75 66 2c 20 32 30 34 | 38 29 3b 0a 0a 20 20 48 |buf, 204|8);.. H|
|00003e40| 65 78 42 6c 6b 4e 72 20 | 20 3d 20 62 75 66 5b 30 |exBlkNr | = buf[0|
|00003e50| 78 38 46 5d 20 3c 3c 20 | 32 34 3b 0a 20 20 48 65 |x8F] << |24;. He|
|00003e60| 78 42 6c 6b 4e 72 20 2b | 3d 20 62 75 66 5b 30 78 |xBlkNr +|= buf[0x|
|00003e70| 38 45 5d 20 3c 3c 20 31 | 36 3b 0a 20 20 48 65 78 |8E] << 1|6;. Hex|
|00003e80| 42 6c 6b 4e 72 20 2b 3d | 20 62 75 66 5b 30 78 38 |BlkNr +=| buf[0x8|
|00003e90| 44 5d 20 3c 3c 20 20 38 | 3b 0a 20 20 48 65 78 42 |D] << 8|;. HexB|
|00003ea0| 6c 6b 4e 72 20 2b 3d 20 | 62 75 66 5b 30 78 38 43 |lkNr += |buf[0x8C|
|00003eb0| 5d 3b 0a 0a 20 20 69 66 | 20 28 20 28 70 6f 73 69 |];.. if| ( (posi|
|00003ec0| 74 69 6f 6e 20 3d 20 6c | 73 65 65 6b 28 66 72 6f |tion = l|seek(fro|
|00003ed0| 6d 2c 20 28 48 65 78 42 | 6c 6b 4e 72 20 3c 3c 20 |m, (HexB|lkNr << |
|00003ee0| 31 31 29 2c 20 30 29 20 | 29 20 3d 3d 20 2d 31 20 |11), 0) |) == -1 |
|00003ef0| 29 0a 20 20 20 20 65 78 | 69 74 28 31 29 3b 0a 20 |). ex|it(1);. |
|00003f00| 20 20 0a 20 20 72 65 61 | 64 28 66 72 6f 6d 2c 20 | . rea|d(from, |
|00003f10| 62 75 66 2c 20 32 30 34 | 38 29 3b 09 2f 2a 20 72 |buf, 204|8);./* r|
|00003f20| 65 61 64 20 66 69 72 73 | 74 20 64 69 72 65 63 74 |ead firs|t direct|
|00003f30| 6f 72 79 20 62 6c 6f 63 | 6b 20 20 20 20 20 2a 2f |ory bloc|k */|
|00003f40| 0a 20 20 69 20 3d 20 31 | 3b 09 09 09 2f 2a 20 72 |. i = 1|;.../* r|
|00003f50| 65 61 64 20 75 70 20 74 | 6f 20 27 4d 61 78 44 69 |ead up t|o 'MaxDi|
|00003f60| 72 42 6c 6f 63 6b 73 27 | 20 6d 6f 72 65 20 2a 2f |rBlocks'| more */|
|00003f70| 0a 20 20 77 68 69 6c 65 | 20 28 20 62 75 66 5b 32 |. while| ( buf[2|
|00003f80| 30 34 38 20 2a 20 69 20 | 2d 20 31 5d 20 26 26 20 |048 * i |- 1] && |
|00003f90| 69 20 3c 20 4d 61 78 44 | 69 72 42 6c 6f 63 6b 73 |i < MaxD|irBlocks|
|00003fa0| 20 29 20 7b 0a 20 20 20 | 20 72 65 61 64 28 66 72 | ) {. | read(fr|
|00003fb0| 6f 6d 2c 20 26 62 75 66 | 5b 32 30 34 38 20 2a 20 |om, &buf|[2048 * |
|00003fc0| 69 5d 2c 20 32 30 34 38 | 29 3b 0a 20 20 20 20 69 |i], 2048|);. i|
|00003fd0| 2b 2b 3b 0a 20 20 7d 0a | 0a 20 20 63 6c 6f 73 65 |++;. }.|. close|
|00003fe0| 28 66 72 6f 6d 29 3b 0a | 0a 20 20 6f 66 66 73 65 |(from);.|. offse|
|00003ff0| 74 20 3d 20 30 3b 20 20 | 20 20 20 20 20 20 20 20 |t = 0; | |
|00004000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00004010| 62 75 69 6c 64 20 66 6c | 61 74 20 64 69 72 65 63 |build fl|at direc|
|00004020| 74 6f 72 79 20 6c 69 73 | 74 20 2a 2f 0a 20 20 64 |tory lis|t */. d|
|00004030| 69 72 20 3d 20 31 3b 0a | 0a 20 20 77 68 69 6c 65 |ir = 1;.|. while|
|00004040| 20 28 20 62 75 66 5b 6f | 66 66 73 65 74 5d 20 29 | ( buf[o|ffset] )|
|00004050| 20 7b 0a 20 20 20 20 70 | 61 72 65 6e 74 5f 64 69 | {. p|arent_di|
|00004060| 72 20 20 3d 20 62 75 66 | 5b 6f 66 66 73 65 74 2b |r = buf|[offset+|
|00004070| 37 5d 20 3c 3c 20 38 3b | 0a 20 20 20 20 70 61 72 |7] << 8;|. par|
|00004080| 65 6e 74 5f 64 69 72 20 | 2b 3d 20 62 75 66 5b 6f |ent_dir |+= buf[o|
|00004090| 66 66 73 65 74 2b 36 5d | 3b 0a 20 20 20 20 70 72 |ffset+6]|;. pr|
|000040a0| 69 6e 74 66 28 22 25 64 | 5c 74 25 64 5c 74 22 2c |intf("%d|\t%d\t",|
|000040b0| 20 70 61 72 65 6e 74 5f | 64 69 72 2c 20 64 69 72 | parent_|dir, dir|
|000040c0| 29 3b 0a 20 20 20 20 69 | 20 3d 20 38 3b 0a 20 20 |);. i| = 8;. |
|000040d0| 20 20 4c 44 49 20 3d 20 | 28 75 6e 73 69 67 6e 65 | LDI = |(unsigne|
|000040e0| 64 20 63 68 61 72 29 20 | 62 75 66 5b 6f 66 66 73 |d char) |buf[offs|
|000040f0| 65 74 5d 3b 0a 20 20 20 | 20 6a 20 3d 20 4c 44 49 |et];. | j = LDI|
|00004100| 3b 0a 20 20 20 20 77 68 | 69 6c 65 20 28 6a 2d 2d |;. wh|ile (j--|
|00004110| 29 20 7b 0a 20 20 20 20 | 20 20 69 66 20 28 20 62 |) {. | if ( b|
|00004120| 75 66 5b 6f 66 66 73 65 | 74 2b 69 5d 20 29 0a 09 |uf[offse|t+i] )..|
|00004130| 70 75 74 63 68 61 72 28 | 20 62 75 66 5b 6f 66 66 |putchar(| buf[off|
|00004140| 73 65 74 2b 69 5d 20 29 | 3b 0a 20 20 20 20 20 20 |set+i] )|;. |
|00004150| 65 6c 73 65 0a 09 70 75 | 74 63 68 61 72 28 27 2e |else..pu|tchar('.|
|00004160| 27 29 3b 0a 20 20 20 20 | 20 20 69 2b 2b 3b 0a 20 |');. | i++;. |
|00004170| 20 20 20 7d 0a 0a 20 20 | 20 20 69 66 20 28 20 4c | }.. | if ( L|
|00004180| 44 49 20 3c 20 38 20 29 | 0a 20 20 20 20 20 20 70 |DI < 8 )|. p|
|00004190| 75 74 63 68 61 72 28 27 | 5c 74 27 29 3b 0a 0a 20 |utchar('|\t');.. |
|000041a0| 20 20 20 48 65 78 42 6c | 6b 4e 72 20 20 3d 20 62 | HexBl|kNr = b|
|000041b0| 75 66 5b 6f 66 66 73 65 | 74 2b 35 5d 20 3c 3c 20 |uf[offse|t+5] << |
|000041c0| 32 34 3b 0a 20 20 20 20 | 48 65 78 42 6c 6b 4e 72 |24;. |HexBlkNr|
|000041d0| 20 2b 3d 20 62 75 66 5b | 6f 66 66 73 65 74 2b 34 | += buf[|offset+4|
|000041e0| 5d 20 3c 3c 20 31 36 3b | 0a 20 20 20 20 48 65 78 |] << 16;|. Hex|
|000041f0| 42 6c 6b 4e 72 20 2b 3d | 20 62 75 66 5b 6f 66 66 |BlkNr +=| buf[off|
|00004200| 73 65 74 2b 33 5d 20 3c | 3c 20 20 38 3b 0a 20 20 |set+3] <|< 8;. |
|00004210| 20 20 48 65 78 42 6c 6b | 4e 72 20 2b 3d 20 62 75 | HexBlk|Nr += bu|
|00004220| 66 5b 6f 66 66 73 65 74 | 2b 32 5d 3b 0a 20 20 20 |f[offset|+2];. |
|00004230| 20 70 72 69 6e 74 66 28 | 22 5c 74 25 39 6c 58 20 | printf(|"\t%9lX |
|00004240| 28 48 65 78 29 5c 6e 22 | 2c 20 48 65 78 42 6c 6b |(Hex)\n"|, HexBlk|
|00004250| 4e 72 29 3b 0a 0a 20 20 | 20 20 6f 66 66 73 65 74 |Nr);.. | offset|
|00004260| 20 2b 3d 20 39 20 2b 20 | 4c 44 49 3b 0a 20 20 20 | += 9 + |LDI;. |
|00004270| 20 69 66 20 28 6f 66 66 | 73 65 74 20 26 20 30 78 | if (off|set & 0x|
|00004280| 30 31 29 0a 20 20 20 20 | 20 20 6f 66 66 73 65 74 |01). | offset|
|00004290| 2d 2d 3b 0a 20 20 20 20 | 64 69 72 2b 2b 3b 0a 20 |--;. |dir++;. |
|000042a0| 20 7d 0a 0a 20 20 65 78 | 69 74 28 30 29 3b 0a 7d | }.. ex|it(0);.}|
|000042b0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00004410| 74 66 2d 32 2d 32 2f 63 | 64 5f 66 69 6c 65 73 2e |tf-2-2/c|d_files.|
|00004420| 63 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |c.......|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00004470| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00004480| 20 20 20 35 32 30 31 20 | 20 35 35 36 33 35 36 30 | 5201 | 5563560|
|00004490| 33 35 37 20 20 31 34 30 | 32 36 00 20 30 00 00 00 |357 140|26. 0...|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00004530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 2f 2a 20 63 64 5f 66 69 | 6c 65 73 2e 63 20 2d 2d |/* cd_fi|les.c --|
|00004610| 20 20 20 6c 69 73 74 20 | 61 6c 6c 20 66 69 6c 65 | list |all file|
|00004620| 73 20 6f 6e 20 61 6e 20 | 49 53 4f 2d 39 36 36 30 |s on an |ISO-9660|
|00004630| 20 43 44 2d 52 4f 4d 0a | 20 2a 0a 20 2a 20 52 65 | CD-ROM.| *. * Re|
|00004640| 61 64 20 42 6c 6f 63 6b | 20 30 78 31 30 20 66 72 |ad Block| 0x10 fr|
|00004650| 6f 6d 20 74 68 65 20 43 | 44 2c 20 67 65 74 20 74 |om the C|D, get t|
|00004660| 68 65 20 72 6f 6f 74 20 | 64 69 72 65 63 74 6f 72 |he root |director|
|00004670| 79 2c 20 61 6e 64 20 70 | 72 6f 64 75 63 65 20 61 |y, and p|roduce a|
|00004680| 0a 20 2a 20 6c 69 73 74 | 69 6e 67 20 6f 66 20 61 |. * list|ing of a|
|00004690| 6c 6c 20 66 69 6c 65 73 | 20 6f 6e 20 74 68 65 20 |ll files| on the |
|000046a0| 43 44 20 62 79 20 63 61 | 6c 6c 69 6e 67 20 27 64 |CD by ca|lling 'd|
|000046b0| 69 72 5f 72 65 63 27 20 | 77 69 74 68 20 74 68 65 |ir_rec' |with the|
|000046c0| 20 42 6c 6f 63 6b 20 4e | 72 0a 20 2a 20 6f 66 20 | Block N|r. * of |
|000046d0| 65 61 63 68 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |each dir|ectory..|
|000046e0| 20 2a 0a 20 2a 20 57 72 | 69 74 74 65 6e 20 62 79 | *. * Wr|itten by|
|000046f0| 20 42 69 6c 6c 20 53 69 | 65 67 6d 75 6e 64 2c 20 | Bill Si|egmund, |
|00004700| 43 61 6c 2d 54 65 78 20 | 43 6f 6d 70 75 74 65 72 |Cal-Tex |Computer|
|00004710| 73 2c 20 49 6e 63 2e 0a | 20 2a 20 31 30 38 30 20 |s, Inc..| * 1080 |
|00004720| 52 65 62 65 63 63 61 20 | 44 72 2e 2c 20 42 6f 75 |Rebecca |Dr., Bou|
|00004730| 6c 64 65 72 20 43 72 65 | 65 6b 2c 20 43 41 20 20 |lder Cre|ek, CA |
|00004740| 39 35 30 30 36 0a 20 2a | 20 2b 31 20 34 30 38 20 |95006. *| +1 408 |
|00004750| 33 33 38 2d 32 35 37 32 | 0a 20 2a 0a 20 2a 20 54 |338-2572|. *. * T|
|00004760| 77 65 61 6b 65 64 20 62 | 79 20 52 69 63 68 20 4d |weaked b|y Rich M|
|00004770| 6f 72 69 6e 2c 20 43 46 | 43 4c 2c 20 31 39 39 32 |orin, CF|CL, 1992|
|00004780| 0a 20 2a 2f 0a 0a 2f 2a | 20 5f 41 55 58 5f 53 4f |. */../*| _AUX_SO|
|00004790| 55 52 43 45 20 69 73 20 | 64 65 66 69 6e 65 64 20 |URCE is |defined |
|000047a0| 69 6e 20 41 70 70 6c 65 | 27 73 20 41 2f 55 58 20 |in Apple|'s A/UX |
|000047b0| 33 2e 30 20 2a 2f 0a 23 | 69 66 20 64 65 66 69 6e |3.0 */.#|if defin|
|000047c0| 65 64 28 5f 41 55 58 5f | 53 4f 55 52 43 45 29 20 |ed(_AUX_|SOURCE) |
|000047d0| 7c 7c 20 64 65 66 69 6e | 65 64 28 43 4f 48 45 52 ||| defin|ed(COHER|
|000047e0| 45 4e 54 29 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |ENT).#in|clude <s|
|000047f0| 79 73 2f 74 79 70 65 73 | 2e 68 3e 0a 23 69 6e 63 |ys/types|.h>.#inc|
|00004800| 6c 75 64 65 20 3c 66 63 | 6e 74 6c 2e 68 3e 0a 23 |lude <fc|ntl.h>.#|
|00004810| 65 6c 73 65 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |else.#in|clude <s|
|00004820| 79 73 2f 66 63 6e 74 6c | 2e 68 3e 0a 76 6f 69 64 |ys/fcntl|.h>.void|
|00004830| 20 64 69 72 5f 72 65 63 | 28 6c 6f 6e 67 2c 20 69 | dir_rec|(long, i|
|00004840| 6e 74 29 3b 0a 23 65 6e | 64 69 66 0a 0a 23 64 65 |nt);.#en|dif..#de|
|00004850| 66 69 6e 65 20 4d 61 78 | 44 69 72 42 6c 6f 63 6b |fine Max|DirBlock|
|00004860| 73 20 31 35 0a 0a 2f 2a | 20 4d 61 78 44 69 72 42 |s 15../*| MaxDirB|
|00004870| 6c 6f 63 6b 73 20 69 73 | 20 61 20 68 61 72 64 2d |locks is| a hard-|
|00004880| 63 6f 64 65 64 20 6c 69 | 6d 69 74 20 74 6f 20 74 |coded li|mit to t|
|00004890| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 32 4b 42 |he numbe|r of 2KB|
|000048a0| 20 62 6c 6f 63 6b 73 20 | 74 68 61 74 0a 20 2a 20 | blocks |that. * |
|000048b0| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e |are avai|lable in|
|000048c0| 20 74 68 69 73 20 70 72 | 6f 67 72 61 6d 20 74 6f | this pr|ogram to|
|000048d0| 20 73 74 6f 72 65 20 65 | 6e 74 72 69 65 73 20 69 | store e|ntries i|
|000048e0| 6e 20 61 20 67 69 76 65 | 6e 20 64 69 72 65 63 74 |n a give|n direct|
|000048f0| 6f 72 79 2e 0a 20 2a 20 | 54 68 65 20 6e 75 6d 62 |ory.. * |The numb|
|00004900| 65 72 20 31 35 20 61 6c | 6c 6f 77 73 20 61 72 6f |er 15 al|lows aro|
|00004910| 75 6e 64 20 35 30 30 20 | 65 6e 74 72 69 65 73 20 |und 500 |entries |
|00004920| 70 65 72 20 64 69 72 65 | 63 74 6f 72 79 2e 20 20 |per dire|ctory. |
|00004930| 52 61 69 73 65 20 74 68 | 69 73 0a 20 2a 20 69 66 |Raise th|is. * if|
|00004940| 20 79 6f 75 20 74 68 69 | 6e 6b 20 79 6f 75 20 61 | you thi|nk you a|
|00004950| 72 65 20 6d 69 73 73 69 | 6e 67 20 74 68 65 20 74 |re missi|ng the t|
|00004960| 61 69 6c 2d 65 6e 64 20 | 65 6e 74 72 69 65 73 20 |ail-end |entries |
|00004970| 69 6e 20 79 6f 75 72 20 | 6c 61 72 67 65 72 0a 20 |in your |larger. |
|00004980| 2a 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 20 20 |* direct|ories. |
|00004990| 4c 6f 77 65 72 20 69 74 | 20 69 66 20 79 6f 75 20 |Lower it| if you |
|000049a0| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 6f 75 74 20 |are runn|ing out |
|000049b0| 6f 66 20 52 41 4d 2e 20 | 41 20 76 61 6c 75 65 20 |of RAM. |A value |
|000049c0| 6f 66 0a 20 2a 20 66 6f | 75 72 20 73 68 6f 75 6c |of. * fo|ur shoul|
|000049d0| 64 20 73 75 66 66 69 63 | 65 20 66 6f 72 20 50 54 |d suffic|e for PT|
|000049e0| 46 20 64 69 73 63 73 2e | 0a 20 2a 2f 0a 0a 6d 61 |F discs.|. */..ma|
|000049f0| 69 6e 28 61 72 67 63 2c | 20 61 72 67 76 29 0a 69 |in(argc,| argv).i|
|00004a00| 6e 74 20 61 72 67 63 3b | 0a 63 68 61 72 20 2a 2a |nt argc;|.char **|
|00004a10| 61 72 67 76 3b 0a 7b 0a | 20 20 69 6e 74 20 62 6c |argv;.{.| int bl|
|00004a20| 6f 63 6b 73 2c 20 64 69 | 72 2c 20 66 72 6f 6d 2c |ocks, di|r, from,|
|00004a30| 20 6f 66 66 73 65 74 2c | 20 69 2c 20 6a 2c 20 4c | offset,| i, j, L|
|00004a40| 44 49 2c 20 70 61 72 65 | 6e 74 5f 64 69 72 3b 0a |DI, pare|nt_dir;.|
|00004a50| 20 20 75 6e 73 69 67 6e | 65 64 20 63 68 61 72 20 | unsign|ed char |
|00004a60| 62 75 66 5b 4d 61 78 44 | 69 72 42 6c 6f 63 6b 73 |buf[MaxD|irBlocks|
|00004a70| 20 2a 20 32 30 34 38 5d | 3b 0a 20 20 6c 6f 6e 67 | * 2048]|;. long|
|00004a80| 20 70 6f 73 69 74 69 6f | 6e 2c 20 6c 73 65 65 6b | positio|n, lseek|
|00004a90| 28 29 2c 20 48 65 78 42 | 6c 6b 4e 72 20 3d 20 30 |(), HexB|lkNr = 0|
|00004aa0| 78 31 30 3b 0a 0a 20 20 | 69 66 20 28 61 72 67 63 |x10;.. |if (argc|
|00004ab0| 20 21 3d 20 32 29 20 7b | 0a 20 20 20 20 77 72 69 | != 2) {|. wri|
|00004ac0| 74 65 28 32 2c 20 22 55 | 73 61 67 65 3a 20 22 2c |te(2, "U|sage: ",|
|00004ad0| 20 37 29 3b 0a 20 20 20 | 20 77 72 69 74 65 28 32 | 7);. | write(2|
|00004ae0| 2c 20 2a 61 72 67 76 2c | 20 73 74 72 6c 65 6e 28 |, *argv,| strlen(|
|00004af0| 2a 61 72 67 76 29 2b 31 | 29 3b 0a 20 20 20 20 77 |*argv)+1|);. w|
|00004b00| 72 69 74 65 28 32 2c 20 | 22 20 73 6f 75 72 63 65 |rite(2, |" source|
|00004b10| 2d 64 65 76 69 63 65 2d | 66 69 6c 65 20 2d 2d 20 |-device-|file -- |
|00004b20| 74 72 79 20 2f 64 65 76 | 2f 63 64 5c 6e 22 2c 20 |try /dev|/cd\n", |
|00004b30| 33 35 29 3b 0a 20 20 20 | 20 65 78 69 74 28 31 29 |35);. | exit(1)|
|00004b40| 3b 0a 20 20 7d 0a 0a 20 | 20 69 66 20 28 28 66 72 |;. }.. | if ((fr|
|00004b50| 6f 6d 20 3d 20 6f 70 65 | 6e 28 61 72 67 76 5b 31 |om = ope|n(argv[1|
|00004b60| 5d 2c 20 4f 5f 52 44 4f | 4e 4c 59 29 29 20 3c 20 |], O_RDO|NLY)) < |
|00004b70| 30 29 20 7b 0a 20 20 20 | 20 70 65 72 72 6f 72 28 |0) {. | perror(|
|00004b80| 61 72 67 76 5b 31 5d 29 | 3b 0a 20 20 20 20 65 78 |argv[1])|;. ex|
|00004b90| 69 74 28 31 29 3b 0a 20 | 20 7d 0a 0a 20 20 69 66 |it(1);. | }.. if|
|00004ba0| 20 28 20 28 70 6f 73 69 | 74 69 6f 6e 20 3d 20 6c | ( (posi|tion = l|
|00004bb0| 73 65 65 6b 28 66 72 6f | 6d 2c 20 28 20 48 65 78 |seek(fro|m, ( Hex|
|00004bc0| 42 6c 6b 4e 72 20 3c 3c | 20 31 31 20 29 2c 20 30 |BlkNr <<| 11 ), 0|
|00004bd0| 29 20 29 20 3d 3d 20 2d | 31 20 29 0a 20 20 20 20 |) ) == -|1 ). |
|00004be0| 65 78 69 74 28 31 29 3b | 0a 0a 20 20 72 65 61 64 |exit(1);|.. read|
|00004bf0| 28 66 72 6f 6d 2c 20 62 | 75 66 2c 20 32 30 34 38 |(from, b|uf, 2048|
|00004c00| 29 3b 0a 0a 20 20 48 65 | 78 42 6c 6b 4e 72 20 20 |);.. He|xBlkNr |
|00004c10| 3d 20 62 75 66 5b 30 78 | 38 46 5d 20 3c 3c 20 32 |= buf[0x|8F] << 2|
|00004c20| 34 3b 0a 20 20 48 65 78 | 42 6c 6b 4e 72 20 2b 3d |4;. Hex|BlkNr +=|
|00004c30| 20 62 75 66 5b 30 78 38 | 45 5d 20 3c 3c 20 31 36 | buf[0x8|E] << 16|
|00004c40| 3b 0a 20 20 48 65 78 42 | 6c 6b 4e 72 20 2b 3d 20 |;. HexB|lkNr += |
|00004c50| 62 75 66 5b 30 78 38 44 | 5d 20 3c 3c 20 20 38 3b |buf[0x8D|] << 8;|
|00004c60| 0a 20 20 48 65 78 42 6c | 6b 4e 72 20 2b 3d 20 62 |. HexBl|kNr += b|
|00004c70| 75 66 5b 30 78 38 43 5d | 3b 0a 0a 20 20 69 66 20 |uf[0x8C]|;.. if |
|00004c80| 28 20 28 70 6f 73 69 74 | 69 6f 6e 20 3d 20 6c 73 |( (posit|ion = ls|
|00004c90| 65 65 6b 28 66 72 6f 6d | 2c 20 28 48 65 78 42 6c |eek(from|, (HexBl|
|00004ca0| 6b 4e 72 20 3c 3c 20 31 | 31 29 2c 20 30 29 20 29 |kNr << 1|1), 0) )|
|00004cb0| 20 3d 3d 20 2d 31 20 29 | 0a 20 20 20 20 65 78 69 | == -1 )|. exi|
|00004cc0| 74 28 31 29 3b 0a 20 20 | 20 20 0a 20 20 72 65 61 |t(1);. | . rea|
|00004cd0| 64 28 66 72 6f 6d 2c 20 | 62 75 66 2c 20 32 30 34 |d(from, |buf, 204|
|00004ce0| 38 29 3b 09 2f 2a 20 72 | 65 61 64 20 66 69 72 73 |8);./* r|ead firs|
|00004cf0| 74 20 64 69 72 65 63 74 | 6f 72 79 20 62 6c 6f 63 |t direct|ory bloc|
|00004d00| 6b 20 20 20 20 20 2a 2f | 0a 20 20 69 20 3d 20 31 |k */|. i = 1|
|00004d10| 3b 09 09 09 2f 2a 20 72 | 65 61 64 20 75 70 20 74 |;.../* r|ead up t|
|00004d20| 6f 20 27 4d 61 78 44 69 | 72 42 6c 6f 63 6b 73 27 |o 'MaxDi|rBlocks'|
|00004d30| 20 6d 6f 72 65 20 2a 2f | 0a 20 20 77 68 69 6c 65 | more */|. while|
|00004d40| 20 28 20 62 75 66 5b 32 | 30 34 38 20 2a 20 69 20 | ( buf[2|048 * i |
|00004d50| 2d 20 31 5d 20 26 26 20 | 69 20 3c 20 4d 61 78 44 |- 1] && |i < MaxD|
|00004d60| 69 72 42 6c 6f 63 6b 73 | 20 29 20 7b 0a 20 20 20 |irBlocks| ) {. |
|00004d70| 20 72 65 61 64 28 66 72 | 6f 6d 2c 20 26 62 75 66 | read(fr|om, &buf|
|00004d80| 5b 32 30 34 38 20 2a 20 | 69 5d 2c 20 32 30 34 38 |[2048 * |i], 2048|
|00004d90| 29 3b 0a 20 20 20 20 69 | 2b 2b 3b 0a 20 20 7d 0a |);. i|++;. }.|
|00004da0| 0a 20 20 6f 66 66 73 65 | 74 20 3d 20 30 3b 20 20 |. offse|t = 0; |
|00004db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004dc0| 20 20 20 20 20 2f 2a 20 | 62 75 69 6c 64 20 66 6c | /* |build fl|
|00004dd0| 61 74 20 64 69 72 65 63 | 74 6f 72 79 20 6c 69 73 |at direc|tory lis|
|00004de0| 74 20 2a 2f 0a 20 20 64 | 69 72 20 3d 20 31 3b 0a |t */. d|ir = 1;.|
|00004df0| 0a 20 20 77 68 69 6c 65 | 20 28 20 62 75 66 5b 6f |. while| ( buf[o|
|00004e00| 66 66 73 65 74 5d 20 29 | 20 7b 0a 20 20 20 20 70 |ffset] )| {. p|
|00004e10| 61 72 65 6e 74 5f 64 69 | 72 20 20 3d 20 62 75 66 |arent_di|r = buf|
|00004e20| 5b 6f 66 66 73 65 74 2b | 37 5d 20 3c 3c 20 38 3b |[offset+|7] << 8;|
|00004e30| 0a 20 20 20 20 70 61 72 | 65 6e 74 5f 64 69 72 20 |. par|ent_dir |
|00004e40| 2b 3d 20 62 75 66 5b 6f | 66 66 73 65 74 2b 36 5d |+= buf[o|ffset+6]|
|00004e50| 3b 0a 20 20 20 20 70 72 | 69 6e 74 66 28 22 5c 6e |;. pr|intf("\n|
|00004e60| 25 64 5c 74 25 64 5c 74 | 22 2c 20 70 61 72 65 6e |%d\t%d\t|", paren|
|00004e70| 74 5f 64 69 72 2c 20 64 | 69 72 29 3b 0a 20 20 20 |t_dir, d|ir);. |
|00004e80| 20 69 20 3d 20 38 3b 0a | 20 20 20 20 4c 44 49 20 | i = 8;.| LDI |
|00004e90| 3d 20 28 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |= (unsig|ned char|
|00004ea0| 29 20 62 75 66 5b 6f 66 | 66 73 65 74 5d 3b 0a 20 |) buf[of|fset];. |
|00004eb0| 20 20 20 6a 20 3d 20 4c | 44 49 3b 0a 20 20 20 20 | j = L|DI;. |
|00004ec0| 77 68 69 6c 65 20 28 6a | 2d 2d 29 20 7b 0a 20 20 |while (j|--) {. |
|00004ed0| 20 20 20 20 69 66 20 28 | 62 75 66 5b 6f 66 66 73 | if (|buf[offs|
|00004ee0| 65 74 2b 69 5d 29 0a 09 | 70 75 74 63 68 61 72 28 |et+i])..|putchar(|
|00004ef0| 62 75 66 5b 6f 66 66 73 | 65 74 2b 69 5d 29 3b 0a |buf[offs|et+i]);.|
|00004f00| 20 20 20 20 20 20 65 6c | 73 65 0a 09 70 75 74 63 | el|se..putc|
|00004f10| 68 61 72 28 27 2e 27 29 | 3b 0a 20 20 20 20 20 20 |har('.')|;. |
|00004f20| 69 2b 2b 3b 0a 20 20 20 | 20 7d 0a 0a 20 20 20 20 |i++;. | }.. |
|00004f30| 69 66 20 28 20 4c 44 49 | 20 3c 20 38 20 29 0a 20 |if ( LDI| < 8 ). |
|00004f40| 20 20 20 20 20 70 75 74 | 63 68 61 72 28 27 5c 74 | put|char('\t|
|00004f50| 27 29 3b 0a 0a 20 20 20 | 20 48 65 78 42 6c 6b 4e |');.. | HexBlkN|
|00004f60| 72 20 20 3d 20 62 75 66 | 5b 6f 66 66 73 65 74 2b |r = buf|[offset+|
|00004f70| 35 5d 20 3c 3c 20 32 34 | 3b 0a 20 20 20 20 48 65 |5] << 24|;. He|
|00004f80| 78 42 6c 6b 4e 72 20 2b | 3d 20 62 75 66 5b 6f 66 |xBlkNr +|= buf[of|
|00004f90| 66 73 65 74 2b 34 5d 20 | 3c 3c 20 31 36 3b 0a 20 |fset+4] |<< 16;. |
|00004fa0| 20 20 20 48 65 78 42 6c | 6b 4e 72 20 2b 3d 20 62 | HexBl|kNr += b|
|00004fb0| 75 66 5b 6f 66 66 73 65 | 74 2b 33 5d 20 3c 3c 20 |uf[offse|t+3] << |
|00004fc0| 20 38 3b 0a 20 20 20 20 | 48 65 78 42 6c 6b 4e 72 | 8;. |HexBlkNr|
|00004fd0| 20 2b 3d 20 62 75 66 5b | 6f 66 66 73 65 74 2b 32 | += buf[|offset+2|
|00004fe0| 5d 3b 0a 0a 20 20 20 20 | 70 75 74 63 68 61 72 28 |];.. |putchar(|
|00004ff0| 27 5c 6e 27 29 3b 0a 0a | 20 20 20 20 64 69 72 5f |'\n');..| dir_|
|00005000| 72 65 63 28 48 65 78 42 | 6c 6b 4e 72 2c 20 66 72 |rec(HexB|lkNr, fr|
|00005010| 6f 6d 29 3b 0a 0a 20 20 | 20 20 6f 66 66 73 65 74 |om);.. | offset|
|00005020| 20 2b 3d 20 39 20 2b 20 | 4c 44 49 3b 0a 20 20 20 | += 9 + |LDI;. |
|00005030| 20 69 66 20 28 6f 66 66 | 73 65 74 20 26 20 30 78 | if (off|set & 0x|
|00005040| 30 31 29 0a 20 20 20 20 | 20 20 6f 66 66 73 65 74 |01). | offset|
|00005050| 2d 2d 3b 0a 20 20 20 20 | 64 69 72 2b 2b 3b 0a 20 |--;. |dir++;. |
|00005060| 20 7d 0a 0a 20 20 63 6c | 6f 73 65 28 66 72 6f 6d | }.. cl|ose(from|
|00005070| 29 3b 0a 0a 20 20 65 78 | 69 74 28 30 29 3b 0a 7d |);.. ex|it(0);.}|
|00005080| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00005210| 74 66 2d 32 2d 32 2f 63 | 64 63 61 74 00 00 00 00 |tf-2-2/c|dcat....|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 31 30 30 37 | 35 35 20 00 20 20 20 20 |....1007|55 . |
|00005270| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00005280| 20 20 20 20 37 34 36 20 | 20 35 35 36 33 35 36 30 | 746 | 5563560|
|00005290| 33 35 37 20 20 31 33 31 | 30 37 00 20 30 00 00 00 |357 131|07. 0...|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 3a 0a 3a 20 63 64 63 61 | 74 20 2d 20 43 44 20 63 |:.: cdca|t - CD c|
|00005410| 61 74 0a 3a 0a 23 20 55 | 73 61 67 65 3a 20 63 64 |at.:.# U|sage: cd|
|00005420| 63 61 74 20 3c 69 6e 64 | 65 78 5f 66 69 6c 65 3e |cat <ind|ex_file>|
|00005430| 20 3c 63 64 5f 64 65 76 | 69 63 65 3e 20 3c 66 69 | <cd_dev|ice> <fi|
|00005440| 6c 65 3e 0a 23 0a 23 20 | 57 72 69 74 74 65 6e 20 |le>.#.# |Written |
|00005450| 62 79 20 52 69 63 68 20 | 4d 6f 72 69 6e 2c 20 43 |by Rich |Morin, C|
|00005460| 46 43 4c 2c 20 4a 75 6e | 65 20 31 39 39 32 0a 0a |FCL, Jun|e 1992..|
|00005470| 69 66 20 5b 20 24 23 20 | 2d 6e 65 20 33 20 5d 3b |if [ $# |-ne 3 ];|
|00005480| 20 74 68 65 6e 0a 20 20 | 65 63 68 6f 20 22 55 73 | then. |echo "Us|
|00005490| 61 67 65 3a 20 63 64 63 | 61 74 20 3c 69 6e 64 65 |age: cdc|at <inde|
|000054a0| 78 5f 66 69 6c 65 3e 20 | 3c 63 64 5f 64 65 76 69 |x_file> |<cd_devi|
|000054b0| 63 65 3e 20 3c 66 69 6c | 65 3e 22 0a 20 20 65 78 |ce> <fil|e>". ex|
|000054c0| 69 74 20 31 0a 66 69 0a | 0a 69 66 20 5b 20 21 20 |it 1.fi.|.if [ ! |
|000054d0| 2d 66 20 24 31 20 5d 3b | 20 74 68 65 6e 0a 20 20 |-f $1 ];| then. |
|000054e0| 65 63 68 6f 20 22 63 64 | 63 61 74 3a 20 6e 6f 20 |echo "cd|cat: no |
|000054f0| 69 6e 64 65 78 20 66 69 | 6c 65 20 66 6f 75 6e 64 |index fi|le found|
|00005500| 22 0a 20 20 65 78 69 74 | 20 31 0a 66 69 0a 0a 61 |". exit| 1.fi..a|
|00005510| 77 6b 20 27 0a 20 20 24 | 31 20 3d 3d 20 22 27 22 |wk '. $|1 == "'"|
|00005520| 24 33 22 27 22 20 7b 0a | 20 20 20 20 61 64 64 72 |$3"'" {.| addr|
|00005530| 20 3d 20 24 32 0a 20 20 | 20 20 73 69 7a 65 20 3d | = $2. | size =|
|00005540| 20 24 33 0a 20 20 7d 0a | 0a 20 20 45 4e 44 20 7b | $3. }.|. END {|
|00005550| 0a 20 20 20 20 69 66 20 | 28 61 64 64 72 20 21 3d |. if |(addr !=|
|00005560| 20 22 22 29 20 7b 0a 20 | 20 20 20 20 20 70 72 69 | "") {. | pri|
|00005570| 6e 74 20 22 63 61 74 73 | 75 62 20 27 22 24 32 22 |nt "cats|ub '"$2"|
|00005580| 27 22 2c 20 61 64 64 72 | 2c 20 73 69 7a 65 0a 20 |'", addr|, size. |
|00005590| 20 20 20 7d 0a 20 20 20 | 20 65 6c 73 65 20 7b 0a | }. | else {.|
|000055a0| 20 20 20 20 20 20 70 72 | 69 6e 74 20 22 65 63 68 | pr|int "ech|
|000055b0| 6f 20 63 64 63 61 74 3a | 20 66 69 6c 65 20 6e 6f |o cdcat:| file no|
|000055c0| 74 20 66 6f 75 6e 64 20 | 69 6e 20 69 6e 64 65 78 |t found |in index|
|000055d0| 22 0a 20 20 20 20 7d 0a | 20 20 7d 0a 27 20 24 31 |". }.| }.' $1|
|000055e0| 20 7c 20 73 68 0a 00 00 | 00 00 00 00 00 00 00 00 | | sh...|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 63 64 2d 6b 69 74 2f 69 | 73 6f 39 36 36 30 2f 70 |cd-kit/i|so9660/p|
|00005610| 74 66 2d 32 2d 32 2f 64 | 69 72 5f 72 65 63 2e 63 |tf-2-2/d|ir_rec.c|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 20 |....1006|44 . |
|00005670| 20 33 20 00 20 20 20 20 | 20 33 20 00 20 20 20 20 | 3 . | 3 . |
|00005680| 20 20 20 36 34 30 37 20 | 20 35 35 36 33 35 36 30 | 6407 | 5563560|
|00005690| 33 35 37 20 20 31 33 36 | 37 36 00 20 30 00 00 00 |357 136|76. 0...|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 75 73 74 61 72 20 20 | 00 62 69 6e 00 00 00 00 |.ustar |.bin....|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 62 69 6e 00 00 00 00 |........|.bin....|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 2f 2a 20 64 69 72 5f 72 | 65 63 2e 63 20 2d 2d 20 |/* dir_r|ec.c -- |
|00005810| 72 65 61 64 20 64 65 73 | 69 67 6e 61 74 65 64 20 |read des|ignated |
|00005820| 62 6c 6f 63 6b 2c 20 70 | 72 6f 63 65 73 73 20 69 |block, p|rocess i|
|00005830| 74 20 61 73 20 61 20 44 | 69 72 65 63 74 6f 72 79 |t as a D|irectory|
|00005840| 20 52 65 63 6f 72 64 2e | 0a 20 2a 0a 20 2a 20 52 | Record.|. *. * R|
|00005850| 65 61 64 20 74 68 65 20 | 64 65 73 69 67 6e 61 74 |ead the |designat|
|00005860| 65 64 20 62 6c 6f 63 6b | 20 66 72 6f 6d 20 74 68 |ed block| from th|
|00005870| 65 20 43 44 20 26 20 70 | 72 6f 63 65 73 73 20 74 |e CD & p|rocess t|
|00005880| 68 65 20 49 53 4f 2d 39 | 36 36 30 20 27 44 69 72 |he ISO-9|660 'Dir|
|00005890| 65 63 74 6f 72 79 0a 20 | 2a 20 52 65 63 6f 72 64 |ectory. |* Record|
|000058a0| 73 27 20 69 6e 20 69 74 | 2e 20 20 46 6f 72 20 65 |s' in it|. For e|
|000058b0| 61 63 68 20 66 69 6c 65 | 20 63 61 74 61 6c 6f 67 |ach file| catalog|
|000058c0| 65 64 2c 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |ed, disp|lay the |
|000058d0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |name of |the file|
|000058e0| 2c 0a 20 2a 20 69 74 73 | 20 6c 65 6e 67 74 68 2c |,. * its| length,|
|000058f0| 20 61 6e 64 20 74 68 65 | 20 62 6c 6f 63 6b 20 6f | and the| block o|
|00005900| 6e 20 74 68 65 20 43 44 | 20 77 68 65 72 65 20 69 |n the CD| where i|
|00005910| 74 20 62 65 67 69 6e 73 | 2e 20 20 49 6e 20 61 64 |t begins|. In ad|
|00005920| 64 69 74 69 6f 6e 2c 20 | 69 66 0a 20 2a 20 54 49 |dition, |if. * TI|
|00005930| 4d 45 53 54 41 4d 50 20 | 69 73 20 64 65 66 69 6e |MESTAMP |is defin|
|00005940| 65 64 20 77 68 65 6e 20 | 74 68 69 73 20 66 69 6c |ed when |this fil|
|00005950| 65 20 69 73 20 63 6f 6d | 70 69 6c 65 64 2c 20 64 |e is com|piled, d|
|00005960| 69 73 70 6c 61 79 20 74 | 68 65 20 64 61 74 65 20 |isplay t|he date |
|00005970| 61 6e 64 0a 20 2a 20 74 | 69 6d 65 20 77 68 65 6e |and. * t|ime when|
|00005980| 20 74 68 65 20 66 69 6c | 65 20 77 61 73 20 63 72 | the fil|e was cr|
|00005990| 65 61 74 65 64 20 66 6f | 72 20 74 68 65 20 43 44 |eated fo|r the CD|
|000059a0| 2e 0a 20 2a 0a 20 2a 20 | 57 72 69 74 74 65 6e 20 |.. *. * |Written |
|000059b0| 62 79 20 42 69 6c 6c 20 | 53 69 65 67 6d 75 6e 64 |by Bill |Siegmund|
|000059c0| 2c 20 43 61 6c 2d 54 65 | 78 20 43 6f 6d 70 75 74 |, Cal-Te|x Comput|
|000059d0| 65 72 73 2c 20 49 6e 63 | 2e 0a 20 2a 20 31 30 38 |ers, Inc|.. * 108|
|000059e0| 30 20 52 65 62 65 63 63 | 61 20 44 72 2e 2c 20 42 |0 Rebecc|a Dr., B|
|000059f0| 6f 75 6c 64 65 72 20 43 | 72 65 65 6b 2c 20 43 41 |oulder C|reek, CA|
|00005a00| 20 20 39 35 30 30 36 0a | 20 2a 20 2b 31 20 34 30 | 95006.| * +1 40|
|00005a10| 38 20 33 33 38 2d 32 35 | 37 32 0a 20 2a 0a 20 2a |8 338-25|72. *. *|
|00005a20| 20 54 77 65 61 6b 65 64 | 20 62 79 20 52 69 63 68 | Tweaked| by Rich|
|00005a30| 20 4d 6f 72 69 6e 2c 20 | 43 46 43 4c 2c 20 4a 75 | Morin, |CFCL, Ju|
|00005a40| 6e 65 20 31 39 39 32 0a | 20 2a 2f 0a 0a 2f 2a 20 |ne 1992.| */../* |
|00005a50| 5f 41 55 58 5f 53 4f 55 | 52 43 45 20 69 73 20 64 |_AUX_SOU|RCE is d|
|00005a60| 65 66 69 6e 65 64 20 69 | 6e 20 41 70 70 6c 65 27 |efined i|n Apple'|
|00005a70| 73 20 41 2f 55 58 20 33 | 2e 30 20 2a 2f 0a 23 69 |s A/UX 3|.0 */.#i|
|00005a80| 66 20 64 65 66 69 6e 65 | 64 28 5f 41 55 58 5f 53 |f define|d(_AUX_S|
|00005a90| 4f 55 52 43 45 29 20 7c | 7c 20 64 65 66 69 6e 65 |OURCE) ||| define|
|00005aa0| 64 28 43 4f 48 45 52 45 | 4e 54 29 0a 23 69 6e 63 |d(COHERE|NT).#inc|
|00005ab0| 6c 75 64 65 20 3c 73 79 | 73 2f 74 79 70 65 73 2e |lude <sy|s/types.|
|00005ac0| 68 3e 0a 23 69 6e 63 6c | 75 64 65 20 3c 66 63 6e |h>.#incl|ude <fcn|
|00005ad0| 74 6c 2e 68 3e 0a 23 65 | 6c 73 65 0a 23 69 6e 63 |tl.h>.#e|lse.#inc|
|00005ae0| 6c 75 64 65 20 3c 73 79 | 73 2f 66 63 6e 74 6c 2e |lude <sy|s/fcntl.|
|00005af0| 68 3e 0a 23 65 6e 64 69 | 66 0a 0a 64 69 72 5f 72 |h>.#endi|f..dir_r|
|00005b00| 65 63 28 48 65 78 42 6c | 6b 4e 72 2c 20 66 72 6f |ec(HexBl|kNr, fro|
|00005b10| 6d 29 0a 6c 6f 6e 67 20 | 48 65 78 42 6c 6b 4e 72 |m).long |HexBlkNr|
|00005b20| 3b 0a 69 6e 74 20 66 72 | 6f 6d 3b 0a 7b 0a 20 20 |;.int fr|om;.{. |
|00005b30| 69 6e 74 20 62 6c 6f 63 | 6b 73 2c 20 64 69 72 2c |int bloc|ks, dir,|
|00005b40| 20 47 65 74 4e 65 78 74 | 42 6c 6b 3b 0a 20 20 75 | GetNext|Blk;. u|
|00005b50| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 20 62 75 66 |nsigned |char buf|
|00005b60| 5b 32 30 34 38 5d 2c 20 | 64 6f 74 5f 64 69 72 3b |[2048], |dot_dir;|
|00005b70| 0a 20 20 6c 6f 6e 67 20 | 70 6f 73 69 74 69 6f 6e |. long |position|
|00005b80| 2c 20 6c 73 65 65 6b 28 | 29 2c 20 4c 65 6e 67 74 |, lseek(|), Lengt|
|00005b90| 68 3b 0a 0a 20 20 69 6e | 74 20 6f 66 66 73 65 74 |h;.. in|t offset|
|00005ba0| 2c 20 69 2c 20 6a 3b 0a | 20 20 69 6e 74 20 4c 44 |, i, j;.| int LD|
|00005bb0| 52 3b 09 09 2f 2a 20 4c | 44 52 20 73 74 61 6e 64 |R;../* L|DR stand|
|00005bc0| 73 20 66 6f 72 20 4c 65 | 6e 67 74 68 20 6f 66 20 |s for Le|ngth of |
|00005bd0| 44 69 72 65 63 74 6f 72 | 79 20 52 65 63 6f 72 64 |Director|y Record|
|00005be0| 09 2a 2f 0a 20 20 69 6e | 74 20 4c 46 49 3b 09 09 |.*/. in|t LFI;..|
|00005bf0| 2f 2a 20 4c 46 49 20 73 | 74 61 6e 64 73 20 66 6f |/* LFI s|tands fo|
|00005c00| 72 20 4c 65 6e 67 74 68 | 20 6f 66 20 46 69 6c 65 |r Length| of File|
|00005c10| 20 49 6e 64 69 63 61 74 | 6f 72 2f 4e 61 6d 65 09 | Indicat|or/Name.|
|00005c20| 2a 2f 0a 0a 20 20 69 66 | 20 28 20 70 6f 73 69 74 |*/.. if| ( posit|
|00005c30| 69 6f 6e 20 3d 20 6c 73 | 65 65 6b 28 66 72 6f 6d |ion = ls|eek(from|
|00005c40| 2c 20 28 20 48 65 78 42 | 6c 6b 4e 72 20 3c 3c 20 |, ( HexB|lkNr << |
|00005c50| 31 31 20 29 2c 20 30 29 | 20 3d 3d 20 2d 31 29 20 |11 ), 0)| == -1) |
|00005c60| 7b 0a 20 20 20 20 70 72 | 69 6e 74 66 28 22 5c 6e |{. pr|intf("\n|
|00005c70| 43 6f 75 6c 64 20 6e 6f | 74 20 61 63 63 65 73 73 |Could no|t access|
|00005c80| 20 43 44 20 42 6c 6f 63 | 6b 20 30 78 25 6c 58 22 | CD Bloc|k 0x%lX"|
|00005c90| 2c 20 48 65 78 42 6c 6b | 4e 72 29 3b 0a 20 20 20 |, HexBlk|Nr);. |
|00005ca0| 20 65 78 69 74 28 31 29 | 3b 0a 20 20 7d 0a 0a 20 | exit(1)|;. }.. |
|00005cb0| 20 72 65 61 64 28 66 72 | 6f 6d 2c 20 62 75 66 2c | read(fr|om, buf,|
|00005cc0| 20 32 30 34 38 29 3b 0a | 0a 20 20 6f 66 66 73 65 | 2048);.|. offse|
|00005cd0| 74 20 3d 20 47 65 74 4e | 65 78 74 42 6c 6b 20 3d |t = GetN|extBlk =|
|00005ce0| 20 30 3b 0a 0a 20 20 77 | 68 69 6c 65 20 28 20 62 | 0;.. w|hile ( b|
|00005cf0| 75 66 5b 6f 66 66 73 65 | 74 5d 20 7c 7c 20 47 65 |uf[offse|t] || Ge|
|00005d00| 74 4e 65 78 74 42 6c 6b | 20 29 20 7b 0a 20 20 20 |tNextBlk| ) {. |
|00005d10| 20 64 6f 74 5f 64 69 72 | 20 3d 20 30 3b 0a 20 20 | dot_dir| = 0;. |
|00005d20| 20 20 69 66 20 28 21 62 | 75 66 5b 6f 66 66 73 65 | if (!b|uf[offse|
|00005d30| 74 5d 29 20 7b 09 2f 2a | 20 57 65 20 67 65 74 20 |t]) {./*| We get |
|00005d40| 68 65 72 65 20 69 66 66 | 20 27 62 75 66 5b 6f 66 |here iff| 'buf[of|
|00005d50| 66 73 65 74 5d 27 20 69 | 73 20 4e 55 4c 20 61 6e |fset]' i|s NUL an|
|00005d60| 64 09 2a 2f 0a 20 20 20 | 20 20 20 47 65 74 4e 65 |d.*/. | GetNe|
|00005d70| 78 74 42 6c 6b 2d 2d 3b | 09 2f 2a 20 47 65 74 4e |xtBlk--;|./* GetN|
|00005d80| 65 78 74 42 6c 6b 20 69 | 73 20 6e 6f 74 20 7a 65 |extBlk i|s not ze|
|00005d90| 72 6f 2e 20 57 68 65 6e | 20 74 68 69 73 20 68 61 |ro. When| this ha|
|00005da0| 70 70 65 6e 73 09 2a 2f | 0a 20 20 20 20 20 20 6f |ppens.*/|. o|
|00005db0| 66 66 73 65 74 20 3d 20 | 30 3b 09 2f 2a 20 77 65 |ffset = |0;./* we|
|00005dc0| 20 6d 75 73 74 20 73 6e | 65 61 6b 69 6c 79 20 72 | must sn|eakily r|
|00005dd0| 65 61 64 20 69 6e 20 74 | 68 65 20 6e 65 78 74 20 |ead in t|he next |
|00005de0| 64 69 72 65 63 74 6f 72 | 79 09 2a 2f 0a 09 09 09 |director|y.*/....|
|00005df0| 2f 2a 20 62 6c 6f 63 6b | 20 73 69 6e 63 65 20 74 |/* block| since t|
|00005e00| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |he curre|nt direc|
|00005e10| 74 6f 72 79 20 65 78 74 | 65 6e 64 73 09 2a 2f 0a |tory ext|ends.*/.|
|00005e20| 09 09 09 2f 2a 20 62 65 | 79 6f 6e 64 20 74 68 65 |.../* be|yond the|
|00005e30| 20 70 72 65 73 65 6e 74 | 20 62 6c 6f 63 6b 2e 09 | present| block..|
|00005e40| 09 09 2a 2f 0a 20 20 20 | 20 20 20 72 65 61 64 28 |..*/. | read(|
|00005e50| 66 72 6f 6d 2c 20 62 75 | 66 2c 20 32 30 34 38 29 |from, bu|f, 2048)|
|00005e60| 3b 0a 20 20 20 20 7d 0a | 20 20 20 20 4c 46 49 20 |;. }.| LFI |
|00005e70| 3d 20 62 75 66 5b 6f 66 | 66 73 65 74 2b 33 32 5d |= buf[of|fset+32]|
|00005e80| 3b 09 2f 2a 20 67 65 74 | 20 6c 65 6e 67 74 68 20 |;./* get| length |
|00005e90| 6f 66 20 66 69 6c 65 6e | 61 6d 65 09 2a 2f 0a 20 |of filen|ame.*/. |
|00005ea0| 20 20 20 69 20 20 20 3d | 20 33 33 3b 20 20 20 20 | i =| 33; |
|00005eb0| 20 09 09 2f 2a 20 66 69 | 6c 65 6e 61 6d 65 20 73 | ../* fi|lename s|
|00005ec0| 74 61 72 74 73 20 68 65 | 72 65 20 69 6e 20 72 65 |tarts he|re in re|
|00005ed0| 63 09 2a 2f 0a 20 20 20 | 20 4c 44 52 20 3d 20 62 |c.*/. | LDR = b|
|00005ee0| 75 66 5b 6f 66 66 73 65 | 74 5d 3b 09 09 2f 2a 20 |uf[offse|t];../* |
|00005ef0| 6c 65 6e 67 74 68 20 6f | 66 20 63 75 72 72 65 6e |length o|f curren|
|00005f00| 74 20 44 69 72 20 52 65 | 63 09 2a 2f 0a 0a 20 20 |t Dir Re|c.*/.. |
|00005f10| 20 20 6a 20 3d 20 4c 46 | 49 3b 0a 0a 20 20 20 20 | j = LF|I;.. |
|00005f20| 20 20 2f 2a 20 51 75 69 | 65 74 6c 79 20 73 75 72 | /* Qui|etly sur|
|00005f30| 70 72 65 73 73 20 74 68 | 65 20 63 75 72 69 6f 75 |press th|e curiou|
|00005f40| 73 20 27 3b 31 27 20 74 | 68 61 74 20 66 6f 6c 6c |s ';1' t|hat foll|
|00005f50| 6f 77 73 20 73 6f 6d 65 | 20 66 69 6c 65 20 6e 61 |ows some| file na|
|00005f60| 6d 65 73 20 2a 2f 0a 20 | 20 20 20 69 66 20 28 20 |mes */. | if ( |
|00005f70| 28 62 75 66 5b 6f 66 66 | 73 65 74 20 2b 20 69 20 |(buf[off|set + i |
|00005f80| 2b 20 6a 20 2d 20 32 5d | 20 3d 3d 20 27 3b 27 29 |+ j - 2]| == ';')|
|00005f90| 20 26 26 20 28 62 75 66 | 5b 6f 66 66 73 65 74 20 | && (buf|[offset |
|00005fa0| 2b 20 69 20 2b 6a 20 2d | 20 31 5d 20 3d 3d 20 27 |+ i +j -| 1] == '|
|00005fb0| 31 27 29 20 29 0a 20 20 | 20 20 20 20 6a 20 3d 20 |1') ). | j = |
|00005fc0| 4c 46 49 20 3d 20 4c 46 | 49 20 2d 20 32 3b 0a 0a |LFI = LF|I - 2;..|
|00005fd0| 20 20 20 20 77 68 69 6c | 65 20 28 6a 2d 2d 29 20 | whil|e (j--) |
|00005fe0| 7b 0a 20 20 20 20 20 20 | 69 66 20 28 20 62 75 66 |{. |if ( buf|
|00005ff0| 5b 6f 66 66 73 65 74 2b | 69 5d 20 29 20 7b 0a 09 |[offset+|i] ) {..|
|00006000| 69 66 20 28 20 62 75 66 | 5b 6f 66 66 73 65 74 2b |if ( buf|[offset+|
|00006010| 69 5d 20 3d 3d 20 31 20 | 29 20 7b 0a 09 20 20 70 |i] == 1 |) {.. p|
|00006020| 75 74 63 68 61 72 28 27 | 2e 27 29 3b 20 70 75 74 |utchar('|.'); put|
|00006030| 63 68 61 72 28 27 2e 27 | 29 3b 0a 09 7d 0a 09 65 |char('.'|);..}..e|
|00006040| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 70 75 |lse. | pu|
|00006050| 74 63 68 61 72 28 62 75 | 66 5b 6f 66 66 73 65 74 |tchar(bu|f[offset|
|00006060| 2b 69 5d 29 3b 0a 20 20 | 20 20 20 20 7d 0a 20 20 |+i]);. | }. |
|00006070| 20 20 20 20 65 6c 73 65 | 20 7b 0a 09 70 75 74 63 | else| {..putc|
|00006080| 68 61 72 28 27 2e 27 29 | 3b 0a 09 64 6f 74 5f 64 |har('.')|;..dot_d|
|00006090| 69 72 20 3d 20 31 3b 0a | 20 20 20 20 20 20 7d 0a |ir = 1;.| }.|
|000060a0| 20 20 20 20 20 20 69 2b | 2b 3b 0a 20 20 20 20 7d | i+|+;. }|
|000060b0| 0a 0a 20 20 20 20 69 66 | 20 28 20 4c 46 49 20 3c |.. if| ( LFI <|
|000060c0| 20 38 20 29 20 7b 0a 20 | 20 20 20 20 20 70 75 74 | 8 ) {. | put|
|000060d0| 63 68 61 72 28 27 5c 74 | 27 29 3b 0a 20 20 20 20 |char('\t|');. |
|000060e0| 7d 0a 20 20 20 20 4c 65 | 6e 67 74 68 20 20 3d 20 |}. Le|ngth = |
|000060f0| 62 75 66 5b 6f 66 66 73 | 65 74 2b 31 33 5d 20 3c |buf[offs|et+13] <|
|00006100| 3c 20 32 34 3b 20 20 20 | 20 20 2f 2a 20 63 61 6c |< 24; | /* cal|
|00006110| 63 20 26 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |c & disp|lay the |
|00006120| 66 69 6c 65 27 73 20 6c | 65 6e 67 74 68 20 2a 2f |file's l|ength */|
|00006130| 0a 20 20 20 20 4c 65 6e | 67 74 68 20 2b 3d 20 62 |. Len|gth += b|
|00006140| 75 66 5b 6f 66 66 73 65 | 74 2b 31 32 5d 20 3c 3c |uf[offse|t+12] <<|
|00006150| 20 31 36 3b 0a 20 20 20 | 20 4c 65 6e 67 74 68 20 | 16;. | Length |
|00006160| 2b 3d 20 62 75 66 5b 6f | 66 66 73 65 74 2b 31 31 |+= buf[o|ffset+11|
|00006170| 5d 20 3c 3c 20 20 38 3b | 0a 20 20 20 20 4c 65 6e |] << 8;|. Len|
|00006180| 67 74 68 20 2b 3d 20 62 | 75 66 5b 6f 66 66 73 65 |gth += b|uf[offse|
|00006190| 74 2b 31 30 5d 3b 0a 20 | 20 20 20 0a 20 20 20 20 |t+10];. | . |
|000061a0| 69 66 20 28 20 62 75 66 | 5b 6f 66 66 73 65 74 2b |if ( buf|[offset+|
|000061b0| 32 35 5d 20 26 20 32 20 | 29 20 7b 20 2f 2a 20 69 |25] & 2 |) { /* i|
|000061c0| 66 20 42 69 74 20 31 20 | 69 6e 20 27 46 69 6c 65 |f Bit 1 |in 'File|
|000061d0| 20 46 6c 61 67 73 27 20 | 69 73 20 73 65 74 09 20 | Flags' |is set. |
|000061e0| 20 20 20 2a 2f 0a 20 20 | 20 20 20 20 70 72 69 6e | */. | prin|
|000061f0| 74 66 28 22 5c 74 5c 74 | 3c 64 69 72 3e 22 29 3b |tf("\t\t|<dir>");|
|00006200| 09 2f 2a 20 74 68 69 73 | 20 69 73 20 61 20 27 64 |./* this| is a 'd|
|00006210| 69 72 20 72 65 63 27 20 | 66 6f 72 20 61 20 64 69 |ir rec' |for a di|
|00006220| 72 65 63 74 6f 72 79 09 | 20 20 20 20 2a 2f 0a 20 |rectory.| */. |
|00006230| 20 20 20 20 20 69 66 20 | 28 64 6f 74 5f 64 69 72 | if |(dot_dir|
|00006240| 29 0a 09 47 65 74 4e 65 | 78 74 42 6c 6b 20 3d 20 |)..GetNe|xtBlk = |
|00006250| 28 4c 65 6e 67 74 68 20 | 3e 3e 20 31 31 29 20 2d |(Length |>> 11) -|
|00006260| 20 31 3b 0a 20 20 20 20 | 7d 0a 20 20 20 20 65 6c | 1;. |}. el|
|00006270| 73 65 0a 20 20 20 20 20 | 20 70 72 69 6e 74 66 28 |se. | printf(|
|00006280| 22 5c 74 25 31 33 6c 64 | 22 2c 20 4c 65 6e 67 74 |"\t%13ld|", Lengt|
|00006290| 68 29 3b 0a 0a 09 09 2f | 2a 20 54 68 65 20 6e 65 |h);..../|* The ne|
|000062a0| 78 74 20 74 77 6f 20 6c | 69 6e 65 73 20 77 69 6c |xt two l|ines wil|
|000062b0| 6c 20 70 72 69 6e 74 20 | 74 68 65 20 64 61 74 65 |l print |the date|
|000062c0| 20 61 6e 64 20 74 69 6d | 65 09 2a 2f 0a 09 09 2f | and tim|e.*/.../|
|000062d0| 2a 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |* the di|rectory |
|000062e0| 6f 72 20 66 69 6c 65 20 | 77 61 73 20 63 72 65 61 |or file |was crea|
|000062f0| 74 65 64 20 66 6f 72 20 | 74 68 65 20 43 44 20 69 |ted for |the CD i|
|00006300| 66 09 2a 2f 0a 09 09 2f | 2a 20 54 49 4d 45 53 54 |f.*/.../|* TIMEST|
|00006310| 41 4d 50 20 69 73 20 27 | 64 65 66 69 6e 65 64 27 |AMP is '|defined'|
|00006320| 20 77 68 65 6e 20 74 68 | 69 73 20 66 69 6c 65 20 | when th|is file |
|00006330| 69 73 20 63 6f 6d 70 69 | 6c 65 64 2e 09 2a 2f 0a |is compi|led..*/.|
|00006340| 23 69 66 64 65 66 20 54 | 49 4d 45 53 54 41 4d 50 |#ifdef T|IMESTAMP|
|00006350| 0a 20 20 20 20 70 72 69 | 6e 74 66 28 22 5c 74 25 |. pri|ntf("\t%|
|00006360| 30 32 64 2d 25 30 32 64 | 2d 25 30 32 64 22 2c 20 |02d-%02d|-%02d", |
|00006370| 62 75 66 5b 6f 66 66 73 | 65 74 2b 31 38 5d 2c 20 |buf[offs|et+18], |
|00006380| 62 75 66 5b 6f 66 66 73 | 65 74 2b 31 39 5d 2c 20 |buf[offs|et+19], |
|00006390| 62 75 66 5b 6f 66 66 73 | 65 74 2b 32 30 5d 29 3b |buf[offs|et+20]);|
|000063a0| 0a 20 20 20 20 70 72 69 | 6e 74 66 28 22 20 20 25 |. pri|ntf(" %|
|000063b0| 30 32 64 3a 25 30 32 64 | 3a 25 30 32 64 22 2c 20 |02d:%02d|:%02d", |
|000063c0| 62 75 66 5b 6f 66 66 73 | 65 74 2b 32 31 5d 2c 20 |buf[offs|et+21], |
|000063d0| 62 75 66 5b 6f 66 66 73 | 65 74 2b 32 32 5d 2c 20 |buf[offs|et+22], |
|000063e0| 62 75 66 5b 6f 66 66 73 | 65 74 2b 32 33 5d 29 3b |buf[offs|et+23]);|
|000063f0| 0a 23 65 6e 64 69 66 0a | 0a 20 20 20 20 48 65 78 |.#endif.|. Hex|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.