LHEX 40.15 LHA/LZH archive extraction Utility ============================================= Freely redistributable Changes: 40.15 96/02/03 jec Added prototypes for function pointers called in slide.c, so all files now compile "clean". 40.14 96/02/03 jec Missing '\n' in usage string caused mis-alignment. Fixed. 40.13 96/02/03 jec Changed lharc.c:open_old_archive() to recognize '.lha' extension. 40.12 96/02/03 jec Moved compiler options from Makefile to SCOPTIONS, added more options, turned on full optimization, and changed to use cres.o startup so lhex can be made resident - code size dropped over 5K! 40.11 96/02/03 jec Initial recompile. Improved amiga.c:chmod() to do ALL UNIX protection bits (group, other) as they are just ignored in early versions of OS, but supported by V39 and later. Added 'if (DOSBASE->lib_Version >= 39) SetOwner(...)' to amiga.c:chown.c to take advantage of UID/GID support in V39+. LHEX 40.10 Adds the "-f" and "-F" options. The "-f" option tells LHEX to overwrite existing files if possible, without asking (i.e they are overwritten if not protected against overwriting). The "-F" option tells LHEX to overwrite even files that are delete/write protected. This LHEX also adds the ability to specify destination directories in quotes (a feature requested by a developer of a dearchiver front end). To accomplish this, the -w option may now be followed by a space followed by the destination path. (eg. -w "Ram Disk:") LHEX 40.8 Just makes LHEX print help instead of error on "lhex ?" LHEX 40.7 Removes default behavior of using file attribute bits stored in the archive, and adds the -a option flag to specify that the file attribute bits should be applied to the extracted files. Default behavior is now to set the file attributes to rwed. The default behavior was changed because it was inappropriate for LhA archives which were created without the LhA -a option. NOTE - this means that if you have scripts or docs which specify the use of LHEX, and you want your archive's file attributes preserved, you must change your scripts/docs to use the -a option. Also new for LHEX 40.7 is the LHEX ] {xel[q]v[q]pt} archive_file [file...] commands (use one): -options: (may combine) x,e EXtract from archive q quiet l[q] List v verbose v[q] Verbose List n not execute p Print to STDOUT from archive a preserve file attributes t Test file CRC in archive i ignore directory path (x/e) f force (overwrite files without asking) F Force (overwrite files without asking, even if delete/write protected) w= specify extract directory (x/e) Input Redirection: LHEX