
                  --   ShagWare General Public License   --
                       --  Version 2, June 1997  --

                                  and 

                 --   ShagWare Non-profit Public License   --
                       --  Version 2, June 1997  --


Copyright (C) 1996,1997 Frank E. Barrus
27 Lackawanna Blvd., Gillette, NJ, 07933, USA
email: shaggy@mail.csh.rit.edu

Freely copying these license agreements is allowed, provided that they are
distributed verbatim, with no changes made except by the author.


Shag/OS, SOLO, DECO, CParse, and all related materials are
Copyright (C) 1996,1997 Frank E. Barrus.  All rights reserved.
Exceptions to this will be noted in individual files.


Note that there are two licenses included in this file,
the Shagware General Public License (SGPL), and the Shagware Non-profit
Public License (SNPL).  Which one applies will be stated in each software
package.  SOLO is released under the Shagware General Public License.
ShagOS (not including parts needed by SOLO) is currently released
under the Shagware Non-profit Public License.  Other software will be
covered as stated in the documentation or in individual files.

The Shagware General Public License is much less restrictive, since
it allows the software to be sold, or included in commercial products,
as long as the terms are followed.  It also allows conversion to the
GNU Public License (GPL), if necessary for license compatibility.
Therefore, in all cases, it should be less restrictive than the GPL.

Copying and/or redistributing of any software covered by these licenses,
in part or in whole, in any form, electronic or otherwise, is expressly
forbidden without explicit permission from the author, except under
the following terms of the corresponding license.
Therefore, you must accept these terms to copy or redistribute such software.

------------------------------------------------------------------------------
                 SHAGWARE GENERAL PUBLIC LICENSE TERMS
			version 2

1.  Redistribution of all files covered by this license, in part, or in whole,
    is hereby granted for any purpose, provided that all of the
    following terms are met:

	a)	The full, unaltered text of this licensing agreement is
		included with the distribution.

	b)	For all incomplete or modified redistributions (specifically,
		all distributions that do not include the full, unmodified
		form of all files that are contained in the original
		distribution), a notice is included that clearly states this 
		is a partial or modified redistribution, and access to the
		full original distribution is provided. 
		This term can be met simply by providing an FTP or HTTP
		address to a location where the full original distribution
		is freely available.

	d)	Individual files remain unmodified, or all modifications
		are clearly documented, with information that
		includes what was changed, who changed it, why it was changed,
		and the date.  In addition, it must be clearly stated,
		preferably near the top of the file, that this file has been
		modified from its original form, and a location where the
		original file can be found must be stated.   The location
		can simply be an FTP or HTTP address of where the full
		original distribution is freely available.
		The original copyright still applies to all
		unmodified portions of the code, and to any changes that
		do not constitute an original work.

	e)	All text in the header of each file, including the
		copyright header, disclaimer, and reference to this
		license agreement, remain intact and unmodified.

	f)	The name of the author is not used in publicity or
		advertising pertaining to any product or work derived
		from this software without specific prior written permission.


2.  Redistribution of the binary forms of files covered by this license,
    in part, or in whole, including binary files that result from
    linking with libraries covered by this license, is hereby granted for
    any purpose, provided that all of the following terms are met:

	a)	The full, unaltered text of this licensing agreement is
		included with the distribution.

	b)	Access to the full original distribution is provided.
		This term can be met simply by providing an FTP or HTTP
		address to a location where the full original 
		distribution is freely available. 

	d)	It is clearly stated in the documentation that
		portions of the software are copyrighted and 
		are covered by the terms of this license agreement.
		If the software is split into separate files or modules,
		there must be a clear statement of which files or modules
		are covered by these terms.   Without such a statement,
		it will be assumed to cover all files included.

	e)	If a program that incorporates this code runs interactively
		and normally displays title and/or ownership information,
		that information must include an appropriate copyright notice.
		A disclaimer of warranty (for at least the portions covered
		by this license), and a copy of this license, must also be
		made accessible, either by displaying them, or informing
		the user about how this information may be displayed.

	f)	If any portion of the code was modified before
		creating the binary form, this should be clearly noted.

	g)	The name of the author is not used in publicity or
		advertising pertaining to any product or work derived
		from this software without specific prior written permission.


3.  As long as all of the terms are met for software covered by this
    license, additional software may be packaged together with it,
    provided there is no conflict between the terms of this licensing
    agreement and the licensing agreements of the additional software.
    The additional software is then subject only to the licensing
    terms provided by its author(s).

4.  If a conflict arises between this licensing agreement, and the
    GNU Public License (GPL) or GNU Public Library License,
    then this conflict can be resolved by considering this software
    to be implicitly covered under the GPL, such that any term
    of the Shagware General Public License (SGPL) that conflicts
    is nullified for the purposes of compatibility.  Any distributions
    that require mixing GPL and SGPL licensed software should clearly
    state that the GPL has priority over the SGPL for any licensing
    conflicts.  If an explicit conversion is needed, then a GPL-style
    notice may be added to the headers of each affected file.  However,
    the implicit agreement that the GPL takes precedence over the SGPL
    should be sufficient in most cases.  This implicit conflict resolution
    also applies to both the GNU Public License and the GNU
    Public Library License,  but does not apply to any other licenses
    without explicit written permission of the author.


5.  WARRANTY DISCLAIMER

    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, EXPRESS OR IMPLIED.
    THE AUTHOR SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF ANY KIND, 
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT WILL THE AUTHOR, OR
    ANYONE RESPONSIBLE FOR THE LEGAL MODIFICATION OR REDISTRIBUTION OF THIS
    SOFTWARE, BE LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO ANY LOST
    PROFITS, LOST SAVINGS OR ANY INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER
    RESULTING FROM IMPAIRED OR LOST DATA, SOFTWARE OR COMPUTER FAILURE OR ANY
    OTHER CAUSE, EVEN IF THE AUTHOR IS ADVISED OF THE POSSIBILITY OF SUCH
    DAMAGES, OR FOR ANY OTHER CLAIM BY THE USER OR FOR ANY THIRD PARTY CLAIM.



		END OF SHAGWARE GENERAL PUBLIC LICENSE 


-----------------------------------------------------------------------------
------------------------------------------------------------------------------

		SHAGWARE NON-PROFIT PUBLIC LICENSE TERMS
			version 2


1.  Redistribution of all files covered by this license, in part, or in whole,
    is hereby granted for non-commercial purposes, provided that all of the
    following terms are met:

	a)	The full, unaltered text of this licensing agreement is
		included with the distribution.

	b)	No fees are charged for any part of the distribution,
		above the nominal cost of shipping and handling.
 
	c)	For all incomplete or modified redistributions (specifically,
		all distributions that do not include the full, unmodified
		form of all files that are contained in the original
		distribution), a notice is included that clearly states this 
		is a partial or modified redistribution, and access to the
		full original distribution is provided, at no
		cost above the nominal charges of shipping and handling.
		If redistribution is provided via the internet, or as part
		of a package designed specifically for internet access,
		this term can be met simply by providing an FTP or HTTP
		address to a location where the full original 
		distribution is freely available. 

	d)	Individual files remain unmodified, or all modifications
		are clearly documented, with information that
		includes what was changed, who changed it, why it was changed,
		and the date.  In addition, it must be clearly stated,
		preferably near the top of the file, that this file has been
		modified from its original form, and a location where the
		original file can be found must be stated.
		Under no conditions shall the text of the header be modified
		or deleted.  The original copyright still applies to all
		unmodified portions of the code, and to any changes that
		do not constitute an original work.

	e)	All text in the header of each file, including the
		copyright header, disclaimer, and reference to this
		license agreement, remain intact and unmodified.

	f)	The name of the author is not used in publicity or
		advertising pertaining to any product or work derived
		from this software without specific prior written permission.


2.  Redistribution of the binary forms of files covered by this license,
    in part, or in whole, including binary files that result from
    linking with libraries covered by this license, is hereby granted for
    non-commercial purposes, provided that all of the following terms are met:

	a)	The full, unaltered text of this licensing agreement is
		included with the distribution.

	b)	No fees are charged for any part of the distribution,
		above the nominal cost of shipping and handling.

	c)	Access to the full original distribution is provided,
		at no cost above the nominal charges of shipping and handling.
		If the redistribution is provided via the internet, or as part
		of a package designed specifically for internet access,
		this term can be met simply by providing an FTP or HTTP
		address to a location where the full original 
		distribution is freely available. 

	d)	It is clearly stated in the documentation that
		portions of the software are copyrighted and 
		are covered by the terms of this license agreement.
		If the software is split into separate files or modules,
		there must be a clear statement of which files or modules
		are covered by these terms. 

	e)	If a program that incorporates this code runs interactively
		and normally displays title and/or ownership information,
		that information must include an appropriate copyright notice.
		A disclaimer of warranty (for at least the portions covered
		by this license), and a copy of this license, must also be
		made accessible, either by displaying them, or informing
		the user about how this information may be displayed.

	f)	If any portion of the code was modified before
		creating the binary form, a clear description of the
		modifications must be included, along with who modified
		the code, and when, so that it is obvious in what ways this
		version of the software differs from the official
		distribution.

	g)	The name of the author is not used in publicity or
		advertising pertaining to any product or work derived
		from this software without specific prior written permission.


3.  As long as all of the terms are met for software covered by this
    license, additional software may be packaged together with it,
    provided there is no conflict between the terms of this licensing
    agreement and the licensing agreements of the additional software.
    The additional software is then subject only to the licensing
    terms provided by its author(s).


4.  WARRANTY DISCLAIMER

    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, EXPRESS OR IMPLIED.
    THE AUTHOR SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF ANY KIND, 
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT WILL THE AUTHOR, OR
    ANYONE RESPONSIBLE FOR THE LEGAL MODIFICATION OR REDISTRIBUTION OF THIS
    SOFTWARE, BE LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO ANY LOST
    PROFITS, LOST SAVINGS OR ANY INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER
    RESULTING FROM IMPAIRED OR LOST DATA, SOFTWARE OR COMPUTER FAILURE OR ANY
    OTHER CAUSE, EVEN IF THE AUTHOR IS ADVISED OF THE POSSIBILITY OF SUCH
    DAMAGES, OR FOR ANY OTHER CLAIM BY THE USER OR FOR ANY THIRD PARTY CLAIM.



		END OF SHAGWARE NON-PROFIT PUBLIC LICENSE 


-----------------------------------------------------------------------------

Notes:


Concerning all code copyrighted by Frank E. Barrus:

	If, for any reason, you are deciding not to use this software because
	of a conflict with these licensing terms, please contact me first,
	and describe the conflict and your intended use.  We can negotiate
	a different licensing agreement, tailored to your needs, on a case
	by case basis.  I will try to work out something reasonable which
	will allow all organizations and individuals who wish to use this
	software to be able to do so in a way that best benefits all parties
	involved.

	For code covered by the new SGPL (including SOLO),
	the implicit/explicit conversion to the GPL should handle
	any conflicts that result, and ensure that the code is completely
	freely usable, for public/private profit and non-profit uses.
	If there is a problem, let me know, and I will fix it.

	Also, if you feel that this public license contains some incorrect
	wording that makes it overly restrictive for non-profit use,
	please contact me so that I can correct it in a way that makes
	it more beneficial to all, while still protecting the rights
	of the authors.


Complete, unaltered, original distributions of all code 
are available from:

	http://www.csh.rit.edu/~shaggy/software.html
	ftp://ftp.csh.rit.edu/pub/csh/shaggy


