                                     C                                         WASD VMS Hypertext Services >                                          . . . read this first      "                    1st August 1997  C                    Supercedes: 1st July, 1997 (v4.2), 1st June 1997 2                    (v4.1), 1st January 1996 (v3.1)                      Please Note  G                    As of July 1997 High Frequency Radar Division (HFRD) F                    underwent a change of role and name. It is now WideF                    Area Surveillance Division (WASD). This package has8                    been renamed in accordance with that.                      Abstract   F                    This document is an essential read prior to furtherI                    investigating the freeware WASD VMS Hypertext Services $                    software package.  D                    It covers the version 4.3 release of the WASD VMS8                    HTTPd server and associated software.                      Author   !                    Mark G. Daniel 2                    Senior Information Technologist2                    Wide Area Surveillance Division>                    Defence Science and Technology Organisation  2                    Mark.Daniel@dsto.defence.gov.au  )                    +61 (8) 82596031 (bus) )                    +61 (8) 82596673 (fax)                                      PO Box 1500                    Salisbury'                    South Australia 5108                                                                                                            ii                                   L                 WASD VMS Hypertext Services, Copyright (C) 1996,1997 Mark G.                Daniel.  L                This package is free software; you can redistribute it and/orJ                modify it under the terms of the GNU General Public LicenseM                as published by the Free Software Foundation; version 2 of the -                License, or any later version.   F                This package is distributed in the hope that it will beI                useful, but WITHOUT ANY WARRANTY; without even the implied F                warranty of MERCHANTABILITY or FITNESS FOR A PARTICULARL                PURPOSE. See the GNU General Public License for more details.  H                You should have received a copy of the GNU General PublicI                License along with this package; if not, write to the Free L                Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,                USA.   J                OpenVMS, Digital TCP/IP Services for OpenVMS, VAX C, DEC C,                VAX and AXPJ                are registered trademarks of Digital Equipment Corporation.  H                MultiNet is a registered trademark of Cisco Systems, Inc.  D                Pathway is a registered trademark of Attachmate, Inc.  D                TCPware is a registered trademark of process Software                Corporation.   9                MadGoat NETLIB package by Matthew Madison.   J                Permission is granted to copy and redistribute . . . for no                commercial gain.   C                RSA Data Security, Inc., code is used under licence:   J                granted to make and use derivative works provided that suchK                works are identified as "derived from the RSA Data Security, L                Inc. MD5 Message-Digest Algorithm" in all material mentioning/                or referencing the derived work.   .                (how's that for legalese? :^) )                       P                Contents_________________________________________________________  P                Chapter_1__Disclaimer____________________________________________      P                Chapter_2__Overview______________________________________________      P                Chapter_3__Scripts_______________________________________________    P                Chapter_4__Requirements__________________________________________      P                Chapter_5__Building______________________________________________      P                Chapter_6__Can't_Wait?___________________________________________    P                Chapter_7__Support_______________________________________________      P                Chapter_8__GNU_General_Public_License____________________________                                      1                                               iii                      M             Chapter__1_______________________________________________________                Disclaimer    J                As Wide Area Surveillance Division (formerly High FrequencyI                Radar Division) currently employs some useful (and in that G                sense valuable) freeware and public-domain software, its I                management has consented, in the spirit of wishing to "pay L                its dues" and encourage this environment, to make some of itsM                own, locally implemented hypertext services software available ,                to the broader VMS community.  I                The Division recognises that although having no commercial E                value, this software can never-the-less be valuable to G                other sites because of its low cost (usually media only) K                and in that it may address niche requirements not viable for K                commercial vendors. It should be emphasized that this is not J                a commercial-grade package, has not been designed with thatJ                in mind, should not be recognised as such, nor is it in anyH                way endorsed by the Wide Area Surveillance Divison or its                management.  K                This package is free software provided under the GNU General K                Public License, there is ABSOLUTELY NO WARRANTY of any kind. K                See Chapter 8. If you are not familiar with this approach to 9                licensing please take the time to read it.                   Author's Note  J                It definitely is not a commercial-grade package but I stillJ                think it works well (and am only moderately reticent to let*                others scrutinize my work)!                              N                                                                Disclaimer  1-1                     M             Chapter__2_______________________________________________________                Overview    M                This is a revision of the original freeware release read-this- I                first (version 3.1). Little has changed. I quote from that                 document:  K                " This read this first is a quick "throw-together" providing H                an introduction and some guidance for support external toM                WASD. It does not pretend to be as exhaustive as is necessary, :                but hey I'm not getting paid for this :^) "  G                This revision and it's associated documentation is still J                thrown-together, at the last minute and with even less timeM                than before. If this sounds like an apology, it's not meant to K                ... well not exactly. I would still prefer that it be better J                packaged, but it's not, and it doesn't look like it's goingK                to happen that way. So if you have to struggle a little with K                it then I'm sorry, because I don't like my jobs to be harder J                than they might be, but that's way this one is! Look on theL                optimistic side, it might (and has) worked the way you wanted*                (or at all) the first time!  K                These releases are derived from our working Web environment. H                I'm afraid this is getting a little cluttered with "junk"I                files ... dead-end software development, other Web-related I                freeware packages, Perl scripts, etc. I have tried to cull K                this as best I can but suspect there are still some lurking.                 Apologies!                   Some Background  G                The implementation of the internal hypertext environment H                started off as a Divisional management action-item, "makeJ                it easier to access information-systems-based documentationF                and other data in a multi-platform environment". GopherG                was a first and brief stop, just as the power of the WWW F                technologies was becoming obvious (mid 1994). Like manyI                others, I became impressed with the potential to integrate H                disparate data formats and platforms with the ease of the<                point-and-click functionality of the browser.  L                After evaluating the CERN (live) and an early OSU DEC-threadsK                (by documentation) servers I decided some of the limitations F                and other idiosyncracies of these warranted investing aH                little in our own (how's that for hubris!) The upshot was  N                                                                  Overview  2-1                 M                that although the Divison provided core time and justification H                for development and implementation of this environment, IL                spent considerable of my own time on the package as well. TheI                HTTPd server's multi-threading is done using VMS ASTs, and K                this is by far the largest AST-driven system I have designed G                and built. In short, I found it a challenge, I learned a M                remarkable amount (particularly about VMS' ASTs), and gained a L                great deal of satisfaction from it. I hope its of some use to/                someone out there other than us.   G                Without apology, the server and its environment has been H                designed to support an intra-organisational (the industryJ                has now settled on the term Intranet) hypertext environmentI                and has been tailored to the requirements of the Wide Area F                Surveillance Divison and its VMS environment. Any otherM                usefulness is purely coincidental! All this not-with-standing, J                it should prove useful in the broader context. As mentionedF                above, it is not a commercial-grade product so a littleK                fiddling and experimentation may be required (of course none K                of us have had to fiddle around commercial packages either!)                   Documentation  K                Some documentation is provided, but again this is mainly for I                internal, Divisional support purposes. If external readers L                find it useful then that's a bonus! It is basically unalteredM                from its original, internal purpose, apart from more extensive J                author contact information, the copyright notices, and some6                small disclaimers in the introductions.  K                See the <[.DOC]> (hypertext link) directory. You should find L                HTML, Bookreader (and HyperReader), plain-text and PostScriptK                versions (all generated from SDML sources using DEC Document B                and the SDM2HTM application found in this package).  J                The "Proceedings of the Twenty-Fifth Annual DECUS AustraliaK                Symposium, 1995" contain a paper by the author summarising a K                presentation made during that event, titled "Introduction to I                World Wide Web Technologies ... what the surfboard is made M                from". Even though now (1997) every man and his dog can recite J                the Litany Of The Web I have taken the liberty of includingJ                it for informational purposes, in PostScript format, in theL                <[.DOC]> (hypertext link) directory. It documents some of theJ                uses WASD (HFRD) has made of the hypertext environment fromI                late 1994, and although the technology content is now (mid I                1997) definitely getting dated it could still be useful if ,                only for historical purposes!                   2-2  Overview                  0                WASD HTTPd Has Spread It's Wings!  L                The WASD server supports Digital TCP/IP Services (UCX) with a                native image.  J                As of v4.3, and using the excellent MadGoat Software NETLIBB                package, this server can also (potentially) support  5                o  CMU TCP/IP (VAX only) v6.5 or later   ;                o  PathWay from Attachmate Inc., any version   H                o  TCPware from Process Software Corporation, any version  9                o  Cisco MultiNet for OpenVMS, any version   K                NETLIB requires VAX/VMS v5.2 or later, or OpenVMS Alpha v1.5                 or later.  L                NETLIB must be obtained and installed separately. This is notI                a difficult job for there is an excellent VMSINSTAL-driven .                installation and configuration.  M                The WASD NETLIB support was developed using v2.1, which may be ?                obtained from http://www.madgoat.com/netlib.html   -                ftp://ftp.madgoat.com/madgoat/   K                The NETLIB support within the WASD server is tested in-house J                using the Digital TCP/IP Services package via NETLIB. Other@                TCP/IP packages may or may not perform as tested.  &                Swan-Song ... Prospects  J                With the advent of good commercial HTTP servers for VMS theC                need for a package such as this diminishes somewhat.   G                My role with respect to VMS is currently undergoing some M                change, as is the role of VMS within IT. Certainly I will have K                much less to do with VMS in the future. Whether VMS has much L                less to do within IT seems likely but has not yet culminated.  M                In either case, this package will probably continue to undergo I                some further development. Bugs will still be addressed and K                there may be some tinkering around the edges, but more spare L                time must be spent elsewhere. The package has been good to meJ                over the last three years, teaching a great deal more aboutF                VMS, and the C Programming Language, and multi-threadedG                code. The package has proved to be invaluable in our VMS K                environment, and continues providing the backbone of our Web                 environment.   N                                                                  Overview  2-3                 F                A major revision and improvement under v4.2 was made toG                the DCL module. This provides some SSI functionality but J                more importantly CGI scripting. The scripting mechanism hasG                been redesigned to support persistant-subprocesses. This I                improves script response time (200-300%) and significantly I                reduces the system impact. In addition, the development of L                CGIplus provides the capability to enhance CGI scripting, andK                further improve response latency (another 200-300%). This is 4                documented in the technical overview.                    Feedback   I                It would be interesting to know who is using what parts of M                this package and where. If you find it of use could you please L                make a moment to drop an e-mail (or even snail-mail) listing:                  o  name  *                o  organisation and address                   o  e-mail address  J                o  components and version of WASD VMS Hypertext Services in                   use   I                o  platform(s) (AXP/VAX, VMS version, network software and                    version)  $                o  any other comments  E                This information will be confidential. I may use it to H                feedback to you any monumental changes in the package :^)                With thanks.   :                <E-Mail me now!> (hypertext mailto: anchor)                                         2-4  Overview. r                   M             Chapter__3_______________________________________________________,               Scripts1    J                The script applications have all been designed to be (more-H                than-less) CGI compliant. The HTTPd server passes requestG                data only via CGI variables. In a similar fashion to theiI                CERN implementation these CGI variables are implemented asaI                DCL symbols, with the standard CGI variable names prefixed H                by "WWW_". Script applications usually return a full HTTPG                response (i.e. generate their own header and a full dataVJ                stream, and could be considered the equivalent of no-parse-M                header scripts), although server generation of headers is alsoT                available.f  M                It may be possible to adapt these applications to other server K                environments. As the author considers some of the scripts torH                be quite useful (e.g. HyperReader, a hypertext BookreaderF                application) this is encouraged. The GNU General Public/                License still applies of course.   J                The development of persistant-process scripting and CGIplusJ                provides the capability to enhance CGI scripting, improvingK                script response latency. This is documented in the technical                 overview.                                            N                                                                   Scripts  3-1                     M             Chapter__4_______________________________________________________                Requirements    E                "Out-of-the-box" the package executes using DEC TCP/IP K                Services on both AXP and VAX platforms. It will also executerM                with other TCP/IP packages supported by NETLIB (see WASD HTTPdt'                Has Spread It's Wings!).t  D                The software was originally written in a VAX C (v3.2)E                and later DEC C (v5.n) environments, under VMS 6.n. NoEJ                consideration has been given to any other environments. TheG                DEC C run-time environment is prefered to the VAX C run-cJ                time environment because the former's greater integrity and4                improved performance over the latter.                  Executables  K                The executables provided with the package have been compiled L                using DEC C v5.0 and linked against the VMS v6.2 DECC$SHR.EXE4                RTL, with the following implications:                  o  AXP Systemse  K                   For AXP systems with VMS v6.n this should not present any.                   problems.                   o  VAX Systems   J                   For VAX systems there will be an incompatibility for VMSM                   VAX versions prior to 6.2, as noted in the Open VMS Versions$                   6.2 Release Notes:  5                      4.5.2.2  DECC$SHR.EXE (VAX Only).                        V6.2   L                      A new package of internationalization routines has beenP                      added to the DEC C RTL (see Section 4.5.1.3) and the trans-S                      fer vector has been extended, necessitating an increase in the O                      minor ident (GSMATCH) of the image.  Because of this, pro-:G                      grams using the DEC C RTL (DECC$SHR.EXE) linked on_J                      OpenVMS VAX Version 6.2 systems will not run on prior-                      versions of OpenVMS VAX.                      Solutions:  L                   1. If your VAX site does not support the DEC C compiler orN                      run-time environment (check here for the run-time, share-M                      able image: <SYS$COMMON:[SYSLIB]DECC$SHR.EXE> (hypertext   N                                                              Requirements  4-1                 L                      link) ), the run-time components alone can be installedJ                      and used without additional licensing. This is a sim-L                      ple and short duration exercise. The DEC C/C++ Run-TimeL                      Components kit is available on the Digital consolidatedM                      distribution CD-ROM (last seen in the same CD and direc-_K                      tory as the DEC C compiler). For your convenience, and J                      within Digital's permitted redistribution guidelines,L                      the run-time kit is also provided as part of this pack-J                      age. The saveset and documentation are located in theN                      <[.AACRT060]> (hypertext link) directory. Please read theJ                      installation instructions provided in that directory.  G                   2. Relink all of the applications against you current I                      DECC$SHR.EXE, sorry. The build procedures all acceptsE                      "LINK" as a command-line parameter, skipping thewF                      compilation phase and just linking. The procedureI                      <[.SRC]RELINK_ALL.COM> (hypertext link) will execute E                      all the build procedures through the link phase.e  1                                              Note   D                      Needless-to-say (but I will anyway), the serverF                      requires a privileged environment (either account3                      or image) in which to execute.e                     HTTPd Executables  D                Two server executables are provided with the package.  M                o  HTTPD.EXE - This provides native support for Digital TCP/IPN!                   services (UCX).e  E                o  HTTPD_NETLIB.EXE - This provides NETLIB support for *                   packages other than UCX.                  NETLIB Support   F                NETLIB must be installed separately. The package may be@                obtained from: http://www.madgoat.com/netlib.html  -                ftp://ftp.madgoat.com/madgoat/                              4-2  Requirements                      M             Chapter__5_______________________________________________________                Building    8                All of the applications are written in C.  J                As the software has been written to the requirements of DECH                C (in an uncritical, VAXC-backward-compatible compilationJ                mode, i.e. /STANDARD=VAXC (when moving from VAXC C to DEC CM                the author discovered he wasn't the rigorous software engineerdK                he had hoped he was :^)) its build and run-time behaviour ine<                other compiler environments is unpredictable.  I                All applications are linked against the DEC C DECC$SHR.EXE'K                RTL. The DEC C run-time environment is prefered to the VAX ClJ                run-time environment because the former's greater integrityH                and improved performance over the latter. See the sectionH                Executables for further information on this component. InH                all probability, if you're considering re-compiling, thisL                environment will already be available on your site somewhere.  I                Brute-force build procedures are provided in each softwaregC                application source directory. They are named "BUILD_s                whatever.COM".r  K                Two procedures can be used to rebuild or relink all applica- K                tions in the package. Because of some dependencies the HTTPd ,                server should be built first.  8                o  <[.SRC]BUILD_ALL.COM> (hypertext link)  9                o  <[.SRC]RELINK_ALL.COM> (hypertext link)k  H                Also, the HTTPd server itself is specifically tailored toL                Digital TCP/IP Services for OpenVMS (primarily) and NETLIB (aJ                close second). The HTTPd server build procedure needs to beJ                told to explicitly build for NETLIB. The executable in this;                case is specifically named HTTPD_NETLIB.EXE.c                  N                                                                  Building  5-1 o  n                M             Chapter__6_______________________________________________________                Can't Wait?i    J                Can't wait to try it out? (You should definitely have first+                read the section Chapter 4.)d  L                Execute <@DEVICE:[HT_ROOT]FREEWARE_DEMO.COM> (hypertext link)#                for the UCX version..  M                Execute <@DEVICE:[HT_ROOT]FREEWARE_DEMO.COM NETLIB> (hypertext ,                link) for the NETLIB version.                                                                      N                                                               Can't Wait?  6-1 h  i                M             Chapter__7_______________________________________________________                Support     K                The WASD VMS hypertext services have become an integral com- L                ponent of the Wide Area Surveillance Division's documentationI                access strategy. During the three years of its development M                the environment has also achieved a high degree of integration L                of available documentation and software resources for the VMS9                user and software development environment.r  L                Although always in need of further development and refinementM                the level of functionality meets the Division's current intra-sH                organisational hypertext environment requirements, and soK                it will not be driving any further significant (foreseeable)g:                developments (see Swan-Song ... Prospects).  D                This not-with-standing, the author may, if demand, orG                requirements, or inclination arises, further develop the J                package, either by refining the existing server or scripts,@                or by adding additional functionality or scripts.  G                Investigation of bug reports/fixes and implementation ofmH                additional functionality will be completely contingent onK                its impact or relevance to WASD's use of or desirability foreL                the instance in question. Anything other than this would needH                to be done in the author's own time and therefore is also/                contingent on the circumstances.   G                The author welcomes bug reports (I don't really) and any G                other feedback or comments, particularly if they are not K                too damaging to his fragile ego. E-mail is preferable. Every I                effort will be made to respond, as is possible at the timeeH                (sooner better than later), but no guarantees. For a more8                formal request see Feedback in Chapter 2.  H                Of course, because this package is free software providedK                under the GNU General Public License, there is ABSOLUTELY NOc3                WARRANTY of any kind. See Chapter 8.u                N                                                                   Support  7-1                     M             Chapter__8_______________________________________________________t  &             GNU General Public License        >                                     GNU GENERAL PUBLIC LICENSE;                                        Version 2, June 1991)  H                  Copyright (C) 1989, 1991 Free Software Foundation, Inc.P                                           675 Mass Ave, Cambridge, MA 02139, USAM                  Everyone is permitted to copy and distribute verbatim copiesyJ                  of this license document, but changing it is not allowed.  4                                             Preamble  O                   The licenses for most software are designed to take away yourtT                 freedom to share and change it.  By contrast, the GNU General PublicV                 License is intended to guarantee your freedom to share and change freeT                 software--to make sure the software is free for all its users.  ThisK                 General Public License applies to most of the Free SoftwaregV                 Foundation's software and to any other program whose authors commit toV                 using it.  (Some other Free Software Foundation software is covered byU                 the GNU Library General Public License instead.)  You can apply it toP#                 your programs, too.i  R                   When we speak of free software, we are referring to freedom, notV                 price.  Our General Public Licenses are designed to make sure that youV                 have the freedom to distribute copies of free software (and charge forU                 this service if you wish), that you receive source code or can get itlT                 if you want it, that you can change the software or use pieces of itP                 in new free programs; and that you know you can do these things.  R                   To protect your rights, we need to make restrictions that forbidV                 anyone to deny you these rights or to ask you to surrender the rights.W                 These restrictions translate to certain responsibilities for you if yourG                 distribute copies of the software, or if you modify it.W  R                   For example, if you distribute copies of such a program, whetherU                 gratis or for a fee, you must give the recipients all the rights thatST                 you have.  You must make sure that they, too, receive or can get theS                 source code.  And you must show them these terms so they know theirh                 rights.   X                   We protect your rights with two steps: (1) copyright the software, andT                 (2) offer you this license which gives you legal permission to copy,6                 distribute and/or modify the software.  N                                                GNU General Public License  8-1    m            V                   Also, for each author's protection and ours, we want to make certainQ                 that everyone understands that there is no warranty for this freeaX                 software.  If the software is modified by someone else and passed on, weW                 want its recipients to know that what they have is not the original, so W                 that any problems introduced by others will not reflect on the original %                 authors' reputations.   P                   Finally, any free program is threatened constantly by softwareS                 patents.  We wish to avoid the danger that redistributors of a freetV                 program will individually obtain patent licenses, in effect making theU                 program proprietary.  To prevent this, we have made it clear that any0W                 patent must be licensed for everyone's free use or not licensed at all.p  P                   The precise terms and conditions for copying, distribution and$                 modification follow.  >                                     GNU GENERAL PUBLIC LICENSER                    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION  U                   0. This License applies to any program or other work which containshT                 a notice placed by the copyright holder saying it may be distributedV                 under the terms of this General Public License.  The "Program", below,U                 refers to any such program or work, and a "work based on the Program"sT                 means either the Program or any derivative work under copyright law:Q                 that is to say, a work containing the Program or a portion of it,eT                 either verbatim or with modifications and/or translated into anotherV                 language.  (Hereinafter, translation is included without limitation inO                 the term "modification".)  Each licensee is addressed as "you".o  T                 Activities other than copying, distribution and modification are notP                 covered by this License; they are outside its scope.  The act ofV                 running the Program is not restricted, and the output from the ProgramN                 is covered only if its contents constitute a work based on theQ                 Program (independent of having been made by running the Program).mF                 Whether that is true depends on what the Program does.  Q                   1. You may copy and distribute verbatim copies of the Program'snO                 source code as you receive it, in any medium, provided that youlS                 conspicuously and appropriately publish on each copy an appropriate P                 copyright notice and disclaimer of warranty; keep intact all theV                 notices that refer to this License and to the absence of any warranty;S                 and give any other recipients of the Program a copy of this Licenser'                 along with the Program.   U                 You may charge a fee for the physical act of transferring a copy, andrW                 you may at your option offer warranty protection in exchange for a fee.   U                   2. You may modify your copy or copies of the Program or any portiontM                 of it, thus forming a work based on the Program, and copy andiR                 distribute such modifications or work under the terms of Section 1K                 above, provided that you also meet all of these conditions:   +             8-2  GNU General Public License                  S                     a) You must cause the modified files to carry prominent notices4R                     stating that you changed the files and the date of any change.  V                     b) You must cause any work that you distribute or publish, that inS                     whole or in part contains or is derived from the Program or any U                     part thereof, to be licensed as a whole at no charge to all thirdt<                     parties under the terms of this License.  T                     c) If the modified program normally reads commands interactivelyN                     when run, you must cause it, when started running for suchT                     interactive use in the most ordinary way, to print or display anP                     announcement including an appropriate copyright notice and aV                     notice that there is no warranty (or else, saying that you provideQ                     a warranty) and that users may redistribute the program underDU                     these conditions, and telling the user how to view a copy of thislR                     License.  (Exception: if the Program itself is interactive butT                     does not normally print such an announcement, your work based onJ                     the Program is not required to print an announcement.)  M                 These requirements apply to the modified work as a whole.  IfoT                 identifiable sections of that work are not derived from the Program,R                 and can be reasonably considered independent and separate works inS                 themselves, then this License, and its terms, do not apply to those R                 sections when you distribute them as separate works.  But when youU                 distribute the same sections as part of a whole which is a work basednU                 on the Program, the distribution of the whole must be on the terms ofiQ                 this License, whose permissions for other licensees extend to thenY                 entire whole, and thus to each and every part regardless of who wrote it.   U                 Thus, it is not the intent of this section to claim rights or contestCU                 your rights to work written entirely by you; rather, the intent is tohO                 exercise the right to control the distribution of derivative orx6                 collective works based on the Program.  V                 In addition, mere aggregation of another work not based on the ProgramU                 with the Program (or with a work based on the Program) on a volume oflT                 a storage or distribution medium does not bring the other work under*                 the scope of this License.  T                   3. You may copy and distribute the Program (or a work based on it,U                 under Section 2) in object code or executable form under the terms ofiV                 Sections 1 and 2 above provided that you also do one of the following:  T                     a) Accompany it with the complete corresponding machine-readableV                     source code, which must be distributed under the terms of Sections\                     1 and 2 above on a medium customarily used for software interchange; or,  R                     b) Accompany it with a written offer, valid for at least threeR                     years, to give any third party, for a charge no more than yourQ                     cost of physically performing source distribution, a completedQ                     machine-readable copy of the corresponding source code, to bekU                     distributed under the terms of Sections 1 and 2 above on a mediumxB                     customarily used for software interchange; or,  N                                                GNU General Public License  8-3    N            U                     c) Accompany it with the information you received as to the offereR                     to distribute corresponding source code.  (This alternative isO                     allowed only for noncommercial distribution and only if youwT                     received the program in object code or executable form with suchA                     an offer, in accord with Subsection b above.)o  S                 The source code for a work means the preferred form of the work forrT                 making modifications to it.  For an executable work, complete sourceT                 code means all the source code for all modules it contains, plus anyO                 associated interface definition files, plus the scripts used to V                 control compilation and installation of the executable.  However, as aO                 special exception, the source code distributed need not include Q                 anything that is normally distributed (in either source or binaryhT                 form) with the major components (compiler, kernel, and so on) of theT                 operating system on which the executable runs, unless that component2                 itself accompanies the executable.  P                 If distribution of executable or object code is made by offeringP                 access to copy from a designated place, then offering equivalentL                 access to copy the source code from the same place counts asR                 distribution of the source code, even though third parties are notH                 compelled to copy the source along with the object code.  T                   4. You may not copy, modify, sublicense, or distribute the ProgramM                 except as expressly provided under this License.  Any attempt R                 otherwise to copy, modify, sublicense or distribute the Program isV                 void, and will automatically terminate your rights under this License.T                 However, parties who have received copies, or rights, from you underT                 this License will not have their licenses terminated so long as such2                 parties remain in full compliance.  T                   5. You are not required to accept this License, since you have notT                 signed it.  However, nothing else grants you permission to modify orR                 distribute the Program or its derivative works.  These actions areS                 prohibited by law if you do not accept this License.  Therefore, by O                 modifying or distributing the Program (or any work based on the T                 Program), you indicate your acceptance of this License to do so, andS                 all its terms and conditions for copying, distributing or modifyingi1                 the Program or works based on it.   U                   6. Each time you redistribute the Program (or any work based on the Q                 Program), the recipient automatically receives a license from the_V                 original licensor to copy, distribute or modify the Program subject toK                 these terms and conditions.  You may not impose any further V                 restrictions on the recipients' exercise of the rights granted herein.T                 You are not responsible for enforcing compliance by third parties to                 this License.       +             8-4  GNU General Public License                  U                   7. If, as a consequence of a court judgment or allegation of patent T                 infringement or for any other reason (not limited to patent issues),S                 conditions are imposed on you (whether by court order, agreement or V                 otherwise) that contradict the conditions of this License, they do notN                 excuse you from the conditions of this License.  If you cannotV                 distribute so as to satisfy simultaneously your obligations under thisV                 License and any other pertinent obligations, then as a consequence youP                 may not distribute the Program at all.  For example, if a patentV                 license would not permit royalty-free redistribution of the Program byU                 all those who receive copies directly or indirectly through you, then S                 the only way you could satisfy both it and this License would be to B                 refrain entirely from distribution of the Program.  U                 If any portion of this section is held invalid or unenforceable undernV                 any particular circumstance, the balance of the section is intended toN                 apply and the section as a whole is intended to apply in other                 circumstances.  S                 It is not the purpose of this section to induce you to infringe any T                 patents or other property right claims or to contest validity of anyP                 such claims; this section has the sole purpose of protecting theL                 integrity of the free software distribution system, which isO                 implemented by public license practices.  Many people have madeeP                 generous contributions to the wide range of software distributedQ                 through that system in reliance on consistent application of thatbV                 system; it is up to the author/donor to decide if he or she is willingU                 to distribute software through any other system and a licensee cannot #                 impose that choice.   U                 This section is intended to make thoroughly clear what is believed tos=                 be a consequence of the rest of this License.s  S                   8. If the distribution and/or use of the Program is restricted iniU                 certain countries either by patents or by copyrighted interfaces, the S                 original copyright holder who places the Program under this LicenserR                 may add an explicit geographical distribution limitation excludingS                 those countries, so that distribution is permitted only in or among U                 countries not thus excluded.  In such case, this License incorporates I                 the limitation as if written in the body of this License.r  Y                   9. The Free Software Foundation may publish revised and/or new versionsgX                 of the General Public License from time to time.  Such new versions willX                 be similar in spirit to the present version, but may differ in detail to1                 address new problems or concerns.   V                 Each version is given a distinguishing version number.  If the ProgramW                 specifies a version number of this License which applies to it and "any Y                 later version", you have the option of following the terms and conditions T                 either of that version or of any later version published by the FreeY                 Software Foundation.  If the Program does not specify a version number ofs\                 this License, you may choose any version ever published by the Free Software                 Foundation.o  N                                                GNU General Public License  8-5 )  o            U                   10. If you wish to incorporate parts of the Program into other free Y                 programs whose distribution conditions are different, write to the authornU                 to ask for permission.  For software which is copyrighted by the FreecX                 Software Foundation, write to the Free Software Foundation; we sometimesW                 make exceptions for this.  Our decision will be guided by the two goals Y                 of preserving the free status of all derivatives of our free software andoI                 of promoting the sharing and reuse of software generally.   7                                             NO WARRANTY   Z                   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTYX                 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHENV                 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIESZ                 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSEDT                 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFY                 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK ASeV                 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THEX                 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,%                 REPAIR OR CORRECTION.i  [                   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING S                 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR Z                 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,[                 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISINGaY                 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITEDsX                 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BYZ                 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHERU                 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE ,                 POSSIBILITY OF SUCH DAMAGES.  @                                      END OF TERMS AND CONDITIONS                                      +             8-6  GNU General Public License 