AminetAminet
Search:
84708 packages online
About
Recent
Browse
Search
Upload
Setup
Services

gfx/show/ViewLHA.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:View a graphics file compressed with LhA
Author:matsp888 at 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
Date:2019-05-15
Download:http://aminet.net/gfx/show/ViewLHA.lha - View contents
Readme:http://aminet.net/gfx/show/ViewLHA.readme
Downloads:1362

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.


Contents of gfx/show/ViewLHA.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  271     632  42.9% -lh5- 135d Apr 14 09:53 ViewLHA.info
[generic]                 2260    5355  42.2% -lh5- 7140 May 15 11:33 ViewLHA/Changes
[generic]                  215     463  46.4% -lh5- 7847 Apr 14 09:53 ViewLHA/Changes.info
[generic]                  273     632  43.2% -lh5- 9c81 Apr 14 09:53 ViewLHA/Icons.info
[generic]                  264     524  50.4% -lh5- c4a9 Apr  7 20:41 ViewLHA/Icons/ANIM.info
[generic]                  244     506  48.2% -lh5- eddc Apr  7 07:02 ViewLHA/Icons/ILBM.info
[generic]                  357    1045  34.2% -lh5- ab1e Apr 14 01:59 ViewLHA/Install
[generic]                  282     632  44.6% -lh5- 3e17 Apr 14 09:53 ViewLHA/Install.info
[generic]                 1824    4169  43.8% -lh5- 0e24 Apr 15 06:01 ViewLHA/README
[generic]                  221     463  47.7% -lh5- f13a Apr 14 09:53 ViewLHA/README.info
[generic]                  275     632  43.5% -lh5- 11c6 Apr 14 09:53 ViewLHA/S.info
[generic]                  761    1936  39.3% -lh5- 3461 Apr 30 12:31 ViewLHA/S/ViewLHA-Sequence
[generic]                  279     833  33.5% -lh5- 6a36 Apr 11 03:56 ViewLHA/S/ViewLHA-Sequence.info
[generic]                  276     632  43.7% -lh5- 4641 Apr 14 09:53 ViewLHA/src.info
[generic]                   77     111  69.4% -lh5- 483e Apr 15 17:57 ViewLHA/src/build
[generic]                   71      94  75.5% -lh5- 9aae Apr 15 04:58 ViewLHA/src/bumprev
[generic]                  645    1427  45.2% -lh5- 38bd May 15 10:40 ViewLHA/src/conwin.c
[generic]                   72      91  79.1% -lh5- 92a3 May 10 10:32 ViewLHA/src/conwin.h
[generic]                 1455    4542  32.0% -lh5- 577a Apr 21 16:29 ViewLHA/src/file.c
[generic]                   99     123  80.5% -lh5- 681d Apr 16 17:12 ViewLHA/src/file.h
[generic]                  557    1440  38.7% -lh5- 6d83 Apr 10 10:03 ViewLHA/src/filelist.c
[generic]                  136     213  63.8% -lh5- 169e Apr  7 07:02 ViewLHA/src/filelist.h
[generic]                  803    2029  39.6% -lh5- 1678 Apr 16 17:13 ViewLHA/src/files.c
[generic]                   58      61  95.1% -lh5- 4f4d Apr  7 07:02 ViewLHA/src/files.h
[generic]                  725    2015  36.0% -lh5- dbd6 May 10 14:28 ViewLHA/src/init.c
[generic]                   65      75  86.7% -lh5- 6edd Apr  7 08:44 ViewLHA/src/init.h
[generic]                  313     774  40.4% -lh5- 34f6 May 10 10:32 ViewLHA/src/makefile
[generic]                  135     209  64.6% -lh5- ea2a Apr  7 07:02 ViewLHA/src/mystartup/makefile
[generic]                  350     756  46.3% -lh5- 2ac8 Apr  7 07:02 ViewLHA/src/mystartup/mystartup.c
[generic]                  154     226  68.1% -lh5- a155 Apr  7 07:02 ViewLHA/src/mystartup/mystartup.h
[generic]                  666    1727  38.6% -lh5- 1af2 Apr 15 04:21 ViewLHA/src/rdargs.c
[generic]                   68      85  80.0% -lh5- d632 Apr  8 21:58 ViewLHA/src/rdargs.h
[generic]                  126     163  77.3% -lh5- 973e Apr 11 02:54 ViewLHA/src/README
[generic]                  230     341  67.4% -lh5- 448d Apr  7 20:09 ViewLHA/src/util.c
[generic]                   59      61  96.7% -lh5- 2444 Apr  7 07:02 ViewLHA/src/util.h
[generic]                  151     177  85.3% -lh5- 4ccc Apr 15 06:26 ViewLHA/src/version.c
[generic]                  108     192  56.2% -lh5- 8524 Apr 15 17:44 ViewLHA/src/version.h
[generic]                  284     460  61.7% -lh5- b83f Apr 15 06:09 ViewLHA/src/viewlha.c
[generic]                  280     537  52.1% -lh5- 7249 Apr 21 16:29 ViewLHA/src/viewlha.h
[generic]                  113     194  58.2% -lh5- 11e4 May 15 10:31 ViewLHA/src/ViewLHA_rev.h
[generic]                    3       3 100.0% -lh0- c8c5 May 15 10:31 ViewLHA/src/ViewLHA_rev.rev
[generic]                  111     191  58.1% -lh5- 2157 May 15 10:31 ViewLHA/src/VLComp_rev.h
[generic]                    3       3 100.0% -lh0- c8c5 May 15 10:31 ViewLHA/src/VLComp_rev.rev
[generic]                  114     197  57.9% -lh5- 6e68 May 15 10:31 ViewLHA/src/VLDecomp_rev.h
[generic]                    3       3 100.0% -lh0- c8c5 May 15 10:31 ViewLHA/src/VLDecomp_rev.rev
[generic]                 4013    6916  58.0% -lh5- f0c4 May 15 11:35 ViewLHA/ViewLHA
[generic]                  294     534  55.1% -lh5- 0ceb Apr 14 14:23 ViewLHA/ViewLHA.info
[generic]                 4015    6916  58.1% -lh5- 4872 May 15 11:35 ViewLHA/VLComp
[generic]                  394     835  47.2% -lh5- 0da0 Apr 15 04:31 ViewLHA/VLComp.info
[generic]                 4016    6920  58.0% -lh5- 5e1a May 15 11:35 ViewLHA/VLDecomp
[generic]                  394     835  47.2% -lh5- 0da0 Apr 15 04:31 ViewLHA/VLDecomp.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        51 files   28962   59930  48.3%            May 15 09:53

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>