From f79486a96dd8311834a3c78d94c91703adefe8da Mon Sep 17 00:00:00 2001
From: "benjamin.franksen" <benjamin.franksen@helmholtz-berlin.de>
Date: Fri, 5 Aug 2011 15:37:07 +0000
Subject: [PATCH] changed license to EPICS Open License, fixed source file
 comments and docs accordingly

---
 Copyright.HZB                            | 25 --------
 HEADER                                   | 12 ++++
 LICENSE                                  | 72 ++++++++++++++++++++++++
 documentation/Coverpage.inc              | 25 ++++++++
 documentation/Introduction.txt           | 52 +++--------------
 examples/demo/demo.st                    |  4 ++
 examples/demo/demoMain.c                 | 15 +++--
 examples/johng/johng.st                  |  4 ++
 examples/keck/etcSeq.st                  |  4 ++
 examples/keck/pvload.c                   |  4 ++
 examples/keck/tcsSeq.st                  |  4 ++
 examples/parallel/control.st             |  4 ++
 examples/simple/sncExEntry.st            |  4 ++
 examples/simple/sncExOpt.st              |  4 ++
 examples/simple/sncExample.st            |  4 ++
 src/dev/devSequencer.c                   |  8 +--
 src/lemon/lemon.c                        |  4 ++
 src/pv/pv.h                              |  4 ++
 src/pv/pvAlarm.h                         |  4 ++
 src/pv/pvCa.h                            |  4 ++
 src/pv/pvFile.h                          |  4 ++
 src/pv/pvKtl.h                           |  4 ++
 src/pv/pvKtlCnv.h                        |  4 ++
 src/pv/pvType.h                          |  4 ++
 src/seq/seq.h                            | 12 +++-
 src/seq/seqCom.h                         | 16 +++---
 src/seq/seqPvt.h                         | 16 +++---
 src/seq/seq_ca.c                         | 16 +++---
 src/seq/seq_cmd.c                        | 11 ++--
 src/seq/seq_debug.h                      |  6 ++
 src/seq/seq_if.c                         | 16 +++---
 src/seq/seq_mac.c                        | 28 ++++-----
 src/seq/seq_main.c                       | 19 +++----
 src/seq/seq_prog.c                       | 25 ++++----
 src/seq/seq_qry.c                        | 23 ++++----
 src/seq/seq_queue.c                      |  9 ++-
 src/seq/seq_queue.h                      | 28 +++++----
 src/seq/seq_task.c                       | 25 ++++----
 src/snc/analysis.c                       | 23 ++++----
 src/snc/analysis.h                       | 23 ++++----
 src/snc/expr.c                           | 23 ++++----
 src/snc/expr.h                           | 23 ++++----
 src/snc/gen_code.c                       | 23 ++++----
 src/snc/gen_code.h                       | 23 ++++----
 src/snc/gen_ss_code.c                    | 23 ++++----
 src/snc/gen_ss_code.h                    | 23 ++++----
 src/snc/gen_tables.c                     | 23 ++++----
 src/snc/gen_tables.h                     | 23 ++++----
 src/snc/main.c                           | 24 ++++----
 src/snc/main.h                           | 14 +++--
 src/snc/parser.h                         | 16 +++---
 src/snc/seqMain.c                        |  4 ++
 src/snc/snl.lem                          | 16 +++---
 src/snc/snl.lt                           | 13 ++---
 src/snc/snl.re                           | 16 +++---
 src/snc/sym_table.c                      | 16 +++---
 src/snc/sym_table.h                      | 16 +++---
 src/snc/types.h                          | 20 +++----
 src/snc/var_types.c                      | 10 ++--
 src/snc/var_types.h                      |  9 ++-
 test/compiler/efArray.st                 |  6 ++
 test/compiler/efGlobal.st                |  6 ++
 test/compiler/efPointer.st               |  6 ++
 test/compiler/foreignGlobal.st           |  6 ++
 test/compiler/misplacedExit.st           |  4 ++
 test/compiler/pvNotAssigned.st           |  6 ++
 test/compiler/scope.st                   |  6 ++
 test/compiler/simple.st                  |  6 ++
 test/compiler/sncExOpt_DuplOpt.st        |  4 ++
 test/compiler/sncExOpt_UnrecOpt.st       |  4 ++
 test/compiler/syncq_no_size.st           |  6 ++
 test/compiler/syncq_not_assigned.st      |  6 ++
 test/compiler/syncq_not_monitored.st     |  6 ++
 test/compiler/syncq_size_out_of_range.st |  6 ++
 test/compiler/tooLong.st                 |  6 ++
 test/compiler/varinit.st                 |  6 ++
 test/compiler/varinitOptr.st             |  6 ++
 test/pv/pvsimpleC.c                      |  4 ++
 test/unit/queueTest.c                    | 17 +++---
 test/validate/array.st                   |  6 ++
 test/validate/assign.st                  |  6 ++
 test/validate/bittypes.st                |  6 ++
 test/validate/change.st                  |  6 ++
 test/validate/ctest.c                    |  6 ++
 test/validate/decl.st                    |  6 ++
 test/validate/delay.st                   |  4 ++
 test/validate/entry.st                   |  6 ++
 test/validate/entryOpte.st               |  4 ++
 test/validate/entryVar.st                |  6 ++
 test/validate/evflag.st                  |  6 ++
 test/validate/exitOptx.st                |  4 ++
 test/validate/local.st                   |  6 ++
 test/validate/makeTestfile.pl            | 14 +++--
 test/validate/norace.st                  |  6 ++
 test/validate/optt.st                    |  4 ++
 test/validate/opttVar.st                 |  4 ++
 test/validate/pvGet.st                   |  6 ++
 test/validate/pvPutAsync.st              |  6 ++
 test/validate/pvSync.st                  |  6 ++
 test/validate/race.st                    |  6 ++
 test/validate/raceCommon.st              |  6 ++
 test/validate/safeModeNotAssigned.st     |  6 ++
 test/validate/safeMonitor.st             |  6 ++
 test/validate/seqMain.c                  | 16 +++---
 test/validate/stop.st                    |  6 ++
 test/validate/subscript.st               |  6 ++
 test/validate/syncq.st                   |  6 ++
 test/validate/testSupport.c              |  6 ++
 test/validate/testSupport.h              |  6 ++
 test/validate/userfunc.st                |  6 ++
 110 files changed, 838 insertions(+), 404 deletions(-)
 delete mode 100644 Copyright.HZB
 create mode 100644 HEADER
 create mode 100644 LICENSE
 create mode 100644 documentation/Coverpage.inc

diff --git a/Copyright.HZB b/Copyright.HZB
deleted file mode 100644
index 9cf601ad..00000000
--- a/Copyright.HZB
+++ /dev/null
@@ -1,25 +0,0 @@
-This software is copyrighted by the HELMHOLTZ-ZENTRUM BERLIN FUER
-MATERIALIEN UND ENERGIE G.M.B.H., BERLIN, GERMANY (HZB).
-The following terms apply to all files associated with the
-software.
-
-HZB hereby grants permission to use, copy, and modify this
-software and its documentation for non-commercial educational or
-research purposes, provided that existing copyright notices are
-retained in all copies.
-
-The receiver of the software provides HZB with all enhancements,
-including complete translations, made by the receiver.
-
-IN NO EVENT SHALL HZB BE LIABLE TO ANY PARTY FOR DIRECT,
-INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
-DERIVATIVES THEREOF, EVEN IF HZB HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-HZB SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR
-A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE IS
-PROVIDED ON AN "AS IS" BASIS, AND HZB HAS NO OBLIGATION TO
-PROVIDE MAlNTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
-MODIFICATIONS.
diff --git a/HEADER b/HEADER
new file mode 100644
index 00000000..d22d9474
--- /dev/null
+++ b/HEADER
@@ -0,0 +1,12 @@
+/*************************************************************************\
+Copyright (c) 1989-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+
+\*************************************************************************/
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..8ea2c947
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,72 @@
+Copyright (c) 1989-1994 The Regents of the University of California
+                        and the University of Chicago Board of Governors.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+
+All rights reserved.
+
+The EPICS Sequencer is distributed subject to the following license conditions:
+
+ SOFTWARE LICENSE AGREEMENT
+ Software: EPICS Sequencer
+
+ 1. The "Software", below, refers to EPICS Sequencer (in either source code, or
+    binary form and accompanying documentation). Each licensee is
+    addressed as "you" or "Licensee."
+
+ 2. The copyright holders shown above and their third-party licensors
+    hereby grant Licensee a royalty-free nonexclusive license, subject to
+    the limitations stated herein and U.S. Government license rights.
+
+ 3. You may modify and make a copy or copies of the Software for use
+    within your organization, if you meet the following conditions:
+
+      a. Copies in source code must include the copyright notice and this
+         Software License Agreement.
+      b. Copies in binary form must include the copyright notice and this
+         Software License Agreement in the documentation and/or other
+         materials provided with the copy.
+
+ 4. You may modify a copy or copies of the Software or any portion of it,
+    thus forming a work based on the Software, and distribute copies of
+    such work outside your organization, if you meet all of the following
+    conditions:
+
+      a. Copies in source code must include the copyright notice and this
+         Software License Agreement;
+      b. Copies in binary form must include the copyright notice and this
+         Software License Agreement in the documentation and/or other
+         materials provided with the copy;
+      c. Modified copies and works based on the Software must carry
+         prominent notices stating that you changed specified portions of
+         the Software.
+
+ 5. Portions of the Software resulted from work developed under a U.S.
+    Government contract and are subject to the following license: the
+    Government is granted for itself and others acting on its behalf a
+    paid-up, nonexclusive, irrevocable worldwide license in this computer
+    software to reproduce, prepare derivative works, and perform publicly
+    and display publicly.
+
+ 6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
+    OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
+    UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
+    EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
+    BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
+    FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
+    ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
+    OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
+    SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
+    THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
+    OR THAT ANY ERRORS WILL BE CORRECTED.
+
+ 7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
+    THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
+    OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
+    CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
+    INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
+    REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
+    CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
+    OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
+    POSSIBILITY OF SUCH LOSS OR DAMAGES.
diff --git a/documentation/Coverpage.inc b/documentation/Coverpage.inc
new file mode 100644
index 00000000..855cbc19
--- /dev/null
+++ b/documentation/Coverpage.inc
@@ -0,0 +1,25 @@
+State Notation Language
+and Sequencer Users Guide
+Version 2.0
+(for EPICS release 3.13 and later)
+
+Manual Revision 1.9 (DRAFT)
+February 18, 1998
+Written by Andy Kozubal
+Instrumentation and Control Group
+Dynamic Experimentation Division
+Mail Stop P942
+Los Alamos National Laboratory
+Los Alamos, New Mexico 87545
+Phone: (505) 667-6508
+EMAIL: AKozubal@LANL.Gov
+
+Manual Revision 2.0 (DRAFT 3)
+February15, 2000
+Updated by William Lupton
+(with some material by Greg White)
+W. M. Keck Observatory
+65-1120 Mamalahoa Highway
+Kamuela, Hawaii 96743
+Phone: (808) 885 7887
+EMAIL: WLupton@Keck.Hawaii.Edu
diff --git a/documentation/Introduction.txt b/documentation/Introduction.txt
index 5aff45df..069be071 100644
--- a/documentation/Introduction.txt
+++ b/documentation/Introduction.txt
@@ -19,52 +19,14 @@ Eric Norum, Janet Anderson, and Marty Kraimer (APS) made the initial
 port to EPICS 3.14 that led to the 2.0.x series. Eric Norum and Andrew
 Johnson (APS) provided lots of patches up to release 2.0.12.
 
-Copyright
----------
+Copying and Distribution
+------------------------
+
+The EPICS Sequencer is distributed subject to a Software License
+Agreement found in the file LICENSE that is included with this
+distribution.
 
-This software was produced under U.S. Government contract at Los Alamos
-National Laboratory and at Argonne National Laboratory. The EPICS
-software is copyright by the Regents of the University of California
-and the University of Chicago.
-
-The original version of this documentation contained the following
-sentence: "This document may be reproduced and distributed without
-restrictions, provided it is reproduced in its entirety, including the
-cover page." The reader may judge for himself how to fill this with
-sense, considering that in the meantime the documentation has been
-converted to reStructuredText, largely rewritten, restructured, and
-automatically processed to generate web pages.
-
-Since Ben Franksen, employed by the Helmholtz-Zentrum Berlin f.
-Materialien und Energie (HZB) made significant changes to the software
-and documentation, the copyright is extended accordingly. This is
-the standard disclaimer:
-
-  This software is copyrighted by the HELMHOLTZ-ZENTRUM BERLIN FUER
-  MATERIALIEN UND ENERGIE G.M.B.H., BERLIN, GERMANY (HZB).
-  The following terms apply to all files associated with the
-  software.
-
-  HZB hereby grants permission to use, copy, and modify this
-  software and its documentation for non-commercial educational or
-  research purposes, provided that existing copyright notices are
-  retained in all copies.
-
-  The receiver of the software provides HZB with all enhancements,
-  including complete translations, made by the receiver.
-
-  IN NO EVENT SHALL HZB BE LIABLE TO ANY PARTY FOR DIRECT,
-  INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
-  OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
-  DERIVATIVES THEREOF, EVEN IF HZB HAS BEEN ADVISED OF THE
-  POSSIBILITY OF SUCH DAMAGE.
-
-  HZB SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
-  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR
-  A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE IS
-  PROVIDED ON AN "AS IS" BASIS, AND HZB HAS NO OBLIGATION TO
-  PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
-  MODIFICATIONS.
+.. include:: ../LICENSE
 
 Note on Versions
 ----------------
diff --git a/examples/demo/demo.st b/examples/demo/demo.st
index 5bf8fd73..2d217764 100644
--- a/examples/demo/demo.st
+++ b/examples/demo/demo.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Demo EPICS sequence */
 
 #define PRINTF errlogPrintf
diff --git a/examples/demo/demoMain.c b/examples/demo/demoMain.c
index 1e43e9c9..88c0d7a4 100644
--- a/examples/demo/demoMain.c
+++ b/examples/demo/demoMain.c
@@ -1,12 +1,11 @@
-/* demoMain.c */
+/*************************************************************************\
+Copyright (c) 1990-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Author:  Marty Kraimer Date:    17MAR2000 */
-
-/********************COPYRIGHT NOTIFICATION**********************************
-This software was developed under a United States Government license
-described on the COPYRIGHT_UniversityOfChicago file included as part
-of this distribution.
-****************************************************************************/
-
 /*
  * Main program for demo sequencer
  */
diff --git a/examples/johng/johng.st b/examples/johng/johng.st
index 2aeff152..f7854c6d 100644
--- a/examples/johng/johng.st
+++ b/examples/johng/johng.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Demo Unix/KTL EPICS sequencer for John G (doesn't do anything useful) */
 
 /* select KTL message system */
diff --git a/examples/keck/etcSeq.st b/examples/keck/etcSeq.st
index 78f53f9d..4c9ef727 100644
--- a/examples/keck/etcSeq.st
+++ b/examples/keck/etcSeq.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*+*****************************************************************************
  Module:	etcSeq.stpp
 
diff --git a/examples/keck/pvload.c b/examples/keck/pvload.c
index c284c365..51df95f4 100644
--- a/examples/keck/pvload.c
+++ b/examples/keck/pvload.c
@@ -1,2 +1,6 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* dummy pvload */
 int pvload() { return 0; }
diff --git a/examples/keck/tcsSeq.st b/examples/keck/tcsSeq.st
index 0aca6498..ecceb341 100644
--- a/examples/keck/tcsSeq.st
+++ b/examples/keck/tcsSeq.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*+*****************************************************************************
  Module:	tcsSeq.stpp
 
diff --git a/examples/parallel/control.st b/examples/parallel/control.st
index 182b569f..20b29369 100644
--- a/examples/parallel/control.st
+++ b/examples/parallel/control.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Demo KTL EPICS sequence; illustrates and tests parallel control */
 
 program control/* ("pvsys=ktl") */
diff --git a/examples/simple/sncExEntry.st b/examples/simple/sncExEntry.st
index 04544719..5276f028 100644
--- a/examples/simple/sncExEntry.st
+++ b/examples/simple/sncExEntry.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program snctest
 float v;
 assign v to "{user}:xxxExample";
diff --git a/examples/simple/sncExOpt.st b/examples/simple/sncExOpt.st
index 0283c6df..aca3e624 100644
--- a/examples/simple/sncExOpt.st
+++ b/examples/simple/sncExOpt.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program snctest
 float v;
 assign v to "{user}:xxxExample";
diff --git a/examples/simple/sncExample.st b/examples/simple/sncExample.st
index fdde6966..e8ae3388 100644
--- a/examples/simple/sncExample.st
+++ b/examples/simple/sncExample.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program snctest
 option +r;
 float v;
diff --git a/src/dev/devSequencer.c b/src/dev/devSequencer.c
index 168e2cca..15d097a8 100644
--- a/src/dev/devSequencer.c
+++ b/src/dev/devSequencer.c
@@ -1,7 +1,7 @@
-/*	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-*/
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Device support to permit database access to sequencer internals
  *
  * This is experimental only. Note the following:
diff --git a/src/lemon/lemon.c b/src/lemon/lemon.c
index a89925a3..b10f644a 100644
--- a/src/lemon/lemon.c
+++ b/src/lemon/lemon.c
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*
 ** This file contains all sources (including headers) to the LEMON
 ** LALR(1) parser generator.  The sources have been combined into a
diff --git a/src/pv/pv.h b/src/pv/pv.h
index 1719acce..154ebb10 100644
--- a/src/pv/pv.h
+++ b/src/pv/pv.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for EPICS sequencer message system-independent library (pv)
  * (NB, "pv" = "process variable").
  *
diff --git a/src/pv/pvAlarm.h b/src/pv/pvAlarm.h
index 39eed4f7..ac13bfca 100644
--- a/src/pv/pvAlarm.h
+++ b/src/pv/pvAlarm.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for EPICS sequencer message system-independent status and
  * severity (alarms).
  *
diff --git a/src/pv/pvCa.h b/src/pv/pvCa.h
index a795dd0b..bc18d86a 100644
--- a/src/pv/pvCa.h
+++ b/src/pv/pvCa.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for EPICS sequencer CA library (pvCa)
  *
  * William Lupton, W. M. Keck Observatory
diff --git a/src/pv/pvFile.h b/src/pv/pvFile.h
index d9c565ac..94418cb0 100644
--- a/src/pv/pvFile.h
+++ b/src/pv/pvFile.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for demonstration EPICS sequencer file library (pvFile)
  *
  * William Lupton, W. M. Keck Observatory
diff --git a/src/pv/pvKtl.h b/src/pv/pvKtl.h
index f5ba5e1e..ae9b9c8c 100644
--- a/src/pv/pvKtl.h
+++ b/src/pv/pvKtl.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for EPICS sequencer KTL library (pvKtl)
  *
  * William Lupton, W. M. Keck Observatory
diff --git a/src/pv/pvKtlCnv.h b/src/pv/pvKtlCnv.h
index 77974aa8..3b71484d 100644
--- a/src/pv/pvKtlCnv.h
+++ b/src/pv/pvKtlCnv.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for EPICS sequencer KTL type conversion (pvKtlCnv)
  *
  * Uses large amounts of code from the cdevData class
diff --git a/src/pv/pvType.h b/src/pv/pvType.h
index 21004bc1..8fc0d570 100644
--- a/src/pv/pvType.h
+++ b/src/pv/pvType.h
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Definitions for EPICS sequencer message system-independent types.
  *
  * William Lupton, W. M. Keck Observatory
diff --git a/src/seq/seq.h b/src/seq/seq.h
index 0a496980..db089565 100644
--- a/src/seq/seq.h
+++ b/src/seq/seq.h
@@ -1,3 +1,12 @@
+/*************************************************************************\
+Copyright (c) 1991-1993 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*      Definitions for the run-time sequencer
  *
  *      Author:         Andy Kozubal
@@ -5,9 +14,6 @@
  *
  *      Experimental Physics and Industrial Control System (EPICS)
  *
- *      Copyright 1991,2,3, the Regents of the University of California,
- *      and the University of Chicago Board of Governors.
- *
  *      This software was produced under  U.S. Government contracts:
  *      (W-7405-ENG-36) at the Los Alamos National Laboratory,
  *      and (W-31-109-ENG-38) at Argonne National Laboratory.
diff --git a/src/seq/seqCom.h b/src/seq/seqCom.h
index 07f56abf..f47f3ada 100644
--- a/src/seq/seqCom.h
+++ b/src/seq/seqCom.h
@@ -1,3 +1,12 @@
+/*************************************************************************\
+Copyright (c) 1993      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*	External interface to the sequencer run-time library
  *
  *	Author:		Andy Kozubal
@@ -5,13 +14,6 @@
  *
  *	Experimental Physics and Industrial Control System (EPICS)
  *
- *	Copyright 1993 the Regents of the University of California,
- *	and the University of Chicago Board of Governors.
- *
- *	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
- *		und Energie GmbH, Germany (HZB)
- *		(see file Copyright.HZB included in this distribution)
- *
  *	This software was produced under  U.S. Government contracts:
  *	(W-7405-ENG-36) at the Los Alamos National Laboratory,
  *	and (W-31-109-ENG-38) at Argonne National Laboratory.
diff --git a/src/seq/seqPvt.h b/src/seq/seqPvt.h
index 26fd5bbd..f312be48 100644
--- a/src/seq/seqPvt.h
+++ b/src/seq/seqPvt.h
@@ -1,3 +1,12 @@
+/*************************************************************************\
+Copyright (c) 1991-1993 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*	Internal common definitions for the run-time sequencer library
  *
  *      Author:         Andy Kozubal
@@ -5,13 +14,6 @@
  *
  *      Experimental Physics and Industrial Control System (EPICS)
  *
- *      Copyright 1991,2,3, the Regents of the University of California,
- *      and the University of Chicago Board of Governors.
- *
- *	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
- *		und Energie GmbH, Germany (HZB)
- *		(see file Copyright.HZB included in this distribution)
- *
  *      This software was produced under  U.S. Government contracts:
  *      (W-7405-ENG-36) at the Los Alamos National Laboratory,
  *      and (W-31-109-ENG-38) at Argonne National Laboratory.
diff --git a/src/seq/seq_ca.c b/src/seq/seq_ca.c
index 898c2d4f..d70058a1 100644
--- a/src/seq/seq_ca.c
+++ b/src/seq/seq_ca.c
@@ -1,3 +1,12 @@
+/*************************************************************************\
+Copyright (c) 1991-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*	Process Variable interface for sequencer.
  *
  *	Author:  Andy Kozubal
@@ -5,13 +14,6 @@
  *
  *	Experimental Physics and Industrial Control System (EPICS)
  *
- *	Copyright 1991-1994, the Regents of the University of California,
- *	and the University of Chicago Board of Governors.
- *
- *	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
- *		und Energie GmbH, Germany (HZB)
- *		(see file Copyright.HZB included in this distribution)
- *
  *	This software was produced under  U.S. Government contracts:
  *	(W-7405-ENG-36) at the Los Alamos National Laboratory,
  *	and (W-31-109-ENG-38) at Argonne National Laboratory.
diff --git a/src/seq/seq_cmd.c b/src/seq/seq_cmd.c
index 285c12ad..e14d3eba 100644
--- a/src/seq/seq_cmd.c
+++ b/src/seq/seq_cmd.c
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* EPICS sequencer commands
  *
  * Author:  Eric Norum
@@ -10,11 +16,6 @@
  *    University of Saskatchewan
  *    Saskatoon, Saskatchewan, CANADA
  *    cls.usask.ca
- *
- * Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
- *                  und Energie GmbH, Germany (HZB)
- * (see file Copyright.HZB included in this distribution)
- *
  */
 #include "seq.h"
 
diff --git a/src/seq/seq_debug.h b/src/seq/seq_debug.h
index 387fede3..27e445aa 100644
--- a/src/seq/seq_debug.h
+++ b/src/seq/seq_debug.h
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #ifndef INCLseq_debugh
 #define INCLseq_debugh
 
diff --git a/src/seq/seq_if.c b/src/seq/seq_if.c
index a3be09c1..02ebe207 100644
--- a/src/seq/seq_if.c
+++ b/src/seq/seq_if.c
@@ -1,3 +1,12 @@
+/*************************************************************************\
+Copyright (c) 1991-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*	Interface functions from state program to run-time sequencer.
  *
  *	Author:  Andy Kozubal
@@ -5,13 +14,6 @@
  *
  *	Experimental Physics and Industrial Control System (EPICS)
  *
- *	Copyright 1991-1994, the Regents of the University of California,
- *	and the University of Chicago Board of Governors.
- *
- *	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
- *		und Energie GmbH, Germany (HZB)
- *		(see file Copyright.HZB included in this distribution)
- *
  *	This software was produced under  U.S. Government contracts:
  *	(W-7405-ENG-36) at the Los Alamos National Laboratory,
  *	and (W-31-109-ENG-38) at Argonne National Laboratory.
diff --git a/src/seq/seq_mac.c b/src/seq/seq_mac.c
index 9bc8b903..dc69bf5c 100644
--- a/src/seq/seq_mac.c
+++ b/src/seq/seq_mac.c
@@ -1,17 +1,17 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		         Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-
-	Macro routines for Sequencer.
-	The macro table contains name & value pairs.  These are both pointers
-	to strings.
-        TODO: Get rid of this and use the macLib from EPICS base.
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                    Macro routines for Sequencer
+
+TODO: Get rid of this and use the macLib from EPICS base.
+\*************************************************************************/
 #include "seq.h"
 #include "seq_debug.h"
 
diff --git a/src/seq/seq_main.c b/src/seq/seq_main.c
index c1af4e78..c26adfa7 100644
--- a/src/seq/seq_main.c
+++ b/src/seq/seq_main.c
@@ -1,13 +1,12 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990-1994, The Regents of the University of California
-	and the University of Chicago.
-	Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #include "seq.h"
 #include "seq_debug.h"
 
diff --git a/src/seq/seq_prog.c b/src/seq/seq_prog.c
index 2ef9c216..1457fdb5 100644
--- a/src/seq/seq_prog.c
+++ b/src/seq/seq_prog.c
@@ -1,16 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1991, The Regents of the University of California.
-		         Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-
-	State program list management functions.
-	All active state programs are inserted into the list when created
-	and removed from the list when deleted.
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1991      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                        Program list management
+\*************************************************************************/
 #include "seq.h"
 #include "seq_debug.h"
 
diff --git a/src/seq/seq_qry.c b/src/seq/seq_qry.c
index 993c98b1..574ea9f1 100644
--- a/src/seq/seq_qry.c
+++ b/src/seq/seq_qry.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990-1994, The Regents of the University of California.
-		         Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-
-	Task query & debug routines for run-time sequencer
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+        Task query & debug routines for run-time sequencer
+\*************************************************************************/
 #include "seq.h"
 
 static int userInput(void);
diff --git a/src/seq/seq_queue.c b/src/seq/seq_queue.c
index 3fd600ba..d8d4c278 100644
--- a/src/seq/seq_queue.c
+++ b/src/seq/seq_queue.c
@@ -1,6 +1,9 @@
-/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH
-   (see file Copyright.HZB included in this distribution)
-*/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #include "seq.h"
 #include "seq_debug.h"
 
diff --git a/src/seq/seq_queue.h b/src/seq/seq_queue.h
index 7f3e0a1e..9f1c72a5 100644
--- a/src/seq/seq_queue.h
+++ b/src/seq/seq_queue.h
@@ -1,15 +1,19 @@
-/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH
-   (see file Copyright.HZB included in this distribution)
-*/
-/* This module implements fifo queues, similar to and inspired by
-   epicsRingBytes, but with a fixed element size and such that a put
-   overwrites the last element if the queue is full. Put and get
-   operations always work on a single element.
-
-   The implementation allows one reader and one writer to access the queue
-   without taking a mutex, except where unavoidable, i.e. when the queue is
-   full.
-*/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+This module implements fifo queues, similar to and inspired by
+epicsRingBytes, but with a fixed element size and such that a put
+overwrites the last element if the queue is full. Put and get
+operations always work on a single element.
+
+The implementation allows one reader and one writer to access the queue
+without taking a mutex, except where unavoidable, i.e. when the queue is
+full.
+\*************************************************************************/
 #ifndef INCLseq_queueh
 #define INCLseq_queueh
 
diff --git a/src/seq/seq_task.c b/src/seq/seq_task.c
index ba87d75c..b4292237 100644
--- a/src/seq/seq_task.c
+++ b/src/seq/seq_task.c
@@ -1,16 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990-1994
-		The Regents of the University of California and
-		the University of Chicago.
-		Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-
-	Thread creation and control for sequencer state sets.
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990-1994 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+            Thread creation and control for sequencer state sets
+\*************************************************************************/
 #include "seq.h"
 #include "seq_debug.h"
 
diff --git a/src/snc/analysis.c b/src/snc/analysis.c
index 68e2d91e..574be0ed 100644
--- a/src/snc/analysis.c
+++ b/src/snc/analysis.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-		GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Analysis of parse tree
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Analysis of parse tree
+\*************************************************************************/
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
diff --git a/src/snc/analysis.h b/src/snc/analysis.h
index b3304d0a..09a7c077 100644
--- a/src/snc/analysis.h
+++ b/src/snc/analysis.h
@@ -1,14 +1,15 @@
-/**************************************************************************
-		GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Analysis of parse tree
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Analysis of parse tree
+\*************************************************************************/
 #ifndef INCLanalysish
 #define INCLanalysish
 
diff --git a/src/snc/expr.c b/src/snc/expr.c
index 2fdc68cb..badf8b2c 100644
--- a/src/snc/expr.c
+++ b/src/snc/expr.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		         Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Parser support routines
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Parser support routines
+\*************************************************************************/
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/src/snc/expr.h b/src/snc/expr.h
index 349d65cd..5d3b8475 100644
--- a/src/snc/expr.h
+++ b/src/snc/expr.h
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1989-93, The Regents of the University of California.
-		         Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Parser support routines
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1989-1993 The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Parser support routines
+\*************************************************************************/
 #ifndef INCLparseh
 #define INCLparseh
 
diff --git a/src/snc/gen_code.c b/src/snc/gen_code.c
index 004fadaa..dca8f598 100644
--- a/src/snc/gen_code.c
+++ b/src/snc/gen_code.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Code generation
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Code generation
+\*************************************************************************/
 #include	<stdio.h>
 #include	<stdlib.h>
 #include	<string.h>
diff --git a/src/snc/gen_code.h b/src/snc/gen_code.h
index 14cc0e63..666c377a 100644
--- a/src/snc/gen_code.h
+++ b/src/snc/gen_code.h
@@ -1,14 +1,15 @@
-/**************************************************************************
-		GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin für Materialien
-		und Energie GmbH, Berlin, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Code generation
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Code generation
+\*************************************************************************/
 #ifndef INCLgencodeh
 #define INCLgencodeh
 
diff --git a/src/snc/gen_ss_code.c b/src/snc/gen_ss_code.c
index 2061e3bf..d593c71e 100644
--- a/src/snc/gen_ss_code.c
+++ b/src/snc/gen_ss_code.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		State set code generation
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                State set code generation
+\*************************************************************************/
 #include	<stdio.h>
 #include	<string.h>
 #include	<assert.h>
diff --git a/src/snc/gen_ss_code.h b/src/snc/gen_ss_code.h
index 058e44fa..2b3ed2dd 100644
--- a/src/snc/gen_ss_code.h
+++ b/src/snc/gen_ss_code.h
@@ -1,14 +1,15 @@
-/**************************************************************************
-		GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		State set code generation
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                State set code generation
+\*************************************************************************/
 #ifndef INCLgensscodeh
 #define INCLgensscodeh
 
diff --git a/src/snc/gen_tables.c b/src/snc/gen_tables.c
index 4490e559..fd0fbd7f 100644
--- a/src/snc/gen_tables.c
+++ b/src/snc/gen_tables.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Generate tables for runtime sequencer
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Generate tables for runtime sequencer
+\*************************************************************************/
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/src/snc/gen_tables.h b/src/snc/gen_tables.h
index af5144a7..fbb9b482 100644
--- a/src/snc/gen_tables.h
+++ b/src/snc/gen_tables.h
@@ -1,14 +1,15 @@
-/**************************************************************************
-		GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Generate tables for runtime sequencer
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Generate tables for runtime sequencer
+\*************************************************************************/
 #ifndef INCLgentablesh
 #define INCLgentablesh
 
diff --git a/src/snc/main.c b/src/snc/main.c
index cbf0a2da..f6f33503 100644
--- a/src/snc/main.c
+++ b/src/snc/main.c
@@ -1,14 +1,15 @@
-/**************************************************************************
-			GTA PROJECT   AT division
-	Copyright, 1990, The Regents of the University of California.
-		         Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Main program, reporting and printing procedures
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 1990      The Regents of the University of California
+                        and the University of Chicago.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                Main program, reporting and printing procedures
+\*************************************************************************/
 #include	<stdio.h>
 #include	<stdlib.h>
 #include	<string.h>
@@ -22,7 +23,6 @@
 
 #include <seqVersion.h>
 
-
 static Options options = DEFAULT_OPTIONS;
 
 static char *in_file;	/* input file name */
diff --git a/src/snc/main.h b/src/snc/main.h
index 0a37840f..350a0505 100644
--- a/src/snc/main.h
+++ b/src/snc/main.h
@@ -1,9 +1,11 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Various reporting and printing procedures
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+            Various reporting and printing procedures
 ***************************************************************************/
 #ifndef INCLsncmainh
 #define INCLsncmainh
diff --git a/src/snc/parser.h b/src/snc/parser.h
index 90e224ce..fc5b9bd3 100644
--- a/src/snc/parser.h
+++ b/src/snc/parser.h
@@ -1,10 +1,12 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Interface to lemon generated parser
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                    Interface to lemon generated parser
+\*************************************************************************/
 #ifndef INCLparserh
 #define INCLparserh
 
diff --git a/src/snc/seqMain.c b/src/snc/seqMain.c
index 53e71464..a4d8e326 100644
--- a/src/snc/seqMain.c
+++ b/src/snc/seqMain.c
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Default main program */
 #include "epicsThread.h"
 #include "iocsh.h"
diff --git a/src/snc/snl.lem b/src/snc/snl.lem
index 91e5d333..e183e1b6 100644
--- a/src/snc/snl.lem
+++ b/src/snc/snl.lem
@@ -1,10 +1,12 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Parser specification/implementation
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                    Parser specification/implementation
+\*************************************************************************/
 %include {
 #include <stdlib.h>
 #include <string.h>
diff --git a/src/snc/snl.lt b/src/snc/snl.lt
index c8bafc34..5b47930f 100644
--- a/src/snc/snl.lt
+++ b/src/snc/snl.lt
@@ -1,10 +1,9 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Lemon parser template
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Driver template for the LEMON parser generator.
 ** The author disclaims copyright to this source code.
 */
diff --git a/src/snc/snl.re b/src/snc/snl.re
index ea0e5a7d..7e07468d 100644
--- a/src/snc/snl.re
+++ b/src/snc/snl.re
@@ -1,10 +1,12 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Lexer specification/implementation
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                    Lexer specification/implementation
+\*************************************************************************/
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/src/snc/sym_table.c b/src/snc/sym_table.c
index 15b909cd..fd853ad9 100644
--- a/src/snc/sym_table.c
+++ b/src/snc/sym_table.c
@@ -1,10 +1,12 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Symbol table
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                                Symbol table
+\*************************************************************************/
 #include <stdio.h>	/* gpHash.h mentions FILE but does not include stdio */
 #include <gpHash.h>
 #include <assert.h>
diff --git a/src/snc/sym_table.h b/src/snc/sym_table.h
index b9f511ae..e512eb71 100644
--- a/src/snc/sym_table.h
+++ b/src/snc/sym_table.h
@@ -1,10 +1,12 @@
-/**************************************************************************
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
-		Symbol table
-***************************************************************************/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
+                                Symbol table
+\*************************************************************************/
 #ifndef INCLsymtableh
 #define INCLsymtableh
 
diff --git a/src/snc/types.h b/src/snc/types.h
index 06e07dff..d4395f7c 100644
--- a/src/snc/types.h
+++ b/src/snc/types.h
@@ -1,14 +1,14 @@
-/**************************************************************************
-		GTA PROJECT   AT division
-	Copyright, 1989-93, The Regents of the University of California.
-		 Los Alamos National Laboratory
-
-	Copyright, 2010, Helmholtz-Zentrum Berlin f. Materialien
-		und Energie GmbH, Germany (HZB)
-		(see file Copyright.HZB included in this distribution)
-***************************************************************************
+/*************************************************************************\
+Copyright (c) 1989-1993 The Regents of the University of California.
+                        Los Alamos National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
+/*************************************************************************\
 		Common types, enumerations, and macros
-***************************************************************************/
+\*************************************************************************/
 #ifndef INCLtypesh
 #define INCLtypesh
 
diff --git a/src/snc/var_types.c b/src/snc/var_types.c
index 6767ca8d..f081d8ef 100644
--- a/src/snc/var_types.c
+++ b/src/snc/var_types.c
@@ -1,7 +1,9 @@
-/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH
-   (see file Copyright.HZB included in this distribution)
-*/
-
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #include <limits.h>
 #include <assert.h>
 #include <stdlib.h>
diff --git a/src/snc/var_types.h b/src/snc/var_types.h
index c9485d2b..cc790ff7 100644
--- a/src/snc/var_types.h
+++ b/src/snc/var_types.h
@@ -1,6 +1,9 @@
-/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH
-   (see file Copyright.HZB included in this distribution)
-*/
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #ifndef INCLvar_typesh
 #define INCLvar_typesh
 
diff --git a/test/compiler/efArray.st b/test/compiler/efArray.st
index f8842de3..d253c407 100644
--- a/test/compiler/efArray.st
+++ b/test/compiler/efArray.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program efArrayTest
 
 evflag efa[3];  /* error: array of event flags */
diff --git a/test/compiler/efGlobal.st b/test/compiler/efGlobal.st
index 704e70d8..8f7430b1 100644
--- a/test/compiler/efGlobal.st
+++ b/test/compiler/efGlobal.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program efGlobalTest
 
 ss x {
diff --git a/test/compiler/efPointer.st b/test/compiler/efPointer.st
index 6916cc92..b362679e 100644
--- a/test/compiler/efPointer.st
+++ b/test/compiler/efPointer.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program efPointerTest
 
 evflag *efp;    /* error: pointer to event flag */
diff --git a/test/compiler/foreignGlobal.st b/test/compiler/foreignGlobal.st
index 465f2bf7..c1557681 100644
--- a/test/compiler/foreignGlobal.st
+++ b/test/compiler/foreignGlobal.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program foreignGlobalTest
 
 ss x {
diff --git a/test/compiler/misplacedExit.st b/test/compiler/misplacedExit.st
index 77ae34ae..74e38380 100644
--- a/test/compiler/misplacedExit.st
+++ b/test/compiler/misplacedExit.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program misplacedExitTest
 
 ss x { 
diff --git a/test/compiler/pvNotAssigned.st b/test/compiler/pvNotAssigned.st
index 35209257..e4afef1f 100644
--- a/test/compiler/pvNotAssigned.st
+++ b/test/compiler/pvNotAssigned.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program pvNotAssigned
 
 int a;
diff --git a/test/compiler/scope.st b/test/compiler/scope.st
index ac4e8b9b..3bf2719d 100644
--- a/test/compiler/scope.st
+++ b/test/compiler/scope.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program scope
 
 int i, j;
diff --git a/test/compiler/simple.st b/test/compiler/simple.st
index df2ec064..c6067322 100644
--- a/test/compiler/simple.st
+++ b/test/compiler/simple.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 ss simple {
     state simple {
         when () {} exit
diff --git a/test/compiler/sncExOpt_DuplOpt.st b/test/compiler/sncExOpt_DuplOpt.st
index 3f08c832..3af3c449 100644
--- a/test/compiler/sncExOpt_DuplOpt.st
+++ b/test/compiler/sncExOpt_DuplOpt.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program snctest
 float v;
 assign v to "grw:xxxExample";
diff --git a/test/compiler/sncExOpt_UnrecOpt.st b/test/compiler/sncExOpt_UnrecOpt.st
index 8b1cf90c..8984c6e8 100644
--- a/test/compiler/sncExOpt_UnrecOpt.st
+++ b/test/compiler/sncExOpt_UnrecOpt.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program snctest
 float v;
 assign v to "grw:xxxExample";
diff --git a/test/compiler/syncq_no_size.st b/test/compiler/syncq_no_size.st
index 1c73b3a2..f4747a6c 100644
--- a/test/compiler/syncq_no_size.st
+++ b/test/compiler/syncq_no_size.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program p
 
 int x;
diff --git a/test/compiler/syncq_not_assigned.st b/test/compiler/syncq_not_assigned.st
index 9b5118f0..0b86c02a 100644
--- a/test/compiler/syncq_not_assigned.st
+++ b/test/compiler/syncq_not_assigned.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program p
 
 int x;
diff --git a/test/compiler/syncq_not_monitored.st b/test/compiler/syncq_not_monitored.st
index 39e28822..286bb58b 100644
--- a/test/compiler/syncq_not_monitored.st
+++ b/test/compiler/syncq_not_monitored.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program p
 
 int x;
diff --git a/test/compiler/syncq_size_out_of_range.st b/test/compiler/syncq_size_out_of_range.st
index ee4c9b24..6cbf1711 100644
--- a/test/compiler/syncq_size_out_of_range.st
+++ b/test/compiler/syncq_size_out_of_range.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program p
 
 int x;
diff --git a/test/compiler/tooLong.st b/test/compiler/tooLong.st
index dc18a9e4..f8433daa 100644
--- a/test/compiler/tooLong.st
+++ b/test/compiler/tooLong.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*
  * Test proper rejection of variables whose type is too long
  * to allow faithfull representation in CA, i.e. 64 bit types.
diff --git a/test/compiler/varinit.st b/test/compiler/varinit.st
index dfcdf833..b7fe7f20 100644
--- a/test/compiler/varinit.st
+++ b/test/compiler/varinit.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program varInitTest
 
 int x = 1;
diff --git a/test/compiler/varinitOptr.st b/test/compiler/varinitOptr.st
index e40db674..8fb7bc65 100644
--- a/test/compiler/varinitOptr.st
+++ b/test/compiler/varinitOptr.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program varInitOptrTest
 
 option +r;
diff --git a/test/pv/pvsimpleC.c b/test/pv/pvsimpleC.c
index 005672ad..bfbda6ab 100644
--- a/test/pv/pvsimpleC.c
+++ b/test/pv/pvsimpleC.c
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Very simple C program to demonstrate pv classes */
 
 #include <stdio.h>
diff --git a/test/unit/queueTest.c b/test/unit/queueTest.c
index 6494159b..ea732e38 100644
--- a/test/unit/queueTest.c
+++ b/test/unit/queueTest.c
@@ -1,14 +1,13 @@
 /*************************************************************************\
-* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
-*     National Laboratory.
-* Copyright (c) 2002 The Regents of the University of California, as
-*     Operator of Los Alamos National Laboratory.
-* EPICS BASE is distributed subject to a Software License Agreement found
-* in file LICENSE that is included with this distribution.
+Copyright (c) 2002      The Regents of the University of California, as
+                        Operator of Los Alamos National Laboratory.
+Copyright (c) 2008      UChicago Argonne LLC, as Operator of Argonne
+                        National Laboratory.
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in file LICENSE that is included with this distribution.
 \*************************************************************************/
-/* Copyright 2010 Helmholtz-Zentrum Berlin f. Materialien und Energie GmbH
-   (see file Copyright.HZB included in this distribution)
-*/
 #include "seq.h"
 #include "epicsThread.h"
 #include "epicsEvent.h"
diff --git a/test/validate/array.st b/test/validate/array.st
index bf289d67..0ace97fc 100644
--- a/test/validate/array.st
+++ b/test/validate/array.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program arrayTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/assign.st b/test/validate/assign.st
index 3f62c843..0265acad 100644
--- a/test/validate/assign.st
+++ b/test/validate/assign.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program assignTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/bittypes.st b/test/validate/bittypes.st
index 247b2ff2..86582f6d 100644
--- a/test/validate/bittypes.st
+++ b/test/validate/bittypes.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program bittypesTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/change.st b/test/validate/change.st
index 31375b05..0bed670b 100644
--- a/test/validate/change.st
+++ b/test/validate/change.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* Test state change statement */
 program changeTest
 
diff --git a/test/validate/ctest.c b/test/validate/ctest.c
index f03968eb..59dacfab 100644
--- a/test/validate/ctest.c
+++ b/test/validate/ctest.c
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #include <stdio.h>
 
 typedef struct {
diff --git a/test/validate/decl.st b/test/validate/decl.st
index 58d6ac48..2a587e57 100644
--- a/test/validate/decl.st
+++ b/test/validate/decl.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program declTest
 
 %%#include <stdlib.h>
diff --git a/test/validate/delay.st b/test/validate/delay.st
index 6e8b123e..94f4063b 100644
--- a/test/validate/delay.st
+++ b/test/validate/delay.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program delayTest
 /* snc test program to demonstrate delay and state transition without
    using external events.
diff --git a/test/validate/entry.st b/test/validate/entry.st
index 4a638e29..ce5e0df7 100644
--- a/test/validate/entry.st
+++ b/test/validate/entry.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* snc test program to test entry and exit condition execution. */
 program entryTest
 
diff --git a/test/validate/entryOpte.st b/test/validate/entryOpte.st
index b9c987f3..49f43a92 100644
--- a/test/validate/entryOpte.st
+++ b/test/validate/entryOpte.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program entryOpteTest
 /* snc test program to test entry and exit condition execution, with -e
  * option. Test -e, that entry will be executed on each iteration.
diff --git a/test/validate/entryVar.st b/test/validate/entryVar.st
index 4ef9fb69..f2d4762b 100644
--- a/test/validate/entryVar.st
+++ b/test/validate/entryVar.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program entryVarTest
 /* snc test program to test entry and exit condition execution, with CA
  * assignment and control of transition. 
diff --git a/test/validate/evflag.st b/test/validate/evflag.st
index 609671eb..f1043e69 100644
--- a/test/validate/evflag.st
+++ b/test/validate/evflag.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /*
  * ss write: Put increasing numbers to (monitored and ef synced) PV, wait for reply,
  *  then check sent and received are equal, then sleep a bit, check again, then
diff --git a/test/validate/exitOptx.st b/test/validate/exitOptx.st
index 997819ff..cb425291 100644
--- a/test/validate/exitOptx.st
+++ b/test/validate/exitOptx.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program exitOptxTest
 /* snc test program to test entry and exit condition execution, with -e
  * option. Test -e, that entry will be executed on each iteration.
diff --git a/test/validate/local.st b/test/validate/local.st
index d376fa74..390ab7ee 100644
--- a/test/validate/local.st
+++ b/test/validate/local.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 /* illustrate / test local variable declarations */
 program localTest
 
diff --git a/test/validate/makeTestfile.pl b/test/validate/makeTestfile.pl
index 8366e5ed..2ebe7b66 100644
--- a/test/validate/makeTestfile.pl
+++ b/test/validate/makeTestfile.pl
@@ -1,11 +1,13 @@
 #!/usr/bin/perl
 #*************************************************************************
-# Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
-#     National Laboratory.
-# Copyright (c) 2002 The Regents of the University of California, as
-#     Operator of Los Alamos National Laboratory.
-# EPICS BASE is distributed subject to a Software License Agreement found
-# in file LICENSE that is included with this distribution. 
+# Copyright (c) 2002      The Regents of the University of California, as
+#                         Operator of Los Alamos National Laboratory.
+# Copyright (c) 2008      UChicago Argonne LLC, as Operator of Argonne
+#                         National Laboratory.
+# Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+#                         und Energie GmbH, Germany (HZB)
+# This file is distributed subject to a Software License Agreement found
+# in file LICENSE that is included with this distribution.
 #*************************************************************************
 
 # The makeTestfile.pl script generates a file $target.t which is needed
diff --git a/test/validate/norace.st b/test/validate/norace.st
index a76f3a70..6001c68f 100644
--- a/test/validate/norace.st
+++ b/test/validate/norace.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program noraceTest
 
 option +s;
diff --git a/test/validate/optt.st b/test/validate/optt.st
index 245fee33..435d0fa3 100644
--- a/test/validate/optt.st
+++ b/test/validate/optt.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program opttTest
 /* snc test program to test state option -t, not to reset timers.
  */
diff --git a/test/validate/opttVar.st b/test/validate/opttVar.st
index 9338bc57..d34b46fa 100644
--- a/test/validate/opttVar.st
+++ b/test/validate/opttVar.st
@@ -1,3 +1,7 @@
+/*************************************************************************\
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program opttVarTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/pvGet.st b/test/validate/pvGet.st
index 955b6c52..a6623fa0 100644
--- a/test/validate/pvGet.st
+++ b/test/validate/pvGet.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program pvGetTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/pvPutAsync.st b/test/validate/pvPutAsync.st
index dc240ccd..518f08ad 100644
--- a/test/validate/pvPutAsync.st
+++ b/test/validate/pvPutAsync.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program pvPutAsyncTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/pvSync.st b/test/validate/pvSync.st
index b006056d..e0efd319 100644
--- a/test/validate/pvSync.st
+++ b/test/validate/pvSync.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program pvSyncTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/race.st b/test/validate/race.st
index 85d3630a..358589a2 100644
--- a/test/validate/race.st
+++ b/test/validate/race.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program raceTest
 
 #include "raceCommon.st"
diff --git a/test/validate/raceCommon.st b/test/validate/raceCommon.st
index 3229a7ce..a49dac14 100644
--- a/test/validate/raceCommon.st
+++ b/test/validate/raceCommon.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 %%#include "../testSupport.h"
 
 string x;
diff --git a/test/validate/safeModeNotAssigned.st b/test/validate/safeModeNotAssigned.st
index 951b9739..9063cf8e 100644
--- a/test/validate/safeModeNotAssigned.st
+++ b/test/validate/safeModeNotAssigned.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program safeModeNotAssignedTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/safeMonitor.st b/test/validate/safeMonitor.st
index 0fb1b215..46b5d935 100644
--- a/test/validate/safeMonitor.st
+++ b/test/validate/safeMonitor.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program safeMonitorTest
 
 %%#include "../testSupport.h"
diff --git a/test/validate/seqMain.c b/test/validate/seqMain.c
index 550dae4c..5723dc22 100644
--- a/test/validate/seqMain.c
+++ b/test/validate/seqMain.c
@@ -1,14 +1,14 @@
 /*************************************************************************\
-* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
-*     National Laboratory.
-* Copyright (c) 2003 The Regents of the University of California, as
-*     Operator of Los Alamos National Laboratory.
-* EPICS BASE is distributed subject to the Software License Agreement
-* found in the file LICENSE that is included with this distribution.
+Copyright (c) 2003      The Regents of the University of California, as
+                        Operator of Los Alamos National Laboratory
+Copyright (c) 2008      UChicago Argonne LLC, as Operator of Argonne
+                        National Laboratory
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
 \*************************************************************************/
 
-/* Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd */
-
 /* Author: Andrew Johnson	Date: 2003-04-08 */
 /* Adapted to serve as alternative seqMain.c for seq testing by Ben Franksen */
 
diff --git a/test/validate/stop.st b/test/validate/stop.st
index 1676185d..43cd03af 100644
--- a/test/validate/stop.st
+++ b/test/validate/stop.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program stopTest
 
 ss main {
diff --git a/test/validate/subscript.st b/test/validate/subscript.st
index ccf9b312..a87bfc5d 100644
--- a/test/validate/subscript.st
+++ b/test/validate/subscript.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program subscriptTest
 
 float single[2];
diff --git a/test/validate/syncq.st b/test/validate/syncq.st
index c90dbc55..176a958a 100644
--- a/test/validate/syncq.st
+++ b/test/validate/syncq.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program syncqTest
 
 option +s;
diff --git a/test/validate/testSupport.c b/test/validate/testSupport.c
index 15886af9..78a6abc6 100644
--- a/test/validate/testSupport.c
+++ b/test/validate/testSupport.c
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #include <stdlib.h>
 
 #include "epicsThread.h"
diff --git a/test/validate/testSupport.h b/test/validate/testSupport.h
index 3c1df896..b8c58fa7 100644
--- a/test/validate/testSupport.h
+++ b/test/validate/testSupport.h
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 #ifndef INCtestSupport_h
 #define INCtestSupport_h
 
diff --git a/test/validate/userfunc.st b/test/validate/userfunc.st
index 30bb72f6..312a1774 100644
--- a/test/validate/userfunc.st
+++ b/test/validate/userfunc.st
@@ -1,3 +1,9 @@
+/*************************************************************************\
+Copyright (c) 2010-2011 Helmholtz-Zentrum Berlin f. Materialien
+                        und Energie GmbH, Germany (HZB)
+This file is distributed subject to a Software License Agreement found
+in the file LICENSE that is included with this distribution.
+\*************************************************************************/
 program userfuncTest
 
 %%#include "../testSupport.h"
-- 
GitLab