		    ATTY GENERAL PUBLIC LICENSE

  Copyright 1989 by Kenneth Almquist.
  Everyone is permitted to copy and distribute verbatim copies of this
  license, but changing it is not allowed.  You can also use this wording
  to make the terms for other programs.  This license agreement uses
  wording taken from the GNU Emacs General Public License, which is
  copyright 1985, 1987, 1988 by Richard M. Stallman.  Richard M. Stallman
  is not responsible for the contents of this license.


Atty is copyrighted.  To encourage maximum use of this software, I,
Kenneth Almquist, hereby grant all recipients of atty the right to
reproduce and modify atty under the terms specified in this license.


			COPYING POLICIES

  1. You may copy and distribute verbatim copies of atty source code
as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy a valid copyright notice "Copyright
1989 by Kenneth Almquist." (or with whatever year is appropriate); keep
intact the notices on all files that refer to this License Agreement
and to the absence of any warranty; and give any other recipients of
the atty program a copy of this License Agreement along with the program.
You may charge a distribution fee for the physical act of transferring
a copy.

  2. You may modify your copy or copies of atty source code or
any portion of it, and copy and distribute such modifications under
the terms of Paragraph 1 above, provided that you also do the following:

    a) cause the modified files to carry prominent notices stating
    that you changed the files and the date of any change; and

    b) cause the whole of any work that you distribute or publish,
    that in whole or in part contains or is a derivative of atty
    or any part thereof, to be licensed at no charge to all third
    parties on terms identical to those contained in this License
    Agreement (except that you may choose to grant more extensive
    warranty protection to some or all third parties, at your option).

    c) You may charge a distribution fee for the physical act of
    transferring a copy, and you may at your option offer warranty
    protection in exchange for a fee.

Mere aggregation of another unrelated program with this program (or its
derivative) on a volume of a storage or distribution medium does not bring
the other program under the scope of these terms.

  3. You may copy and distribute atty (or a portion or derivative of it,
under Paragraph 2) in object code or executable form under the terms of
Paragraphs 1 and 2 above provided that you also do one of the following:

    a) accompany it with the complete corresponding machine-readable
    source code, which must be distributed under the terms of
    Paragraphs 1 and 2 above; or,

    b) accompany it with a written offer, valid for at least three
    years, to give any third party free (except for a nominal
    shipping charge) a complete machine-readable copy of the
    corresponding source code, to be distributed under the terms of
    Paragraphs 1 and 2 above; or,

    c) accompany it with the information you received as to where the
    corresponding source code may be obtained.  (This alternative is
    allowed only for noncommercial distribution and only if you
    received the program in object code or executable form alone.)

For an executable file, complete source code means all the source code for
all modules it contains; but, as a special exception, it need not include
source code for modules which are standard libraries that accompany the
operating system on which the executable file runs.

  4. The atty distribution contains two files, regex.h and regex.c,
which are copyrighted by the Free Software Foundation, Inc.  These files
are not covered by this license agreement, and may only be used or copied
in accordance with the license agreements that appear at the top of those
files.  The compilation process for the atty program links it with regex.c.
Therefore binary versions of the atty program are covered by both this
license and the license appearing at the top of regex.c.

  5. You may not copy, sublicense, distribute or transfer atty except as
expressly provided under this License Agreement.  Any attempt otherwise
to copy, sublicense, distribute or transfer atty is void and your rights
to use atty under this License agreement shall be automatically terminated.
However, parties who have received computer software programs from you
with this License Agreement will not have their licenses terminated so
long as such parties remain in full compliance.


			   NO WARRANTY

  Because atty is licensed free of charge, I provide absolutely no
warranty, to the extent permitted by applicable state law.  Except
when otherwise stated in writing, Kenneth Almquist and/or other
parties provide atty "as is" without warranty of any kind, either
expressed or implied, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose.
The entire risk as to the quality and performance of the program is
with you.  Should the atty program prove defective, you assume the cost
of all necessary servicing, repair or correction.

 In no event unless required by applicable law will Kenneth Almquist
and/or any other party who may modify and redistribute atty as permitted
above, be liable to you for damages, including any lost profits, lost
monies, or other special, incidental or consequential damages arising
out of the use or inability to use (including but not limited to loss
of data or data being rendered inaccurate or losses sustained by third
parties or a failure of the program to operate with programs provided
by other parties) the program, even if you have been advised of the
possibility of such damages, or for any claim by any other party.
