home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG044.ARC
/
LIBRARY.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
6KB
|
109 lines
Documentation for LU.COM Version 2.10 (Here renamed Library.com)
Thi≤ i≤ ß shor⌠ extrac⌠ oµ origina∞ 30δ documentation¼ availablσ oε bulletiε ì
boards.
| = recent modifications by author
| Copyright (c) 1982, 1983 by Gary P. Novosielski
All rights reserved.
Permission is hereby granted to copy and distribute this
document for any non-commercial purpose. Any use of this
material for commercial advantage without prior written
consent of the author is prohibited.
Thi≤ prograφ allow≤ yo⌡ t∩ grou≡ ß se⌠ oµ program≤ together¼ t∩ savσ disδ ì
spacσ anΣ fo≥ conveniencσ iε transmissioε anΣ iε organizinτ disks« I⌠ als∩ ì
allow≤ yo⌡ t∩ inspec⌠ anΣ unpacδ librar∙ file≤ yo⌡ migh⌠ obtain« (File≤ ì
endinτ iε .lbr⌐ ╔ normall∙ usσ i⌠ morσ t∩ unpacδ file≤ ╔ ge⌠ ofµ bulletiε ì
board≤ thaε t∩ storσ awa∙ m∙ programs¼ a≤ i⌠ caε causσ inconveniencσ b∙ ì
makinτ file≤ les≤ readil∙ accessible« I⌠ als∩ caε bσ risk∙ t∩ storσ program≤ ì
iε thi≤ way¼ fo≥ damagσ t∩ thσ librar∙ can wipσ ou⌠ al∞ it≤ membe≥ files«
Wheε yo⌡ cal∞ u≡ Library.Com¼ thσ firs⌠ thinτ yo⌡ havσ t∩ d∩ i≤ t∩ ì
ente≥ onσ oµ thσ followinτ commands« ╔ normall∙ usσ -∩ firs⌠ t∩ Opeε ß ì
Library¼ theε -∞ t∩ Lis⌠ it≤ contents¼ theε -σ t∩ Extrac⌠ thσ file≤ ╔ want.
-ß adΣ file≤ t∩ library« (Iµ n∩ librar∙ i≤ currentl∙ open¼ ì
thσ defaul⌠ librar∙ LIBRARY.LB╥ i≤ alway≤ useΣ instead.)
Oε nex⌠ line¼ namσ thσ files« Wild-card≤ caε bσ useΣ eτ t∩ adΣ al∞ file≤ ì
oε disk.(Won'⌠ adΣ existinτ Librar∙ files)
-d delete files from library. Name files on next line.
Wildcards can be used
-e extract files from library. Again wild cards can
be used. Any existing file with the same name will be
overwritten unless it is protected by having its Read/Only
attribute bit set.
-∞ lis⌠ curren⌠ librar∙ map or directory.ì
-∩ opeε ß library« Oε thσ nex⌠ line¼ ente≥ thσ namσ oµ thσ ì
library.If a library is already open, it is closed first.
If the new library does not exist, it is created with an empty
directory« Ambiguou≤ name≤ arσ no⌠ ⁿ allowed« Use≥ anΣ drivσ ì
specificatioε i≤ allowed« Thσ filσ typσ ma∙ bσ specified¼ bu⌠ iµ no⌠ ì
entered¼ default≤ t∩ .LB╥ Thi≤ i≤ thσ recommendeΣ endinτ fo≥ al∞ librar∙ ì
files.
-r reorganize library. -r causes the currently open
library to be reorganized. First, the directory is sorted
into alphabetical order, and then all active members are
copied to a work library which is opened on the defaultè| user/drive, which may or may not be the same as the old
library. The size of the directory may be changed by
specifying a greater or smaller number of entries than was
used in the old library. The directory will always be made
large enough to contain all the active members of the old
library, so it is safe to enter a size of "1" to make the
directory as small as possible. (See Specifying Directory
Sizes below.)
When reorganization is complete, the old library is
| deleted from its user/drive area, and the work library in
| the default area is renamed to the name of the old library.
No backup copy is retained. The newly reorganized library
remains open for use with subsequent operations.
| -x eXit program. -x causes the input line in which it
| is contained to be the last line scanned by the program. It
| does not cause immediate program termination, and if any
| more operators follow it on the same line, they will be
| processed normally. The program terminates only after the
| processing of the current line is complete. Any open library
| is then closed, and the user number and default drive are
| reset to the values they had when the program was originally
| invoked. To preserve compatability with earlier versions,
| the program will also be terminated by an empty input line.
SPECIFYING DIRECTORY SIZE
Whenever an old library is opened, the directory size
is displayed as follows:
Old library LIBRARY.LBR has 32 entries, 5 free.
This means that 5 more members may be added before the
directory becomes full. When the directory is full, -a
becomes an invalid operator, and the library must be
reorganized to add any more members.
When a library is created for the first time, the user
is prompted like this:
New library COMMAND.LBR. Allow how many entries?_
Any number from 1 to 65535 is valid. The actual maximum
is determined by the amount of free memory available on the
systeφ iε use« Ente≥ thσ maximuφ numbe≥ oµ membe≥ file≤ yo⌡ wan⌠ thσ ì
librar∙ t∩ bσ capablσ of holding.
Iµ thσ disδ spacσ run≤ ou⌠ durinτ aε add¼ thσ namσ i≤ no⌠ ì
addeΣ t∩ the directory. If a multiple add is in progress, due to an
ambiguous operand, the remaining qualifying files are still
added if possible. If any of them is small enough to fit in
the remaining disk space, it will be added. If any sectors
were written by a failed add attempt, and then never
utilized, they remain as unused sectors, and the library
should be reorganized.
Note that all sorts of advanced features are possible but not listed here.è