home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / ARCHIVE / HYPER25.ZIP / HYPER.REF < prev    next >
Encoding:
Text File  |  1990-09-29  |  8.7 KB  |  278 lines

  1. ┌───────────────────────────────────┐
  2. │ Hyper, a file compression utility ├──────────────────────────────────
  3. └───────────────────────────────────┘
  4.  
  5. ───────────────────┤ Files on the distribution disk ├──────────────────
  6.  
  7.   ■ Hyper.Exe  Compression/Uncompression program
  8.   ■ Hyper.Ref  Reference Guide for Hyper
  9.   ■ HypTV.Pas  a sample pascal source to view the contents of
  10.                an HYP Archive
  11.  
  12. ───────────────────┤ Purpose of Hyper, Terms and Conditions ├──────────
  13.  
  14. Hyper is a shareware utility written for compressing and archivating
  15. files. You are free to copy and distribute this Hyper-Package as long
  16. as you
  17.   ■ copy the whole package including all files listed above
  18.   ■ did not modify any of these files in any way
  19.   ■ charge no fee except for copying
  20.  
  21. You are free to use the program for any non-commercial purpose.
  22. If you want to use it on a commercial base, a registration of
  23. 30DM ($20 US) would be appreciated, please send check or money to
  24.  
  25.   Klaus Peter Nischke
  26.     Am Kuhlenweg 5, 4600 Dortmund 50, Germany
  27.  
  28.   Peter Sawatzki
  29.     Buchenhof 3, 5800 Hagen 1, Germany
  30.  
  31. If you plan to use compression algorithms within own programs,
  32. please write us, we will give you detailed information about
  33. source code license.
  34.  
  35.  
  36.  
  37. NO WARRANTY
  38.  
  39. THERE IS NO WARRANTY FOR THE PROGRAM. THE PROGRAM IS PROVIDED 'AS IS'
  40. WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
  41. BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  42. FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
  43. PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE ANY
  44. DEFECT, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
  45. CORRECTION.
  46.  
  47. IN NO EVENT WE WILL BE LIABLE TO YOU FOR DAMAGES, INCLUDE ANY GENERAL,
  48. SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
  49. OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  50. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
  51. THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  52. PROGRAMS).
  53.  
  54. ───────────────────────────────┤ Thanx ├───────────────────────────────
  55. Thanks to all betatesters:
  56.  
  57. Rob Hooft <HOOFT@HUTRUU54.BITNET>
  58. Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
  59. Fred Wiersma <SRONCH@HLERUL2>
  60. GUNNAR RADONS <S46@DHDURZ1>
  61. Maurizio Codogno <URCM@UR785.CSELT.STET.IT>
  62. Jan van 't Ent <VANTENT@HROEUR5>
  63. Baruch Even <NYEVENBA@WEIZMANN>
  64. Sergio Martino <MARTINO@IBACSATA>
  65. Juergen Kreuels <CRH001@DJUKFA11>
  66. Ollivier ROBERT <p7mai016@frcirp81>
  67.  
  68. ────────────────────┤ Compressing files with Hyper ├───────────────────
  69.  
  70. To compress files with Hyper you may use the following command format:
  71.  
  72.   Hyper [options] HYPFILE [files]
  73.  
  74. where
  75.  
  76.   ■ HYPFILE is the name of the archive file where you want to store
  77.     the compressed data, if no extension specified, .HYP is assumed
  78.  
  79.   ■ [files] is an optional list of files to store in the HYPFILE.
  80.     Wildcards * and ? are ok.
  81.     If no [files] are specified, ALL files are stored by default.
  82.  
  83.   ■ [options] are one of the following letter commands
  84.  
  85.     -a add files to archive
  86.     -m move files to archive
  87.     -u update files in archive
  88.     -f freshen files in archive
  89.  
  90.     plus (optional) one or more of the following letter commands
  91.  
  92.     -r recurse subdirectories
  93.     -p store path information specified and recursed into
  94.  
  95.     BTW: options may be specified anywhere at the command line.
  96.  
  97. Some examples:
  98.  
  99.   ■ Hyper -a PIZZA
  100.       --> compress all files in the current directory in the
  101.           archive PIZZA.HYP
  102.  
  103.   ■ Hyper -ar PIZZA *.pas
  104.       --> compress all .PAS files in the current directory and the .PAS
  105.           files in all subdirectories. No path information will be stored.
  106.  
  107.   ■ Hyper -arp PIZZA \PAS\*.* \C\*.*
  108.       --> compress all files in directory \PAS and directory \C
  109.           and all files in subdirectories. The path information
  110.           will be stored.
  111.  
  112.   ■ Hyper -m PIZZA
  113.       --> compress all files in the current directory in the
  114.           archive PIZZA.HYP, then delete the original files
  115.  
  116.   ■ Hyper -f PIZZA
  117.       --> compress all most recent files
  118.  
  119.   ■ Hyper -u PIZZA
  120.       --> compress all recent and most recent files
  121.  
  122.  
  123.  
  124. ───────────────────┤ DeCompressing files with Hyper ├──────────────────
  125.  
  126.  
  127. To decompress files with Hyper you may use the following command format:
  128.  
  129.   Hyper [options] HYPFILE [directory] [files]
  130.  
  131. where
  132.  
  133.   ■ HYPFILE is the name of the archive file where from you want to
  134.     restore the compressed files.  Wildcards *,? are ok.
  135.     If no extension specified, .HYP is assumed.
  136.  
  137.   ■ [directory] is the name of a directory to extract files into.
  138.     If no directory is specified, the current directory will be used by
  139.     default
  140.  
  141.   ■ [files] is an optional list of files to restore from the HYPFILE.
  142.     Wildcards * and ? are ok.
  143.     If no [files] are specified, ALL files will be restored by default.
  144.  
  145.   ■ [options] are one of the following letter commands
  146.  
  147.     -x extract files from archive
  148.     -p restore path information
  149.  
  150.     you may omit the -x option, it's used by default if none of
  151.     the -a, -m, -v, -d, -f or -u options are specified.
  152.  
  153. Some examples:
  154.  
  155.   ■ Hyper -x PIZZA
  156.       --> extract all files from the archive PIZZA.HYP to the
  157.           current directory.
  158.  
  159.   ■ Hyper PIZZA *.PAS
  160.       --> extract all .PAS files from the archive PIZZA.HYP
  161.           to the current directory
  162.  
  163.   ■ Hyper -xp PIZZA *.PAS
  164.       --> extract all .PAS files from the archive PIZZA.HYP
  165.           to the current directory and reconstruct pathnames
  166.  
  167.   ■ Hyper -x PIZZA \PAS *.PAS
  168.       --> extract all .PAS files from the archive PIZZA.HYP
  169.           to directory \PAS
  170.  
  171.  
  172. ─────────────────────┤ List files in archive ├────────────────────
  173.  
  174. To view the contents of an HYP archive you may use the following command
  175. format:
  176.  
  177.   Hyper -v HYPFILE [files]
  178.  
  179. where
  180.  
  181.   ■ HYPFILE is the name of the HYP archive you intend to list.
  182.     Wildcards *,? are ok.
  183.     If no extension specified, .HYP is assumed.
  184.  
  185.   ■ [files] is an optional list of files to list.
  186.     Wildcards * and ? are ok.
  187.     If no [files] are specified, ALL files are listed by default.
  188.  
  189. Example
  190.   ■ Hyper -v Test
  191.       --> list contents of TEST.HYP
  192.  
  193. ─────────────────────┤ delete files from archive ├────────────────────
  194.  
  195. To delete files from an HYP archive you may use the following command
  196. format:
  197.  
  198.   Hyper -d HYPFILE [files]
  199.  
  200. where
  201.  
  202.   ■ HYPFILE is the name of the HYP archive you intend to delete files from.
  203.     If no extension specified, .HYP is assumed.
  204.  
  205.   ■ [files] is a list of files to delete from the archive.
  206.     Wildcards * and ? are ok.
  207.  
  208. Example
  209.   ■ Hyper -d Test *.pas
  210.       --> delete all .PAS files from TEST.HYP
  211.  
  212.  
  213. ──────────────────┤ creating selfextracting archives ├─────────────────
  214.  
  215. To create selfextracting archives, you may use the following
  216. DOS command
  217.  
  218.   Copy /b Hyper.EXE+HYPFILE.HYP HYPEXE.EXE
  219.  
  220. where
  221.  
  222.   ■ HYPFILE.HYP is the name of your HYP archive
  223.  
  224.   ■ Hyper.Exe is the Hyper program
  225.  
  226.   ■ HYPEXE.EXE is the resulting selfextracting archive
  227.  
  228. Example
  229.   ■ copy /b Hyper.Exe+PIZZA.HYP PIZZA.EXE
  230.       --> make a selfextracting archive PIZZA.EXE from PIZZA.HYP.
  231.  
  232. All commands can be used with selfextracting HYP files. For example
  233. you can add files to a selfextracting HYP file by typing
  234.  
  235.   ■ Hyper -a PIZZA.EXE *.CAT
  236.  
  237. or
  238.  
  239.   ■ PIZZA -a *.C
  240.      (assuming that PIZZA.EXE is a previously generated HYP-EXE)
  241.  
  242. You can use PIZZA -v to display the contents of PIZZA.EXE.
  243. You can even reconstruct Hyper.EXE from PIZZA.EXE by simply
  244. typing
  245.  
  246.   ■ PIZZA -d *.*
  247.     REN PIZZA.EXE HYPER.EXE
  248.  
  249.  
  250.  
  251. ───────────────────────┤ archive format ├──────────────────────────
  252.  
  253. An HYP archive consists of one or more records of the following
  254. kind:
  255.  
  256.      Archive = Record {-Definition of the Hyper Archive}
  257.                  CtrlZ : Char;        {Ctrl-Z}
  258.                  id : CompressionId;  {'HP'=compressed, 'ST'=stored}
  259.                  Version : Byte;      {$25}
  260.                  ArchiveSize,         {Size of compressed data}
  261.                  OriginSize,          {Size of origin file}
  262.                  FDateTime,           {Date and Time of origin file}
  263.                  ChkSum: LongInt;     {CheckSum of origin data file}
  264.                  FAttr : Byte;        {Attributes of origin file}
  265.                  FName: String;       {dynamic!}
  266.                  Data: Array[1..ArchiveSize] Of Byte;
  267.               End;
  268.  
  269. ----------------------------------------------------------------------
  270.  
  271.   Peter Sawatzki <IN307@DHAFEU11.BITNET>
  272.     Buchenhof 3, 5800 Hagen 1, Germany
  273.  
  274.   Klaus Peter Nischke
  275.     Am Kuhlenweg 5, 4600 Dortmund 50, Germany
  276.  
  277. ----------------------------------------------------------------------
  278.