home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Amiga Game Guide
/
AmigaGameGuide_CD.iso
/
PC
/
Tools
/
chunker
/
chunker.doc
< prev
next >
Wrap
Text File
|
1977-12-31
|
11KB
|
316 lines
______________ ______________
/ / /_/_/_/_/_/_/_/ Chunker 1.7 <--> DeChunk 1.7
/ / /_/_/_/_/_/_/_/
/ / /_/_/_/_/_/_/_/ A portable method of splitting
/ / <-> /_/_/_/_/_/_/_/ and joining files.
/ / /_/_/_/_/_/_/_/
/_____________/ /_/_/_/_/_/_/_/ Copyright ©1996 Lee Kindness.
Chunker:
Compiled Thursday 18 April 1996 11:59:26
Amiga Exe size 4432 bytes
Amiga 1.3 size 9780 bytes
MSDOS Exe size 13412 bytes
Version Chunker 1.7 (18/04/96)
DeChunk:
Compiled Thursday 18 April 1996 11:59:12
Amiga Exe size 4308 bytes
Amiga 1.3 size 9680 bytes
MSDOS Exe size 13261 bytes
Version DeChunk 1.7 (18/04/96)
Distribution built Thursday 18 April 1996 12:13:57
LEGAL
-=====-
Disclaimer
~~~~~~~~~~
I hereby reject any liability or responsibility for these or any
other consequences from the use of Chunker whatsoever. This includes,
but is not limited to, damage to your equipment, to your data,
personal injuries, financial loss or any other kinds of side effects.
Although Chunker has been tested thoroughly on several different
machines, I cannot rule out the possibility that Chunker:
1. is somehow incompatible to your equipment
2. has bugs that show up on your equipment
3. does not do what it is supposed to do on your equipment
4. May damage you equipment
It is your responsibility to take any precautions necessary to
protect yourself from these or any other effects. I explicitly
reject any liability or responsibility from the consequences of you
using Chunker
Distribution
~~~~~~~~~~~~
Chunker may be freely distributed and copied, as long as the following
conditions are fulfilled:
1. All parts of the program and the documentation must be complete.
The distribution of single parts or incomplete subsets of the
original distribution is forbidden.
2. If Chunker is to be included in a commercial distribution (including
magazines!) then I must be sent a copy of the product (or if it is a
mag that I am subscribed to then an increase in subscription). It
would be better if you contacted me beforehand to ensure you have the
latest version. In any case full credit must be given within the
magazine (ie mention my name).
3. If the included source code is used in another program then credit
must be given in the documentation.
Note To Magazines
~~~~~~~~~~~~~~~~~
In the past I have had some of my programs included on magazine coverdisks
without my permission when in the documentation it was stated that this
was required... I want my programs on coverdisks but you _MUST_ read and
fufil the "Distribution" section above. If you disagree then contact me
or write a message in the AMIGA_MAGS echo...
COMPILATION
-===========-
This archive includes versions of Chunker and DeChunk for the Amiga (chunker
and dechunk for 2.0 and higher, chunker13 and dechunk13 for 1.2 and higher)
and MSDOS (CHUNKER.EXE and DECHUNK.EXE). The ANSI C source code is included
in the source drawer. This source should complile with all ANSI C compilers.
To compile the unix version simply type 'make' in the source directory. The
makefile does the following:
CC -O2 -o chunker chunker.c machine.c bfn.c
CC -O2 -o dechunk dechunk.c machine.c bfn.c
### ##########
| \
turns | \ specifies the name of the compiled program
on level to create.
2 optimisation
By default the (Unix) makefile uses the "CC" compiler - you may wish to
change this to "gcc" for example, see the makefile for more info
USAGE
-=====-
Chunker is used to split a file up into smaller pieces. It expects the
following arguments:
chunker <file> <basename> <size>
file: Name of the file to split.
basename: The created split files will have this as their base name. For
example if you had "ding" as basename then the created files would
be:
ding.000
ding.001
:
:
ding.XXX
Note that the XXX part is a 3 part hexadecimal number.
size: Size (in bytes) of the created chunks.
For example:
chunker bigfile.gz bigfile 716800
would split the file 'bigfile.gz' into 700k chunks with a basname of
'bigfile'.
DeChunk will reassemble the chunks output by Chunker into the original
file. It expects the following arguments:
dechunk <outputfile> <basename>
outputfile: Name of the file to create.
basename: The basename of the split files. For example if the first of the
split files is called "ding.000" then use "ding". This should be the
same as you passed as basename to Chunker.
NOTE the Amiga join or Unix cat commands could be used rather than dechunk,
if you're a masochist that is ;)
NOTE that the amiga 2.0 version accepts arguments in the normal ReadArgs
format, just type 'chunker ?' and 'dechunk ?' for the template. The
Amiga versions are also pure and reentrant, and as such can be made
resident.
CONTACT
-=======-
Means of contact, as of Thursday 18 April 1996
Mail:
Lee Kindness
8 Craigmarn Road
Portlethen Village
Aberdeen AB1 4QR
SCOTLAND
EMail:
cs2lk@scms.rgu.ac.uk
wangi@frost3.demon.co.uk
wangi@spuddy.mew.co.uk
wangi@fido.zetnet.co.uk
:
:
Please use cs2lk@scms.rgu.ac.uk
Fidonet:
2:259/15.46
2:250/366.34
Amiganet:
39:138/40.34
And why not have a look at my web page:
http://www.scms.rgu.ac.uk/students/cs_yr94/lk
It has a wide range of Amiga and Fidonet links...
The initial concept and code for Chunker was by Evan Tuer. You can email
Evan at alienz@freenet.hut.fi. Of course he also came up with the name...
LATEST VERSION
-==============-
The latest version of Chunker can always be found on:
_____
/_____)
/(___________________________________
/ _____________ ___________________ )
/ / / (_ \/ +44-(0)1484-842341
(__) r o s t / ___) r e e
\ / / Fidonet --- 2:250/366
\ \/ A m i g a B B S Amiganet -- 39:138/40
\
\-> Sysop Dave Naylor
\-> Using Zeus BBS software!
\-> The biggest UK Amiga BBS
\-> Points welcome
\-> Email!
\-> 24 hours a day in sunny Yorkshire!
And the Chaos Engine BBS, 2:259/15 - 01346-510727
Chunker will be in the WANGI file area or you can freq it using the
magic filename CHUNKER.
VERSION HISTORY
-===============-
1.0 : 04.11.95
+ Original version
1.1 : 05.11.95
+ Full documentation added.
1.2 : 10.11.95
+ Added lots of conditional coding... Amiga exe size is now 2.5k
compared to 12k !!
+ Amiga version now accepts readarg arguments.
+ Chunker and dechunk Amiga versions are now pure, they can
be made resident.
+ Actually compiled the MSDOS versions... by heck they are
over 15k in size!
1.2b
1.3 : 14.11.95
+ Unix compilation would fail. A #endif was missing from version.h
+ Improved and fixed Unix makefile.
1.4 : 18.02.96
+ Massive speed increase with the Amiga version! About 374% faster!!
Thanks to Asyncio!
1.5 : 20.02.96
+ Chunker and dechunk would crash if run with wb 1.2,1.3. Fixed this
and the 1.2 compatable Amiga versions are now also included in the
archive
1.6 : 01.04.96
+ Minor compilation changes.
+ Fixed minor bug in Unix makefile
+ Fixed problem with segmentation fault on Unix if no args are given
(Thnaks to Oliver Roberts for pointing out the 2 bugs above)
1.7 : 18.04.96
+ "\n" was missing from the usage information on the DOS/Unix/Ami1.3
version.
+ Slight changes to code - m#?() changes to OS_#?() (machine.h)
+ makefile had "gcc" as the default compiler rather than "CC"
+ MSDOS versions compiled (first time since the last time ;)
OTHER PROGRAMS
-==============-
List of programs by Lee Kindness. Note this is only the programs that i have
done, it is not everything i have uploaded to Aminet. The version numbers,
dates and archive sizes given below are, more than likely, out of date as
you read this...
FindXXX.lha comm/fido 9K 5+Comprehensive Nodelist searching utility
FindXXXSrc.lha comm/fido 9K 5+Source for nodelist searching utility
GFindXXX.lha comm/fido 9K 5+Comprehensive (Gotcha) Nodelist searchin
GFindXXXSrc.lha comm/fido 8K 5+Source for (Gotcha) nodelist searching u
GMulti.lha comm/fido 17K 1+1.0 Gives multiline node support (for po
NLFind.lha comm/fido 16K 1+1.4 Gives multiline node support (for po
SFPatch.lha dev/c 8K 36+How to SetFunction()/Patch library funct
Umentiler.lha dev/misc 28K 1+1.208 Document Compiler (plus SAS/C sour
Jiggler.lha game/gag 9K 47 Windows move toward mouse pointer.
Acechan.lha misc/math 11K 32+Makes random spread data??? Pascal sourc
DQua.lha misc/math 13K 59+1.2 Simple quadratic solver.
MacCash.lha misc/misc 15K 22+1.3 Gen. UK Lott. Forms. Also stat. Anal
RARS_Ami_2lite.lha misc/sci 55K 41+RARS_Amiga for 020+ and no fpu
DefDTIcon.lha pix/icon 41K 59+1.7 Default icons, based on files dataty
AmigaGuidePref.lha text/hyper 19K 59+36.144 Preferences for Amigaguide system
RubbDump.lha util/app 195K 52+V1.1 Replacement trashcan. With sound.
WanDiArc_lsk.lha util/arc 3K 47 Archive support for WangiPad 1.15
NewEXT.lha util/batch 10K 57+1.4 Change file extensions.. in batches.
CaBoom.lha util/boot 9K 22+Windows explode on opening/closing
CaBoomSrc.lha util/boot 8K 22+Source for CaBoom
SlowBoot18.lha util/boot 9K 13+1.18 If you HD dosen't boot from cold ge
SlowBootSrc18.lha util/boot 4K 13+Source for SlowBoot 1.18
Startup-Menu.lha util/boot 120K 57+V1.41 Cumstomisable startup menu and uti
YourFault.lha util/boot 20K 32+1.4 Replace system error strings - fun!,
YourFaultSrc.lha util/boot 6K 32+Source for YourFault 1.4
YourFaultStr.lha util/boot 17K 32+Error files for YourFault, Standard Loca
Bush.lha util/cli 10K 59+1.4 Shows directory tree structures.
Erase.lha util/cli 9K 22+1.1 Deletes a file so that it can't be r
chunker.lha util/misc 36K 10+1.2b Split+Join files! Ami/MSDOS/Unix (C
DiceRoll.lha util/misc 6K 53+Emmulates dice throws - generate rand nu
naegrey_101.lha util/misc 9K 40+Remove grey screen border. WB2+ OS frien
Publican.lha util/misc 11K 44+Public screen support utility.
MidMoose.lha util/mouse 3K 32+2.0 Emulates mid mouse button via a key
shrub_114.lha util/wb 21K 39+V1.14 Shows directory trees, WB GUI.
WangiPad.lha util/wb 53K 45+1.16 BEST Tool launcher, readme please
-- Wangi!
Lee Kindness cs2lk@scms.rgu.ac.uk wangi@frost3.demon.co.uk
Team TRUMPET! http://www.scms.rgu.ac.uk/students/cs_yr94/lk