The Pipeline directory contains source code for programs featured in "Pipeline", an international technical support newsletter produced by Silicon Graphics Customer Support Division. "Pipeline" is provided to all customers holding valid support contracts. The source code in this directory is provided as a convenience to those customers who wish to utilize the programming examples published in some "Pipeline" articles. This software is provided without support and without any obligation on the part of Silicon Graphics, Inc. to assist in its use, correction, modification or enhancement. There is no guarantee that this software will be included in future software releases. Copyright (c) 1993, 1994, 1995, 1996, 1997 Silicon Graphics, Inc. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that (i) the above copyright notices and this permission notice appear in all copies of the software and related documentation, and (ii) the name of Silicon Graphics may not be used in any advertising or publicity relating to the software without the specific, prior written permission of Silicon Graphics. THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON GRAPHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ------------------ Table of Contents: glx_v3n2.tar.Z: Source code from article: "GL/X Mixed Model Programming, Part 1" March/April 1992 (Volume 3 Number 2) To Access: % uncompress glx_v3n2.tar.Z % tar xvf glx_v3n2.tar glx_v3n3.tar.Z: Source code from article: "GL/X Mixed Model Programming, Part 2" May/June 1992 (Volume 3 Number 3) To Access: % uncompress glx_v3n3.tar.Z % tar xvf glx_v3n3.tar glx_v3n5.tar.Z: Source code from article: "Handling Colormaps in Mixed Model Applications" September/October 1992 (Volume 3 Number 5) To Access: % uncompress glx_v3n5.tar.Z % tar xvf glx_v3n5.tar sonic.c.Z: This code originally appeared in the March/April 1993 Issue of the Silicon Graphics support magazine "Pipeline", Volume 4, Number 2 accompanying the article titled "Adding Audio to an Existing Graphics Application" as a coding example. For use with the Digital Media Development Option on Indigo family hardware platforms running IRIX 4.0.5F or greater. To uncompress this file use - uncompress sonic.c.Z fpe_timings.c, also known as test4.c: This example shows the amount of time a process will consume when generating a floating point exception that is handled by the hardware and then software. See the May/June 1994 (Volume 5, Number 3) issue of Pipeline. fpe_guide.c: Sample SIGFPE signal handler code provideds a guide to writing your own SIGFPE signal handler. See the May/June 1994 (Volume 5, Number 3) issue of Pipeline. float_to_ieee.c This example displays the internal representation of a single precision floating point number on MIPS RISC R2000, R3000, and R4000 series processors. See the May/June 1994 (Volume 5, Number 3) issue of Pipeline. fpe_handler1.c: Sample program illustrating how to use libfpe.a from within a C program. Appeared in the July/August 1994 (Volume 5, Number 4) issue of Pipeline. fpe_handler2.f: Sample program illustrating how to use libfpe.a from within a FORTRAN program. Appeared in the July/August 1994 (Volume 5, Number 4) issue of Pipeline. fpe_handler3.f: Sample program illustrating how to use the libfpe.a environment variable TRAP_FPE for a FORTRAN program. Appeared in the July/August 1994 (Volume 5, Number 4) issue of Pipeline. fpe_handler4.c: Sample program illustrating how to use libfpe.a from within a C++ program. Appeared in the July/August 1994 (Volume 5, Number 4) issue of Pipeline. callbacks.c: Sample program illustrating use of the traversal, callback and user data features of IRIS Performer. Appeared in the September/October 1994 (Volume 5, Number 5) issue of Pipeline. overlayWidget.c: Sample program illustrating how to use overlay planes in OpenGL Motif Widgets. Appeared in the November/December 1994 (Volume 5, Number 6) issue of Pipeline. fake_volhdr.Z Sample program illustrating how to create a volume header for using a device with the dksc disk driver, without actually writing the volume header to the media. This is useful for readonly drives (or drives where block 0 should not be overwritten), or media not created for SGI systems. Appeared in the March/April 1995 (Volume 6, Number 2) issue of Pieline. To Access: % uncompress volhdr.tar.Z % tar xvf volhdr.tar socket.Z Two sample programs illustrating how to open a socket on a client and server and transfer information between them. Appeared in the May/June 1995 (Volume 6, Number 3) issue of Pipeline. To Access: % uncompress socket.tar.Z % tar xvf socket.tar context1.c Context1.c provides an example of using the getcontext(2), setcontext(2) and makecontext(3C) functions introduced in IRIX 5.x. These functions are useful for implementing user level context switching between multiple threads of control within a single IRIX process. Appeared in the July/August 1995 (Volume 6, Number 4) issue of Pipeline. coffcheck.tar.Z Script to check a system running 4.0.x or later for COFF binaries. Discussed in the January/February 1996 (Volume 7, Number 1) issue of Pipeline. To access: % uncompress coffcheck.tar.Z % tar xvf coffcheck.tar filelock.tar.Z Three programs used to illustrate file locking locally and remotely. Discussed in the March/April 1996 (Volume 7, Number 2) issue of Pipeline. To access: % uncompress filelock.tar.Z % tar xvf filelock.tar dpa.c A program to display the virtual address map of a given process. Discussed in the Jul/Aug 1996 (Volume 7, Number 4) issue of Pipeline. scanning.tar Four scripts (imgscale cocoview conorm wpic) to manage scanning and correcting images for web pages. Discussed in the May/June 1997 (Volume 8, Number 3) issue of Pipeline. To access: % tar xvf scanning.tar ------------------ Canadian and U.S. Customers IF YOU HAVE A VALID SUPPORT CONTRACT and are not currently receiving Pipeline, please send your name, address, phone number and system serial number to: pipeline@sgi.com Customers outside of North America IF YOU HAVE A VALID SUPPORT CONTRACT and are not currently receiving Pipeline, please contact your local office for assistance. Third Party Customers If your support contract is through a reseller or other third party organization, you need to contact them directly regarding distribution of Pipeline.