text
stringlengths
0
99.6k
ARC VERSION 2.20 PAGE - 24
Viewing an Archive Directory.
arc/l <[d:]archname[.arc]>
This is used to get a listing of the files in an
archive. A typical archive directory might look like
the following:
arc/l a:archelp
file archive utility version 2.00
08/86 ... chris smeets
directory for archive: a:archelp.arc
======================================================
filename type blks now v stowage date
======================================================
xarc.typeme p 129 41 2 crunched 24aug86
samples s 22 9 2 crunched 24aug86
================ ==== ====
2 files 151 50
The first two columns give the filename and its type
(p,s,u or r). The next two columns give the files
length in disk blocks before and after compression. If
the file was relative, then you may not see the same
number as you would on the directory, since the
relative file's side sectors are not needed by ARC.
The column labeled "v" is the version number of the
archive. At present there are three possible versions.
"1" refers to archives created by ARC programs numbered
1.xx and "2" stands for archives created by ARC version
2.xx. In addition, if you are looking at an MS-DOS
archive, the version will be "I"(1).
The next column gives the compression method used to
store the file. The last column is only displayed if
you are using the 80 column version of ARC.
____________________
1. ARC/L should handle any MS-DOS archive created by ARC's
numbered 5.10 or lower. At present this is the only ARC
function that supports MS-DOS archives.
ARC VERSION 2.20 PAGE - 25
Taking a Look at What's in an Archive.
arc/px/y <[d:]archname[.arc]> [[pattern1] [pattern2]...]
This is used to print the specified files in an
archive to the screen. Syntax is similar to that for
ARC/X, except the output is to screen instead of to
disk.
The optional switches x and y can take on the
following values:
x=p Converts from standard ASCII to nonstandard
Commodore ascii (PETscii).
x=a Converts from PETscii to true ASCII.
y=p Sends output to the printer rather than
to the screen. Before running ARC, you must
set the printers device number and secondary
address as follows:
POKE 2051,device
POKE 2052,secondary address
If you don't want to do this every time you
run ARC, then SAVE ARC before running it.
The default values are device=4 SA=0.
For Commodore Printers use SA=7
ARC VERSION 2.20 PAGE - 26
arc/v <[d:]archname[.arc]> [[pattern1] [pattern2]...]
This is used to verify the contents of an archive.