Debian Codegraph @

debian/copyright

raw
1 /*
2 * Copyright %%\copyright%% 1980 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. All advertising materials mentioning features or use of this software
14 * must display the following acknowledgement:
15 * This product includes software developed by the University of
16 * California, Berkeley and its contributors.
17 * 4. Neither the name of the University nor the names of its contributors
18 * may be used to endorse or promote products derived from this software
19 * without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34
35 /* lgrind --- general purpose "pretty printer" for use with %%\LaTeX%%.
36 * A %%\LaTeX%% version of tgrind, which is a %%\TeX%% version
37 * of vgrind. Used to "grind nice program listings."
38 *
39 * Copyright %%\copyright%% 1985 by Van Jacobson, Lawrence Berkeley Laboratory
40 * This program may be freely used and copied but may not be sold
41 * without the author's written permission. This notice must remain
42 * in any copy or derivative.
43 *
44 * This program is an adaptation of "vfontedpr" v4.2 (12/11/84) from
45 * the 4.2bsd Unix distribution. Vfontedpr was written by Dave
46 * Presotto (based on an earlier program of the same name written by
47 * Bill Joy).
48 *
49 * I would welcome comments, enhancements, bug fixes, etc. Please
50 * mail them to:
51 * van@@lbl-rtsg.arpa (from arpanet, milnet, csnet, etc.)
52 * ..!ucbvax!lbl-csam!van (from Usenet/UUCP)
53 *
54 *
55 * Copyright %%\copyright%% 1995-98 by Michael Piefel,
56 * Humboldt-University at Berlin, piefel@@informatik.hu-berlin.de
57 *
58 * Derivatives of this program and the LGrind package (including, but not
59 * restricted to, the documentation) should only be produced after consulting
60 * the author. This is only for minimizing maintenance hassle, and not a
61 * licence issue in any way.
62 *
63 * Modifications.
64 * --------------
65 * 10 Feb 85 Van Written.
66 * 29 Mar 85 Chris Torek (chris@@maryland): Bug fixes for %|~|% and
67 * %|^L|% output. Most cpu-time eaters recoded
68 * to improve efficiency.
69 * 30 Mar 85 Chris & Van Fixed %|\C|% & %|\S|% (comment & string start
70 * indicators to really appear at the start of
71 * comments & strings. Changes for speeded-up
72 * @expmatch()@.
73 * 8 Oct 87 JSL Modified so as to compile on VMS. %|-i|% option
74 * Jan 88 JSL %|-e|% option for embedded code.
75 * Sep 91 George V Reilly Reformated and cleaned up code, including
76 * naughtiness with @NULL@. Added %|@|%,
77 * %|%%|%, %|%$|%, and %%\tt \%|%% features.
78 * Also the %|%<|%, %|%!|%, and %|%#|% features.
79 * Oct 94 Matthias Eckermann (%|ud311aa@@sunmail.lrz-muenchen.de|%)
80 * fixed a little bug, added: Internal_Help,
81 * Sep 95 Michael Piefel Modified for %%\LaTeXe%%
82 * Feb 96 Michael Piefel Restructured into ANSI C
83 * May 99 Michael Piefel Made it Y2K compliant
84 * Oct 99 Michael Piefel Space runs make tabstops
85 */