home *** CD-ROM | disk | FTP | other *** search
-
- **** LINO - lino.doc ****
-
-
-
- The XPK standard (see references at the end of this file)
- is an interfacing standard between applications and packer libraries.
- Some important applications for data compression are:
- Data Archiving, Backup-Utilities, Harddisk compression, Terminal programs.
-
- Your file, that should be compressed, will be splittet into a number of
- chunks, which will be compressed from your packer. Your application will
- reserve two memory buffers, one for (uncompressed) input data, one for
- (compressed) output data.
- With the following formula, you can calculate memory usage.
- + memory usage of your application
- + 2 * chunksize
- (it's a little bit more to prevent a buffer overflow, if file is
- already packed)
- + length of packer library (a few kb in most cases)
- + memory usage of packer library
- (depends on selected mode - see info about your packer)
-
- Lino doesn't need xpkmaster.library, so it has its own file format
- (see 'lino.c'), but it recognizes also the file formats used by
- XPK/XFH, EPU and Disk Expander.
-
- XLIN is an extended version of LINO. The only difference is, that XLIN has
- implemented the four compression libraries LIN1, LIN2, LIN3 and LIN4.
-
-
- Parameters
- (You get a list of parameters with Usg. LINO/XLIN without parameters or
- with '?' as parameter.)
-
- <file> Name of the file, that should be compressed (path should be
- included).
-
- -w Destination path/file, can be another device, of course.
- If source and destination is identical, lino will create a temporary
- file. So, if you have a crash during compressing/expanding, you are
- able to restore the original file.
-
- -s Suffix, will be added to the filename of the compressed file
- and removed, if you select expanding.
-
- -m Packing method. Short (4 letter) name of a packer. You may add the
- mode to the method (f.e.: ZENO.100).
-
- -e Efficiency/Mode, '0' means the worst compression ratio, but in most
- cases the compression will be fastest and the memory use is minimal.
- If you don't select a mode, you accept the default mode of the
- packer. See info about your packer (-i).
-
- -c Chunksize. A size smaller than 20 (Kb) will reduce compression ratio.
- A size higher than 60 maybe won't produce a ratio, that is
- significant higher, and needs much memory. But it differs from packer
- to packer. You should consider, that expanding will use the same
- chunksize as compressing.
- The default size is 32. If your input is '-1', lino will get the
- default size from your packer. See info about your packer (-i).
-
- -p Password, is any kind of text. It's evident, that you also need this
- password to expand your file!
-
- -z Minimal size of file, means that smaller files will not compressed.
- There are two reasons, why you should not reduce the default size
- of 250: At first, most of the compression algorithms need a minimum
- of bytes to work, at second, compressed files get a file header of
- 48 bytes.
-
- -y Taskpriority. You can accelerate compressing/expanding, if you don't
- have running other programs. If you are compressing in the
- background, you should select a value less than 0. A range from -50
- to +50 is allowed, default is -5.
-
- -l Errorlevel. An error with higher value will cause a break.
- If you pack a directory or device, you can take a higher
- value (range: -42 to +5, default: -17). See errorcodes in
- 'src/lino.c'.
-
- -b Overflow buffer. It could be safer to select 3 (largest) or 4 instead
- of default: 5.
-
-
- -u Expansion. Lino will always try to compress except you select '-u'.
-
- -h Hidden password entry. You will not see your entered password on the
- screen, but maybe your con-handler will show your entry, if you hit
- 'arrow up' key. Close your entry with key 'Return'.
-
- -x Executable files only. Will be recognized at the first longword.
-
- -d Data files only.
-
- -n No output anywhere.
-
- -o Output will directed to printer.
-
- -a All subdirectories are included. (Lino will create destination
- directories).
-
- -k Compression/Expansion speed is shown in kilobytes per second instead
- of bytes per second.
-
- -i Information about a packer. Use "-i -m PACK" as arguments.
-
- -t Time will be outputted, if you compress a whole directory or device.
- I used this to compare compression/expansion speed.
-
- -f If you use an encrypting library instead of a compressing library,
- it is possible, that destination/encrypted file is larger, than
- original file.
-
-
- Pattern matching: You can use the usual wild cards, also '*' instead
- of '#?', and '!' to negate the pattern.
-
- Abort program: You can abort lino between compressing/expanding
- two files with key 'SHFT' and left mouse button.
-
-
- Here are some examples:
-
- lino text -s .xp -m ZENO -c 60 -e 100
-
- will compress the file 'text', with the xpkZENO.library, a chunksize
- of 60, mode 100, add a suffix '.xp' to the name of the compressed
- file and save this file (text.xp) in the same directory.
-
- lino df0:back/!f#? -u -w dh0:tools/
-
- copy and expand all files whose filenames don't begin with a 'f'
- of the directory 'df0:back' into directory 'dh0:tools'
- (don't forget this: '/').
-
- lino -m lin1.50 -p Sirius picture1
-
- will compress the file 'picture1' with the lib 'lin1' and mode 50.
- For expanding you will need the password 'Sirius'.
-
-
-
-
- ______________________________________________________
- Programs, Applications, Authors/Copyrights, References
-
- XPK: Urban Dominik Mueller a.o. (Fish 754)
- NUKE: Urban Dominik Mueller
- BLZW: Bryan Ford
- FAST: Christian von Roques
-
- XFH: Kristian Nielsen
- EPU: Jaroslav Mechacek (V1.4: Fish 858)
- Disk Expander: Stefan Ossowski (is the professional successor of EPU)
- ABackup (Fish 838)
-
-
-