[Comp.Sci.Dept, Utrecht] Note from archiver<at>cs.uu.nl: This page is part of a big collection of Usenet postings, archived here for your convenience. For matters concerning the content of this page, please contact its author(s); use the source, if all else fails. For matters concerning the archive as a whole, please refer to the archive description or contact the archiver.

Subject: alt.binaries.pictures FAQ - OS specific info

This article was archived around: 27 May 2006 04:19:36 GMT

All FAQs in Directory: pictures-faq
All FAQs posted in: alt.binaries.pictures.d, alt.binaries.pictures.fine-art.d, alt.binaries.pictures.erotica.d
Source: Usenet Version


Archive-name: pictures-faq/part3 Last-modified: 07 March 1993
This is part 3 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 issues of etiquette and posting policy and/or suggestions, consult part 1 of this posting. 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 2 of this posting. Before posting to these groups for the first time, please check the FAQ list (this posting - including parts 1 and 2), 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 probably only want to read anything that has changed since the last distribution. These changes appear both in this document and in the accompanying "Changes to the alt.binaries.pictures FAQ". Note that this is a "live" document, and is always getting important information added or updated. *********************************************************************** 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. PORTABLE UTILITIES IV. MS-DOS PROCEDURES/UTILITIES V. Apple UTILITIES VI. Amiga UTILITIES VII. Atari UTILITIES VIII. VAX/VMS UTILITIES IX. NeXT PROCEDURES/UTILITIES X. UNIX/XWINDOWS PROCEDURES/UTILITIES XI. APPENDICES: AWK, SED, AND PERL SCRIPTS XII. BONGO FILE LISTING I. UTILITY SUBMISSION GUIDELINES 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/<some_file_path>. BRYANW ftp.rahul.net (192.160.13.1) In this FAQ, a notation of "BRYANW:some_file_path" means that you can find the file on rahul in /pub/bryanw/<some_file_path>. NIC nic.funet.fi (128.214.6.100) In this FAQ, a notation of "NIC:some_file_path" means that you can find the file on nic in <some_file_path>. 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/<some_file_path>. 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:<some_file_path>. 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 <some_file_path>. 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 <some_file_path>. 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. GARBO garbo.uwasa.fi (128.214.87.1) In this FAQ, a notation of "GARBO:some_file_path" means that you can find the file on garbo in <some_file_path>. III. PORTABLE UTILITIES "GENERAL UTILITY" TOOLS: GIFtest.c Tests integrity of GIF files. Available via anonymous FTP from BONGO:gifutils/giftest.c, or from BRYANW:misc/giftest_source.zip. 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. Newest version handles missing or "noisy" info in Subject: lines more gracefully, and also provides better MS-DOS support. Portable only across UNIX and MS-DOS systems (so far). Mark is interested in any port feedback you can give him - especially VMS. He's even willing to help with the porting effort! Latest version is 2.3. Available via anonymous FTP on vacation.venari.cs.cmu.edu (128.2.209.207) in directory /usr0/anon, file unc-*.Z (or exploded files in the unc-* directory - also posted to alt.sources). 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:/pub/graphics/programs/jpeg/jpegsrc.v?.tar.Z. 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. UtahRaster Tools Converts between many file formats, somewhat similar to the PBMPlus tool kit. Available via anonymous FTP from WUARCHIVE:/graphics/graphics/packages/urt/urt-*.tar.Z GIFtoPS GIF to postscript converter. Available via anonymous FTP from BONGO:gifutils/giftops.c. IV. MS-DOS PROCEDURES/UTILITIES There is 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:<archive-file>(<mail name>)". This would mean that you could get that utility in the pathname specified as /pub/os2/general/graphics/<archive-file>, or via e-mail by sending a message containing "GET <mail name> 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: UUDECODE/UUENCODE Decoder/encoder for uuencoded files. Available via anonymous FTP from ftp.cica.indiana.edu in /pub/pc/win31/util. A BASIC program for UUDECODE is also available from WUARCHIVE:/mirrors/msdos/starter/uudecode.bas. UUDO Decoder for multi-part uuencoded files (each part must be in its own file with a discernible Subject: line). Written by Ryan Kim (rkim@eecg.toronto.edu). Available via anonymous FTP from GARBO:/pc/decode/uudo11.zip, from WUARCHIVE:/pub/MSDOS_UPLOADS/utilities/uudo11.zip, or from SIMTEL:<msdos.filutl>uudo11.zip. UUEXE "Smart decoder/encoder" written by Richard Marks. Available via anonymous FTP from OAKLAND:/pub/msdos/filutl/uuexe*.zip, on GARBO:/pc/decode as uuexe*.zip, or on many other PC archives (like SIMTEL or WUARCHIVE). Also posted at the beginning of each month to comp.binaries.ibm.pc. 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. DJGPP compiled versions are also available on ftp.math.niu.edu in /pub/msdos/djgpp.stuff/contrib (these run under MSDOS, with a 386 or better machine). 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*, or from BRYANW:pc/archivers/unzip*.exe. ARJ Compresses/decompresses ARJ format files. Available via anonymous FTP from WUARCHIVE:/mirrors/msdos/arc-lbr/arj*.zip. ZOO Uncompresses MS-DOS ZOO files. Available via anonymous FTP from BRYANW:pc/archivers/zoo*.exe. LHARC Uncompresses MS-DOS LZH files. Available via anonymous FTP from BRYANW:pc/archivers/lha*.exe. 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), or on WUARCHIVE:/mirrors2/win3/desktop/gif2bmp.zip. 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). JPEG3 JPEG to GIF converter. Available via anonymous FTP from WUARCHIVE:/mirrors/msdos/graphics as file JPEG3.zip (JPEG3386.zip and JPEG3s.zip also available), or from OAKLAND:/pub/msdos/graphics/JPEG3.ZIP. 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, from ftp.cica.indiana.edu in ~ftp/pub/pc/win3/desktop/gwswin*.zip, from WUARCHIVE:~ftp//mirrors/msdos/graphics/grfwk*.zip, from WUARCHIVE:/msdos/graphics/grfwk*.zip, or from pascal.math.fu-berlin.de (130.133.4.50) in /local/pd-soft/pc/imgsoft as file gws_*.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, or from WUARCHIVE:/msdos/graphics/alch*.zip. IMDISP Image processing and display. It runs on just about any DOS PC, utilizes graphics cards from EGA to SVGA, does most basic image processing functions (histogram, contrast stretch, zoom, shrink, smooth, edge enhance, adjust color palette, etc.). It can read 1, 2, 4, 8, 16, or 32 bit integer binary images, as well as PDS/VICAR, FITS, and GIF. Public domain. Available via anonymous FTP from OAKLAND:/pub/msdos/graphics/imdisp*.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:/pc/graphics/pbmplus.zoo, from WUARCHIVE:/usenet/comp.binaries.ibm.pc/volume15/pbmplus, or from HOBBES:pbmplus4.zoo. PaintShop Pro Allows viewing/conversion of multiple image types under Windows, including GIF, PCX, TGA, and BMP. [Shareware] Available via anonymous FTP on ftp.cica.indiana.edu in ~ftp/pub/pc/win3/desktop/psp*.zip, or from WUARCHIVE:/mirrors/msdos/windows3/pspro*.zip. PICTURE VIEWERS: ColorView JPEG, GIF, Windows BMP viewer/converter/editor, also includes mirror/rotation/scaling and slideshow viewing. Works under DOS 2.x, 3.x, 4.x, 5.x, requires 640 K or more of physical memory, hard disk and Microsoft compatible mouse recommended, works on 286 or better. Available via anonymous FTP from OAKLAND:/pub/msdos/graphics, from WUARCHIVE:/pub/MSDOS_UPLOADS, or from BRYANW:pc/jpeg, all as file dcview21.zip. CompuShow (CSHOW) Multiple format (including MacPaint image and Amiga IFF) viewer. Available via anonymous FTP from BONGO:ibmpc/cshw*.zip, from MIRRORS:msdos/gif/cshw*.zip, from NIC:/pub/msdos/graphics/gif/cshw*.zip, from bode.ee.ualberta.ca (129.128.16.96) as /pub/dos/win3/util/cshow82b.zip, and from csn.org (128.138.213.21) as /Unidata/giftools/cshow82b.zip. CView JPEG file viewer for Windows. Available via anonymous FTP from WUARCHIVE:/mirrors/win3/util/CVIEW*.zip or WUARCHIVE:/mirrors/win3/desktop/CVIEW*.zip. DVPEG JPEG and GIF 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). Freeware - written by Eric Praetzel (praetzel@sunee.uwaterloo.ca). Latest version is 2.1. Available via anonymous FTP at sunee.uwaterloo.ca in pub/jpeg/viewers as dvpeg*.zip, or from BRYANW:pc/jpeg/dvpeg*.zip. HiView JPEG file viewer. Available via anonymous FTP from WUARCHIVE:/pub/MSDOS_UPLOADS, or from SIMTEL:<msdos.graphics>, as hv*.zip. Graphic WorkShop (See reference in "CONVERSION TOOLS") Image Alchemy (See reference in "CONVERSION TOOLS") ImgFun GIF, PCX, BMP, JPEG viewer by Chin-Chi Hsu (chinhsu@scf.usc.edu). Handles larger image sizes, but always converts JPEG into 256 colors on input. Scroll, zoom up to 16X, reverse, mirror, brightness, contrast, color, smooth, sharpen, resize, and cut adjustments. Requires a 286 with 512K or above, VGA or SVGA, supports most popular SVGA cards. Includes Windows PIF file. Available via anonymous FTP from SIMTEL:<msdos.graphics>ifse100.zip. 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:<msdos.gif> 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 5.1). Available via anonymous FTP from BONGO:ibmpc/vpic*.zip, from athene.uni-paderborn.de in /pcsoft/msdos/gif/vpic*.zip, from NIC:/pub/msdos/graphics/gif/vpic*.zip, from rigel.acs.oakland.edu in /pub/msdos/gif/vpic*.zip, or from WUARCHIVE:/mirrors/msdos/gif/vpic*.zip. WECJ *FAST* JPEG viewer for Windows 3.x. Available via anonymous FTP from BRYANW:pc/jpeg/wecj.zip. WinGIF GIF viewer for Windows 3.x Available via anonymous FTP from MIRRORS:msdos/windows3/wingif*.zip, or ftp.cica.indiana.edu in the /pub/pc/win3/util sub-directory, from GARBO:/win3/gifutil/wingif14.zip, or from NIC:/pub/msdos/windows/graphics/wingif14.lzh. WinJPEG Shareware JPEG viewer for Windows 3.x. Also supports TIFF, PCX and Windows RLE formats. Latest version is 2.0. Available via anonymous FTP from either WUARCHIVE:/mirrors/msdos/windows3/winjp*.zip, or ftp.cica.indiana.edu in the /pub/pc/win3/util sub-directory. JView JPEG viewer for Windows 3.x. Available via anonymous FTP from ftp.cica.indiana.edu in /pub/pc/win3/desktop/jview*.zip, from OAKLAND:/pub/msdos/windows, or from BRYANW:pc/jpeg/jview*.zip. VUIMG GIF/TIFF viewer (latest version is 330). Available via anonymous FTP from WUARCHIVE:/mirrors/msdos/gif/vuimg*.zip WUARCHIVE:/mirrors4/garbo.uwasa.fi/gifutil/vuimg*.zip, ftp.uu.net (137.39.1.9) in /systems/ibmpc/msdos/simtel20/gif/vuimg*.zip, NIC:/pub/msdos/graphics/gif/vuimg*.zip or NIC:/pub/msdos/SIMTEL20-mirror/gif/vuimg*.zip, GARBO:/pc/gifutil/vuimg*.zip, or from OAKLAND:/pub/msdos/graphics/vuimg*.zip. "MOVIE" VIEWERS: AAPLAY FLI file viewer. Available via anonymous FTP from NIC:/pub/msdos/graphics/animation/aaplay.zip. 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, from OAKLAND:/pub/msdos/graphics/grasp*.zoo, from bode.ee.ualberta.ca (129.128.16.96) as /pub/dos/util/grasprt4.zip, and from WUARCHIVE:/mirrors4/garbo.uwasa.fi/animation/grasp4.zoo. MPEGXing MPEG movie viewer from Xing Technology. Only works under Windows 3.x, newest version works with many SVGA boards. [Freeware] Available via anonymous FTP on postgres.berkeley.edu (128.32.149.1) in the file /pub/multimedia/mpeg/Windows3.x/mpegexe.zip, from phoenix.oulu.fi (130.231.240.17) in /pub/incoming/mpeg2_0/mpegexe.zip, from WUARCHIVE:/mirrors/msdos/windows3/mpegexe.zip, and from OAKLAND:/pub/msdos/windows3/mpegexe.zip. You'll also want to pick up the appropriate driver for your graphics board (mdll*.zip), so be sure to get and read a copy of the installation instructions on BRYANW:pc/information/HELP.INSTALLING.MPEG.FOR.WINDOWS to make sure you download all the right stuff. WAAPLAY FLI file viewer for Windows. Available via anonymous FTP from WUARCHIVE:/mirrors2/win3/desktop/waaplay.zip. Consult the comp.binaries.ibm.pc* or comp.sys.ibm.pc news groups for MS-DOS-specific information. V. 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. "Smart" decoder in every sense. Latest version is 1.4. 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). UUCat Decoder for uuencoded files. Available via anonymous FTP from SUMEX:/info-mac/util/uucat-*.hqx. UUTool Decoder for uuencoded files. Available via anonymous FTP from SUMEX:/info-mac/util/uutool-*.hqx. COMPRESSION/DECOMPRESSION TOOLS: BinHex Decompresses HQX (BinHex) files. Available via anonymous FTP from SUMEX:/info-mac/util/BinHex*. DeHQX Decompresses HQX (BinHex) files. Available via anonymous FTP from SUMEX:/info-mac/util/DeHQX-*. CptExpand Decompresses CPT (CompactPro) files. Available via anonymous FTP from SUMEX:/info-mac/util/CptExpand*. MacCompress Decompresses Z (UNIX compress) files. Available via anonymous FTP from SUMEX:/info-mac/util/MacCompress*. MacLha Decompressor for LZH (LHarc) files. Available via anonymous FTP from SUMEX:/info-mac/util/mac-lha-*.hqx. StuffIt Expander Decompressor for SIT (StuffIt) files. Available via anonymous FTP from SUMEX:/info-mac/util/Stuffit-Expander-*.hqx. StuffIt Lite Decompressor for SIT and HQX (BinHex) files. Available via anonymous FTP from SUMEX:/info-mac/util/Stuffit-Lite-*.hqx. UnARJ Decompresses ARJ format files. Available via anonymous FTP from SUMEX:/info-mac/util/unarj-*.hqx. UnZip Decompresses ZIP files. Available via anonymous FTP from SUMEX:/info-mac/util/unzip*-*.hqx. CONVERSION TOOLS: GIFConverter Converts between many file formats, and now supports JPEG and 24-Bit PICT and TIFF files. System 6 required. Available via anonymous FTP from SUMEX:/info-mac/art/gif/gif-converter-23b2.hqx. IFFConv Converts from Amiga IFF format. Available via anonymous FTP from BONGO:apple/iigs/iffconv.shk. 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. PictCompressor Importer, viewer, and converter for multiple picture types (including JPEG). Available on the QuickTime 1.0 CD-ROM and via anonymous FTP on SUMEX:graphutils, or on mac.archive.umich.edu in graphics/quicktime. 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 "MOVIE" VIEWERS: GLViewer GL viewer. Available via anonymous FTP on mac.archive.umich.edu in directory /mac/graphics/graphics.utilities as file gl-viewer.sit.hqx. Consult the comp.binaries.apple2, comp.binaries.mac, comp.sys.apple*, or comp.sys.mac* news groups for Apple-specific information. VI. Amiga UTILITIES There are multiple machines available that carry Aminet files. To find the site nearest you, open an FTP session to amiga.physik.unizh.ch [130.60.80.80] - the title screen will give you more information (as it turns out, WUARCHIVE is an Aminet site). For purposes of this FAQ, the files that are available from Aminet machines will be denoted as AMINET:some/file/path, which means that the file can be found under /pub/aminet/gfx/some/file/path on your local Aminet site. CONVERSION TOOLS: AmigaJPEG Converts JPEG to/from PPM, GIF, TGA formats. Available via anonymous FTP from AMINET:conv/AmigaJPEGV4.lha or from NIC:/pub/amiga/graphics/applications/convert/AmigaJPEG-*-bin.lha. HamLab Plus Multiple format viewer/converter. Shareware ($20) - latest version, 2.0.8, supports JPEG. The demo version will crop images larger than 512x512, but it is otherwise fully functional. Demo copy available via anonymous FTP from AMINET:edit/hamlab208d.lha, NIC:/pub/amiga/graphics/applications/convert/HAMLABPlus-2.08-demo.lha. 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 (including update.lzh) are available via anonymous FTP from NIC:/pub/amiga/graphics/applications/convert/pbmplus, or from AMINET:conv/ppm.lzh. WASP Fast multiple format converter (GIF, IFF, MTV, PPM, SUN) Available via anonymous FTP from AMINET:conv/Wasp2.02b.lha, or from NIC:/pub/amiga/graphics/applications/convert/Wasp-2.02b.lha. PICTURE VIEWERS: HamLab Plus (See reference in "CONVERSION TOOLS") GIFMachine (See reference in "CONVERSION TOOLS") ViewJPEG Amiga JPEG viewer (uses old IJG v2 code - sub-optimal quality results). Available via anonymous FTP from NIC:/pub/amiga/graphics/applications/display/ViewJPEG-*.lha Viewtek A feature packed picture/animation viewer. Shows most ILBM's (SHAM, CTBL, PCHG - including 24-bit ILBM's), GIF, JPEG, and most ANIM Op-5 format animations, with support for different palettes for each frame. Full support of ECS/AGA display modes, and viewing contents of clipboard. Iconifies to a Workbench AppIcon. Includes a version written for GVP's Impact Vision 24, to support true 24-bit display. Requires Workbench 2.04+. Author: Thomas Krehbiel. Available via anonymous FTP from ux1.cso.uiuc.edu, listed as /amiga/fish/f7/ff787/Viewtek.lzh (or anywhere else that has fish disk 787 on the site, or from amiga.physik.unizh.ch as /pub/aminet/os30/gfx/viewtek*.lha or AMINET:show/ViewTek1.03b.lha. "MOVIE" VIEWERS: gl1-1 GL viewer. Available via anonymous FTP from BONGO:amiga/gl1-1.lzh. Viewtek (See reference in "PICTURE VIEWERS") Showanim ANIM5 animation viewer (CLI only). Available via anonymous FTP from NIC:/pub/amiga/graphics/applications/display/ShowAnim-5.40-02.lha. mpeg_play MPEG animation viewer (CLI only). Available via anonymous FTP from AMINET:show/mpegplay201_bin.lha, or from NIC:/pub/amiga/graphics/applications/display/mpeg_play-1.2.lha. Consult the comp.sys.amiga* news groups for Amiga-specific information. VII. Atari UTILITIES 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: <archive-file>". This would mean that you could get that utility in the pathname specified as atari/<archive-file>, or via e-mail by sending a one-line e-mail message containing "send <archive-file>" 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/JPEGV3.lzh, or from ftp.tu-clausthal.de (139.174.1.3) in /pub/atari/graphics/convert/jpegv3.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. PhotoChrome GIF, IFF viewer (supposedly the best, but problems on the TT have been reported). ATARI-ARCHIVE: Graphics/pchrome3.lzh. 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. VIII. 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]. The VMS executables including the patches are also available from black.cerritos.edu in the BACKUP save-set [ANONYMOUS.VMSNET]XV*.BCK_Z (PostScript docs are in file XV*.PS_Z) - also get [ANONYMOUS]LZDCMP.EXE to decompress. A ready-to-use XV.EXE is also available from bilbo.imsd.rwth-aachen.de (134.130.12.5). Consult the comp.sys.dec* news groups for Digital-specific information. IX. 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. CONVERSION TOOLS: PBMPlus tool kit (See description under "CONVERSION TOOLS" in the "PORTABLE UTILITIES" section above). NeXT binaries of the PBMPlus tool kit are available from sonata.cc.purdue.edu in /pub/next/2.0-release/binaries. Consult the comp.sys.next* news groups for NeXT-specific information. X. UNIX/XWINDOWS PROCEDURES/UTILITIES URANIE has been closed down... The best place to look for any sort of X utility is on EXPORT. There are all sorts of X applications archived there, and should probably be your first resort as to where to find any given X utility. 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_<two-char-code>, where <two-char-code> 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" by Mark Stantz (written in perl). aub connects to an NNTP-based news server or to raw spooled news files 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. aub also allows for conditional decoding and postprocessing of decoded binaries. Highly recommended by me (deej) as a time-saver - I run it from cron nightly! 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, the "official" archive at sgigate.sgi.com (192.82.208.1) in pub/aub/aub.2.0.5.shar, or from BRYANW:unix/utils/aub.2.0.5.shar. Also posted to alt.sources. mcvert Decodes Macintosh BinHex files. Available via anonymous FTP from sumex-aim.stanford.edu (36.44.0.6) in directory /info-mac/unix, or from WUARCHIVE:/mirrors/info-mac/unix/mcvert-*.tar.Z. 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, and from BRYANW:misc/uuconvert_source.zip. 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*. xmitBin Binary file poster/mailer (includes picture stats and anonymous posting capabilities) by Jim Howard (deej@cadence.com). Latest version is 1.8. Available via anonymous FTP from BRYANW:unix/utils/xmitBin-*.Z. 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:<unix-c.file-mgmt>unzip*.tar-z, and from WUARCHIVE:/mirrors/misc/unix/unzip*.tar-z, or from GARBO:/unix/arcers directory as unzip*.tar.Z (you'll have to decompress these with the UNIX compress utility). Also available from BRYANW:unix/utils/unzip*.tar.Z. lha Uncompresses LZH (LHarc) files. Available via anonymous FTP from akiu.gw.tohoku.ac.jp in directory /pub/unix/lha as file lha-*.tar.Z, from lysator.liu.se in the /pub/amiga/LhA directory, and from sun.soe.clarkson.edu in /pub/src. zip Uncompresses MS-DOS ZIP files. Available via anonymous FTP from WUARCHIVE:/mirrors/unix-c/arc-progs/zip.tar-z. CONVERSION TOOLS: dltogl Converts DL files to GL files - written by phillips@cs.ubc.ca. (Usage note 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 <all of the .clp and .pic files produced by dltogl> 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 /informatik.public/news/alt.sources/1/dltogl.Z, on cs.ubc.ca in /pub/local/src/dltogl.c, on nuri.inria.fr in /graphics/dltogl.c.Z, and from BRYANW:misc/dltogl_source.zip. fromGIF/toGIF Converts GIF to/from Silicon Graphics IRIS format. Available via anonymous FTP from BONGO:iris/fromgif.c,togif.c. PICTURE VIEWERS: GIF320 GIF viewer for DEC VT320 terminals written by "Doctor Gonzo" (sboyle@maths.tcd.ie). Looking for volunteers with VT420s to help with program enhancements! Available via anonymous FTP from ftp.maths.tcd.ie in directory /pub/sboyle as file gif320_*.tar.Z. 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). Automatically decodes uuencoded and compressed (.Z) files, and gamma-corrects images before displaying them. Based on xloadimage version 3.01. Available via anonymous FTP from EXPORT:xli*. xloadimage X-windows viewer supporting multiple formats (also 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, from ftp.cis.upenn.edu (130.91.6.8) in the pub/xv directory or from gatekeeper.dec.com (16.1.0.2) in the /.1/X11/contrib directory, both as file xv-*.tar.Z. (Latest version 2.21) "MOVIE" VIEWERS: ImageMagick (See reference in "PICTURE VIEWERS" above). As well as providing other utilities, it can also do animation! UtahRaster Tools (See reference in "CONVERSION TOOLS" section of "PORTABLE UTILITIES" above). Also includes facilities to generate animations! mpeg_play X-windows MPEG player - works fairly decently. Available via anonymous FTP on postgres.berkeley.edu (128.32.149.1) in the file /pub/multimedia/mpeg/mpeg_play-2.0.tar.Z, from EXPORT:mpeg-1.2.tar.Z, and from miki.cs.titech.ac.jp (131.112.172.15) as /pub/X11/contrib/mpeg/mpeg_play-2.0.tar.Z. xanim X-windows multi-format movie viewer (DL, FLI, GIF and IFF) by Mark Podlipec (podlipec@dgxyris.webo.dg.com). Available via anonymous FTP from gondwana.ecr.mu.oz.au (128.250.70.62) in /pub/XAnim.2297d.tar.Z, from amiga.physik.unizh.ch (130.60.80.80) in /amiga/gfx/show/xanim229.tar.Z, ftp.luth.se (130.240.18.2) in /pub/OS/amiga/gfx/show/xanim229.tar.Z, ftp.uni-kl.de (131.246.9.95) in /pub/amiga/aminet/gfx/show/xanim229.tar.Z, and also from WUARCHIVE:/mirrors4/amiga.physik.unizh.ch/amiga/gfx/show/xanim229.tar.Z and from syr.edu (128.230.1.49) in /software/X/xanim229.tar.Z. 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. xflick X-windows FLI viewer. Available via anonymous FTP from NIC:/pub/X11/contrib/xflick.tar.Z, from GARBO:/X11/graphics/xflick.tar.Z, from ftp.uu.net (137.39.1.9) in /pub/window-sys/X/contrib/xflick.tar.Z, or from EXPORT:xflick.tar.Z. xgrasp X-windows GL viewer (color only). Available via anonymous FTP from EXPORT:xgrasp*. XTango X-windows animation system. Available via anonymous FTP from par.cc.gatech.edu as /pub/xtango.tar.Z, or as xtangovararg.tar.Z for those on HP or DEC workstations. Both represent the latest version (1.42). xviewgl X-windows GL viewer. Available via anonymous FTP from BONGO:xwindows/xviewgl/*, or from EXPORT:xviewgl_v*.tar.Z. xdl X-windows DL viewer. Available via anonymous FTP from EXPORT:xdl*.tar.Z, or from WUARCHIVE:/usenet/alt.sources/archives/5985.Z (xdl 2.0). Consult the comp.sources.unix, comp.sources.x, comp.sys.<sys_name> (where <sys_name> is your system type - i.e. hp, mips, sun, etc.) news groups for UNIX, X-windows and other system-specific information. XI. 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 ( <FIRST> ) { # 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 ( <FIRST> ) { 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 ( <FIRST> ) { # 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 ( <FIRST> ) { 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 ( <CURR> ) { next unless /^$/; last; } # at the body of the message - start looking for /^M/ while ( <CURR> ) { 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 ( <CURR> ) { 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 ( <CURR> ) { next unless /^$/; last; } # at the body of the message - start looking for /^M/ while ( <CURR> ) { next unless /^M/; last; } # OK, we're at the start of the good stuff (probably) print DECO $_; while ( <CURR> ) { 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 <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: uumerge # Wrapped by merlyn@iwarpti on Sun Oct 6 22:22:36 1991 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'uumerge' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'uumerge'\" else echo shar: Extracting \"'uumerge'\" \(600 characters\) sed "s/^X//" >'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) updated from an earlier version: #! /bin/sh # A shell script to extract binary files from their uudecoded parts. # WRITTEN BY NASIR AHMED NOOR (noor@muug.mb.ca) # # Usage: # Store all uudecoded parts of a file (in right order) in a file and give # that file as argument to this script. AN INPUT FILE CAN CONTAIN UUDECODED # PARTS OF MORE THAN ONE FILE AND THEY ALL WILL BE EXTRACTED. You can # provide multiple file names [wild cards also ok] on the command line. # infunc () { while ( test $curfield -le $fields ) do myrec=`echo $linenums|nawk '{print $mynum}' mynum=$curfield` nawk '$0 ~ /^begin / && NR > rec {print $0}; $0 ~ /^M[^a-z]/ && NR > rec {print $0}; NR > rec {sl=lr; lr=pr; pr=$0}; $1 ~ /^end/ && NR > rec {print sl; print lr; print pr; exit}' rec=$myrec $binfile | uudecode curfield=`expr $curfield + 1 ` done } for binfile in $* do linenums=`nawk '$0 ~ /^begin / {myrec = (NR - 1); print myrec}' $binfile` fields=`echo $linenums|nawk '{print NF}'` curfield=1 if ( test $fields -ge 1 ) then infunc fi done 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 ------------------------------------------------------------------------------- XII. 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 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... -- Jim Howard *** jhoward@best.com *** http://infolane.com/deej/index.html Author, "The Internet Voyeur" (http://infolane.com/deej/voyeur.html) (^:= Flames cheerfully ignored. =:^) ................................................................................ What would have happened if Kuwait's main product was broccoli?