-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfvcbm.1
170 lines (169 loc) · 5.86 KB
/
fvcbm.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.\" -*- nroff -*-
.TH FVCBM 1 "2024-03-07" "fvcbm Version 3.2"
.SH NAME
fvcbm \- list directories of Commodore 64/128 compatible archive files
.SH SYNOPSIS
.B fvcbm
[
.B \-h
]
[
.B \-d
]
.B filename1
[
.IR filename2 ,
.IR \|.\|.\|.\|filenameN
]
.SH DESCRIPTION
.B fvcbm
displays the directories of Commodore 64 and 128 archive and self-dissolving
archive files, as well as raw floppy disk images.
It can be used to determine what is contained in an archive and how much disk
space it will take when uncompressed.
It is especially useful for previewing files on a network-connected machine
used for downloading Commodore software, and for viewing disk images outside
a Commodore 64 emulator.
.LP
If a given file cannot be found, several standard archive file extensions are
appended to the name in an attempt to find the desired file.
If a file named
.\" Some nroff's don't like: .IR "" ` \- '
`\-'
is given,
.B fvcbm
will attempt to read the standard input for an archive's contents.
Under Linux,
.B fvcbm
can read 1581 disks by specifying the floppy disk device (e.g.
.IR /dev/fd0 ).
The command
.B setfdprm
must first be used to specify that the drive contains a 1581 disk.
.LP
The default (wide) directory display contains a line for each file in the
archive. Each entry's display includes the file name, file type,
uncompressed length in bytes, uncompressed length in Commodore 254
byte disk blocks, compression method used, compression savings factor
(as a percentage reduction of the uncompressed file), and checksum.
The archive file name is displayed before the entries as well as the archive
title, if it exists (only some types support this).
.LP
Most columns are totalled in the last line. Values displayed are the number
of files in the archive, total number of data bytes in the archive, number of
disk blocks required to hold all the files in the archive (not including
archive overhead), the archive type and version number (if known), overall
compression savings factor (not including the extraction program for
self-extracting files), and the number of disk blocks of compressed data
in the archive.
For self-extracting archives, a `+' and
the number of disk blocks taken up by the extraction program are displayed
following the number of blocks of data. Adding the numbers
before and after the plus should roughly equal the size of the archive
file on disk (because of padding and rounding, the actual size on disk
may be slightly different).
.LP
The
.B \-d
option selects a style of directory output which is similar to that produced
by Commodore disk drives. Only the file name, size in blocks and
type are displayed for each entry in the archive. The summary line totals
the number of blocks used by the entries.
.LP
.B fvcbm
supports the following archive types: ARC230 (not to be confused with SEA
ARC), self-extracting ARC230 (SDA), Lynx, CS-DOS (LZH), self-extracting
CS-DOS (SFX), LBR (not to be confused with LBR for CP/M), 64Net files
(N64), PC64 emulator files (R/S/U/P00), emulator tape images (T64 and TAP) and
emulator disk images (D64 and X64 and variants), including 1541, 1571, 1581,
8050 and 8250 disk types (subdirectories a.k.a. partitions are not currently
supported). Note that there are several different TAP formats for different
computer types (Commodore and non-Commodore) but
.B fvcbm
supports only the Commodore variety.
.SH OPTIONS
.TP
.B \-h
Print a help message.
.TP
.B \-d
Display directory in Commodore disk directory format.
.TP
.B \-\-
Ends the list of options; only file names occur after this.
.SH "EXIT STATUS"
.B fvcbm
returns the following exit status:
.TP
.B 0
if no errors were encountered
.TP
.B 1
if
.B fvcbm
displayed the help message and exited
.TP
.B 2
if a file could not be found, or a read error occurred
.TP
.B 3
if the file type was not supported
.LP
If more than one filename caused an error, the status will reflect the
last error encountered.
.SH AUTHOR
Daniel Fandrich <dan@coneharvesters.com>
.LP
.B fvcbm
was inspired by Vernon D. Buerg's program
.I fv
for
displaying directories of MS-DOS archives.
.LP
Thanks to Guntram Blohm, Kevin Brisley, Teemu Rantanen, Haruyasu Yoshizaki and
Sven Petersen for their reference source code and/or documentation for various
archive formats. Thanks also to Jouko Valta for beta testing and Tormod
Tjaberg for submitting improvements.
.LP
Feel free to contact the author if you have questions or suggestions for
improvement of the program.
.SH BUGS
Newer versions of some archivers may create files which are not recognized by
.B fvcbm
(please contact the author if you find one).
.LP
Reading an archive from the standard input does not work for some archive
types in some environments; when it does work, the file lengths can be
incorrect for Lynx and PC64 files.
.LP
`Locked' and `Not Closed' file status for D64 and X64 archive types is not
displayed.
.LP
Some archive types (especially D64 and ARC) can occasionally be misidentified.
This should not happen if the files are using one of the standard file
extensions for the type.
.LP
Older versions of Lynx (at least versions IX
and below) as well as PC64 file types like .P00, etc. files do not explicitly
store the length of the final file in the archive. This last file can
therefore be improperly lengthened if it is transferred using a file transfer
protocol like XMODEM which adds extraneous characters to the end of transferred
files, or is transferred to an OS that does not preserve exact file lengths,
like CP/M 2.2.
.B fvcbm
(and Lynx itself) has no way of determining if this has happened, and will
display the incorrect file length if this is the case.
.SH COPYRIGHT
.B fvcbm
is copyright \(co 1995-2024 by Daniel Fandrich, et. al.
It is provided \(lqas is\(rq, without any express or implied warranties.
See the file COPYING, which should have been included with the program,
for details.
.SH "SEE ALSO"
.BR c1541 (1),
.BR cbmconvert (1),
.BR cbmfs (4),
.BR lha (1),
.BR lscbm (1),
.BR setfdprm (8),
.BR vice (1)