Short:    XPK in E V1.0
Author:   rodrigue@iles.siera.ups-tlse.fr (Frédéric RODRIGUES)
Type:     dev/e
Requires: kickstart 2+, E 2.1b+, XPK

$VER: xPKE 1.0 (18-3-97) © Frédéric RODRIGUES freeware
XPK Packing in E
$VER: xPipe 1.0 (18-3-97) © Frédéric RODRIGUES freeware
XPK type utility

WHAT IT IS
~~~~~~~~~~
My examples are based on xPack v1.5 by Matthias Scheler but are not the same.
I included the xpk modules which I compiled directly from asm includes of
util/pack/xpkDevelop.lha because modules from dev/e/xpk25Edev.lha cannot work
with E 2.1b and there is a bug. I corrected this and spread it to you.

xPKE is slightly different from the original xPack.c. It has the TARGET
option wich permits you to specify a directory to recieve the (Un)Packed
files. For the other options see the documentation of xPack.

However there is a small problem with the program. It's because there is a
bug on the MatchEnd() function of dos.library : you cannot change a file
while you examine it. There is the same problem with xPack.
ex:
1> xPKE df0: all method NUKE -> crashes
1> xPKE ram:#? -> crashes
1> xPKE df0:docs/mydoc.e ram:dummy env:var method NUKE -> works
1> xPKE df0: all TARGET ram: method NUKE -> works (the problem disappear
with the TARGET option)
There is another little problem : I was not able to get CTRLC-BREAK working
on (de)packing in the hook function. I don't understand why. I you know the
answer mail me and I will put it on the next version.

I included the xpk docs (© Urban Mueller). I hope he'll not be discontented
with this. (message to Urban : if you don't like this tell me). In this way
you have everything to work.

I included another example : xPipe wich is a type utility.

LEGAL STUFF
~~~~~~~~~~~
xPKE is declared freeware. This is intended for a learning use to
encourage programming of XPK in E. Do whatever you want with the files but
keep all files unchanged and together if you distribute it.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

HOW TO REACH ME ?
~~~~~~~~~~~~~~~~~
by email : rodrigue@iles.siera.ups-tlse.fr (IP 130.120.84.50)
by mail : Frédéric RODRIGUES
          4 allées Antonio Machado app 3009D
          31100 Toulouse

I would like you to inform me of your future works with XPK. Feel free to
contact me for information. I will be happy to help you.

Message to programmers:
I've tried to build a patcher for transparent XPK'ing. If you are able to
program a patcher like EPU, please send me some info.

Good programming !


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
   14417    4271 70.3% 26-Nov-96 22:03:22 +xpkmaster.doc
    7412    2576 65.2% 26-Nov-96 22:03:22 +xpksub.doc
    3080    1370 55.5% 20-Feb-97 11:53:48 +xpk.m
     588     323 45.0% 20-Feb-97 11:54:42 +xpksub.m
     125     104 16.8% 05-Mar-97 22:42:56 +xpk.m
     109      74 32.1% 17-Jan-96 00:15:40 +xpksub.m
    1188     810 31.8% 05-Mar-97 22:44:10 +xPipe
    5024    2407 52.0% 05-Mar-97 23:34:12 +xPKE
    3095    1580 48.9% 05-Mar-97 23:46:30 +XPK.doc
     855     460 46.1% 05-Mar-97 22:44:02 +xPipe.e
    6121    2108 65.5% 05-Mar-97 23:33:58 +xPKE.e
-------- ------- ----- --------- --------
   42014   16083 61.7% 28-Mar-97 22:59:26   11 files
