doc@s.cc.purdue.edu (Craig Norborg) (06/18/87)
This is a repost of the shortest IFF veiwer to be found. It looks like it was dropped when we changed our newsfeeds. Enjoy! # This is a shell archive. # Remove everything above and including the cut line. # Then run the rest of the file through sh. #----cut here-----cut here-----cut here-----cut here----# #!/bin/sh # shar: Shell Archiver # Run the following text with /bin/sh to create: # ReadMe # ushow.uu # This archive created: Thu Jun 11 01:21:37 1987 # By: Craig Norborg (Purdue University Computing Center) cat << \SHAR_EOF > ReadMe You asked for it, you got it. The only non-defective IFF viewer I have ever seen. (The others all hog the processor while displaying the pictures) It's a bit short on error messages (not even passing them for the dos WHY command), but it's also a short program; 996 bytes. -Bryce uShow (microShow) version 1.0 - Copyright (c) 1987 Darrin Massena Usage: uShow [file name] To close picture, press any key. If you don't want any key to exit, then click on the invisible drag bar. To exit press the invisible close gadget. While working on the latest, greatest Mantis Development creation, I came upon the need for extremely short IFF picture read routines. It occurred to me that we can always use a shorter "Show" utility, so I whipped together - "uShow (or microShow) the less-than 1K IFF show utility" uShow is about half the size of this document file. Yes, it's true! uShow has been tested to work with IFF pictures from DPaint, DPaint II, Aegis Images, DigiView, and Amiga Live. DPaint I/II brushes are also displayed. A few limitations were imposed on uShow to keep it smallest: 1) uShow handles all error conditions but does not report the errors back to you. If uShow cannot find your file or cannot allocate screen memory, it will simply return to you without displaying the picture. 2) uShow cannot show pictures larger than your screen size (about 704x420). 3) uShow does not need quotes (") around filenames with spaces in them. To display the file "Spaces In Name.pic", just type "uShow Spaces In Name.pic". For a copy (on Amiga 3.5" disk) of the assembly language source to uShow, along with a set of more general purpose (but equally short) assembly language IFF ILBM read routines in Manx Assembler format, just send a meager $15 to: Mantis Development attn: Darrin Massena P.O. Box 4001 Bellevue, WA 98008 uShow is NOT public domain, but is freely redistributable by anyone so long as no profit is made through the redistribution. Give uShow to all your friends, include it in all software collections, just don't do anything stupid like trying to sell it. Who'd pay for this anyway? Darrin Massena, Mantis Development SHAR_EOF cat << \SHAR_EOF > ushow.uu begin 777 uShow M```#\P`````````#``````````(```"V````*`````$```/I````MBA\``!_? M_DY5_ZPD2%-`-`!G``*N+'@`!$/L@(YP`$ZN_=@I0(".0^R`<'``3J[]V"E`\ M@)9#[(!\<`!.KOW8*4"`DA`R(/^P/``@9@)30D(R(``B"B0\```#[2QL@)9.S MKO_B2H!G``(4*4"`9D'L@'QV#$ZZ`E`,K$9/4DV`?&8``?H,K$E,0DV`A&8`Y M`>Y![(!\=@A.N@(N("R`?+"\0DU(1&8,0>W_['843KH"&&#>L+Q#34%09CHHG M+("`B/P``SE$@'!31$?M_ZQV`T'L@(%.N@'R,BR`@.E)@BR`@NE)@BR`@^A), M-L%1S/_B4BR`C&"<L+Q#04U'9A)![("$=@1.N@'".6R`AH`T8(*PO$)/1%EGO M%B(L@&8D+("`=@`L;("63J[_OF``_V8N+("`1^W_[$'L@"@Q4P`$,6L``@`&V M$6L`"``)#%,!]&\&`&B````,#&L!+``";P8`:``$``P6*P`*MCP``FP``1`L% M;("23J[_.DJ`9P`!`BE`@#A![(!`(4``'DZN_S1*@&<``.PI0(!22BR`C&<8\ M(&R`.$'H`"Q#[?^L,"R`<"QL@(Y.KO]`(`=R`"QX``1.KO\Z2H!G``"X*4"`I MB"!`)@=.N@#V)&R`.$WJ`,!%Z@"X/!(@;("(."L``E-$=@!Z`!HK``@D3E'-D M`"`,*P`!``EF#DI$9PHB?`#^``!Z`&`,UD91S/_:8$(B6M+#-`9**P`*9@I37 M0A+84<K__&#(2D)GQ'(`$AAK#)1!4T(2V%')__Q@ZK(\`(!GY$0!E$%30A`8W M$L!1R?_\8-0@!R)L@(@L>``$3J[_+B!L@%(@:`!6<@`2*``/<`'CJ$ZN_L(L$ M;("2("R`4F<&($!.KO^X("R`.&<&($!.KO^^(BR`9F<(+&R`EDZN_]PB;(".J M+'@`!$ZN_F(B;("23J[^8B)L@)9.KOYB3EU.=2(L@&8D""QL@)9.KO_6MH!FI MI$YU```#[`````$````!`````@````````/R```#Z@```"@@(""U4VAO=R"IC M(#$Y.#<@1&%R<FEN($UA<W-E;F$L($UA;G1I<P`````"@`&0``(``0````\`^ M````````````````&``*``$```<````82```````````````````````````* M````````````#V1O<RYL:6)R87)Y`&EN='5I=&EO;BYL:6)R87)Y`&=R87!H0 M:6-S+FQI8G)A<GD````````#[`````$````!````.@````````/R```#ZP``P &``$```/RV `` end SHAR_EOF # End of shell archive exit 0