BeHA compressor
Versión 1.00 (1.00.005, June 2000)
BeHA program and its manual are copyright © 2000 of Industrias O.S.G.. All rights reserved.
Based on HA program (version 0.999ß), copyright © 1995 of Harri Hirvola. All rights reserved.
User manual
Compatison with other BeOS compressores
Legal comentaries and gratitudes
Final comentaries and contact information
BeHA is a freeware compressor designed to handle the HA compressed archives under BeOS operating system. Is a terminal executable for BeOS R4 or upper on x86 platforms (Intel, AMD...). BeHA is a conversion of the public use program HA, created by me for my compressors comparison, because I found free the source code and none compressor of this format for the BeOS operating system.
BeHA is under the GNU General Public License or GNU/GPL. This mean that IT HASN'T ANY TYPE WARRANTY, that its distribution ITS FREE and OPEN, and that the SOURCE CODE is AVAILABLE to anyone that wants to use it (under e-mail request).
BeHA handle HA archives compatibles with version 0.999ß of the HA compressor, in Linux or DOS versions, or in versions baseds on its source code.
Contents | Commands | Modificators
BeHA <command and modificators> <archive> <files to compress>
The command must be before any modificator.
The archive doesn't require the extension. It mean that to create the archive "test.ha", is enough to write "test".
The files to compress with spaces must be under quotes:
"/Long Name/*"
BeHA use the BeOS nomenclature:
'*' mean all files.
'*.*' mean all files that have a dot in the name.
Contents | Command line syntax | Modificators
ID |
Description | Compatible modificators |
Add | s, d, q, e, m, r, 0, 1, 2 | |
Delete | q | |
Extract | a, q, t, y | |
Fresh | s, d, q, e,
m, r, 0, 1, 2 |
|
List | f | |
Test | q | |
Update | s, d, q, e,
m, r, 0, 1, 2 |
|
eXtract with full paths | a, q, t, y |
Contents | Command line syntax | Commands | Modificators
This command lets you to add file to the archive.
Example:
BeHA a archive subdir\*
compress all files in the directoryo "subdir".
Compatible modificators: s, d, q, e, m, r, 0, 1, 2
Contents | Command line syntax | Commands | Modificators
This command lets you to delete files from archive. These files are physically deleted from archive.
Example:
BeHA
d archive *.bak
delete all file with ".bak" extension.
Compatible modificators: q
Contents | Command line syntax | Commands | Modificators
This command extract one or more file from archive to the current directory. BeHA asks the user before overwrite files except if the "y" modificator has been specified.
BeHA accept the following answers:
· "Yes"
· "No"
· "All" or asume YES to ALL questions of the same type.
Example:
BeHA e archive *.cpp
extract all files that ends on ".cpp".
See also: x
Compatible modificators: a, q, t, y
Contents | Command line syntax | Commands | Modificators
Update the old files with the newer files.
Example:
BeHA f
archive *.doc
update all files that ends on ".cpp" with the newer versions.
Compatible modificators: s, d, q, e, m, r, 0, 1, 2
Contents | Command line syntax | Commands | Modificators
Example:
BeHA lf archive *.txt
list all files that ends on ".txt" with all the information about these.
Compatible modificators: f
Contents | Command line syntax | Commands | Modificators
Test the integrity of the files using a 32-bit CRC.
Example:
BeHA t
archive *.doc
test all files that ends in ".doc".
Compatible modificators: q
Contents | Command line syntax | Commands | Modificators
Update the files of the archive with other with the same name.
Example:
BeHA u
archive *.doc
substitue all files that end in ".doc" of the archive with these that have the same name.
Compatible modificators: s, d, q, e, m, r, 0, 1, 2
x: eXtract files with full path
Contents | Command line syntax | Commands | Modificators
This command extract one or more file from archive to the current directory with their full path. BeHA asks the user before overwrite files except if the "y" modificator has been specified.
BeHA accept the following answers:
· "Yes"
· "No"
· "All" or asume YES to ALL questions of the same type.
Example:
BeHA e archive *.cpp
extract all files that ends on ".cpp" with their full path.
See also: e
Compatible modificators: a, q, t, y
Modificators:
Contents | Command line syntax | Commands
ID |
Description |
Test methods 0 (copy without compress), 1 (ASC) or 2 (HSC). They can be combined. | |
Asume "yes" as answer to all questions. | |
Touch the files on extract, establishing the date and time to the machine's actual date and time. | |
Recurse directories searching the files to compress. | |
Full list of the saved information about the files. | |
Move the files on compress. Delete they of the disk when are succesfully compressed. | |
Establish the system specific attributes on extract. | |
Find the special files on compress. | |
Doesn't save path information. | |
Quiet operation. | |
Make separate entrie for directories, saving on the archive information about empty directories, the attributes, etc... |
Comparison with other BeOS compressors:
This comparison of
power and speed are from my compressors comparison, FCT (File Compression Test), a comparison of compressors of BeOS,
Macintosh, MS-DOS, Linux and Windows that can be found in my web page.
Text files 4.460.946 bytes | Compressed | Time |
BeHA (ASC method) |
1.125.685 25,23% | 41,99 seconds |
BeHA (HSC method) |
889.675 20,17% | 59,82 seconds |
InfoZIP |
1.143.464 25,63% | 16,43 seconds |
RAR |
986.812 22,12% | 32,26 seconds |
Executable files
7.306.765 bytes |
Compressed | Time |
BeHA (ASC method) |
3.450.022
47,22% |
76,76 seconds |
BeHA (HSC method) |
3.344.049 45,77% |
296,86 seconds |
InfoZIP |
3.494.759
47,83% |
29,53 seconds |
RAR |
3.191.165
43,67% |
57,59 seconds |
Various files
5.409.723 bytes |
Compressed | Time |
BeHA (ASC method) |
2.283.234
42,21% |
60,20 seconds |
BeHA (HSC method) |
2.303.687 42,58% |
192,48 seconds |
InfoZIP |
2.379.361
43,98% |
19,96 seconds |
RAR |
2.197.851
40,63% |
40,85 seconds |
What BeHA doesn't have?:
BeHA is
simply a recompilation on BeOS of the HA compressor, so it doesn't have some
"details" that HA doesn't have or that any BeOS compressor must have:
· Icon - I don't know how to put icons on the BeOS programs :-).
· Fastest and more efficient compression methods - HA doesn't have these.
· An archive format more complete and enlargeable - The HA format is too simple.
· Save BeOS system specific data - I don't know how are these.
· Password protection - HA doesn't have it.
· VMultiple volumes - HA doesn't have it.
· A module to create self-extractable archive - HA doesn't have it.
·
A version to the PowerPC BeOS (BeOS/PPC) - I don't have it and I
can't compile it from the x86 BeOS (BeOS/x86).
For most of these things I need help, so I solicite help to anyone that wants to help me to convert the HA format in almost as common as RAR or ARJ :-)
System requirements:
BeHA has been compiled on a 200Mhz Pentium with BeOS R5 Personal Edition, and must be compatible with any machine that meet the system requirements of the BeOS/x86 system that have BeOS R4 or upper. If any incompatibility was found I will thank all the details about the fail to try to find a solution..
BeHA availability:
The new version of BeHA can be found in the Industrias O.S.G. web page. Also is available an information system about the new versions that must be requested with an empty e-amil to 636976463@correo.movistar.net putting as subject "BeHA mailing list".
Legal comentaries and gatitudes:
I want to thank to Harri Hirvola to do HA under the GNU/GPL, although it was on a very green status. I want also to than to Be Inc. that they make free a version of BeOS and its compatibility with the Linux programs source code.
· BeHA and FCT are products property of Industrias O.S.G.. Copyright © 2000.
·
Industrias
O.S.G. is a company property of Guillermo Muñoz Portillo
(a.k.a. William Portillo). Copyright © 1995
·
HA is
a product property of Harri Hirvola. Copyright © 1995
·
BeOS,
BeOS/x86 y BeOS/PPC are trademarks of Be Inc.
· Intel and Pentium are trademarks of Intel Corp.
· Macintosh is a trademark of Apple Computer Inc.
· MS-DOS and Windows are trademarks of Microsoft Corp.
· Linux is a trademark of Linus Torvalds.
· PowerPC is a trademark of International Bussines Machines.
· RAR is a trademark of Eugene Roshal.
· ARJ is a trademark of ARJ Software.
· InfoZIP is a trademark of InfoZIP Group.
· Other products named in this document are property of their own creators without explicit mention of this.
Final comentaries and contact information:
I hope that this product can be useful for you. Any colaboration or suggestion about the development of this product will be thanked. Please, if you found any error in the program let me know it with all the details.
Web page: http://www.geocities.com/i_osg/
E-mail: iosglpgc@teleline.es
GSM movil phone: + 34 636 97 64 63
20th June 2000.
William Portillo, Industrias O.S.G.
For a more easy
computer usage.