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

gfx/show/shim-src.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:C src+binary of shim, a CLI image viewer
Author:pegasosppc at earthlink.net
Uploader:pegasosppc earthlink net
Type:gfx/show
Version:1.0.1
Architecture:ppc-morphos
Url:http://home.earthlink.net/~pegasosppc
Date:2005-12-07
Download:http://aminet.net/gfx/show/shim-src.lha - View contents
Readme:http://aminet.net/gfx/show/shim-src.readme
Downloads:659

Copyright (C) 2005  Jeroen van Aart

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*********** End license notice ***********

Note: A precompiled version HAS been included. Compilation
should be straightforward. Check compile.readme, or run 
compile_shim.sh.

shim Is a simple command line utility to show graphical images
of various formats. It uses the SDL and SDL_image libraries. 
Use <shim -h> for more information, use <shim -v> to find out
version information. Alternatively check 
http://home.earthlink.net/~pegasosppc, there the shim source 
files can also be found. The author can be emailed at:
pegasosppc at earthlink.net

I have released this under the GPL so it may be useful for others,
for example to see how to write an SDL program, implement commandline 
arguments, to extend it etc. It is fairly simple, basic and straightforward.
Because of that some (obvious) things have not been done, or have been done 
differently.

Known issues: 

- There is no recursive directory scanning, the program stupidly
reports directories as files it can not display. I did not feel like fixing it.
And the program is quite right actually ;-)

- When used on morphos shim somehow doesn't seem to recognise morphos' shell's 
wildcard(#?) correctly. Again I did not feel like fixing it (I don't even 
know why it happens).


Enjoy ;-)

Version history

1.0 - Initial release
1.0.1 - Fixed continuous loop bug, happened with -as options and if all files
gave errors.



Contents of gfx/show/shim-src.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  257     421  61.0% -lh5- 4c50 Dec  6 03:11 compile.readme
[generic]                  135     200  67.5% -lh5- 1b6b Dec  6 03:14 compile_shim.sh
[generic]                 7015   18009  39.0% -lh5- e98e Nov 29 07:48 license
[generic]                15028   36528  41.1% -lh5- 853c Dec  6 03:15 shim
[generic]                 1207    2275  53.1% -lh5- ffe8 Dec  6 03:06 shim-src.readme
[generic]                 3109    8201  37.9% -lh5- c94c Nov 29 07:48 shim.c
[generic]                 1179    2674  44.1% -lh5- bbee Nov 29 07:48 shim_func.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files   27930   68308  40.9%            Dec  7 00:00

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