EZCOMP for DOS Version 2.0 Written by John McNamara MŽC's Place BBS (919) 891-1111 Dual Standard HST Home of the C programmer 7000+ Files Specializing in UNIX and DOS If your a "C" programmer for either UNIX or DOS and haven't visited MŽC's Place BBS, you have missed something special. Give us a call !! This program is released as FREEWARE. Which means its free to distribute, to anyone you want. However it is copyrighted and can not be changed, modified, renamed, dissasembled or in anyway reverse-engineered. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Files included in this Zip: ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ COMPRESS.EXE - Unix Compress for DOS, version 2.0 EZCOMP.DOC - Unix Compress for DOS Documentation FILE_ID.DIZ - EZCOMP 2.0 Description D.EXE - Dos "dir" replacement Compress typed by itself with no command line parameters produces the following help screen. Usage: compress [-dcVfvCn][-b maxbits] -d: Decompression is done instead. -c: Write output on stdout, don't remove original. -C generate output compatible with UNIX compress 2.0 -V: Print Current Version -n: No header info, only for processing OLD compress files -b: Limit Number of bits/code. (12 - 16) default is 16 bits -f: Forces Overwrite, even if file can't Be compressed -v: Write compression statistics (Verbose) file: Files to be compressed. If none specified, stdin is used. Outputs: file.Z: Compressed form of file with same mode, owner, and utimes or stdout (if stdin used as input) Assumptions: -When filenames are given, replaces with the compressed version (.Z suffix) only if the file decreases in size. -Filenames can NOT have an extention before compressing them. -Filenames WILL have a .Z extention before decompressing them. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ General Description ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Ezcomp is a fully unix compatible compress for dos. It uses flat memory address space for execution. (linear addressing) Ezcomp runs in 386 Protected mode and therefor requires a 386 or greater class machine to funtion properly. This document will not go into the usage of unix compress. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Sample Usage ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Due the filename limitation in dos 8x3 unix files loaded onto dos machines are usually chopped down. Most DOS BBS's will convert filenames from unix saomewhat in tis manner: UNIX: macfile.tar.Z -> DOS: MACFILE.TAZ Some DOS BBS's use a slightly different extention: .TZR .TZ but whatever the extention the method is the same. Uncompressing............. rename the file i.e. MACFILE.TAZ to MACFILE.Z and uncompress it with the following command line: compress -d macfile.Z OR compress -d macfile this will strip the .Z off the end of the file. Compressing............... rename the file i.e. MACFILE.TAR to MACFILE and uncompress it with the following command line: compress macfile this will add the the .Z extention to the file. You can use UNIX compatible tars to pipe in the compress at the same time. EZcomp converts stdin to binary mode to handle this and allows for redirection. If you have any questions, feel free to contact the author at MŽC's Place BBS. 919-891-1111 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ THANK YOUS ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ - To all my BETA testers who are too numerous to list here. - To all the folks who originally converted Compress for unix to the DOS arena and released the source into public domain. I have borrowed much from you. - This is also a free product, send NO money, if you want to say thank you spread this program around to as many BBS's as possible so others may beifit and call my BBS to check it out. ---------------------- Now for the legal stuff: EZCOMP (C) Copyright 1992 MŽC's Place BBS John W. McNamara All Rights Reserved These files are distributed under the Freeware concept. Please Do Not distribute modified versions without permission of the Author. Do Not remove this notice or any other copyright notice. ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ºÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͺ º DISCLAIMER º ºÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͺ ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ THIS PRODUCT IS LICENSED "AS IS" WITHOUT ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, PERFORMANCE, OR OTHERWISE. ALL WARRANTIES ARE EXPRESSLY DISCLAIMED. BY USING THE EZCOMP 2.0 PROGRAM YOU AGREE THAT JOHN MCNAMARA,WILL NOT BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY USE OF (OR INABILITY TO USE) OR PERFORMANCE OF THIS PROGRAMME, OR FOR ANY DAMAGES WHATSOEVER WHETHER BASED ON CONTRACT, TORT OR OTHERWISE. EVEN IF WE ARE NOTIFIED OF SUCH POSSIBILITY IN ADVANCE. You may not reverse-engineer, disassemble, modify, decompile or create derivative works of this programme. Piracy has been investigated by the FBI and prosecuted under federal statutes. Applicable law provides for damages and recovery of attorney's fees. Distribution of any MŽC's Place BBS Utilities in any medium without its accompanying documentation is an unauthorized modification. That is a theft of intellectual property. ---------------- ezcomp20.exe Copyright (c) 1992 John W. McNamara All Rights Reserved