Short: View a graphics file compressed with LhA Author: matsp888@yahoo.com (Mats Peterson) Uploader: matsp888 yahoo com (Mats Peterson) Type: gfx/show Version: 1.10 Replaces: gfx/show/ViewLHA.lha Architecture: m68k-amigaos >= 2.0.4 Distribution: Aminet ViewLHA is a simple tool that lets you view a graphics file that has been compressed with LhA. The main reason for using an archive format like LHA, rather than a packer such as PowerPacker, is to retain the original file's timestamp. Apart from that, LhA compresses better than PowerPacker most of the time. The processing might be a bit slower, but I can live with that personally. Please note that this program is aimed at the IFF ILBM and IFF ANIM file formats, since their byte run encoding is relatively inefficient. It would be relatively easy to incorporate other file formats, but there's not much use since most of them use rather efficient compression methods. New in v1.10 ------------ - Now using the Intuition function GetScreenInfo() to make the size of the console window the same as the size of the Workbench screen, since there's really no point using less than the available screen estate for the text output. New in v1.9 ----------- - Forgot to compile VLComp and VLDecomp. Sorry. New in v1.8 ----------- - Small fix. New in v1.7 ----------- - Added CLOSE and WAIT to the console window specification. No more need to press Return to close the window. New in v1.6 ----------- - No need to use `setenv' to build the temporary directory name in S/ViewLHA-Sequence, since `execute' runs in the current process. Now using a local variable. New in v1.5 ----------- - In S/ViewLHA-Sequence, create a unique temporary directory in RAM:T with the process number attached to the directory name in order to allow multiple instances. New in v1.4 ----------- - Output from C programs to stderr didn't show up in the Workbench console window. Fixed. New in v1.3 ----------- - Increased the size of some buffers. New in v1.2 ----------- - Now using separate `VLComp' and `VLDecomp' programs for compression and decompression. The main reason is to be able to compress or decompress by using extended selection in Workbench. - Now assigning ViewLHA: to the ViewLHA directory in the `Install' command line sequence. It also adds ViewLHA: to the C: assignment rather than copying the binary files to C:. Finally it modifies S:User-Startup to make the changes permanent. - Now using ViewLHA:S/ViewLHA-Sequence rather than copying the file to S:. An icon has been added to it with the default tool set to Ed. - Being able to override the viewer defined in S/ViewLHA-Sequence is actually pretty useful. Removed the comment about the feature mostly being useful when testing different viewers in the README file. - Exit S/ViewLHA-Sequence if LhA gets interrupted by a CTRL-C. It was possible to overwrite the original file with an incomplete one. - New `ILBMViewerOpts' and `ANIMViewerOpts' settings in S/ViewLHA-Sequence. - Added a `VI' shorthand for the `VIEWER' keyword in the CLI. - Removed the `/NOSIZE' in the specification for the console window in Workbench. It's useful to be able to enlarge the window to see more text from the commands. - Added an icon to the `src' directory. New in v1.1 ----------- - Stressed the fact that the program is aimed at the IFF ILBM and IFF ANIM file formats. - Got rid of hard tab characters in the source code (a remnant from using the Aztec C `z' editor). - Modularization and cleanup of the source code. - Now including a version string in the binary file (searchable by the release 2 `version' command). - Now using the NDK 3.5 `BumpRev' tool to manage software revisions. - In S:ViewLHA-Sequence, the file is now renamed to a temporary name when viewing to cater for the rare case when the viewer (e.g. the precursor to Display, ViewILBM by Carolyn Scheppner, Fish disk #44) can't handle double quotes in the file name. - The program can now use separate viewers for IFF ILBM and IFF ANIM. See S:ViewLHA-Sequence. - In spite of PPShow being fast, the default IFF ILBM viewer in S:ViewLHA-Sequence has been changed to SYS:Utilities/Display. PPShow doesn't always recognize a CAMG chunk in an IFF ILBM file even if there is one. Probably because it (incorrectly) expects the chunk to be at a certain location in the file. - New tool types `FILETYPE', 'VIEWER' and `VIEWEROPTS'. - New command line keywords `FT=FILETYPE', 'VIEWER' and `VO=VIEWEROPTS'. New in v0.8 ----------- - Moved the source code to a `src' subdirectory. - A new `install' command sequence file simplifies the installation. - Now using a custom startup module, resulting in a much smaller program. - Now using the release 2 function ReadArgs() to get the command line arguments when run from the CLI. - Replaced Execute() with the release 2 function System() for the command sequence file execution. As opposed to Execute(), SystemTagList(), SystemTags() and System() let you send break signals to the launched program(s), for what it's worth. - Changed the delay during the display of the file name from 100 to 50 ticks (one second). That should be enough time to press Ctrl-C, should you want to break in the middle. - ViewLHA now handles compression and decompression as well. - A project icon is now added automatically when compressing. New in v0.7 ----------- - Check for AmigaOS >= 2.04. - Most of the errors returned from function calls are now non- critical; the program will proceeed with the next file if any. - Added "failat 30" at appropriate locations in the command sequence files. New in v0.6 ----------- - Various minor changes. New in v0.5 ----------- - Now supports multiple files, and wildcards when run from the CLI. - The file name is displayed during two seconds before processing a file. Mainly useful with extended selections in Workbench and when using wildcards in the CLI. - Removed the ">NIL:" on the LhA and viewer command lines in the command sequence files in order to display the output of the programs for diagnostic purposes. - A sample project icon is now included.