Xref: bloom-picayune.mit.edu alt.binaries.pictures:4724 alt.binaries.pictures.tasteless:422 alt.binaries.pictures.erotica:9166 alt.binaries.pictures.erotica.d:4985 alt.sex.pictures:11771 alt.sex.pictures.d:8960 Newsgroups: alt.binaries.pictures,alt.binaries.pictures.tasteless,alt.binaries.pictures.erotica,alt.binaries.pictures.erotica.d,alt.sex.pictures,alt.sex.pictures.d Path: bloom-picayune.mit.edu!bloom-beacon!micro-heart-of-gold.mit.edu!wupost!uunet!Cadence.COM!deej From: deej@cadence.com (Jim Howard) Subject: alt.binaries.pictures FAQ - OS specific info Supercedes: <1992Jun19.050129@U2.Cadence.COM> Message-ID: <1992Jul03.050624@U2.Cadence.COM> Followup-To: alt.binaries.pictures.d Sender: usenet@Cadence.COM (Usenet News) Nntp-Posting-Host: cds8613.cadence.com Organization: Cadence Design Systems, Inc. References: <1992Jul03.050543@U2.Cadence.COM> Date: Fri, 3 Jul 1992 11:56:50 GMT Approved: news-answers-request@MIT.Edu Expires: Fri, 31 Jul 1992 00:00:00 GMT Lines: 1119 Archive-name: pictures-faq/part2 Last-modified: 9 June 1992 This is part 2 of the FAQ for the alt.binaries.pictures* hierarchy. This part of the alt.binaries.pictures FAQ contains information specific to particular systems and on available utilities. For information on "general", or operating-system independent information, questions you may have about the pictures newsgroups, decoding and encoding techniques, or picture formats, consult part 1 of this posting. Before posting to these groups for the first time, please check the FAQ list (this posting - including part 1), and also read the newsgroup news.announce.newusers, which contains many answers to questions about UseNet in general. If you've read previous versions of this FAQ, you'll still probably want to read anything that has changed since the last distribution - this is a "live" document, and is always getting important information added or updated. Anything that's changed is easy to find, since it's always marked with the notation ">>". Comments from Steve Quinn are denoted by "S-NOTE:". Comments from Jim Howard are denoted by "J-NOTE:". *********************************************************************** Before you miss an important detail contained in this file, let me "pre-repeat" that *many* programs mentioned in this document are available for anonymous ftp at bongo.cc.utexas.edu (128.83.186.13), in the gifstuff directory. Also: there are NO GIF files of any kind at this site! Save your time and don't bother looking for them! Additionally, the file "ftpsites" on bongo in the gifstuff directory gives many examples of places to find these utilities. TABLE OF CONTENTS I. UTILITY SUBMISSION GUIDELINES II. COMMON FTP SITES III. FILE FORMATS IV. PORTABLE UTILITIES V. MS-DOS PROCEDURES/UTILITIES VI. Apple UTILITIES VII. Amiga UTILITIES VIII. Atari UTILITIES IX. VAX/VMS UTILITIES X. NeXT PROCEDURES/UTILITIES XI. UNIX/XWINDOWS PROCEDURES/UTILITIES XII. APPENDICES: AWK, SED, AND PERL SCRIPTS XIII. BONGO FILE LISTING I. UTILITY SUBMISSION GUIDELINES [J-NOTE: Ever since the new format was adopted, lots of people want to see their favorite utility listed here! That's great - the whole idea behind this FAQ is sharing the net wisdom (most of whats in this FAQ represents the combined knowledge of the pictures and graphics community's readership). BUT... in order to include information on a particular utility, it has to meet the following criterion: 1) It has to fit into one of the classifications that make sense for pictures (viewers, converters, decoders, posters/unposters, etc). 2) It's either Public Domain, FreeWare, or ShareWare software. It doesn't make a lot of sense for this FAQ to become one big advertisement! 3) It has to be readily available. It doesn't do me (or anyone else, for that matter) much good to know "I don't know where I got it, but the MajorHonkinTool utility solves all my problems...". So, to submit a utility, I need to know (in as much detail as you can possibly give): A) What's the utility's name, B) What it does, C) What platforms it runs on (probably one or more of the ones listed in this FAQ are most appropriate =:^) ), D) Where to get it. Anonymous FTP or mail server archive is the best, but if it's been posted to a newsgroup, that would be OK, too. If you want to set yourself up as an e-mail distribution for a utility, that's OK too - but be prepared for a deluge of requests! I WILL NOT accept someone else's address as an e-mail distribution unless they specifically send their approval (for obvious reasons). Don't just send me something expecting that I'll put it on bongo, either - bongo has very limited file resources (and is pretty much at its quota already)! Without the full information above, I can't list the utility in this FAQ in good conscience, since it won't be very useful... Please keep up the good work and let me know how this document should be kept up-to-date!] II. COMMON FTP SITES There are a few sites out there that are mentioned time and time again in this document. In order to save a little space (and make things easier to maintain), the following convention has been devised. The shorthand for a site or sites is listed first, the site address(es) is noted, and any special information relative to the sites is also given. Hope this isn't too confusing! BONGO bongo.cc.utexas.edu (128.83.186.13) In this FAQ, a notation of "BONGO:some_file_path" means that you can find the file on bongo in /gifstuff/. EXPORT export.lcs.mit.edu (18.24.0.12) In this FAQ, a notation of "EXPORT:some_file_path" means that you can find the file on export in /pub/contrib/. SIMTEL wsmr-simtel20.army.mil (192.88.110.20) In this FAQ, a notation of "SIMTEL:some_file_path" means that you can find the file on simtel in pd1:. WUARCHIVE wuarchive.wustl.edu (128.252.135.4) In this FAQ, a notation of "WUARCHIVE:some_file_path" means that you can find the file on wuarchive in . OAKLAND oak.oakland.edu (141.210.10.117) In this FAQ, a notation of "OAKLAND:some_file_path" means that you can find the file on oakland in . MIRRORS wsmr-simtel20.army.mil (192.88.110.20), wuarchive.wustl.edu (128.252.135.4), These hosts "mirror" a lot of common information. In this FAQ, if you see the notation "MIRRORS:some/file/path", this means that you can find the file on simtel in pd1:some.file.path, and on its mirror site (wuarchive) in /mirrors/some/file/path. III. FILE FORMATS The table below lists many of the common file types for pictures or compression formats for different systems. This information may be useful if you download a tool and then don't know how to decompress it into a usable form, or as a "quick reference" of file types. Decompressors or viewers of "unlike" system types exist on some systems - see the particular system information for details on this aspect. File extension File type -------------- ---------- ARC Atari ARChive - compressed file(s) BMP IBM BitMaP picture file DL Animated picture file (system independent, for those with viewers) GIF Graphics Interchange Format - system independent picture file GL Animated picture file (system independent, for those with viewers) IMG IMaGe - ? picture file JPG (JPEG) Joint Photography experts Group - system independent picture file LZH Amiga LZH - compressed file(s) MAC (MACP) Macintosh MacPaint - Macintosh picture file HQX Macintosh BinHex - encoded file >> IFF Amiga Interchangeable File Format - Amiga >> file interchange (used for many types of binary >> data). If it contains a picture file, then >> the picture is an ILBM (InterLeaved BitMap). IM8 (RAST) Sun RASTer file - Sun picture file PCX IBM PC Paintbrush - IBM picture file PICT Macintosh QuickDraw PICTure - Macintosh picture file PS (PSID) Encapsulated PostScript/PostScript Image Data - printer-ready text/picture file RAW RAW RGB - 24-bit system independent picture file SHK Macintosh Shrinkit - compressed file(s) SIT Macintosh StuffIt - compressed file(s) TGA TrueVision TarGA file - ? picture file TIFF ? Image Format File - 24-bit system independent picture file UUE UNIX UUEncoding - encoded file XBM X windows Bit Map - UNIX/X windows picture file Z UNIX LZW "compress" - compressed file(s) ZIP MS-DOS ZIP - compressed file(s) ZOO MS-DOS ZOO - compressed file(s) IV. PORTABLE UTILITIES "GENERAL UTILITY" TOOLS: GIFtest.c Tests integrity of GIF files. Available via anonymous FTP from BONGO:gifutils/giftest.c. COMPRESSION/DECOMPRESSION TOOLS: cjpeg/djpeg Free, portable C code for JPEG compression from the Independent JPEG Group, lead by Tom Lane (tgl+@cs.cmu.edu). This software has been tested on numerous Unix machines, PCs, Macs, and Amigas; it is believed that it can be ported to almost any machine that has a (reasonable) C compiler. Available via anonymous FTP from several places. The "official" archive site for this source code is ftp.uu.net (137.39.1.9 or 192.48.96.9). Look under directory /graphics/jpeg; the file to retrieve is jpegsrc.v?.tar.Z. You can retrieve this file by FTP or UUCP. Folks in Europe may find it easier to FTP from nic.funet.fi (see directory /pub/graphics/programs/jpeg). The source code is also available on CompuServe, in the GRAPHSUPPORT forum (GO PICS), library 10, as jpsrc*.zip. If you are not reasonably handy at configuring and installing portable C programs, you may have some difficulty installing the free source code. There is currently an FTP archive of pre-built executable versions of the free JPEG code for various machines, accessible at ftp.cis.ksu.edu (129.130.10.80); look under /pub/JPEG to see what is currently available. The administrators ask that FTP traffic to this system be limited to non-prime hours. CONVERSION TOOLS: PBMPlus tool kit Maintained by Jef Poskanzer (jef@well.sf.ca.us). Very nearly a de-facto standard for converting between many different formats. Includes "utility" tools to scale, quantize, crop, flip, rotate, and many other graphics operations. Available via anonymous FTP from EXPORT:pbmplus*.tar.Z and from ftp.ee.lbl.gov (128.3.112.20) as /pbmplus*.tar.Z. Visit the newsgroup alt.graphics.pixutils for more details, discussion of usage, etc. GIFtoPS GIF to postscript converter. Available via anonymous FTP from BONGO:gifutils/giftops.c. V. MS-DOS PROCEDURES/UTILITIES >>[J-NOTE: I've been informed of an archive of MS-DOS OS/2 tools available >>either via anonymous FTP (on hobbes.nmsu.edu - 128.123.35.151) or via e-mail, >>by sending a one-line mail command message. Many of the utilities listed in >>this section can be obtained here; these will be identified by the notation >>"HOBBES:()". >>This would mean that you could get that utility in the pathname specified as >>/pub/os2/general/graphics/, or via e-mail by sending a message >>containing "GET OS2" to LISTSERV@BLEKUL11.BITNET. >>I might also suggest to OS/2 users that you get a copy of the index (one-line >>e-mail message is "INDEX") and help (one-line e-mail message is "HELP") for >>this site - there's over 150M of OS/2 programs, and the list is growing...] SYSTEM-SPECIFIC PROCEDURES: * To concatenate multi-part picture files together, execute: copy part1 + part2 + part3 + ... + partN file DECODERS/ENCODERS: unc "Smart decoder" by Mark Maimone (mwm@cs.cmu.edu) - uses article headers to determine the posting order and puts parts in appropriately named files to aid processing through uudecode. Available via anonymous FTP on vacation.venari.cs.cmu.edu (128.2.209.207) in directory /usr/anon, file unc-1.1 (also posted to alt.sources). UUEXE "Smart decoder/encoder" written by Richard Marks Available via anonymous FTP from OAKLAND:/pub/msdos/filutl/uuexe*.zip, on garbo.uwasa.fi (128.214.87.1) in directory /pc/decode as uuexe*.zip, or on many other PC archives (like SIMTEL or WUARCHIVE). UUXFER "Smart decoder/encoder" written by Dave Read. Available via anonymous FTP from BONGO:uutools/uuxfer*, or from OAKLAND:/pub/msdos/filutl/uuxfer*.zip. COMPRESSION/DECOMPRESSION TOOLS: cjpeg/djpeg (See description under "COMPRESSION/DECOMPRESSION TOOLS" in the "PORTABLE UTILITIES" section above) MS-DOS executables are available via anonymous FTP from MIRRORS:msdos/graphics/jpeg*.zip, on ftp.pitt.edu in /users/qralston/jpeg/jpegv*.zip, on hobbes.nmsu.edu in the directory /pub/os2/archives/volume8 or /pub/os2/graphics as file jpeg3os2.zoo, and have been/will be posted on comp.binaries.ibm.pc. COMPRESS Uncompresses UNIX compress files. Available via anonymous FTP from MIRRORS:msdos/sq-usq/comp*d.zip. PKUNZIP Uncompresses MS-DOS ZIP files. Available via anonymous FTP from MIRRORS:msdos/sq-usq/pkunzip*. CONVERSION TOOLS: >>GIF2BMP Converts among GIF and OS/2 BMP (bitmap) image formats. >> (OS/2 only!!) >> Available via anonymous FTP from HOBBES:gif2bmp.zoo(GIF2BMP ZIPXXE). GDS Allows construction of "contact sheet" images, panning and zooming within an image [Shareware]. Available via anonymous FTP from MIRRORS:msdos/gif/gds*.zip. >>JPEG2OS2 Converts among several different image formats >> including JPEG and GIF. (OS/2 only!!) >> Available via anonymous FTP from HOBBES:jpeg2os2.zoo(JPEG2OS2 $PACKAGE). >>JPEG3OS2 Library of JPEG routines for inclusion in your 32-bit >> OS/2 programs. (OS/2 only!!) >> Available via anonymous FTP from HOBBES:jpeg3os2.zoo(JPEG3OS2 $PACKAGE). GIF2JPG/JPG2GIF Provided by Handmade Software, converts between GIF and JPEG formats. Available via anonymous FTP on msdos.archive.umich.edu in directory /msdos/graphics/gif as file gif2jpg5.zip. Also available from MIRRORS:/msdos/graphics/gif2jpg5.zip. Graphic WorkShop Converts between/views many picture types, including PIC, PCX, BMP (windows 3), EPS, GIF, and Macintosh PICT. [Shareware] Available via anonymous FTP from MIRRORS:msdos/graphics/grfwk*.zip. Image Alchemy Provided by Handmade Software, converts between/views many picture types, including GIF and JPEG [Shareware] Available via anonymous FTP from MIRRORS:msdos/graphics/alch*.zip. PBMPlus tool kit (See description under "CONVERSION TOOLS" in the "PORTABLE UTILITIES" section above). A MS-DOS compiled version of the PBMPlus tool kit is available on garbo.wuasa.edu (128.214.87.1) as file pbmplus.zoo, or from WUARCHIVE:/usenet/comp.binaries.ibm.pc/volume15/pbmplus. PaintShop Pro Allows viewing/conversion of multiple image types under Windows. [Shareware] Available via anonymous FTP on cica.cica.indiana as file psp*.zip. PICTURE VIEWERS: CompuShow (CSHOW) Multiple format (including MacPaint image and Amiga IFF) viewer. Available via anonymous FTP from BONGO:ibmpc/cshw*.zip, and from MIRRORS:msdos/gif/cshw*.zip. >>DVPEG JPEG file viewer including panning, shrinking, and >> brightness control. Requires a 386 or better with a >> super VGA card (256 color - most video cards are >> supported). Written by Eric Praetzel >> (praetzel@sunee.waterloo.edu) >> Available via anonymous FTP from WUARCHIVE:/pub/MSDOS_UPLOADS as >> dvpeg*.zip. Graphic WorkShop (See reference in "CONVERSION TOOLS") Image Alchemy (See reference in "CONVERSION TOOLS") SVGA Multiple format (GIF, PCX, BMP, TGA, etc. - no JPEG) viewer - allows scrolling and supports many graphics boards. [Shareware] Available via anonymous FTP from MIRRORS:msdos/graphics/svga*.zip. >>ShowBMP Displays OS/2 bitmaps in a Presentation Manager window. >> (OS/2 only!) >> Available via anonymous FTP from HOBBES:showbmp.zoo. ShowGIF GIF viewer that allows you to view as you download. Available via anonymous FTP from SIMTEL:pd1: as showgif.arc. >>OS/2 GIF Displays GIF encoded images full screen. (OS/2 only!) >> Available via anonymous FTP from HOBBES:os2gif.zoo(OS2GIF ZIPXXE). >>PMGIF Displays GIF encoded images in a Presentation Manager >> window. (OS/2 only!) >> Available via anonymous FTP from HOBBES:pmgif.zoo(PM-GIF1 ZIPXXE). >>ViewGIF Displays GIF encoded images in a Presentation Manager >> window. (OS/2 only!) >> Available via anonymous FTP from HOBBES:viewgif1.zoo(VIEWGIF1 ZIPXXE). VPIC Multiple format (GIF, PCX, BMP, etc. - no JPEG) viewer and image manipulator. Written by Bob Montgomery (current version is 4.6). Available via anonymous FTP from BONGO:ibmpc/vpic*.zip. WinGIF GIF viewer for Windows 3.x Available via anonymous FTP from MIRRORS:msdos/windows3/wingif*.zip. WinJPEG Shareware JPEG viewer for Windows 3.x. Available via anonymous FTP from either WUARCHIVE:/pub/MSDOS_UPLOADS/winjpeg.zip, or WUARCHIVE:/mirrors2/win3/uploads/winjpeg.zip. "MOVIE" VIEWERS: DL-VIEW DL file viewer (color!). Available via anonymous FTP on aix370.rrz.uni-koeln.de (134.95.80.1) in /msdos/graphics/animation, file dlview21.zip. GRASPRT GL file viewer. An older version admitted only CGA monitors, but a newer one allows VGA as well. Unfortunately, the older version doesn't even *recognize* the VGA standard, while the newer version (which, BTW, is *much* faster than the old one) will not let you display the VGA GRASP files on a CGA or EGA monitor. Unlike the GIF standard, GL files are not resolution-independent! Available via anonymous FTP from BONGO:ibmpc/grasp*.zip. >>MPEGXing MPEG movie viewer from Xing Technology. Only works >> under Windows 3.x, and only with certain SVGA boards. >> Available via anonymous FTP on phoenix.oulu.fi (130.231.240.17) >> in the /pub/incoming directory as mpegxing.lzh or from >> WUARCHIVE:/pub/MSDOS_UPLOADS/mpegxing.lzh Consult the comp.binaries.ibm.pc* or comp.sys.ibm.pc news groups for MS-DOS-specific information. VI. Apple UTILITIES In this section, the notation SUMEX:/some/file will mean that the utility mentioned can be accessed on sumex-aim.stanford.edu (36.44.0.6) in directory /some/file. DECODERS/ENCODERS: UULite Decoder for uuencoded files, written by Jeff Strobel (jstrobel@world.std.com). Also concatenates article parts, strips headers/trailers, and does creator/type stamping. Handles multiple pictures in a single file. Available via anonymous FTP on mac.archive.umich.edu (141.211.164.153) in /mac/utilities/compressionapps/uulite*.hqx, or on world.std.com, in the /pub directory. Also posted to alt.binaries.pictures.misc by Patrick Chase (pmc@world.std.com). UUTool Decoder for uuencoded files. Available via anonymous FTP from SUMEX:/info-mac/util/uutool-*.hqx. CONVERSION TOOLS: IFFConv Converts from Amiga IFF format. Available via anonymous FTP from BONGO:apple/iigs/iffconv.shk. PictCompressor Importer, viewer, and converter for multiple picture types (including JPEG). Available on the QuickTime 1.0 CD-ROM and via anonymous FTP on ftp.apple.com in dts/mac/quicktime, or on mac.archive.umich.edu in graphics/quicktime. Imagery Converts from Atari, Amiga, AppleII, PC, and Sun picture formats to Macintosh GIF, PICT2, or TIFF. Also allows "decomposition" of GL files. Available via anonymous FTP from SUMEX:/info-mac/app/imagery-*.hqx, or on mac.archive.umich.edu:/mac/graphics/graphics.utilities/imagery*.hqx. PICTURE VIEWERS: JPEGView Multi-featured JPEG viewer by Aaron Giles (a-giles@uchicago.edu) - requires both System 7.0 and QuickTime). Available via anonymous FTP from SUMEX:/info-mac/app/jpeg-view-*.hqx, ory, or on mac.archive.umich.edu in mac/graphics/graphics.utilities as jpeg-view-*.hqx. >>PictPixie Multiple format (including GIF and JPEG) viewer. >> Requires QuickTime. >> Available via anonymous FTP from ftp.apple.com in /dts/mac/quicktime >> as pictpixie.hqx. Picture Decompress Macintosh JPEG viewer by Storm Technology (get version 2.0.1 or later; earlier versions are not compatible with JFIF file format). Also, you'll need to change the file type to "JPEG" and the creator to "StPP" - you can do this by setting the appropriate preferences in UUTool, or by using the application FileTyper (also available on SUMEX) or McSink, which is a common DA. Picture Decompress takes over 4M of free system memory to run (you may need to uninstall some things). Available via anonymous FTP from SUMEX:/info-mac/app/picture-decompress-*.hqx. QuickGIF Color Macintosh GIF viewer - gives thumbnails. Available via anonymous FTP from BONGO:mac/quick-gif.hqx. VisionLab Monochrome Macintosh viewer. Available via anonymous FTP from BONGO:mac/visionlab.hqx. ][GIF Apple ][+/e/c GIF viewer. Available via anonymous FTP from BONGO:apple/ii/iigif. GIF3200 Apple ][GS GIF viewer. Available via anonymous FTP from BONGO:apple/iigs/gif3200.shk VIEW3200 Apple ][GS GIF viewer. Available via anonymous FTP from BONGO:apple/iigs/gif3200.shk Consult the comp.binaries.apple2, comp.binaries.mac, comp.sys.apple*, or comp.sys.mac* news groups for Apple-specific information. VII. Amiga UTILITIES CONVERSION TOOLS: Hamsharp Multiple format viewer/converter. HamLabDemo is available at ux1.cso.uiuc.edu. Be sure to apply the patch "JPEG_FOR_HAMLAB" from ab20.larc.nasa.gov (128.155.23.64) in order to view JPEG. GIFMachine Multiple format viewer/converter. Available via anonymous FTP from BONGO:amiga/GIFMachine.lzh. PBMPlus tool kit (See description under "CONVERSION TOOLS" in the "PORTABLE UTILITIES" section above) Amiga-specific executables are available via anonymous FTP from ab20.larc.nasa.gov, in /amiga/graphics/converters/pbmplus (you'll also need update.lzh from /incoming/amiga/pbmplus). PICTURE VIEWERS: Hamsharp (See reference in "CONVERSION TOOLS") GIFMachine (See reference in "CONVERSION TOOLS") "MOVIE" VIEWERS: gl1-1 GL viewer. Available via anonymous FTP from BONGO:amiga/gl1-1.lzh. Consult the comp.sys.amiga* news groups for Amiga-specific information. VIII. Atari UTILITIES [J-NOTE: There is a wonderful archive of Atari tools available either via anonymous FTP (on atari.archive.umich.edu - 141.211.164.8) or via e-mail, by sending a one-line mail command message. Many of the utilities listed in this section can be obtained here; these will be identified by the notation "ATARI-ARCHIVE: ". This would mean that you could get that utility in the pathname specified as >>atari/, or via e-mail by sending a one-line e-mail message containing "send " to atari@atari.archive.umich.edu. I might also suggest to fellow Atari-ites (Atarions?) that you get a copy of the index (one-line e-mail message is "index") and help (one-line e-mail message is "help") for this site - there's all *sorts* of good stuff out there!] COMPRESSION/DECOMPRESSION TOOLS: cjpeg/djpeg (See description under "COMPRESSION/DECOMPRESSION TOOLS" in the "PORTABLE UTILITIES" section above) Atari-specific executables are available from your friendly neighborhood ATARI-ARCHIVE: graphics/jpeg1bin.lzh. CONVERSION TOOLS: dmjgif Converts GIFs to Spectrums. Excellent - many options. Slow (unless you register!) but effective. [Shareware] ATARI-ARCHIVE: graphics/dmjgif3.lzh. GIFSpec Converts from GIF to Spectrum format. ATARI-ARCHIVE: graphics/gifspc.arc. PBMPlus tool kit (See description under "CONVERSION TOOLS" in the "PORTABLE UTILITIES" section above) Atari-specific executables are available from your friendly neighborhood ATARI-ARCHIVE: printing/pbm/pbm-readme (The file that explains it all) printing/pbm/pbm-man.zoo (man pages) printing/pbm/pbm-bin.zoo (Portable bitmap binaries) printing/pbm/ppm-bin.zoo (Portable pixel map binaries) printing/pbm/pgm-bin.zoo (Portable grey map binaries) printing/pbm/pnm-bin.zoo (Portable any map binaries) SpecDec Converts from Spectrum to Degas format. ATARI-ARCHIVE: misc/specdeg.lzh. PICTURE VIEWERS: giffer Monochrome GIF viewer (4 dithering options). ATARI-ARCHIVE: graphics/giffer.arc. gifshw2 Color GIF single or "slide-show" viewer. ATARI-ARCHIVE: graphics/gifshw2.arc. mgif Monochrome GIF viewer. ATARI-ARCHIVE: graphics/mgif37b.arc. quickgif GIF "slide-show" viewer. Very fast and good results. ATARI-ARCHIVE: graphics/quickgif.lzh. SPShow Spectrum file viewer. ATARI-ARCHIVE: graphics/specshow.arc SPSlide Spectrum file "slide-show" viewer. ATARI-ARCHIVE: graphics/spslidex.arc viewgf Image viewer (many formats, including GIFs) - good. ATARI-ARCHIVE: graphics/viewgf12.lzh. Consult the comp.binaries.atari.st, comp.sources.atari.st or comp.sys.atari.st news groups for Atari-specific information. IX. VAX/VMS UTILITIES CONVERSION TOOLS: PBMPlus tool kit (See description under "CONVERSION TOOLS" in the "PORTABLE UTILITIES" section above) VMS-specific support of the PBMPlus tool kit is provided by David Jones (jones@kcgl1.eng.ohio-state.edu). The current patch version is 1.01, and is available via anonymous FTP from TGV.COM, in directory [.mahan], file PBMPLUS.SHAR. PICTURE VIEWERS: xv X-windows viewer supporting multiple formats, including JPEG. Also writes many formats, making it viable as a format conversion tool as well. VMS-specific patches to allow building under ULTRIX or VMS have been posted to the vmsnet.sources newsgroup and are available via anonymous FTP on acfcluster.nyu.edu in directory [.VMS] and also on cerritos.edu. Consult the comp.sys.dec* news groups for Digital-specific information. X. NeXT PROCEDURES/UTILITIES For viewing on NeXT computers, the easiest way is to use NewsGrazer and ImageViewer (both PD and available at sonata.cc.purdue.edu.) Step 1: If the parts of the .gif are not in are the correct order, control-drag them until they are. Step 2: Select all the parts (in a group holding down the shift key). Step 3: Click UUDECODE in the Tools menu. Step 4: Double click on the GIF icon in the document well. Consult the comp.sys.next* news groups for NeXT-specific information. XI. UNIX/XWINDOWS PROCEDURES/UTILITIES SYSTEM-SPECIFIC PROCEDURES: * To concatenate multi-part picture files together and decode, execute: cat part1 part2 part3 ... partN | uudecode * To encode a file for posting, (assuming the file is named fyle - encoded output will be in fyle.uu): uuencode fyle fyle > fyle.uu * To split a uuencoded file into multiple parts, use the "split" utility (assuming the file containing the uuencoded data is fyle.uu - split output will be in files fyle_, where is "aa", "ab", "ac", etc.): split -1000 fyle.uu fyle_ * Of course, it's possible to combine the encoding and splitting steps into one operation using pipes (same example as above): uuencode fyle fyle | split -1000 - fyle_ * Sometimes, files get posted with Mac "header" information in it. To get rid of this extraneous information (assuming the Mac file is named "macfile", the output file will be named "newfile"): dd if=macfile of=newfile bs=128 skip=1 DECODERS/ENCODERS: >>aub "Smart automatic decoder" written in perl. aub >> connects to an NNTP news server and scans for new >> pieces of split, encoded binaries that have recently >> been received. Binaries are expected to contain >> subject lines conformant with de-facto UseNet >> standards; aub may not be able to identify pieces of >> binaries which are not named according to accepted >> conventional practice. If new binaries are found, >> aub retrieves, organizes and decodes them, leaving >> the decoded files in a configurable location. >> Available via anonymous FTP on liasun3.epfl.ch (128,178.36.30) as >> /pub/util/aub-1.0, or at ftp.cc.gatech.edu (130.207.119.241) as >> /pub/unix/aub.tar.Z. Also posted to alt.sources. unc "Smart decoder" by Mark Maimone (mwm@cs.cmu.edu) - uses article headers to determine the posting order and puts parts in appropriately named files to aid processing through uudecode. Posted to alt.sources. uudecode/uuencode (normally UNIX standard) Available via anonymous FTP from BONGO:uutools/uudecode.c,uuencode.txt. uuxfer "Smart decoder/encoder" written by Dave Read. Available via anonymous FTP from BONGO:uutools/uuxfer*. uucat "Smart decoder", will concatenate the files you specify, removing the headers and trailers almost flawlessly. Usage: uucat file1 .. fileN | uudecode Available via anonymous FTP from BONGO:uutools/uucat.c. uuconvert "Smart decoder" written by Jeff Wiegley (wiegley@girtab.usc.edu). Incorporates uudecode into uucat so that running uuconvert gets the job done in one fell swoop. Also allows you to store all the parts to a picture or multiple pictures in ONE file (in order) and run uuconvert on that one file. EMPHATICALLY recommended by Steve Quinn, who adds a tip for interested people, "If you use UUCONVERT, here's a really good downloading strategy I've evolved with rn: 1) Run the list of subjects with '='. 2) Choose a picture and type 'id#1,id#2,...id#N:s filename' to save all the parts in one file (where id is the article number, and #N in the part of the picture). You can also use id#1-id#N if they're posted in order. 3) Do this with many files (in separate file names). 4) When I get out of rn I do a convert *.gf' (where gf is just the extension I use when saving UUENCODED GIF files), and all my files are decoded and ready to go. (Well, most of the time it gets them all on a wildcard, but it's been known to miss others sometimes. Double check before you destroy your UUENCODED copies.) If I find a whole string of pix I want, and all the parts are in order, I do a id#1-id#N through the whole set of them and save them all to one file." Available via anonymous FTP from BONGO:uutools/uuconvert.c. viewer Allows you to view or archive pictures directly from NNTP with no user intervention whatsoever. It even scans the article headers to determine which pieces go together, and in what order. It will optionally open an X window to display the pictures. So once you've installed it, you just type "viewer", and sit back. Available via anonymous ftp from cs.utk.edu in ~ftp/pub/viewer*. Several people have also written scripts in AWK, SED, or PERL which will strip headers and trailers, concatenate the results and pipe them through UUDECODE. See section XI. (Appendix) if you want to run one of these. COMPRESSION/DECOMPRESSION TOOLS: compress/uncompress (normally UNIX standard) unzip Uncompresses MS-DOS ZIP files. Available via anonymous FTP from SIMTEL:unzip*.tar-z, and from WUARCHIVE:/mirrors/misc/unix/unzip*.tar-z (you'll have to decompress this with the UNIX compress utility). Also supposedly available from WUARCHIVE:/mirrors2/ka9q/util/unzip.tar.Z. CONVERSION TOOLS: dltogl Converts DL files to GL files. (From Neil Nelson - nkn@solbourne.com): There have been a few comments of late concerning the use of dltogl and xgrasp. It *is* possible to make the two coexist. dltogl can be used one of two ways: 1) dltogl file.dl file.gl 2) dltogl file.dl The first method produces a gl file which will cause xgrasp to drop a core (although xviewgl has no trouble showing the resulting gl file). The second method will decode file.dl, leaving the constituent parts in the current directory. One of the files will be called dl.txt. Simply rename this to file.txt, and then run glib -u file.gl file.txt to build the corresponding gl file. I don't know why renaming the .txt file makes xgrasp happy, but it does. See the shell script "dltogl2" in the Appendix to automate this process. Available via anonymous FTP on reseq.regent.e-technik.tu-muenchen.de in directory /informatik.public/news/alt.sources/1, file dltogl.Z, or on cs.ubc.ca in /pub/local/src/dltogl.c. fromGIF/toGIF Converts GIF to/from Silicon Graphics IRIS format. Available via anonymous FTP from BONGO:iris/fromgif.c,togif.c. PICTURE VIEWERS: artshow SunView viewer by Alan Sparks Available via anonymous FTP from BONGO:sunview/artshow/*. ImageMagick Multiple format (24-bit) viewer. Available via anonymous FTP from EXPORT:ImageMagick.tar.Z. viewgif SunView GIF viewer Available via anonymous FTP from BONGO:sunview/viewgif/*. viewer (See reference in "DECODERS/ENCODERS") xli X-windows viewer supporting multiple formats including JPEG). Available via anonymous FTP from EXPORT:xli*. xloadimage X-windows viewer supporting multiple formats (also reputedly provides "true" 24 bit viewing). Available via anonymous FTP from BONGO:xwindows/xloadimage/*, or from EXPORT:xloadimage.*.tar.Z. xshowgif X-windows GIF viewer. Available via anonymous FTP from BONGO:xwindows/xshowgif/*. xv X-windows viewer supporting multiple formats, including JPEG. Also writes many formats, making it viable as a format conversion tool as well. Available via anonymous FTP from BONGO:xwindows/xv/*, from EXPORT:xv-*.tar.Z, and from ftp.cis.upenn.edu (130.91.6.8) in the pub/xv directory as file xv-*.tar.Z. (Latest version 2.21) "MOVIE" VIEWERS: xgl X-windows GL viewer. Available via anonymous FTP on aix370.rrz.uni-koeln.de in /pub/usenet/comp.archives/graphics/pixutils, on cs.dal.ca in /pub/comp.archives, on srawgw.sra.co.jp in the directory /.a/sranha-bp/arch/arch/comp.archives/graphics/pixutils, and on dutepp0.et.tudelft.nl in directory /Unix/X xgrasp X-windows GL viewer (color only). Available via anonymous FTP from EXPORT:xgrasp*. xviewgl X-windows GL viewer. Available via anonymous FTP from BONGO:xwindows/xviewgl/*. Consult the comp.sources.unix, comp.sources.x, comp.sys. (where is your system type - i.e. hp, mips, sun, etc.) news groups for UNIX, X-windows and other system-specific information. XII. APPENDICES: AWK, SED, AND PERL SCRIPTS Below are the scripts mentioned in the previous section. I make no assurances as to how well they work; I use one of the 'super' uudecodes instead. Note that the SED script will not work unless people follow this recent trend of putting 'BEGIN' and 'END' in the 'cut here' lines. The AWK and PERL scripts will work on most files, but some uuencodes put out non-standard data, in which case these scripts will bomb and you'll have to do the work by hand. ------------------------------------------------------------------------- AWK script: #!/bin/sh if [ X$1 != X ] ; then cat $* ; else cat <& 0 ; fi | \ awk '/begin [0-9]/ {ok = 1} /^Message/ {ok = 0;next} /^M/ && (length == 61 || length == 62) {ok = 1} /[cC]ut [hH]ere/ {ok = 0;next} /^END-----/ {ok = 0;next} /^Path:/ {ok = 0;next} /^$/ {ok = 0;next} /^-/ {ok = 0;next} /^_/ {ok = 0;next} {if (ok) print} /^end/ {ok = 0}' $* | \ (cd $HOME/tmp; uudecode) -------------------------------------------------------------------------- SED idea from Alan Sparks (asparks@viewlogic.com): cat $* | sed '/^END/, /^BEGIN/d' | uudecode Recall that this won't work except on files with BEGIN and END as part of the 'CUT HERE' lines... ------------------------------------------------------------------------- PERL script from Dave Mack (csu@alembic.acs.com): #! /usr/local/bin/perl # # Combine split uuencoded files into a single data stream with # e-mail garbage removed and pipe into uudecode. The uuencoded # files must be in the correct order on the command line - in # particular the first file must contain the "begin" line and # the last file must contain the "end" line. # # WARNING: this code relies on uuencode putting out all lines # of the form "M[61 ASCII characters]\n" for every line of the # file except the last few before the "end" line. If you come # across a uuencoded file that doesn't do this, you'll need to # modify the code to handle it. # # DISCLAIMER: You use this code at your own risk. Also, don't # take this is as a sterling example of Perl programming. Corrections # and improvements welcome. You may do whatever you like with this # code as long as you leave in some reminder of who the original # culprit^H^H^H^H^H^H^Hauthor was. # # Usage: uumerge filename [filename...] # Requires Perl 3.0 - my copy is at patchlevel 18 # # Dave Mack csu@alembic.ACS.COM # # TODO: modify to allow more than one collection of files on # command line. # # KNOWN BUGS: # # If some bozo puts a line beginning with "M" in the body of one # of the intermediate/last chunks, uumerge will assume that uuencoded # part starts there. # # If the last chunk only contains the last two or three lines of # the uuencoded file (the ones that don't start with "M"), uumerge # will die. # # CHANGES # # PATCH 1: # It appears that some versions of uudecode are too stupid to skip # past the lines preceding the "begin" line, so feeding a one-part # uuencoded file to uumerge will bomb. # if ($#ARGV < 0 ) { print "Usage: uumerge filename [filename...]\n"; exit 1; } $| = 1; # open a pipe into uudecode open(DECO,"|uudecode") || die "Can't pipe into uudecode\n"; # if we only have one file, pump it straight into uudecode and die if ( $#ARGV == 0 ) { open(FIRST,"<$ARGV[0]") || die "Can't open $ARGV[0] for input\n"; while ( ) { # skip past everything before the "begin" line next unless /^begin [0-9]/; last; } die "$ARGV[0] doesn't contain \"begin\"\n" if eof(FIRST); print DECO $_; # the begin line while ( ) { print DECO $_ unless /^end/; if ( /^end/ ) { print DECO $_; last; } die "$ARGV[0] doesn't contain \"end\"\n" if eof(FIRST); } # done with file close(FIRST); exit 0; } # process the first file - make sure we have a "begin" line open(FIRST,"<$ARGV[0]") || die "Can't open $ARGV[0] for input\n"; while ( ) { # skip past everything before the "begin" line next unless /^begin [0-9]/; last; } die "First file on command line doesn't contain \"begin\"\n" if eof(FIRST); print DECO $_; # the begin line # the remaining "real" uuencoded lines in this file should begin with "M" while ( ) { if ( /^M/ ) { print DECO $_; } else { last; } } # done with the first file close(FIRST); # do all except the last file $maxindex = $#ARGV; $curr = 1; while ( $curr < $maxindex ) { open(CURR,"<$ARGV[$curr]") || die "Can't open $ARGV[$curr]\n"; # skip the header junk while ( ) { next unless /^$/; last; } # at the body of the message - start looking for /^M/ while ( ) { next unless /^M/; last; } die "$ARGV[$curr] isn't a uuencoded file\n" if eof(CURR); # OK, we're at the start of the good stuff (probably) print DECO $_; while ( ) { if (/^M/) { print DECO $_; } else { last; } } # done with current file close(CURR); $curr++; } # time to do the last file in the set $curr = $maxindex; open(CURR,"<$ARGV[$curr]") || die "Can't open $ARGV[$curr]\n"; # skip the header junk while ( ) { next unless /^$/; last; } # at the body of the message - start looking for /^M/ while ( ) { next unless /^M/; last; } # OK, we're at the start of the good stuff (probably) print DECO $_; while ( ) { print DECO $_ unless /^end/; if ( /^end/ ) { print DECO $_; last; } die "Last file on command line doesn't contain \"end\"\n" if eof(CURR); } # done with final file close(CURR); # close the pipe to uudecode and exit close(DECO); exit(0); ------------------------------------------------------------------------- Shar of a perl script from Randal Schwartz (merlyn@iwarp.intel.com): #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh 'uumerge' <<'END_OF_FILE' X#!/local/usr/bin/perl X X## Version 1.03 on 91/09/27 X## Written by Randal L. Schwartz, Stonehenge Consulting Services, Portland, OR X## uudecodes the arguments (or stdin), ignoring non-uuencoded lines X Xwhile (<>) { X last if ($mode,$file) = /^begin\s*(\d*)\s*(\S*)/; X} Xdie "missing begin" unless $_; Xopen(OUT,"> $file") if $file ne ""; Xwhile (<>) { X last if /^end/; X s/[a-z]+$//; # handle stupid trailing lowercase letters X next if /[a-z]/; X next unless int((((ord() - 32) & 077) + 2) / 3) == int(length() / 4); X print OUT unpack("u", $_); X} Xdie "missing end" unless $_; Xchmod oct($mode), $file; Xexit 0; END_OF_FILE if test 600 -ne `wc -c <'uumerge'`; then echo shar: \"'uumerge'\" unpacked with wrong size! fi chmod +x 'uumerge' # end of 'uumerge' fi echo shar: End of shell archive. exit 0 ------------------------------------------------------------------------------- Yet another awk script - this one from Nasir Ahmed Noor (umnoor@ccu.umanitoba.ca): # c shell script. # A script to extract binary files from uudecoded files. Ignores all headers # and irrelevant stuff. Has shortfalls like all such scripts/programs but works # (almost) 100% of the time. We tested it against many such tools available # at many ftp sites and found it having higher success rate. # # IMPORTANT: if your system has "mawk", simply add a "m" at the # beginning of second line of script program to change "awk" to # "mawk" for even faster speed. # # Written by Tahir Zia Khawaja and # Nasir Ahmed Noor # umnoor@ccu.umanitoba.ca # noor@silver.cs.umanitoba.ca # umkhawaj@ccu.umanitoba.ca # # # to use, save all parts of a binary file in one single file. provide file # name on the command line. Can give multiple file names (including * and ?) # if a file has multiple binaries in it, script will process only the first # binary and will ignore the rest. # foreach binfile ( $argv[*] ) awk '$0 ~ /^begin / {print $0} $0 ~ /^M[^a-z]/ {print $0} NR > 2 {sl=lr; lr=pr; pr=$0} $1 ~ /^end/ {print sl; print lr; print pr; exit}' $binfile | uudecode shift end exit ------------------------------------------------------------------------------- "dltogl2" script from Neil Nelson (nkn@solbourne.com): #!/bin/sh # File name: dltogl2 # Usage: dltogl2 dl-filename NAME=`basename $1 .dl` dltogl $1 mv dl.txt $NAME.txt glib -u $NAME.gl $NAME.txt *.pic *.clp rm -f $NAME.txt *.clp *.pic ------------------------------------------------------------------------------- XIII. BONGO FILE LISTING Here's the most recent 0filelist from bongo, showing all the archived software there (all under the "gifstuff" directory). 0filelist ;this file... an annotated ``ls -R'' apple ;directory for Apple ][ series amiga ;directory for Commodore Amiga ftpsites ;list of pictures-related FTP sites gifutils ;directory for miscellaneous GIF utilities ibmpc ;directory for PC-Clones iris ;directory for Silicon Graphics Iris conversion utilities mac ;directory for Macintosh line sunview ;directory for Sun series running SunView uutools ;directory with source for current version of UUXFER and other uudecode tools and info... xwindows ;directory with source for X11R4 FAQ.abp.1 ;current version of "frequently asked questions" file FAQ.abp.2 ; (part 2) amiga: GIFMachine.lzh ;LZH-compressed GIFMachine gl1-1.lzh ;LZH-compressed GL viewer for Amiga apple: ii ;directory for Apple ][+/c/e iigs ;directory for Apple ][GS apple/ii: iigif ;][Gif program for Apple []+/c/e apple/iigs: gif3200.shk ;GIF3200 and VIEW3200 shareware files (Shrinkit) iffconv.shk ;shareware to convert AMIGA IFF files (Shrinkit) gifutils: giftest.c ;C source code for testing integrity of GIF files giftops.c ;C source code for GIF to postscript converter ibmpc: cshw821b.zip ;CSHOW v 8.21b in ZIP format grasp35.zip ;ZIP'ed GRASP viewer (GRASPRT v 3.5) vpic34.zip ;ZIP'ed VPIC v 3.4 (*HIGHLY* recommended!) iris: fromgif.c ;C source to convert GIF files to IRIS format togif.c ;C source to convert IRIS format to GIF mac: quick-gif.hqx ;QuickGif, in BinHex 4.0 visionlab.hqx ;VisionLab, also in BinHex 4.0 sunview: artshow ;Directory for Alan Sparks' ARTSHOW viewer for SunView viewgif ;Directory for ViewGif for SunView sunview/artshow: Makefile ;Makefile for ArtShow README.artshow ;Installation notes for ArtShow artshow.tar.Z ;ArtShow sources, tar'ed and compressed. sunview/viewgif: viewgif.shar.Z ;Compressed shar file for ViewGif uutools: uucat.c ;C source for uucat uuconvert.c ;C source for uuconvert uudecode.c ;standard Berkeley uudecode (source) uuencode.txt ;description of uuencode 'standard' README ;Notes for UUXFER uuxfer20.c ;C source for UUXFER ver. 2.0 uuxfer20.doc ;Documentation & installation notes for UUXFER v 2.0 xwindows: xloadimage ;Directory for Xloadimage xshowgif ;Directory for xshowgif xv ;Directory for xv xviewgl ;Directory for xviewgl xwindows/xloadimage: README.1st ;Installation notes for xloadimage xloadimage.3.01.tar.Z ;Compressed tar file for xloadimage 3.01 xwindows/xshowgif: README.1st ;Installation notes for xshowgif xshowgif.tar.Z ;Compressed tar file for xshowgif xwindows/xv: README.1st ;Installation notes for xv v. 2.00 xv2.tar.Z ;Compressed tarfile for xv v. 2.00 xwindows/xviewgl: README.1st ;Installation notes for xviewgl xviewgl_v1.0.tar.Z ;Compressed tar file for xviewgl ------------------------------------------------------------------------------- That's about it for this introduction. If you have any suggestions for things to include in future versions, don't hesitate to let me know... ~ deej ~ | (If I were expressing Cadence's opinions, ) Jim Howard -- deej@cadence.com | (they'd probably make me wear a tie... ) (^:= Flames cheerfully ignored. =:^) "Did you ever wish kill files were like little electronic voodoo dolls, and really did what they said?" -- Perry Ross in rec.scuba