aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:40 -0800
commit90889a692076f2c62486607d0354e0fca52364bc (patch)
tree9c7f78885db5b48bf1e3ed132b5fabc20e25592e
parent710a97992705d67c3ded0d4b270c5978ce29b11f (diff)
downloadscm-90889a692076f2c62486607d0354e0fca52364bc.zip
scm-90889a692076f2c62486607d0354e0fca52364bc.tar.gz
Import Upstream version 5e5upstream/5e5
-rw-r--r--.gdbinit48
-rw-r--r--ANNOUNCE210
-rw-r--r--COPYING914
-rw-r--r--COPYING.LESSER165
-rw-r--r--ChangeLog154
-rw-r--r--Idiffer.scm50
-rw-r--r--Iedline.scm48
-rw-r--r--Init5e5.scm (renamed from Init5e4.scm)54
-rw-r--r--Link.scm48
-rw-r--r--Macexp.scm48
-rw-r--r--Macro.scm48
-rw-r--r--Makefile208
-rw-r--r--README34
-rw-r--r--Transcen.scm49
-rw-r--r--Tscript.scm25
-rw-r--r--Xlibscm.info4
-rw-r--r--bench.scm48
-rwxr-xr-xbuild33
-rw-r--r--build.scm64
-rw-r--r--byte.c55
-rw-r--r--bytenumb.c41
-rwxr-xr-xcompile.scm55
-rw-r--r--continue-ia64.S56
-rw-r--r--continue.c52
-rw-r--r--continue.h46
-rw-r--r--crs.c52
-rw-r--r--debug.c52
-rw-r--r--differ.c50
-rw-r--r--disarm.scm48
-rw-r--r--dynl.c52
-rw-r--r--ecrt0.c27
-rw-r--r--edline.c52
-rw-r--r--eval.c61
-rw-r--r--fdl.texi450
-rw-r--r--findexec.c27
-rw-r--r--get-contoffset-ia64.c55
-rw-r--r--gmalloc.c101
-rw-r--r--gsubr.c52
-rw-r--r--hobbit.info12
-rw-r--r--hobbit.scm35
-rwxr-xr-xinc2scm48
-rw-r--r--ioext.c54
-rw-r--r--keysymdef.scm1022
-rw-r--r--mkimpcat.scm48
-rw-r--r--patchlvl.h4
-rw-r--r--pi.c52
-rw-r--r--pi.scm50
-rw-r--r--posix.c52
-rw-r--r--r4rstest.scm24
-rw-r--r--ramap.c52
-rw-r--r--record.c52
-rw-r--r--repl.c58
-rw-r--r--rgx.c54
-rw-r--r--rope.c52
-rw-r--r--sc2.c52
-rw-r--r--scl.c52
-rw-r--r--scm.c57
-rw-r--r--scm.h71
-rw-r--r--scm.info966
-rw-r--r--scm.nsi26
-rw-r--r--scm.spec13
-rw-r--r--scm.texi131
-rw-r--r--scmfig.h52
-rw-r--r--scmhob.h34
-rw-r--r--scmhob.scm62
-rw-r--r--scmmain.c52
-rw-r--r--script.c52
-rw-r--r--setjump.h52
-rw-r--r--socket.c58
-rw-r--r--split.scm48
-rw-r--r--subr.c52
-rw-r--r--syntest2.scm47
-rw-r--r--sys.c51
-rw-r--r--time.c52
-rw-r--r--unexalpha.c27
-rw-r--r--unexec.c27
-rw-r--r--unexelf.c31
-rw-r--r--unexsgi.c27
-rw-r--r--unexsunos4.c27
-rw-r--r--unif.c52
-rw-r--r--unix.c52
-rw-r--r--version.txi4
-rw-r--r--x.c52
-rw-r--r--x11.scm104
-rwxr-xr-xxgen.scm48
85 files changed, 4132 insertions, 3604 deletions
diff --git a/.gdbinit b/.gdbinit
index 54def8d..9bc8aed 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,44 +1,20 @@
+# ".gdbinit" GDB 4.16 initialization for SCM Scheme Interpreter
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this software; see the file COPYING. If not, write to
-# the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-#
-# As a special exception, the Free Software Foundation gives permission
-# for additional uses of the text contained in its release of SCM.
#
-# The exception is that, if you link the SCM library with other files
-# to produce an executable, this does not by itself cause the
-# resulting executable to be covered by the GNU General Public License.
-# Your use of that executable is in no way restricted on account of
-# linking the SCM library code into it.
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
#
-# This exception does not however invalidate any other reasons why
-# the executable file might be covered by the GNU General Public License.
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
#
-# This exception applies only to the code released by the
-# Free Software Foundation under the name SCM. If you copy
-# code from other Free Software Foundation releases into a copy of
-# SCM, as the General Public License permits, the exception does
-# not apply to the code that you add in this way. To avoid misleading
-# anyone as to the status of such modified files, you must delete
-# this exception notice from them.
-#
-# If you write modifications of your own for SCM, it is your choice
-# whether to permit this exception to apply to your modifications.
-# If you do not wish that, delete this exception notice.
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
-# ".gdbinit" GDB 4.16 initialization for SCM Scheme Interpreter
# Author: Aubrey Jaffer
set output-radix 16.
diff --git a/ANNOUNCE b/ANNOUNCE
index 5583c92..422222e 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,13 +1,12 @@
-This message announces the availability of Scheme release scm5e4.
+This message announces the availability of Scheme release scm-5e5.
SCM conforms to Revised^5 Report on the Algorithmic Language Scheme
and the IEEE P1178 specification. SCM is written in C and runs under
Amiga, Atari-ST, MacOS, MS-DOS, OS/2, NOS/VE, Unicos, VMS, Windows,
Unix, and similar systems.
-SCM is free software. It is released under the GNU Public License
-(GPL) with an exception allowing it to be linked with non-GPL
-programs (see http://swiss.csail.mit.edu/~jaffer/SCM_LICENSE).
+SCM is free software and part of the GNU project. It is released
+under the GNU Lesser General Public License (LGPL).
Documentation and distributions in several formats are linked from
SCM's home page:
@@ -18,92 +17,158 @@ Links to distributions of SCM and related softwares are at the end of
this message.
-=-=-
-scm5e4 news:
+scm-5e5 news:
-* Jerry van Dijk wrote NSIS script to create MS-Windows installers.
+* SCM is now a GNU package.
+* SCM license is now LGPLv3.
+* Documentation changed to GNU Free Documentation License.
+* scm-discuss email group
+ http://lists.gnu.org/mailman/listinfo/scm-discuss
-* Added (compiled) byte-number module.
+ From Radey Shouman
-* scm-file-position replaces file-position and file-set-position!;
- moved from i/o-extensions module to SCM core functionality.
+ * repl.c (isymnames): Add name for IM_EVAL_VALUES.
+ Fix igc prototype, avert warning.
-* Added --no-symbol-case-fold command-line option to make symbol
- reading case-sensitive.
+ * eval.c (scm_eval_values, ceval_1): Catch VALUES arity errors
+ in top-level repl evaluations. Eg (list (values 1 2)) now
+ throws an error even when typed to repl.
-* Added (R6RS) bitwise-bit-count.
+ * scm.h (IM_EVAL_VALUES): Add isym for use by scm_eval_values.
-* Makefile (install*): Added $(DESTDIR) prefix.
+ From Bob Schumaker
+
+ * macos-config.h, unexmacosx.c, lastfile.c:
+ Added from Emacs for MacOS (darwin).
+
+ * build.scm (C-libraries): Added dump and dlll darwin entries.
+ (make-dll-archive, compile-dll-c-files): Added Darwin tagets.
+ (manifest): Added entries for "macos-config.h" and "lastfile.c".
+
+ * Makefile (all): Make x.so only if /usr/X11R6/lib exists.
+ (install, installlib): test -d is not needed with mkdir -p.
+
+ From Aubrey Jaffer
+
+ * build, Makefile, scm.spec: Put "-" between "scm" and version.
+
+ * unexelf.c, unexmacosx.c, unexsgi.c, unexsunos4.c, gmalloc.c,
+ lastfile.c, macos-config.h, r4rstest.scm, syntest2.scm,
+ unexalpha.c, unexec.c, !#.c, build, build.scm, ecrt0.c,
+ findexec.c, bench.scm:
+ Changed license to GPL version 3.
+
+ * Transcen.scm, Tscript.scm, unif.c, unix.c, x.c, xgen.scm,
+ subr.c, sys.c, time.c, scm.texi, script.c, setjump.h, socket.c,
+ split.scm, scm.c, scm.h, scmfig.h, scmhob.h, scmhob.scm,
+ scmmain.c, repl.c, rgx.c, rope.c, sc2.c, scl.c, Macro.scm,
+ Makefile, mkimpcat.scm, pi.c, pi.scm, posix.c, ramap.c,
+ record.c, Iedline.scm, Init5e4.scm, Link.scm, Macexp.scm,
+ inc2scm, ioext.c, Idiffer.scm, gsubr.c, hobbit.scm, .gdbinit,
+ differ.c, disarm.scm, dynl.c, edline.c, eval.c,
+ get-contoffset-ia64.c, byte.c, bytenumb.c, compile.scm,
+ continue-ia64.S, continue.c, continue.h, crs.c, debug.c:
+ Changed license to LGPL version 3.
+
+ * Tscript.scm: Handle EOF.
+
+ * byte.c (bytes-append, bytes->string, string->bytes): Added.
+
+ * scm.nsi: Create shortcuts at installation; removed SCM.lnk.
+ (MUI_ICON): Set to "SCM.ico".
+
+ * scm.nsi (Uninstall): Delete tmp1, tmp2, and tmp3,
+ scmlit.exe, implcat, and slibcat when uninstalling.
+
+ * Makefile ($(htmldir)Xlibscm_toc.html)
+ ($(htmldir)hobbit_toc.html): Add SCM.ico.
+ (all): Make differ.so.
+ (libscm.a, db.so, bytenumb.so, differ.so, myturtle, x.so): Depend
+ on scm.h and scmfig.h.
+
+ * scm.h, repl.c: Made ints_disabled VOLATILE.
+
+ * ANNOUNCE: Culled and reorganized URLs.
+
+ * ioext.c (directory-for-each): Require 'filename, not 'glob.
+
+ * Init5e4.scm (slib:features): Added srfi-96.
+
+ * scm.c (init_scm): The streams when the program was dumped need
+ to be reset at initialization.
+
+ * Makefile (Checklit, Check): Added case-sensitive checks.
+
+ * repl.c (scm_lreadr): Made case-insensitive for character names.
+
+ * keysymdef.scm, x11.scm: X Window System Version 7.1.1
+ Release Date: 12 May 2006
+ X Protocol Version 11, Revision 0, Release 7.1.1
-=-=-
SCM source is available from:
- http://swiss.csail.mit.edu/ftpdir/scm/scm5e4.zip
- swiss.csail.mit.edu:/pub/scm/scm5e4.zip
- http://swiss.csail.mit.edu/ftpdir/scm/scm-5e4-1.src.rpm
- swiss.csail.mit.edu:/pub/scm/scm-5e4-1.src.rpm
+ http://swiss.csail.mit.edu/ftpdir/scm/scm-5e5.zip
+ swiss.csail.mit.edu:/pub/scm/scm-5e5.zip
+ http://swiss.csail.mit.edu/ftpdir/scm/scm-5e5-1.src.rpm
+ swiss.csail.mit.edu:/pub/scm/scm-5e5-1.src.rpm
Also available as i386 binary RPM:
- http://swiss.csail.mit.edu/ftpdir/scm/scm-5e4-1.i386.rpm
- swiss.csail.mit.edu:/pub/scm/scm-5e4-1.i386.rpm
+ http://swiss.csail.mit.edu/ftpdir/scm/scm-5e5-1.i386.rpm
+ swiss.csail.mit.edu:/pub/scm/scm-5e5-1.i386.rpm
+Also available as i386 MS-Windows installer:
+ http://swiss.csail.mit.edu/ftpdir/scm/slib-3b1-1.exe
+ swiss.csail.mit.edu:/pub/scm/slib-3b1-1.exe
SLIB is a portable Scheme library which SCM uses:
- http://swiss.csail.mit.edu/ftpdir/scm/slib3a5.zip
- swiss.csail.mit.edu:/pub/scm/slib3a5.zip
+ http://swiss.csail.mit.edu/ftpdir/scm/slib-3b1.zip
+ swiss.csail.mit.edu:/pub/scm/slib-3b1.zip
Also available as RPM:
- http://swiss.csail.mit.edu/ftpdir/scm/slib-3a5-1.noarch.rpm
- swiss.csail.mit.edu:/pub/scm/slib-3a5-1.noarch.rpm
+ http://swiss.csail.mit.edu/ftpdir/scm/slib-3b1-1.noarch.rpm
+ swiss.csail.mit.edu:/pub/scm/slib-3b1-1.noarch.rpm
+Also available as MS-Windows installer:
+ http://swiss.csail.mit.edu/ftpdir/scm/slib-3b1-1.exe
+ swiss.csail.mit.edu:/pub/scm/slib-3b1-1.exe
JACAL is a symbolic math system written in Scheme:
- http://swiss.csail.mit.edu/ftpdir/scm/jacal1b8.zip
- swiss.csail.mit.edu:/pub/scm/jacal1b8.zip
-
-SLIB-PSD is a portable debugger for Scheme (requires emacs editor):
- http://swiss.csail.mit.edu/ftpdir/scm/slib-psd1-3.tar.gz
- swiss.csail.mit.edu:/pub/scm/slib-psd1-3.tar.gz
-
-SMG-SCM is an SMG interface package which works with SCM on VMS.
- http://swiss.csail.mit.edu/ftpdir/scm/smg-scm2a1.zip
- swiss.csail.mit.edu:/pub/scm/smg-scm2a1.zip
-A VMS version of Unzip is available by anonymous FTP from
- ftp.spc.edu:[ANONYMOUS.MACRO32]UNZIP.EXE.
-
-TURTLSCM is a turtle graphics package which works with SCM on MS-DOS
-or X11 machines:
- http://swiss.csail.mit.edu/ftpdir/scm/turtlegr.tar.gz
- swiss.csail.mit.edu:/pub/scm/turtlegr.tar.gz
-
-XSCM is a X windows interface package which works with SCM:
- http://swiss.csail.mit.edu/ftpdir/scm/xscm-2.01.tar.gz
- swiss.csail.mit.edu:/pub/scm/xscm-2.01.tar.gz
-
-MacSCM is a Macintosh applications building package which works with
-SCM (similar to XSCM).
- http://swiss.csail.mit.edu/ftpdir/scm/macscm.tar.Z
- swiss.csail.mit.edu:/pub/scm/macscm.tar.Z
+ http://swiss.csail.mit.edu/ftpdir/scm/jacal-1b9.zip
+ swiss.csail.mit.edu:/pub/scm/jacal-1b9.zip
+Also available as RPM:
+ http://swiss.csail.mit.edu/ftpdir/scm/jacal-1b9-1.noarch.rpm
+ swiss.csail.mit.edu:/pub/scm/jacal-1b9-1.noarch.rpm
+Also available as MS-Windows installer:
+ http://swiss.csail.mit.edu/ftpdir/scm/jacal-1b9-1.exe
+ swiss.csail.mit.edu:/pub/scm/jacal-1b9-1.exe
WB is a disk based, sorted associative array (B-tree) library for SCM.
Using WB, large databases can be created and managed from SCM.
- http://swiss.csail.mit.edu/ftpdir/scm/wb2a1.zip
- swiss.csail.mit.edu:/pub/scm/wb2a1.zip
- http://swiss.csail.mit.edu/ftpdir/scm/wb-2a1-1.src.rpm
- swiss.csail.mit.edu:/pub/scm/wb-2a1-1.src.rpm
+ http://swiss.csail.mit.edu/ftpdir/scm/wb-2a2.zip
+ swiss.csail.mit.edu:/pub/scm/wb-2a2.zip
+ http://swiss.csail.mit.edu/ftpdir/scm/wb-2a2-1.src.rpm
+ swiss.csail.mit.edu:/pub/scm/wb-2a2-1.src.rpm
Also available as i386 binary RPM:
- http://swiss.csail.mit.edu/ftpdir/scm/wb-2a1-1.i386.rpm
- swiss.csail.mit.edu:/pub/scm/wb-2a1-1.i386.rpm
+ http://swiss.csail.mit.edu/ftpdir/scm/wb-2a2-1.i386.rpm
+ swiss.csail.mit.edu:/pub/scm/wb-2a2-1.i386.rpm
+
+FreeSnell is a program to compute optical properties of multilayer
+thin-film coatings:
+ http://swiss.csail.mit.edu/ftpdir/scm/FreeSnell-1b7.zip
+ swiss.csail.mit.edu:/pub/scm/FreeSnell-1b7.zip
+Also available as MS-Windows installer:
+ http://swiss.csail.mit.edu/ftpdir/scm/FreeSnell-1b7-1.exe
+ swiss.csail.mit.edu:/pub/scm/FreeSnell-1b7-1.exe
SIMSYNCH is a digital logic simulation system written in SCM.
- http://swiss.csail.mit.edu/ftpdir/scm/synch1b0.zip
- swiss.csail.mit.edu:/pub/scm/synch1b0.zip
+ http://swiss.csail.mit.edu/ftpdir/scm/synch-1c3.zip
+ swiss.csail.mit.edu:/pub/scm/synch-1c3.zip
-DLD is a C library package allowing SCM to dynamically load object
-files on VAX (Ultrix), Sun 3 (SunOS 3.4 and 4.0), SPARCstation
-(SunOS 4.0), Sequent Symmetry (Dynix), Atari ST, and a.out Linux
-systems.
- ftp.gnu.org:pub/gnu/dld/dld-3.3.tar.gz
+XSCM is a X windows interface package which works with SCM:
+ http://swiss.csail.mit.edu/ftpdir/scm/xscm-2.01.tar.gz
+ swiss.csail.mit.edu:/pub/scm/xscm-2.01.tar.gz
-SCM.EXE (314k) is a SCM executable for DOS and MS-Windows.
-Note: SCM.EXE still requires slib3a5 and scm5e4 above.
- http://swiss.csail.mit.edu/ftpdir/scm/scm.exe
- swiss.csail.mit.edu:/pub/scm/scm.exe
+TURTLSCM is a turtle graphics package which works with SCM on MS-DOS
+or X11 machines:
+ http://swiss.csail.mit.edu/ftpdir/scm/turtlegr.tar.gz
+ swiss.csail.mit.edu:/pub/scm/turtlegr.tar.gz
#! implements "#!" (POSIX) shell-scripts for MS-DOS batch files.
http://swiss.csail.mit.edu/ftpdir/scm/sharpbang.zip
@@ -111,6 +176,19 @@ Note: SCM.EXE still requires slib3a5 and scm5e4 above.
http://swiss.csail.mit.edu/ftpdir/scm/#!.zip
swiss.csail.mit.edu:/pub/scm/#!.zip
+SLIB-PSD is a portable debugger for Scheme (requires emacs editor):
+ http://swiss.csail.mit.edu/ftpdir/scm/slib-psd1-3.tar.gz
+ swiss.csail.mit.edu:/pub/scm/slib-psd1-3.tar.gz
+
+SMG-SCM is an SMG interface package which works with SCM on VMS.
+ http://swiss.csail.mit.edu/ftpdir/scm/smg-scm2a1.zip
+ swiss.csail.mit.edu:/pub/scm/smg-scm2a1.zip
+
+MacSCM is a Macintosh applications building package which works with
+SCM (similar to XSCM).
+ http://swiss.csail.mit.edu/ftpdir/scm/macscm.tar.Z
+ swiss.csail.mit.edu:/pub/scm/macscm.tar.Z
+
Programs for printing and viewing TexInfo documentation (which SCM
has) come with GNU Emacs or can be obtained via ftp from:
ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.8.tar.gz
diff --git a/COPYING b/COPYING
index eeb586b..94a9ed0 100644
--- a/COPYING
+++ b/COPYING
@@ -1,285 +1,626 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
this License.
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -287,15 +628,15 @@ free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
+state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
- Copyright (C) 19yy <name of author>
+ Copyright (C) <year> <name of author>
- This program is free software; you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -304,37 +645,30 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
- Gnomovision version 69, Copyright (C) 19yy name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
-Public License instead of this License.
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/COPYING.LESSER b/COPYING.LESSER
new file mode 100644
index 0000000..cd4ce53
--- /dev/null
+++ b/COPYING.LESSER
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/ChangeLog b/ChangeLog
index 5a69843..1555342 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,157 @@
+2008-02-01 Aubrey Jaffer <jaffer@aubrey.jaffer>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5e4 to 5e5.
+
+2008-01-31 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * build (make-readme): Put - between scm and version.
+
+ * keysymdef.scm, x11.scm: X Window System Version 7.1.1
+ Release Date: 12 May 2006
+ X Protocol Version 11, Revision 0, Release 7.1.1
+
+ * Makefile, scm.spec: Always put - between scm and version.
+
+ * unexelf.c, unexmacosx.c, unexsgi.c, unexsunos4.c, gmalloc.c,
+ lastfile.c, macos-config.h, r4rstest.scm, syntest2.scm,
+ unexalpha.c, unexec.c, !#.c, build, build.scm, ecrt0.c,
+ findexec.c, bench.scm:
+ Changed license to GPL version 3.
+
+ * Transcen.scm, Tscript.scm, unif.c, unix.c, x.c, xgen.scm,
+ subr.c, sys.c, time.c, scm.texi, script.c, setjump.h, socket.c,
+ split.scm, scm.c, scm.h, scmfig.h, scmhob.h, scmhob.scm,
+ scmmain.c, repl.c, rgx.c, rope.c, sc2.c, scl.c, Macro.scm,
+ Makefile, mkimpcat.scm, pi.c, pi.scm, posix.c, ramap.c,
+ record.c, Iedline.scm, Init5e4.scm, Link.scm, Macexp.scm,
+ inc2scm, ioext.c, Idiffer.scm, gsubr.c, hobbit.scm, .gdbinit,
+ differ.c, disarm.scm, dynl.c, edline.c, eval.c,
+ get-contoffset-ia64.c, byte.c, bytenumb.c, compile.scm,
+ continue-ia64.S, continue.c, continue.h, crs.c, debug.c:
+ Changed license to LGPL version 3.
+
+2008-01-30 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * Tscript.scm: Handle EOF.
+
+2008-01-28 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.texi (Overview): SCM is a GNU package.
+ (GNU Free Documentation License): Subsection of "Copying".
+
+ * Makefile, build.scm (manifest): Added fdl.texi and
+ COPYING.LESSER.
+
+ * README, build (make-readme): SCM is a GNU package.
+
+2008-01-27 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * byte.c (init_byte): Identity isn't defined yet; use cr.
+
+2008-01-24 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.texi: Changed to "GNU Free Documentation License".
+
+ * fdl.texi (GNU Free Documentation License): Added.
+
+ * COPYING.LESSER: Added "GNU LESSER GENERAL PUBLIC LICENSE".
+
+ * COPYING: "GNU GENERAL PUBLIC LICENSE" Version 3.
+
+ * byte.c (bytes-append, bytes->string, string->bytes): Added.
+
+2008-01-21 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.nsi (Uninstall): Delete tmp1, tmp2, and tmp3.
+
+2008-01-19 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * macos-config.h, unexmacosx.c, lastfile.c:
+ Added from Emacs for MacOS (darwin).
+
+ * build.scm (C-libraries): Added dump and dlll darwin entries.
+ (make-dll-archive, compile-dll-c-files): Added Darwin tagets.
+ (manifest): Added entries for "macos-config.h" and "lastfile.c".
+
+ * Makefile (all): Make x.so only if /usr/X11R6/lib exists.
+ (install, installlib): test -d is not needed with mkdir -p.
+
+2008-01-18 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * Makefile (install): mkdir -p.
+
+2008-01-16 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * Makefile (RSYNC): --rsync-path no longer needed.
+
+2008-01-15 Radey Shouman <shouman@comcast.net>
+
+ * repl.c: Fix igc prototype, avert warning.
+
+2008-01-15 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.nsi: Create shortcuts at installation; removed SCM.lnk.
+ (MUI_ICON): Set to "SCM.ico".
+
+ * Makefile ($(DOSCM)scm$(VERSION).zip): Removed SCM.lnk.
+
+2008-01-13 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.nsi: Delete scmlit.exe, implcat, and slibcat when
+ uninstalling.
+
+2008-01-11 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * Makefile ($(htmldir)Xlibscm_toc.html)
+ ($(htmldir)hobbit_toc.html): Add SCM.ico.
+
+2008-01-09 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * Makefile (all): Make differ.so.
+ (libscm.a, db.so, bytenumb.so, differ.so, myturtle, x.so): Depend
+ on scm.h and scmfig.h.
+ (doszip): Added SCM.ico
+
+ * scm.h, repl.c: Made ints_disabled VOLATILE.
+
+2008-01-09 Radey Shouman <shouman@comcast.net>
+
+ * eval.c (ceval_1): Remove redundant DEFER_INTS_EGC from
+ new code.
+
+2008-01-07 Radey Shouman <shouman@comcast.net>
+
+ * eval.c (scm_eval_values, ceval_1): Catch VALUES arity errors
+ in top-level repl evaluations. Eg (list (values 1 2)) now
+ throws an error even when typed to repl.
+
+ * scm.h (IM_EVAL_VALUES): Add isym for use by scm_eval_values.
+
+ * repl.c (isymnames): Add name for IM_EVAL_VALUES.
+
+2008-01-02 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * ANNOUNCE: Culled and reorganized URLs.
+
+2007-12-23 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * ioext.c (directory-for-each): Require 'filename, not 'glob.
+
+ * Init5e4.scm (slib:features): Added srfi-96.
+
+2007-12-17 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * Makefile (CITERS): Added $(htmldir)FreeSnell/index.html.
+
+2007-12-16 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.c (init_scm): The streams when the program was dumped need
+ to be reset at initialization.
+
+2007-12-13 Aubrey Jaffer <agj@alum.mit.edu>
+
+ * scm.texi (SCM Features): Hobbit is included in distribution.
+
2007-11-28 Aubrey Jaffer <agj@alum.mit.edu>
* bytenumb.c (scm_integer_to_bytes): Declaration must start block.
diff --git a/Idiffer.scm b/Idiffer.scm
index 58373f9..5fd79c8 100644
--- a/Idiffer.scm
+++ b/Idiffer.scm
@@ -1,45 +1,21 @@
+;;;; Linear-space O(PN) sequence comparison.
+;;; "Idiffer.scm" Top-level sequence-comparison functions.
;; Copyright (C) 2003, 2004 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; Linear-space O(PN) sequence comparison.
-;;; "Idiffer.scm" Top-level sequence-comparison functions.
;;; Author: Aubrey Jaffer
(define (diff:invert-edits! edits)
diff --git a/Iedline.scm b/Iedline.scm
index e25c1c0..20636f8 100644
--- a/Iedline.scm
+++ b/Iedline.scm
@@ -1,44 +1,20 @@
+;;;; "Iedline.scm" SCM interface to readline library
;; Copyright (C) 1994, 1995 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
-;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
-;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;; "Iedline.scm" Scheme interface to readline library
;; Author: Radey Shouman
;; Change both current-input-port and current-output-port to
diff --git a/Init5e4.scm b/Init5e5.scm
index bd5874f..2899689 100644
--- a/Init5e4.scm
+++ b/Init5e5.scm
@@ -1,48 +1,24 @@
-;; Copyright (C) 1991-2006 Free Software Foundation, Inc.
-;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
-;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;;;; "Init.scm", Scheme initialization code for SCM.
+;; Copyright (C) 1991-2008 Free Software Foundation, Inc.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "Init.scm", Scheme initialization code for SCM.
;;; Author: Aubrey Jaffer.
(define (scheme-implementation-type) 'scm)
-(define (scheme-implementation-version) "5e4")
+(define (scheme-implementation-version) "5e5")
(define (scheme-implementation-home-page)
"http://swiss.csail.mit.edu/~jaffer/SCM")
@@ -120,7 +96,7 @@
multiarg-apply multiarg/and- logical defmacro
string-port source current-time sharp:semi
math-integer ;math-real and srfi-94 provided in "Transcen.scm"
- vicinity srfi-59 srfi-23
+ vicinity srfi-59 srfi-96 srfi-23
srfi-60) ;logical
(if (defined? *features*) *features* slib:features)))
(if (defined? *features*) (set! *features* slib:features))
diff --git a/Link.scm b/Link.scm
index e0ea89b..b5394e9 100644
--- a/Link.scm
+++ b/Link.scm
@@ -1,44 +1,20 @@
+;;;; "Link.scm", Dynamic linking/loading code for SCM.
;; Copyright (C) 1993, 1994, 1995, 1997, 1998, 2002 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "Link.scm", Dynamic linking/loading code for SCM.
;;; Author: Aubrey Jaffer.
(cond
diff --git a/Macexp.scm b/Macexp.scm
index 6802699..bb0e877 100644
--- a/Macexp.scm
+++ b/Macexp.scm
@@ -1,44 +1,20 @@
+;;;; "Macexp.scm", macro expansion, respecting hygiene.
;; Copyright (C) 1999 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "Macexp.scm", macro expansion, respecting hygiene.
;;; Author: Radey Shouman
;; LLIST is a lambda list, BINDINGS an alist using the same identifiers.
diff --git a/Macro.scm b/Macro.scm
index 2d85050..38c525b 100644
--- a/Macro.scm
+++ b/Macro.scm
@@ -1,44 +1,20 @@
+;;;; "Macro.scm", Support for syntax-rules macros.
;; Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "Macro.scm", Support for syntax-rules macros.
;;; Author: Radey Shouman
;;
;; As in SYNTAX-CASE, the identifier ... may be quoted in a
diff --git a/Makefile b/Makefile
index 1f01857..1477c86 100644
--- a/Makefile
+++ b/Makefile
@@ -1,44 +1,20 @@
-# Copyright (C) 1990-1999 Free Software Foundation, Inc.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this software; see the file COPYING. If not, write to
-# the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-#
-# As a special exception, the Free Software Foundation gives permission
-# for additional uses of the text contained in its release of SCM.
-#
-# The exception is that, if you link the SCM library with other files
-# to produce an executable, this does not by itself cause the
-# resulting executable to be covered by the GNU General Public License.
-# Your use of that executable is in no way restricted on account of
-# linking the SCM library code into it.
+# "Makefile" for scm Scheme Interpreter
+# Copyright (C) 1990-2008 Free Software Foundation, Inc.
#
-# This exception does not however invalidate any other reasons why
-# the executable file might be covered by the GNU General Public License.
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
#
-# This exception applies only to the code released by the
-# Free Software Foundation under the name SCM. If you copy
-# code from other Free Software Foundation releases into a copy of
-# SCM, as the General Public License permits, the exception does
-# not apply to the code that you add in this way. To avoid misleading
-# anyone as to the status of such modified files, you must delete
-# this exception notice from them.
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
#
-# If you write modifications of your own for SCM, it is your choice
-# whether to permit this exception to apply to your modifications.
-# If you do not wish that, delete this exception notice.
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
-# "Makefile" for scm Scheme Interpreter
# Author: Aubrey Jaffer
SHELL = /bin/sh
@@ -75,7 +51,7 @@ RELEASE = 1
intro:
@echo
- @echo "This is the scm$(VERSION) distribution. Read \"scm.info\""
+ @echo "This is the scm-$(VERSION) distribution. Read \"scm.info\""
@echo "to learn how to build and install SCM. Or browse"
@echo " http://swiss.csail.mit.edu/~jaffer/SCM"
@echo
@@ -124,8 +100,9 @@ xfiles = x.c x.h xgen.scm xevent.h inc2scm $(xafiles)
all: require.scm
$(MAKE) mydlls
$(MAKE) dscm5
- $(MAKE) x.so
+ $(MAKE) differ.so
$(MAKE) db.so
+ if [ -d /usr/X11R6/lib ]; then $(MAKE) x.so; fi
require.scm:
cp -p requires.scm require.scm
@@ -266,7 +243,7 @@ libscm.opt:
echo "-F engineering-notation" >> libscm.opt
echo "-F dynamic-linking" >> libscm.opt
mylib: libscm.a
-libscm.a: libscm.opt
+libscm.a: libscm.opt scm.h scmfig.h
$(BUILD) -t lib -f libscm.opt
libtest: libscm.a libtest.c
$(LD) -o libtest libtest.c libscm.a -ldl -lm -lc
@@ -293,18 +270,18 @@ mydlls: dlls.opt bytenumb.so
rwb-isam.scm wbtab.scm: ../wb/rwb-isam.scm ../wb/wbtab.scm
cp ../wb/rwb-isam.scm ../wb/wbtab.scm ./
-db.so: dlls.opt rwb-isam.scm wbtab.scm
+db.so: dlls.opt rwb-isam.scm wbtab.scm scm.h scmfig.h
if [ -f ../wb/blink.c ]; then \
$(BUILD) -t dll -f dlls.opt -F wb; fi
-bytenumb.so: bytenumb.c scm.h Makefile
+bytenumb.so: bytenumb.c scm.h scmfig.h
$(BUILD) -t dll -f dlls.opt -F byte-number inexact bignums
-differ.so: differ.c
+differ.so: differ.c scm.h scmfig.h
$(BUILD) -t dll -f dlls.opt -F differ
-myturtle: dlls.opt
+myturtle: dlls.opt scm.h scmfig.h
$(BUILD) -t dll -f dlls.opt -F turtlegr
-x.so: x.c x.h xevent.h dlls.opt
+x.so: x.c x.h xevent.h dlls.opt scm.h scmfig.h
$(BUILD) -t dll -f dlls.opt -F x
# Generate x11 include and Scheme files
@@ -380,7 +357,7 @@ implcat: $(SHOBJS) mkimpcat.scm
htmldir=../public_html/
dvi: scm.dvi Xlibscm.dvi hobbit.dvi
-scm.dvi: version.txi scm.texi indexes.texi platform.txi features.txi Makefile
+scm.dvi: $(texifiles) Makefile
texi2dvi -b -c scm.texi
Xlibscm.dvi: version.txi Xlibscm.texi Makefile
texi2dvi -b -c Xlibscm.texi
@@ -394,7 +371,7 @@ hobdvi: hobbit.dvi
xdvi hobbit.dvi
pdf: $(htmldir)scm.pdf $(htmldir)Xlibscm.pdf $(htmldir)hobbit.pdf
-$(htmldir)scm.pdf: version.txi scm.texi indexes.texi platform.txi features.txi Makefile
+$(htmldir)scm.pdf: $(texifiles) Makefile
texi2pdf -b -c scm.texi
mv scm.pdf $(htmldir)
$(htmldir)Xlibscm.pdf: version.txi Xlibscm.texi Makefile
@@ -414,25 +391,29 @@ PREVDOCS = prevdocs/
html: $(htmldir)scm_toc.html $(htmldir)Xlibscm_toc.html $(htmldir)hobbit_toc.html
TEXI2HTML = /usr/local/bin/texi2html -split -verbose
-scm_toc.html: version.txi scm.texi indexes.texi platform.txi features.txi
- ${TEXI2HTML} scm.texi
-Xlibscm_toc.html: version.txi Xlibscm.texi
- ${TEXI2HTML} Xlibscm.texi
-hobbit_toc.html: version.txi hobbit.texi
- ${TEXI2HTML} hobbit.texi
-$(htmldir)scm_toc.html: scm_toc.html Makefile
+$(htmldir)scm_toc.html: Makefile $(texifiles)
+ ${TEXI2HTML} scm.texi
-rm -f scm_stoc.html
if [ -f $(PREVDOCS)scm_toc.html ]; \
then hitch $(PREVDOCS)scm_\*.html scm_\*.html $(htmldir); \
else cp scm_*.html $(htmldir); fi
-$(htmldir)Xlibscm_toc.html: Xlibscm_toc.html Makefile
+$(htmldir)Xlibscm_toc.html: Makefile version.txi Xlibscm.texi
+ ${TEXI2HTML} Xlibscm.texi
-rm -f Xlibscm_stoc.html
+ chpat '</HEAD>' '<LINK REL="icon" HREF="Logo/SCM.ico">\
+<LINK REL="shortcut icon" HREF="Logo/SCM.ico">\
+</HEAD>' Xlibscm_*.html
cp Xlibscm_*.html $(htmldir)
-$(htmldir)hobbit_toc.html: hobbit_toc.html Makefile
+$(htmldir)hobbit_toc.html: Makefile version.txi hobbit.texi
+ ${TEXI2HTML} hobbit.texi
-rm -f hobbit_stoc.html
+ chpat '</HEAD>' '<LINK REL="icon" HREF="Logo/SCM.ico">\
+<LINK REL="shortcut icon" HREF="Logo/SCM.ico">\
+</HEAD>' hobbit_*.html
cp hobbit_*.html $(htmldir)
+prevdocs: $(PREVDOCS)scm_toc.html $(PREVDOCS)scm.info
$(PREVDOCS)scm_toc.html:
$(PREVDOCS)scm.info: Makefile
cd $(PREVDOCS); unzip -a $(dest)scm*.zip
@@ -440,6 +421,7 @@ $(PREVDOCS)scm.info: Makefile
cd $(PREVDOCS)scm; make scm.info; make scm_toc.html
cd $(PREVDOCS); mv -f scm/scm.info scm/*.html ./
rm -rf $(PREVDOCS)scm
+ -rm -f scm-$(VERSION).info
################ INSTALL DEFINITIONS ################
@@ -452,8 +434,7 @@ bindir = $(exec_prefix)bin/
libdir = $(exec_prefix)lib/
libscmdir = $(libdir)scm/
# directory where `make install' will put manual page.
-mandir = $(prefix)man/
-man1dir = $(mandir)man1/
+man1dir = $(prefix)man/man1/
infodir = $(prefix)info/
includedir = $(prefix)include/
@@ -465,12 +446,12 @@ platform.txi: build.scm
> platform.txi
features.txi: build build.scm
$(SCMLIT) -l build -e"(make-features-txi)"
-scm.info: version.txi scm.texi indexes.texi platform.txi features.txi
+scm.info: $(texifiles)
makeinfo scm.texi --no-split -o scm.info
- mv scm.info scm$(VERSION).info
+ mv scm.info scm-$(VERSION).info
if [ -f $(PREVDOCS)scm.info ]; \
- then infobar $(PREVDOCS)scm.info scm$(VERSION).info scm.info; \
- else cp scm$(VERSION).info scm.info; fi
+ then infobar $(PREVDOCS)scm.info scm-$(VERSION).info scm.info; \
+ else cp scm-$(VERSION).info scm.info; fi
$(DESTDIR)$(infodir)scm.info: scm.info
mkdir -p $(DESTDIR)$(infodir)
cp -p scm.info $(DESTDIR)$(infodir)scm.info
@@ -505,27 +486,25 @@ $(DESTDIR)$(infodir)Xlibscm.info.gz: $(DESTDIR)$(infodir)Xlibscm.info
$(DESTDIR)$(infodir)hobbit.info.gz: $(DESTDIR)$(infodir)hobbit.info
gzip -f $(DESTDIR)$(infodir)hobbit.info
+lsdfiles = $(ifiles) $(hobfiles) COPYING COPYING.LESSER r4rstest.scm \
+ build build.scm mkimpcat.scm $(SHOBJS) patchlvl.h \
+ Iedline.scm $(xafiles) db.so wbtab.scm rwb-isam.scm
+
install: scm.1
- test -d $(DESTDIR)$(bindir) || mkdir $(DESTDIR)$(bindir)
- test -d $(DESTDIR)$(mandir) || mkdir $(DESTDIR)$(mandir)
- test -d $(DESTDIR)$(man1dir) || mkdir $(DESTDIR)$(man1dir)
+ mkdir -p $(DESTDIR)$(bindir)
+ mkdir -p $(DESTDIR)$(man1dir)
-cp scm scmlit $(DESTDIR)$(bindir)
-strip $(DESTDIR)$(bindir)scmlit
-cp scm.1 $(DESTDIR)$(man1dir)
- test -d $(DESTDIR)$(libdir) || mkdir $(DESTDIR)$(libdir)
- test -d $(DESTDIR)$(libscmdir) || mkdir $(DESTDIR)$(libscmdir)
- -cp $(ifiles) $(hobfiles) COPYING r4rstest.scm $(DESTDIR)$(libscmdir)
+ mkdir -p $(DESTDIR)$(libscmdir)
test -f $(DESTDIR)$(libscmdir)require.scm || \
cp requires.scm $(DESTDIR)$(libscmdir)require.scm
- -cp build build.scm mkimpcat.scm Iedline.scm $(SHOBJS) patchlvl.h\
- $(xafiles) $(DESTDIR)$(libscmdir)
- -cp db.so wbtab.scm rwb-isam.scm $(DESTDIR)$(libscmdir)
- -cp libscm.dylib $(DESTDIR)$(libdir)
+ -cp $(lsdfiles) $(DESTDIR)$(libscmdir)
installlib:
- test -d $(DESTDIR)$(includedir) || mkdir $(DESTDIR)$(includedir)
+ mkdir -p $(DESTDIR)$(includedir)
cp scm.h scmfig.h scmflags.h $(DESTDIR)$(includedir)
- test -d $(DESTDIR)$(libdir) || mkdir $(DESTDIR)$(libdir)
+ mkdir -p $(DESTDIR)$(libdir)
cp libscm.a $(DESTDIR)$(libdir)libscm.a
uninstall:
@@ -533,10 +512,7 @@ uninstall:
-rm $(DESTDIR)$(man1dir)scm.1
-rm $(DESTDIR)$(includedir)scm.h $(DESTDIR)$(includedir)scmfig.h $(DESTDIR)$(includedir)scmflags.h
-rm $(DESTDIR)$(libdir)libscm.a
- -(cd $(DESTDIR)$(libscmdir); rm $(ifiles) $(hobfiles) COPYING r4rstest.scm)
- -(cd $(DESTDIR)$(libscmdir); rm build build.scm mkimpcat.scm \
- $(SHOBJS) patchlvl.h $(xafiles))
- -(cd $(DESTDIR)$(libscmdir); rm db.so wbtab.scm rwb-isam.scm require.scm)
+ -(cd $(DESTDIR)$(libscmdir); rm $(lsdfiles) require.scm)
uninstallinfo:
-rm $(DESTDIR)$(infodir)scm.info.gz $(DESTDIR)$(infodir)Xlibscm.info.gz\
@@ -562,7 +538,7 @@ scm.exe: gw32scmwb.sh
hobbit.html: hobbit.texi
makeinfo --html --no-split --no-warn hobbit.texi
-scm.html: scm.texi
+scm.html: $(texifiles)
makeinfo --html --no-split --no-warn --force scm.texi
## to build a windows installer
@@ -580,13 +556,15 @@ version.txi: patchlvl.h
RM_R = rm -rf
confiles = scmconfig.h.in mkinstalldirs acconfig-1.5.h install-sh \
- configure configure.in Makefile.in COPYING README.unix
+ configure configure.in Makefile.in COPYING COPYING.LESSER \
+ README.unix
tfiles = r4rstest.scm example.scm pi.scm pi.c split.scm bench.scm \
syntest2.scm syntest1.scm
-dfiles = ANNOUNCE README COPYING scm.1 scm.doc QUICKREF \
- scm.info scm.texi indexes.texi Xlibscm.info Xlibscm.texi hobbit.info hobbit.texi \
- version.txi platform.txi features.txi ChangeLog
+texifiles = version.txi scm.texi fdl.texi indexes.texi platform.txi features.txi
+dfiles = ANNOUNCE README COPYING COPYING.LESSER scm.1 scm.doc QUICKREF \
+ $(texifiles) scm.info Xlibscm.info Xlibscm.texi \
+ hobbit.info hobbit.texi ChangeLog
mfiles = Makefile build.scm build build.bat requires.scm \
.gdbinit mkimpcat.scm disarm.scm scm.spec scm.nsi
sfiles = setjump.mar setjump.s ugsetjump.s continue-ia64.S \
@@ -597,7 +575,7 @@ afiles = $(dfiles) $(cfiles) $(hfiles) $(ifiles) $(tfiles) $(mfiles) \
makedev = make -f $(HOME)/makefile.dev
CHPAT=$(HOME)/bin/chpat
-RSYNC=rsync --rsync-path=bin/rsync -bav
+RSYNC=rsync -bav
UPLOADEE=swissnet_upload
dest = $(HOME)/dist/
DOSCM = /c/Voluntocracy/dist/
@@ -608,28 +586,28 @@ temp/scm: $(afiles)
ln $(afiles) temp/scm
release: dist pdf # rpm
- cvs tag -F scm$(VERSION)
+ cvs tag -F scm-$(VERSION)
cp ANNOUNCE $(htmldir)SCM_ANNOUNCE.txt
$(RSYNC) $(htmldir)SCM.html $(htmldir)SCM_ANNOUNCE.txt $(UPLOADEE):public_html/
- $(RSYNC) $(dest)README $(dest)scm$(VERSION).zip \
+ $(RSYNC) $(dest)README $(dest)scm-$(VERSION).zip \
$(dest)scm-$(VERSION)-$(RELEASE).src.rpm $(dest)scm-$(VERSION)-$(RELEASE).i386.rpm \
$(htmldir)hobbit.pdf $(htmldir)Xlibscm.pdf $(UPLOADEE):dist/
-# upload $(dest)README $(dest)scm$(VERSION).zip ftp.gnu.org:gnu/jacal/
+# upload $(dest)README $(dest)scm-$(VERSION).zip ftp.gnu.org:gnu/jacal/
upzip: $(HOME)/pub/scm.zip
$(RSYNC) $(HOME)/pub/scm.zip $(UPLOADEE):pub/
$(RSYNC) r4rstest.scm $(HOME)/dist/
$(RSYNC) r4rstest.scm $(UPLOADEE):dist/
-dist: $(dest)scm$(VERSION).zip
-$(dest)scm$(VERSION).zip: temp/scm
- $(makedev) DEST=$(dest) PROD=scm ver=$(VERSION) zip
+dist: $(dest)scm-$(VERSION).zip
+$(dest)scm-$(VERSION).zip: temp/scm
+ $(makedev) DEST=$(dest) PROD=scm ver=-$(VERSION) zip
rpm: pubzip
-# $(dest)scm-$(VERSION)-$(RELEASE).i386.rpm: $(dest)scm$(VERSION).zip
- cp -f $(HOME)/pub/scm.zip $(rpm_prefix)SOURCES/scm$(VERSION).zip
+# $(dest)scm-$(VERSION)-$(RELEASE).i386.rpm: $(dest)scm-$(VERSION).zip
+ cp -f $(HOME)/pub/scm.zip $(rpm_prefix)SOURCES/scm-$(VERSION).zip
rpmbuild -ba scm.spec # --clean
- rm $(rpm_prefix)SOURCES/scm$(VERSION).zip
+ rm $(rpm_prefix)SOURCES/scm-$(VERSION).zip
mv $(rpm_prefix)RPMS/i386/scm-$(VERSION)-$(RELEASE).i386.rpm \
$(rpm_prefix)SRPMS/scm-$(VERSION)-$(RELEASE).src.rpm $(dest)
@@ -643,13 +621,14 @@ scm.com: temp/scm
zip: scm.zip
scm.zip: temp/scm
$(makedev) PROD=scm zip
-doszip: $(DOSCM)scm$(VERSION).zip
-$(DOSCM)scm$(VERSION).zip: temp/scm turtle turtlegr.c grtest.scm SCM.lnk scm.html hobbit.html
- $(makedev) DEST=$(DOSCM) PROD=scm ver=$(VERSION) zip
- -cd ..; zip -9ur $(DOSCM)scm$(VERSION).zip \
- scm/turtle scm/turtlegr.c scm/grtest.scm scm/SCM.lnk \
+doszip: $(DOSCM)scm-$(VERSION).zip
+$(DOSCM)scm-$(VERSION).zip: temp/scm turtle turtlegr.c grtest.scm SCM.ico scm.html hobbit.html
+ $(makedev) DEST=$(DOSCM) PROD=scm ver=-$(VERSION) zip
+ -cd ..; zip -9ur $(DOSCM)scm-$(VERSION).zip \
+ scm/turtle scm/turtlegr.c scm/grtest.scm \
+ scm/SCM.ico \
scm/scm.html scm/hobbit.html
- zip -d $(DOSCM)scm$(VERSION).zip scm/scm.info scm/Xlibscm.info scm/hobbit.info
+ zip -d $(DOSCM)scm-$(VERSION).zip scm/scm.info scm/Xlibscm.info scm/hobbit.info
pubzip: $(HOME)/pub/scm.zip
$(HOME)/pub/scm.zip: temp/scm
$(makedev) DEST=$(HOME)/pub/ PROD=scm zip
@@ -660,19 +639,21 @@ pubdiffs: temp/scm
distdiffs: temp/scm
$(makedev) DEST=$(dest) PROD=scm ver=$(ver) distdiffs
-CITERS = ANNOUNCE ../jacal/ANNOUNCE \
- ../wb/README ../wb/ANNOUNCE ../synch/ANNOUNCE \
- $(htmldir)README.html ../dist/README \
- $(htmldir)SLIB.html $(htmldir)JACAL.html \
- $(htmldir)SCM.html $(htmldir)SIMSYNCH.html \
- ../jacal/jacal.texi ../wb/wb.texi \
- $(DOSCM)install.bat $(DOSCM)makefile \
- $(DOSCM)mkdisk.bat hobbit.texi hobbit.scm
+CITERS = ANNOUNCE hobbit.texi hobbit.scm \
+ ../jacal/ANNOUNCE ../jacal/jacal.texi \
+ ../wb/ANNOUNCE ../wb/README ../wb/wb.texi \
+ ../synch/ANNOUNCE \
+ ../dist/README \
+ $(DOSCM)unzipall.bat $(DOSCM)buildall \
+ $(htmldir)JACAL.html $(htmldir)README.html \
+ $(htmldir)SIMSYNCH.html $(htmldir)SLIB.html \
+ $(htmldir)FreeSnell/ANNOUNCE $(htmldir)FreeSnell/index.html
+CITES = scm.spec scm.nsi ../wb/wb.spec $(htmldir)SCM.html
updates: Init$(ver).scm
- $(CHPAT) scm$(VERSION) scm$(ver) $(CITERS)
- $(CHPAT) scm-$(VERSION) scm-$(ver) $(CITERS)
- $(CHPAT) $(VERSION) $(ver) ../wb/wb.spec $(htmldir)SCM.html scm.spec scm.nsi
+ $(CHPAT) slib-$(VERSION) slib-$(ver) $(CITERS)
+ $(CHPAT) $(VERSION) $(ver) $(CITES)
+ make README
Init$(ver).scm:
mv -f Init$(VERSION).scm Init$(ver).scm
@@ -690,7 +671,7 @@ new: updates
cvs commit -m 'Init$(VERSION).scm changed to Init$(ver).scm' \
Init$(VERSION).scm Init$(ver).scm
cvs commit -m '(SCMVERSION): Bumped from $(VERSION) to $(ver).'
- cvs tag -F scm$(ver)
+ cvs tag -F scm-$(ver)
configtemp/scm: $(confiles)
-$(RM_R) configtemp/scm
@@ -734,9 +715,8 @@ ctagfiles = $(hfiles) $(cfiles) $(xfiles)
ctags: $(ctagfiles)
etags $(ctagfiles)
-TAGFILES = $(hfiles) $(cfiles) $(ifiles) $(sfiles)\
- version.txi scm.texi indexes.texi Xlibscm.texi hobbit.texi build $(xfiles) $(mfiles)\
- hobbit.scm
+TAGFILES = $(hfiles) $(cfiles) $(ifiles) $(sfiles) $(xfiles) $(mfiles)\
+ $(txifiles) Xlibscm.texi hobbit.texi build hobbit.scm
# # $(ufiles) ChangeLog
TAGS: $(TAGFILES)
etags $(TAGFILES)
diff --git a/README b/README
index 7c177fc..e6d4e57 100644
--- a/README
+++ b/README
@@ -1,7 +1,8 @@
-This directory contains the distribution of scm5e4. Scm conforms to
+This directory contains the distribution of scm5e5. SCM conforms to
Revised^5 Report on the Algorithmic Language Scheme and the IEEE P1178
-specification. SCM runs under Amiga, Atari-ST, MacOS, MS-DOS, OS/2,
-NOS/VE, Unicos, VMS, Unix and similar systems.
+specification. SCM runs under Amiga, Atari-ST, MacOS, MS-DOS, OS/2,
+NOS/VE, Unicos, VMS, Unix and similar systems. SCM supports the SLIB
+Scheme library; both SCM and SLIB are GNU packages.
`http://swiss.csail.mit.edu/~jaffer/SCM'
@@ -9,8 +10,8 @@ NOS/VE, Unicos, VMS, Unix and similar systems.
============
`.gdbinit' provides commands for debugging SCM with GDB
-`COPYING' details the LACK OF WARRANTY for SCM and the conditions
- for distributing SCM.
+`COPYING' GNU GENERAL PUBLIC LICENSE
+`COPYING.LESSER' GNU LESSER GENERAL PUBLIC LICENSE
`ChangeLog' changes to SCM.
`Idiffer.scm' Linear-space O(PN) sequence comparison.
`Iedline.scm' Gnu readline input editing.
@@ -42,12 +43,15 @@ NOS/VE, Unicos, VMS, Unix and similar systems.
ftp.sys.toronto.edu:/pub/rc/editline.shar).
`eval.c' evaluator, apply, map, and foreach.
`example.scm' example from R4RS which uses inexact numbers.
+`fdl.texi' GNU Free Documentation License.
`findexec.c' find the executable file function.
`get-contoffset-ia64.c'makes contoffset-ia64.S for inclusion by continue-ia64.S
`gmalloc.c' Gnu malloc(); used for unexec.
`gsubr.c' make_gsubr for arbitrary (< 11) arguments to C
functions.
`ioext.c' system calls in common between PC compilers and unix.
+`lastfile.c' find the point in data space between data and libraries.
+`macos-config.h' Included by unexmacosx.c and lastfile.c.
`mkimpcat.scm' build SCM-specific catalog for SLIB.
`patchlvl.h' patchlevel of this release.
`pi.c' computes digits of pi [cc -o pi pi.c;time pi 100 5].
@@ -90,6 +94,8 @@ NOS/VE, Unicos, VMS, Unix and similar systems.
`unexec.c' Convert a running program into an executable file.
`unexelf.c' Convert a running ELF program into an executable file.
`unexhp9k800.c' Convert a running HP-UX program into an executable file.
+`unexmacosx.c' Convert a running program into an executable file under
+ MacOS X.
`unexsgi.c' Convert a running program into an IRIX executable file.
`unexsunos4.c' Convert a running program into an executable file.
`unif.c' uniform vectors.
@@ -108,16 +114,16 @@ SLIB is not _neccessary_ to run SCM, I strongly suggest you obtain and
install it. Bug reports about running SCM without SLIB have very low
priority. SLIB is available from the same sites as SCM:
- * swiss.csail.mit.edu:/pub/scm/slib3a5.tar.gz
+ * swiss.csail.mit.edu:/pub/scm/slib-3b1.tar.gz
- * ftp.gnu.org:/pub/gnu/jacal/slib3a5.tar.gz
+ * ftp.gnu.org:/pub/gnu/jacal/slib-3b1.tar.gz
-Unpack SLIB (`tar xzf slib3a5.tar.gz' or `unzip -ao slib3a5.zip') in an
-appropriate directory for your system; both `tar' and `unzip' will
+Unpack SLIB (`tar xzf slib-3b1.tar.gz' or `unzip -ao slib-3b1.zip') in
+an appropriate directory for your system; both `tar' and `unzip' will
create the directory `slib'.
Then create a file `require.scm' in the SCM "implementation-vicinity"
-(this is the same directory as where the file `Init5e4.scm' is
+(this is the same directory as where the file `Init5e5.scm' is
installed). `require.scm' should have the contents:
(define (library-vicinity) "/usr/local/lib/slib/")
@@ -282,17 +288,17 @@ remove <FLAG> in scmfig.h and Do so and recompile files.
recompile scm.
add <FLAG> in scmfig.h and
recompile scm.
-ERROR: Init5e4.scm not found. Assign correct IMPLINIT in makefile
+ERROR: Init5e5.scm not found. Assign correct IMPLINIT in makefile
or scmfig.h.
Define environment variable
SCM_INIT_PATH to be the full
- pathname of Init5e4.scm.
+ pathname of Init5e5.scm.
WARNING: require.scm not found. Define environment variable
SCHEME_LIBRARY_PATH to be the full
pathname of the scheme library
[SLIB].
Change library-vicinity in
- Init5e4.scm to point to library or
+ Init5e5.scm to point to library or
remove.
Make sure the value of
(library-vicinity) has a trailing
@@ -353,7 +359,7 @@ Some symbol names print incorrectly. Change memory model option to C
than HEAP_SEG_SIZE).
ERROR: Rogue pointer in Heap. See above under machine crashes.
Newlines don't appear correctly in Check file mode (define OPEN_... in
-output files. `Init5e4.scm').
+output files. `Init5e5.scm').
Spaces or control characters appear Check character defines in
in symbol names. `scmfig.h'.
Negative numbers turn positive. Check SRS in `scmfig.h'.
diff --git a/Transcen.scm b/Transcen.scm
index ad42140..8deb925 100644
--- a/Transcen.scm
+++ b/Transcen.scm
@@ -1,45 +1,22 @@
+;;;; "Transcen.scm", Complex transcendental functions for SCM.
;; Copyright (C) 1992, 1993, 1995, 1997, 2005, 2006 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
-;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
-;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "Transcen.scm", Complex trancendental functions for SCM.
;;; Author: Jerry D. Hedden.
+
;;;; 2005-05 SRFI-70 extensions.
;;; Author: Aubrey Jaffer
diff --git a/Tscript.scm b/Tscript.scm
index 22b80ea..a238c61 100644
--- a/Tscript.scm
+++ b/Tscript.scm
@@ -1,3 +1,22 @@
+;;;; "Tscript.scm" transcript-on and transcript-off.
+;; Copyright (C) 1999 Free Software Foundation, Inc.
+;;
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
+;;
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
+
+;;; Author: Radey Shouman
+
(define transcript-on #f)
(define transcript-off #f)
@@ -24,7 +43,9 @@
(and (input-port? port)
(lambda ()
(let ((c (read-char port)))
- (write-char c trans)
+ (if (eof-object? c)
+ (close-output-port trans)
+ (write-char c trans))
c)))
(lambda ()
(close-port port)))
@@ -57,4 +78,4 @@
(set! transcript-on trans-on)
(set! transcript-off trans-off))
-(provide 'transcript) \ No newline at end of file
+(provide 'transcript)
diff --git a/Xlibscm.info b/Xlibscm.info
index 76b614a..a87c4b6 100644
--- a/Xlibscm.info
+++ b/Xlibscm.info
@@ -2,7 +2,7 @@ This is Xlibscm.info, produced by makeinfo version 4.8 from
Xlibscm.texi.
This manual documents the X Interface for SCM Language (version
-5e4, November 2007).
+5e5, February 2008).
Copyright (C) 1999 Free Software Foundation, Inc.
@@ -32,7 +32,7 @@ XlibScm
*******
This manual documents the X Interface for SCM Language (version
-5e4, November 2007).
+5e5, February 2008).
Copyright (C) 1999 Free Software Foundation, Inc.
diff --git a/bench.scm b/bench.scm
index 36255f0..9d77bfa 100644
--- a/bench.scm
+++ b/bench.scm
@@ -1,44 +1,20 @@
+;;;; "bench.scm", Scheme benchmarks: digits of pi and random statistics.
;; Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of GUILE.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the GUILE library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the GUILE library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name GUILE. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; GUILE, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for GUILE, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "bench.scm", Scheme benchmarks: digits of pi and random statistics.
;;; Author: Aubrey Jaffer.
(require 'transcript)
diff --git a/build b/build
index 6a4d884..293ccbc 100755
--- a/build
+++ b/build
@@ -1,21 +1,21 @@
#! /bin/sh
:;exec ./scmlit -no-init-file -f $0 -e"(bi)" build "$@"
-;;
+;;;; "build" Script for compiling SCM.
;; Copyright (C) 1994-2006 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
+;; You should have received a copy of the GNU General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
(require 'getopt)
(require 'getopt-parameters)
@@ -65,10 +65,11 @@
(display "\
This directory contains the distribution of scm" pipe)
(display scm-info pipe)
- (display ". Scm conforms to
+ (display ". SCM conforms to
Revised^5 Report on the Algorithmic Language Scheme and the IEEE P1178
-specification. SCM runs under Amiga, Atari-ST, MacOS, MS-DOS, OS/2,
-NOS/VE, Unicos, VMS, Unix and similar systems.
+specification. SCM runs under Amiga, Atari-ST, MacOS, MS-DOS, OS/2,
+NOS/VE, Unicos, VMS, Unix and similar systems. SCM supports the SLIB
+Scheme library; both SCM and SLIB are GNU packages.
@center @url{http://swiss.csail.mit.edu/~jaffer/SCM}
@@ -77,7 +78,7 @@ NOS/VE, Unicos, VMS, Unix and similar systems.
pipe)
(print-manifest pipe)
(close-port pipe)
- (set! scm-info (string-append "scm" scm-info ".info"))
+ (set! scm-info (string-append "scm-" scm-info ".info"))
(append-info-node scm-info "SLIB" "README")
(append-info-node scm-info "Making SCM" "README")
(append-info-node scm-info "Editing Scheme Code" "README")
diff --git a/build.scm b/build.scm
index 1baa9c0..28a768e 100644
--- a/build.scm
+++ b/build.scm
@@ -1,19 +1,19 @@
;; "build.scm" Build database and program -*-scheme-*-
;; Copyright (C) 1994-2006 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
+;; You should have received a copy of the GNU General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
(require 'parameters)
(require 'databases)
@@ -21,7 +21,7 @@
(require 'alist)
(require 'common-list-functions)
(require 'object->string)
-(require 'glob)
+(require 'filename)
(require 'batch)
(require-if 'compiling 'posix-time)
;@
@@ -70,11 +70,13 @@
(category file-categories))
((documentation string))
(("README" plaintext documentation "contains a MANIFEST, INSTALLATION INSTRUCTIONS, hints for EDITING SCHEME CODE, and a TROUBLE SHOOTING GUIDE.")
- ("COPYING" plaintext documentation "details the LACK OF WARRANTY for SCM and the conditions for distributing SCM.")
+ ("COPYING" plaintext documentation "GNU GENERAL PUBLIC LICENSE")
+ ("COPYING.LESSER" plaintext documentation "GNU LESSER GENERAL PUBLIC LICENSE")
("scm.1" nroff documentation "unix style man page.")
("scm.doc" plaintext documentation "man page generated from scm.1.")
("QUICKREF" plaintext documentation "Quick Reference card for R4RS and IEEE Scheme.")
("scm.texi" Texinfo documentation "SCM installation and use.")
+ ("fdl.texi" Texinfo documentation "GNU Free Documentation License.")
("ChangeLog" plaintext documentation "changes to SCM.")
("r4rstest.scm" Scheme test "tests conformance with Scheme specifications.")
("example.scm" Scheme test "example from R4RS which uses inexact numbers.")
@@ -142,6 +144,9 @@
("unexalpha.c" c-source platform-specific "Convert a running program into an Alpha executable file.")
("unexsgi.c" c-source platform-specific "Convert a running program into an IRIX executable file.")
("unexsunos4.c" c-source platform-specific "Convert a running program into an executable file.")
+ ("macos-config.h" c-header platform-specific "Included by unexmacosx.c and lastfile.c.")
+ ("unexmacosx.c" c-source platform-specific "Convert a running program into an executable file under MacOS X.")
+ ("lastfile.c" c-source platform-specific "find the point in data space between data and libraries.")
))
'(build-whats
@@ -645,6 +650,8 @@
(c darwin "" "" #f () ())
(curses darwin "" "" #f () ())
(regex darwin "" "" #f () ())
+ (dump darwin "" "" #f ("unexmacosx.c" "lastfile.c") ())
+ (dlll darwin "-DSUN_DL" "-ldl" "" () ())
(c freebsd "" "-export-dynamic" #f () ())
(m freebsd "" "-lm" #f () ())
@@ -1654,6 +1661,37 @@
"cc" "-o" oname
(append objects libs))
oname)))
+(defcommand compile-dll-c-files darwin
+ (lambda (files parms)
+ (and (batch:try-chopped-command
+ parms "gcc" "-c"
+ (c-includes parms) (c-flags parms) files)
+ (let ((fnames (truncate-up-to (map c-> files) #\/)))
+ (and (batch:try-command
+ parms "gcc" "-dynamiclib" "-single_module" "-L." "-undefined" "dynamic_lookup"
+ "-o" (string-append (car fnames) ".so")
+ (map (lambda (fname) (string-append fname ".o")) fnames))
+ (for-each (lambda (fname)
+ (batch:delete-file
+ parms (string-append fname ".o")))
+ fnames)
+ (list (string-append (car fnames) ".so")))))))
+(defcommand make-dll-archive darwin
+ (lambda (oname objects libs parms)
+ (let ((platform (car (parameter-list-ref parms 'platform))))
+ (and (batch:try-command
+ parms
+ "gcc" "-dynamiclib" "-L." "-undefined" "dynamic_lookup" "-o"
+ (string-append
+ (car (parameter-list-ref parms 'implvic))
+ oname ".so")
+ objects
+ (map (lambda (l) (build:lib-ld-flag l platform))
+ (parameter-list-ref parms 'c-lib)))
+ (batch:rebuild-catalog parms)
+ (string-append
+ (car (parameter-list-ref parms 'implvic))
+ oname ".so")))))
(defcommand compile-c-files netbsd
(lambda (files parms)
diff --git a/byte.c b/byte.c
index c737139..0e9031e 100644
--- a/byte.c
+++ b/byte.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 2003, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "byte.c" Strings as Bytes
+ * Copyright (C) 2003, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "byte.c" Strings as Bytes
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
@@ -264,7 +240,10 @@ void init_byte()
scm_ldstr("\n\
(define bytes-length string-length)\n\
(define bytes-copy string-copy)\n\
+(define bytes-append string-append)\n\
(define subbytes substring)\n\
+(define bytes->string cr)\n\
+(define string->bytes cr)\n\
(define (bytes-reverse bytes)\n\
(bytes-reverse! (bytes-copy bytes)))\n\
(define (read-bytes n . port)\n\
diff --git a/bytenumb.c b/bytenumb.c
index ba7e584..30ca469 100644
--- a/bytenumb.c
+++ b/bytenumb.c
@@ -1,24 +1,25 @@
-/* "bytenumb.scm" Byte integer and IEEE floating-point conversions. */
-/* Copyright (C) 2007 Aubrey Jaffer */
-/* */
-/* Permission to copy this software, to modify it, to redistribute it, */
-/* to distribute modified versions, and to use it for any purpose is */
-/* granted, subject to the following restrictions and understandings. */
-/* */
-/* 1. Any copy made of this software must include this copyright notice */
-/* in full. */
-/* */
-/* 2. I have made no warranty or representation that the operation of */
-/* this software will be error-free, and I am under no obligation to */
-/* provide any services, by way of maintenance, update, or otherwise. */
-/* */
-/* 3. In conjunction with products arising from the use of this */
-/* material, there shall be no use of my name in any advertising, */
-/* promotional, or sales literature without prior written consent in */
-/* each case. */
+/* "bytenumb.scm" Byte integer and IEEE floating-point conversions.
+ * Copyright (C) 2007 Free Software Foundation, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
-/* For documentation see: */
-/* http://cvs.savannah.gnu.org/viewcvs/slib/slib/bytenumb.scm?view=markup */
+/* Author: Aubrey Jaffer */
+
+/* For documentation see:
+ http://cvs.savannah.gnu.org/viewcvs/slib/slib/bytenumb.scm?view=markup */
#include <stdlib.h>
#include <math.h>
diff --git a/compile.scm b/compile.scm
index 2cd9170..06aa956 100755
--- a/compile.scm
+++ b/compile.scm
@@ -1,51 +1,26 @@
#! /bin/sh
:;exec scm -e"(set! *script* \"$0\")" -f$0 "$@"
-
+;;;; "compile.scm", Compile C ==> Scheme ==> object-file.
;; Copyright (C) 1992-2002 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
-;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "compile.scm", Compile C ==> Scheme ==> object-file.
;;; Author: Aubrey Jaffer.
(require-if 'compiling 'hobbit)
-(require-if 'compiling 'glob)
+(require-if 'compiling 'filename)
(require-if 'compiling 'build)
(define (compile.scm args)
@@ -84,7 +59,7 @@ http://swiss.csail.mit.edu/~jaffer/SCM
;@
(define (compile-file file . args)
(define sfs (scheme-file-suffix))
- (require 'glob)
+ (require 'filename)
(apply hobbit file args)
(let ((command
(apply list
@@ -100,7 +75,7 @@ http://swiss.csail.mit.edu/~jaffer/SCM
;@
(define (compile->executable exename . files)
(define sfs (scheme-file-suffix))
- (require 'glob)
+ (require 'filename)
(for-each hobbit files)
(let ((inits (map (lambda (file)
(string-append "-iinit_" (replace-suffix file sfs "")))
diff --git a/continue-ia64.S b/continue-ia64.S
index e9387fb..ba61e38 100644
--- a/continue-ia64.S
+++ b/continue-ia64.S
@@ -1,49 +1,23 @@
-/* Copyright (C) 2006 Free Software Foundation, Inc.
- * Author: Richard E. Harke (continue-ia64.S only) copyright assigned
- * to Free Software Foundation, Inc.
+/* "continue-ia64.S" continuation support for ia64.
+ * Copyright (C) 2006 Free Software Foundation, Inc.
*
- * By including the following notice, I am agreeing to its terms,
- * including the special exception for SCM.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
+/* Author: Richard E. Harke */
+
/*
struct Continuation {jump_buf jmpbuf;
long thrwval;
diff --git a/continue.c b/continue.c
index 43c5f37..1f8c6de 100644
--- a/continue.c
+++ b/continue.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "continue.c" Scheme Continuations for C.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "continue.c" Scheme Continuations for C.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
/* "setjump.h" contains definitions for the `other' field (type
CONTINUATION_OTHER) the struct Continuation. "setjump.h" must
diff --git a/continue.h b/continue.h
index 3e0d919..9f1d78f 100644
--- a/continue.h
+++ b/continue.h
@@ -1,42 +1,18 @@
/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2006 Free Software Foundation, Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
/* "continue.h" Scheme Continuations for C.
diff --git a/crs.c b/crs.c
index 9a45493..a2094f7 100644
--- a/crs.c
+++ b/crs.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "crs.c" interface to `curses' interactive terminal control library.
+ * Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "crs.c" interface to `curses' interactive terminal control library.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
diff --git a/debug.c b/debug.c
index 5d34581..f7f72fb 100644
--- a/debug.c
+++ b/debug.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "debug.c" procedures for displaying and debugging code.
+ * Copyright (C) 2001 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "debug.c" procedures for displaying and debugging code.
- Authors: Radey Shouman & Aubrey Jaffer. */
+/* Authors: Radey Shouman & Aubrey Jaffer. */
#include "scm.h"
#include "setjump.h"
diff --git a/differ.c b/differ.c
index cb8cf8f..d0462bb 100644
--- a/differ.c
+++ b/differ.c
@@ -1,45 +1,21 @@
-/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+/* "differ.c" Linear-space O(NP) sequence comparison.
+ * Copyright (C) 2003, 2004 Free Software Foundation, Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "differ.c" Linear-space O(NP) sequence comparison. */
/* Author: Aubrey Jaffer */
#include <stdlib.h>
diff --git a/disarm.scm b/disarm.scm
index 7f235f8..5fbc9f3 100644
--- a/disarm.scm
+++ b/disarm.scm
@@ -1,44 +1,20 @@
+;;;; "disarm.scm", Make SCM safe for client-server applications.
;; Copyright (C) 1998 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "disarm.scm", Make SCM safe for client-server applications.
;;; Author: Aubrey Jaffer.
(define (disarm name)
diff --git a/dynl.c b/dynl.c
index 736ce11..171670b 100644
--- a/dynl.c
+++ b/dynl.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990-1999 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "dynl.c" dynamically link&load object files.
+ * Copyright (C) 1990-1999 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "dynl.c" dynamically link&load object files.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
#ifndef STDC_HEADERS
diff --git a/ecrt0.c b/ecrt0.c
index 654b938..b9c7468 100644
--- a/ecrt0.c
+++ b/ecrt0.c
@@ -3,20 +3,19 @@
This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>. */
/* The standard Vax 4.2 Unix crt0.c cannot be used for Emacs
diff --git a/edline.c b/edline.c
index e31207b..70a0b41 100644
--- a/edline.c
+++ b/edline.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "readline.c" Scheme interface to readline library
+ * Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "readline.c" Scheme interface to readline library
- Author: Radey Shouman */
+/* Author: Radey Shouman */
#include "scm.h"
diff --git a/eval.c b/eval.c
index 86c56a3..407efc4 100644
--- a/eval.c
+++ b/eval.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2002, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "eval.c" eval and apply.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2002, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "eval.c" eval and apply.
- Authors: Radey Shouman, Aubrey Jaffer, & Hugh E. Secker-Walker. */
+/* Authors: Radey Shouman, Aubrey Jaffer, & Hugh E. Secker-Walker. */
#include "scm.h"
#include "setjump.h"
@@ -2061,7 +2037,7 @@ SCM scm_eval_values(x, env, valenv)
STATIC_ENV = env;
scm_env = valenv;
scm_env_tmp = IM_VALUES_TOKEN;
- if (NIMP(x)) x = ceval_1(x);
+ if (NIMP(x)) x = ceval_1(cons2(IM_EVAL_VALUES, x, EOL));
DEFER_INTS_EGC;
if (IM_VALUES_TOKEN==scm_env_tmp) {
if (UNBNDP(x))
@@ -2408,6 +2384,13 @@ static SCM ceval_1(x)
case (ISYMNUM(IM_DEFINE)):
x = toplevel_define(x, STATIC_ENV);
goto retx;
+ case (ISYMNUM(IM_EVAL_VALUES)):
+ /* Push magic VALUES token on estk until
+ tail call occurs. Only happens when called
+ from scm_eval_values. */
+ ENV_MAY_PUSH(envpp);
+ scm_env_tmp = EOL;
+ goto cdrxbegin;
/* new syntactic forms go here. */
default:
goto badfun;
diff --git a/fdl.texi b/fdl.texi
new file mode 100644
index 0000000..6c91624
--- /dev/null
+++ b/fdl.texi
@@ -0,0 +1,450 @@
+@c The GNU Free Documentation License.
+@center Version 1.2, November 2002
+
+@c This file is intended to be included within another document,
+@c hence no sectioning command or @node.
+
+@display
+Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc.
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+@end display
+
+@enumerate 0
+@item
+PREAMBLE
+
+The purpose of this License is to make a manual, textbook, or other
+functional and useful document @dfn{free} in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
+
+This License is a kind of ``copyleft'', which means that derivative
+works of the document must themselves be free in the same sense. It
+complements the GNU General Public License, which is a copyleft
+license designed for free software.
+
+We have designed this License in order to use it for manuals for free
+software, because free software needs free documentation: a free
+program should come with manuals providing the same freedoms that the
+software does. But this License is not limited to software manuals;
+it can be used for any textual work, regardless of subject matter or
+whether it is published as a printed book. We recommend this License
+principally for works whose purpose is instruction or reference.
+
+@item
+APPLICABILITY AND DEFINITIONS
+
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License. Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein. The ``Document'', below,
+refers to any such manual or work. Any member of the public is a
+licensee, and is addressed as ``you''. You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
+
+A ``Modified Version'' of the Document means any work containing the
+Document or a portion of it, either copied verbatim, or with
+modifications and/or translated into another language.
+
+A ``Secondary Section'' is a named appendix or a front-matter section
+of the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall
+subject (or to related matters) and contains nothing that could fall
+directly within that overall subject. (Thus, if the Document is in
+part a textbook of mathematics, a Secondary Section may not explain
+any mathematics.) The relationship could be a matter of historical
+connection with the subject or with related matters, or of legal,
+commercial, philosophical, ethical or political position regarding
+them.
+
+The ``Invariant Sections'' are certain Secondary Sections whose titles
+are designated, as being those of Invariant Sections, in the notice
+that says that the Document is released under this License. If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant. The Document may contain zero
+Invariant Sections. If the Document does not identify any Invariant
+Sections then there are none.
+
+The ``Cover Texts'' are certain short passages of text that are listed,
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
+the Document is released under this License. A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
+
+A ``Transparent'' copy of the Document means a machine-readable copy,
+represented in a format whose specification is available to the
+general public, that is suitable for revising the document
+straightforwardly with generic text editors or (for images composed of
+pixels) generic paint programs or (for drawings) some widely available
+drawing editor, and that is suitable for input to text formatters or
+for automatic translation to a variety of formats suitable for input
+to text formatters. A copy made in an otherwise Transparent file
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text. A copy that is not ``Transparent'' is called ``Opaque''.
+
+Examples of suitable formats for Transparent copies include plain
+@sc{ascii} without markup, Texinfo input format, La@TeX{} input
+format, @acronym{SGML} or @acronym{XML} using a publicly available
+@acronym{DTD}, and standard-conforming simple @acronym{HTML},
+PostScript or @acronym{PDF} designed for human modification. Examples
+of transparent image formats include @acronym{PNG}, @acronym{XCF} and
+@acronym{JPG}. Opaque formats include proprietary formats that can be
+read and edited only by proprietary word processors, @acronym{SGML} or
+@acronym{XML} for which the @acronym{DTD} and/or processing tools are
+not generally available, and the machine-generated @acronym{HTML},
+PostScript or @acronym{PDF} produced by some word processors for
+output purposes only.
+
+The ``Title Page'' means, for a printed book, the title page itself,
+plus such following pages as are needed to hold, legibly, the material
+this License requires to appear in the title page. For works in
+formats which do not have any title page as such, ``Title Page'' means
+the text near the most prominent appearance of the work's title,
+preceding the beginning of the body of the text.
+
+A section ``Entitled XYZ'' means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language. (Here XYZ stands for a
+specific section name mentioned below, such as ``Acknowledgements'',
+``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title''
+of such a section when you modify the Document means that it remains a
+section ``Entitled XYZ'' according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document. These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
+@item
+VERBATIM COPYING
+
+You may copy and distribute the Document in any medium, either
+commercially or noncommercially, provided that this License, the
+copyright notices, and the license notice saying this License applies
+to the Document are reproduced in all copies, and that you add no other
+conditions whatsoever to those of this License. You may not use
+technical measures to obstruct or control the reading or further
+copying of the copies you make or distribute. However, you may accept
+compensation in exchange for copies. If you distribute a large enough
+number of copies you must also follow the conditions in section 3.
+
+You may also lend copies, under the same conditions stated above, and
+you may publicly display copies.
+
+@item
+COPYING IN QUANTITY
+
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
+the back cover. Both covers must also clearly and legibly identify
+you as the publisher of these copies. The front cover must present
+the full title with all words of the title equally prominent and
+visible. You may add other material on the covers in addition.
+Copying with changes limited to the covers, as long as they preserve
+the title of the Document and satisfy these conditions, can be treated
+as verbatim copying in other respects.
+
+If the required texts for either cover are too voluminous to fit
+legibly, you should put the first ones listed (as many as fit
+reasonably) on the actual cover, and continue the rest onto adjacent
+pages.
+
+If you publish or distribute Opaque copies of the Document numbering
+more than 100, you must either include a machine-readable Transparent
+copy along with each Opaque copy, or state in or with each Opaque copy
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
+
+It is requested, but not required, that you contact the authors of the
+Document well before redistributing any large number of copies, to give
+them a chance to provide you with an updated version of the Document.
+
+@item
+MODIFICATIONS
+
+You may copy and distribute a Modified Version of the Document under
+the conditions of sections 2 and 3 above, provided that you release
+the Modified Version under precisely this License, with the Modified
+Version filling the role of the Document, thus licensing distribution
+and modification of the Modified Version to whoever possesses a copy
+of it. In addition, you must do these things in the Modified Version:
+
+@enumerate A
+@item
+Use in the Title Page (and on the covers, if any) a title distinct
+from that of the Document, and from those of previous versions
+(which should, if there were any, be listed in the History section
+of the Document). You may use the same title as a previous version
+if the original publisher of that version gives permission.
+
+@item
+List on the Title Page, as authors, one or more persons or entities
+responsible for authorship of the modifications in the Modified
+Version, together with at least five of the principal authors of the
+Document (all of its principal authors, if it has fewer than five),
+unless they release you from this requirement.
+
+@item
+State on the Title page the name of the publisher of the
+Modified Version, as the publisher.
+
+@item
+Preserve all the copyright notices of the Document.
+
+@item
+Add an appropriate copyright notice for your modifications
+adjacent to the other copyright notices.
+
+@item
+Include, immediately after the copyright notices, a license notice
+giving the public permission to use the Modified Version under the
+terms of this License, in the form shown in the Addendum below.
+
+@item
+Preserve in that license notice the full lists of Invariant Sections
+and required Cover Texts given in the Document's license notice.
+
+@item
+Include an unaltered copy of this License.
+
+@item
+Preserve the section Entitled ``History'', Preserve its Title, and add
+to it an item stating at least the title, year, new authors, and
+publisher of the Modified Version as given on the Title Page. If
+there is no section Entitled ``History'' in the Document, create one
+stating the title, year, authors, and publisher of the Document as
+given on its Title Page, then add an item describing the Modified
+Version as stated in the previous sentence.
+
+@item
+Preserve the network location, if any, given in the Document for
+public access to a Transparent copy of the Document, and likewise
+the network locations given in the Document for previous versions
+it was based on. These may be placed in the ``History'' section.
+You may omit a network location for a work that was published at
+least four years before the Document itself, or if the original
+publisher of the version it refers to gives permission.
+
+@item
+For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
+the Title of the section, and preserve in the section all the
+substance and tone of each of the contributor acknowledgements and/or
+dedications given therein.
+
+@item
+Preserve all the Invariant Sections of the Document,
+unaltered in their text and in their titles. Section numbers
+or the equivalent are not considered part of the section titles.
+
+@item
+Delete any section Entitled ``Endorsements''. Such a section
+may not be included in the Modified Version.
+
+@item
+Do not retitle any existing section to be Entitled ``Endorsements'' or
+to conflict in title with any Invariant Section.
+
+@item
+Preserve any Warranty Disclaimers.
+@end enumerate
+
+If the Modified Version includes new front-matter sections or
+appendices that qualify as Secondary Sections and contain no material
+copied from the Document, you may at your option designate some or all
+of these sections as invariant. To do this, add their titles to the
+list of Invariant Sections in the Modified Version's license notice.
+These titles must be distinct from any other section titles.
+
+You may add a section Entitled ``Endorsements'', provided it contains
+nothing but endorsements of your Modified Version by various
+parties---for example, statements of peer review or that the text has
+been approved by an organization as the authoritative definition of a
+standard.
+
+You may add a passage of up to five words as a Front-Cover Text, and a
+passage of up to 25 words as a Back-Cover Text, to the end of the list
+of Cover Texts in the Modified Version. Only one passage of
+Front-Cover Text and one of Back-Cover Text may be added by (or
+through arrangements made by) any one entity. If the Document already
+includes a cover text for the same cover, previously added by you or
+by arrangement made by the same entity you are acting on behalf of,
+you may not add another; but you may replace the old one, on explicit
+permission from the previous publisher that added the old one.
+
+The author(s) and publisher(s) of the Document do not by this License
+give permission to use their names for publicity for or to assert or
+imply endorsement of any Modified Version.
+
+@item
+COMBINING DOCUMENTS
+
+You may combine the Document with other documents released under this
+License, under the terms defined in section 4 above for modified
+versions, provided that you include in the combination all of the
+Invariant Sections of all of the original documents, unmodified, and
+list them all as Invariant Sections of your combined work in its
+license notice, and that you preserve all their Warranty Disclaimers.
+
+The combined work need only contain one copy of this License, and
+multiple identical Invariant Sections may be replaced with a single
+copy. If there are multiple Invariant Sections with the same name but
+different contents, make the title of each such section unique by
+adding at the end of it, in parentheses, the name of the original
+author or publisher of that section if known, or else a unique number.
+Make the same adjustment to the section titles in the list of
+Invariant Sections in the license notice of the combined work.
+
+In the combination, you must combine any sections Entitled ``History''
+in the various original documents, forming one section Entitled
+``History''; likewise combine any sections Entitled ``Acknowledgements'',
+and any sections Entitled ``Dedications''. You must delete all
+sections Entitled ``Endorsements.''
+
+@item
+COLLECTIONS OF DOCUMENTS
+
+You may make a collection consisting of the Document and other documents
+released under this License, and replace the individual copies of this
+License in the various documents with a single copy that is included in
+the collection, provided that you follow the rules of this License for
+verbatim copying of each of the documents in all other respects.
+
+You may extract a single document from such a collection, and distribute
+it individually under this License, provided you insert a copy of this
+License into the extracted document, and follow this License in all
+other respects regarding verbatim copying of that document.
+
+@item
+AGGREGATION WITH INDEPENDENT WORKS
+
+A compilation of the Document or its derivatives with other separate
+and independent documents or works, in or on a volume of a storage or
+distribution medium, is called an ``aggregate'' if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
+
+If the Cover Text requirement of section 3 is applicable to these
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
+@item
+TRANSLATION
+
+Translation is considered a kind of modification, so you may
+distribute translations of the Document under the terms of section 4.
+Replacing Invariant Sections with translations requires special
+permission from their copyright holders, but you may include
+translations of some or all Invariant Sections in addition to the
+original versions of these Invariant Sections. You may include a
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers. In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled ``Acknowledgements'',
+``Dedications'', or ``History'', the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
+@item
+TERMINATION
+
+You may not copy, modify, sublicense, or distribute the Document except
+as expressly provided for under this License. Any other attempt to
+copy, modify, sublicense or distribute the Document is void, and will
+automatically terminate your rights under this License. However,
+parties who have received copies, or rights, from you under this
+License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+@item
+FUTURE REVISIONS OF THIS LICENSE
+
+The Free Software Foundation may publish new, revised versions
+of the GNU Free Documentation License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns. See
+@uref{http://www.gnu.org/copyleft/}.
+
+Each version of the License is given a distinguishing version number.
+If the Document specifies that a particular numbered version of this
+License ``or any later version'' applies to it, you have the option of
+following the terms and conditions either of that specified version or
+of any later version that has been published (not as a draft) by the
+Free Software Foundation. If the Document does not specify a version
+number of this License, you may choose any version ever published (not
+as a draft) by the Free Software Foundation.
+@end enumerate
+
+@page
+@heading ADDENDUM: How to use this License for your documents
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and
+license notices just after the title page:
+
+@smallexample
+@group
+ Copyright (C) @var{year} @var{your name}.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.2
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+ Texts. A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+@end group
+@end smallexample
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the ``with@dots{}Texts.'' line with this:
+
+@smallexample
+@group
+ with the Invariant Sections being @var{list their titles}, with
+ the Front-Cover Texts being @var{list}, and with the Back-Cover Texts
+ being @var{list}.
+@end group
+@end smallexample
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License,
+to permit their use in free software.
+
+@c Local Variables:
+@c ispell-local-pdict: "ispell-dict"
+@c End:
diff --git a/findexec.c b/findexec.c
index 8edc6fc..a562077 100644
--- a/findexec.c
+++ b/findexec.c
@@ -1,8 +1,22 @@
/* "findexec.c" was part of DLD, a dynamic link/unlink editor for C.
-
- Copyright (C) 1990 by W. Wilson Ho.
-
- The author can be reached electronically by how@cs.ucdavis.edu or
+ * Copyright (C) 1990 by W. Wilson Ho.
+ *
+ * GNU Emacs is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * GNU Emacs is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with GNU Emacs. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+/* The author can be reached electronically by how@cs.ucdavis.edu or
through physical mail at:
W. Wilson Ho
@@ -27,11 +41,6 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer
* find_exec.c: extracted for general use. Generalized to
MS-DOS. */
-/* This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 1, or (at your option) any
- later version. */
-
/* Given a filename, dld_find_executable searches the directories
listed in the environment variable PATH for a file with that
filename. A new copy of the complete path name of that file is
diff --git a/get-contoffset-ia64.c b/get-contoffset-ia64.c
index 4e3612c..2d2b721 100644
--- a/get-contoffset-ia64.c
+++ b/get-contoffset-ia64.c
@@ -1,50 +1,27 @@
-/* Copyright (C) 2006 Free Software Foundation, Inc.
- * Author: Richard E. Harke (get-contoffset-ia64.c only) copyright assigned
- * to Free Software Foundation, Inc.
+/* "get-contoffset-ia64.c" Program writes "contoffset-ia64.S" with C offsets.
+ * Copyright (C) 2006 Free Software Foundation, Inc.
*
* By including the following notice, I am agreeing to its terms,
* including the special exception for SCM.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* The .o of this file does not get linked into SCM.
+/* Author: Richard E. Harke
+ *
+ * The .o of this file does not get linked into SCM.
* It is a utility used to create an include file
* for continue-ia64.S to get offsets into struct jump_buf
* and be sure they are correct for the current compiler.
diff --git a/gmalloc.c b/gmalloc.c
index b9b5e1e..eef1504 100644
--- a/gmalloc.c
+++ b/gmalloc.c
@@ -1,31 +1,30 @@
-/* This file is no longer automatically generated from libc. */
-
-#define _MALLOC_INTERNAL
-
-/* The malloc headers and source files from the C library follow here. */
-
-/* Declarations for `malloc' and friends.
+/* "gmalloc.c" Declarations for `malloc' and friends.
Copyright 1990, 91, 92, 93, 95, 96 Free Software Foundation, Inc.
- Written May 1989 by Mike Haertel.
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 2 of the
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
+General Public License for more details.
-You should have received a copy of the GNU Library General Public
-License along with this library; see the file COPYING.LIB. If not,
-write to the Free Software Foundation, Inc., 59 Temple Place, Suite
-330, Boston, MA 02111, USA.
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>. */
+/* Written May 1989 by Mike Haertel.
The author may be reached (Email) at the address mike@ai.mit.edu,
or (US mail) as Mike Haertel c/o Free Software Foundation. */
+/* This file is no longer automatically generated from libc. */
+
+#define _MALLOC_INTERNAL
+
+/* The malloc headers and source files from the C library follow here. */
+
#ifndef _MALLOC_H
#define _MALLOC_H 1
@@ -564,27 +563,27 @@ morecore (size)
/* Allocate new space for the malloc info table. */
while (1)
- {
- newinfo = (malloc_info *) align (newsize * sizeof (malloc_info));
-
- /* Did it fail? */
- if (newinfo == NULL)
- {
- (*__morecore) (-size);
- return NULL;
- }
-
- /* Is it big enough to record status for its own space?
- If so, we win. */
- if ((__malloc_size_t) BLOCK ((char *) newinfo
- + newsize * sizeof (malloc_info))
- < newsize)
- break;
-
- /* Must try again. First give back most of what we just got. */
- (*__morecore) (- newsize * sizeof (malloc_info));
- newsize *= 2;
- }
+ {
+ newinfo = (malloc_info *) align (newsize * sizeof (malloc_info));
+
+ /* Did it fail? */
+ if (newinfo == NULL)
+ {
+ (*__morecore) (-size);
+ return NULL;
+ }
+
+ /* Is it big enough to record status for its own space?
+ If so, we win. */
+ if ((__malloc_size_t) BLOCK ((char *) newinfo
+ + newsize * sizeof (malloc_info))
+ < newsize)
+ break;
+
+ /* Must try again. First give back most of what we just got. */
+ (*__morecore) (- newsize * sizeof (malloc_info));
+ newsize *= 2;
+ }
/* Copy the old table to the beginning of the new,
and zero the rest of the new table. */
@@ -736,13 +735,13 @@ _malloc_internal (size)
get_contiguous_space ((wantblocks - lastblocks) * BLOCKSIZE,
ADDRESS (block + lastblocks)))
{
- /* We got it contiguously. Which block we are extending
+ /* We got it contiguously. Which block we are extending
(the `final free block' referred to above) might have
changed, if it got combined with a freed info table. */
- block = _heapinfo[0].free.prev;
- _heapinfo[block].free.size += (wantblocks - lastblocks);
+ block = _heapinfo[0].free.prev;
+ _heapinfo[block].free.size += (wantblocks - lastblocks);
_bytes_free += (wantblocks - lastblocks) * BLOCKSIZE;
- _heaplimit += wantblocks - lastblocks;
+ _heaplimit += wantblocks - lastblocks;
continue;
}
result = morecore (wantblocks * BLOCKSIZE);
@@ -988,12 +987,12 @@ _free_internal (ptr)
It's possible that moving _heapinfo will allow us to
return some space to the system. */
- __malloc_size_t info_block = BLOCK (_heapinfo);
- __malloc_size_t info_blocks = _heapinfo[info_block].busy.info.size;
- __malloc_size_t prev_block = _heapinfo[block].free.prev;
- __malloc_size_t prev_blocks = _heapinfo[prev_block].free.size;
- __malloc_size_t next_block = _heapinfo[block].free.next;
- __malloc_size_t next_blocks = _heapinfo[next_block].free.size;
+ __malloc_size_t info_block = BLOCK (_heapinfo);
+ __malloc_size_t info_blocks = _heapinfo[info_block].busy.info.size;
+ __malloc_size_t prev_block = _heapinfo[block].free.prev;
+ __malloc_size_t prev_blocks = _heapinfo[prev_block].free.size;
+ __malloc_size_t next_block = _heapinfo[block].free.next;
+ __malloc_size_t next_blocks = _heapinfo[next_block].free.size;
if (/* Win if this block being freed is last in core, the info table
is just before it, the previous free block is just before the
@@ -1042,7 +1041,7 @@ _free_internal (ptr)
to the system. */
block = _heapinfo[0].free.prev;
blocks = _heapinfo[block].free.size;
- }
+ }
/* Now see if we can return stuff to the system. */
if (block + blocks == _heaplimit && blocks >= lesscore_threshold)
@@ -1668,7 +1667,7 @@ int check_block(block, cont)
if (0==type) return 0;
prev = ptr = (struct list *) ((char *) ADDRESS (block) +
(_heapinfo[block].busy.info.frag.first << type));
- if ((BLOCKSIZE >> type) <= nfree)
+ if ((BLOCKSIZE >> type) <= nfree)
return 1;
if (nfree < 0)
return 2;
diff --git a/gsubr.c b/gsubr.c
index 6f9a790..8776d86 100644
--- a/gsubr.c
+++ b/gsubr.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "gsubr.c" CCLOs taking general number of required, optional, and rest args.
+ * Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "gsubr.c" CCLOs taking general number of required, optional, and rest args.
- Author: Radey Shouman */
+/* Author: Radey Shouman */
#include "scm.h"
diff --git a/hobbit.info b/hobbit.info
index 423e7c1..4d7bc15 100644
--- a/hobbit.info
+++ b/hobbit.info
@@ -1,7 +1,7 @@
This is hobbit.info, produced by makeinfo version 4.8 from hobbit.texi.
-This manual is for the Hobbit compiler for SCM (version 5e4, November
-2007),
+This manual is for the Hobbit compiler for SCM (version 5e5, February
+2008),
Copyright (C) 2002 Free Software Foundation
@@ -30,8 +30,8 @@ File: hobbit.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
Hobbit
******
-This manual is for the Hobbit compiler for SCM (version 5e4, November
-2007),
+This manual is for the Hobbit compiler for SCM (version 5e5, February
+2008),
Copyright (C) 2002 Free Software Foundation
@@ -160,7 +160,7 @@ File: hobbit.info, Node: Compiling And Linking, Next: Error Detection, Prev:
(lambda (fp)
(for-each
(lambda (string) (write-line string fp))
- '("#define IMPLINIT \"Init5e4.scm\""
+ '("#define IMPLINIT \"Init5e5.scm\""
"#define BIGNUMS"
"#define FLOATS"
"#define ARRAYS"
@@ -212,7 +212,7 @@ File: hobbit.info, Node: Compiling And Linking, Next: Error Detection, Prev:
(lambda (fp)
(for-each
(lambda (string) (write-line string fp))
- '("#define IMPLINIT \"Init5e4.scm\""
+ '("#define IMPLINIT \"Init5e5.scm\""
"#define COMPILED_INITS init_example();"
"#define CCLO"
"#define FLOATS"))))
diff --git a/hobbit.scm b/hobbit.scm
index eff85ba..1c0fa61 100644
--- a/hobbit.scm
+++ b/hobbit.scm
@@ -1,3 +1,20 @@
+;;;; "hobbit.scm": an optimizing scheme -> C compiler for SCM
+;; Copyright (C) 1992-2006 Free Software Foundation
+;;
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
+;;
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
+
;====================================================================
;
; HOBBIT: an optimizing scheme -> C compiler for SCM
@@ -5,9 +22,6 @@
; scm5e1
; 2002-04-11
;
-; Copyright (C) 1992-1997: Tanel Tammet
-; Copyright (C) 1998-2006: Free Software Foundation
-;
; tammet@staff.ttu.ee, tammet@cs.chalmers.se
;
; Tanel Tammet
@@ -28,21 +42,6 @@
;
; NB! the terms for usage, copying
; and redistribution of hobbit are given in the file COPYING
-;
-;
-; This program is free software; you can redistribute it and/or modify
-; it under the terms of the GNU General Public License as published by
-; the Free Software Foundation; either version 1, or (at your option)
-; any later version.
-;
-; This program is distributed in the hope that it will be useful,
-; but WITHOUT ANY WARRANTY; without even the implied warranty of
-; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-; GNU General Public License for more details.
-;
-; You should have received a copy of the GNU General Public License
-; along with this program; if not, write to the Free Software
-; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
;====================================================================
;
; Last part of changelog:
diff --git a/inc2scm b/inc2scm
index 9e00ed7..a7a05d2 100755
--- a/inc2scm
+++ b/inc2scm
@@ -1,46 +1,22 @@
#! /usr/local/bin/scm \ %0 %*
- !#
+;;;; "inc2scm", Convert numeric C #defines to Scheme definitions.
;; Copyright (C) 1991-1999 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "inc2scm", Convert numeric C #defines to Scheme definitions.
;;; Author: Aubrey Jaffer.
(define (inc2scm.script args)
diff --git a/ioext.c b/ioext.c
index 9f4ada7..2cc4dc0 100644
--- a/ioext.c
+++ b/ioext.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "ioext.c" code for system calls in common between PC compilers and unix.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "ioext.c" code for system calls in common between PC compilers and unix.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
@@ -900,7 +876,7 @@ void init_ioext()
(cdr args)))\n\
((procedure? (car args)) (car args))\n\
((string? (car args))\n\
- (require 'glob)\n\
+ (require 'filename)\n\
(filename:match?? (car args)))\n\
(else (slib:error 'directory-for-each\n\
'unknown-selector-type\n\
diff --git a/keysymdef.scm b/keysymdef.scm
index 1329c4b..5c7ca49 100644
--- a/keysymdef.scm
+++ b/keysymdef.scm
@@ -228,6 +228,7 @@
(define XK:dead-belowdot 65120)
(define XK:dead-hook 65121)
(define XK:dead-horn 65122)
+(define XK:dead-stroke 65123)
(define XK:First-Virtual-Screen 65232)
(define XK:Prev-Virtual-Screen 65233)
(define XK:Next-Virtual-Screen 65234)
@@ -428,8 +429,8 @@
(define XK:Otilde 213)
(define XK:Odiaeresis 214)
(define XK:multiply 215)
-(define XK:Ooblique 216)
(define XK:Oslash 216)
+(define XK:Ooblique 216)
(define XK:Ugrave 217)
(define XK:Uacute 218)
(define XK:Ucircumflex 219)
@@ -586,32 +587,32 @@
(define XK:uogonek 1017)
(define XK:utilde 1021)
(define XK:umacron 1022)
-(define XK:Babovedot 4769)
-(define XK:babovedot 4770)
-(define XK:Dabovedot 4774)
-(define XK:Wgrave 4776)
-(define XK:Wacute 4778)
-(define XK:dabovedot 4779)
-(define XK:Ygrave 4780)
-(define XK:Fabovedot 4784)
-(define XK:fabovedot 4785)
-(define XK:Mabovedot 4788)
-(define XK:mabovedot 4789)
-(define XK:Pabovedot 4791)
-(define XK:wgrave 4792)
-(define XK:pabovedot 4793)
-(define XK:wacute 4794)
-(define XK:Sabovedot 4795)
-(define XK:ygrave 4796)
-(define XK:Wdiaeresis 4797)
-(define XK:wdiaeresis 4798)
-(define XK:sabovedot 4799)
-(define XK:Wcircumflex 4816)
-(define XK:Tabovedot 4823)
-(define XK:Ycircumflex 4830)
-(define XK:wcircumflex 4848)
-(define XK:tabovedot 4855)
-(define XK:ycircumflex 4862)
+(define XK:Babovedot 16784898)
+(define XK:babovedot 16784899)
+(define XK:Dabovedot 16784906)
+(define XK:Wgrave 16785024)
+(define XK:Wacute 16785026)
+(define XK:dabovedot 16784907)
+(define XK:Ygrave 16785138)
+(define XK:Fabovedot 16784926)
+(define XK:fabovedot 16784927)
+(define XK:Mabovedot 16784960)
+(define XK:mabovedot 16784961)
+(define XK:Pabovedot 16784982)
+(define XK:wgrave 16785025)
+(define XK:pabovedot 16784983)
+(define XK:wacute 16785027)
+(define XK:Sabovedot 16784992)
+(define XK:ygrave 16785139)
+(define XK:Wdiaeresis 16785028)
+(define XK:wdiaeresis 16785029)
+(define XK:sabovedot 16784993)
+(define XK:Wcircumflex 16777588)
+(define XK:Tabovedot 16785002)
+(define XK:Ycircumflex 16777590)
+(define XK:wcircumflex 16777589)
+(define XK:tabovedot 16785003)
+(define XK:ycircumflex 16777591)
(define XK:OE 5052)
(define XK:oe 5053)
(define XK:Ydiaeresis 5054)
@@ -685,35 +686,35 @@
(define XK:voicedsound 1246)
(define XK:semivoicedsound 1247)
(define XK:kana-switch 65406)
-(define XK:Farsi-0 1424)
-(define XK:Farsi-1 1425)
-(define XK:Farsi-2 1426)
-(define XK:Farsi-3 1427)
-(define XK:Farsi-4 1428)
-(define XK:Farsi-5 1429)
-(define XK:Farsi-6 1430)
-(define XK:Farsi-7 1431)
-(define XK:Farsi-8 1432)
-(define XK:Farsi-9 1433)
-(define XK:Arabic-percent 1445)
-(define XK:Arabic-superscript-alef 1446)
-(define XK:Arabic-tteh 1447)
-(define XK:Arabic-peh 1448)
-(define XK:Arabic-tcheh 1449)
-(define XK:Arabic-ddal 1450)
-(define XK:Arabic-rreh 1451)
+(define XK:Farsi-0 16778992)
+(define XK:Farsi-1 16778993)
+(define XK:Farsi-2 16778994)
+(define XK:Farsi-3 16778995)
+(define XK:Farsi-4 16778996)
+(define XK:Farsi-5 16778997)
+(define XK:Farsi-6 16778998)
+(define XK:Farsi-7 16778999)
+(define XK:Farsi-8 16779000)
+(define XK:Farsi-9 16779001)
+(define XK:Arabic-percent 16778858)
+(define XK:Arabic-superscript-alef 16778864)
+(define XK:Arabic-tteh 16778873)
+(define XK:Arabic-peh 16778878)
+(define XK:Arabic-tcheh 16778886)
+(define XK:Arabic-ddal 16778888)
+(define XK:Arabic-rreh 16778897)
(define XK:Arabic-comma 1452)
-(define XK:Arabic-fullstop 1454)
-(define XK:Arabic-0 1456)
-(define XK:Arabic-1 1457)
-(define XK:Arabic-2 1458)
-(define XK:Arabic-3 1459)
-(define XK:Arabic-4 1460)
-(define XK:Arabic-5 1461)
-(define XK:Arabic-6 1462)
-(define XK:Arabic-7 1463)
-(define XK:Arabic-8 1464)
-(define XK:Arabic-9 1465)
+(define XK:Arabic-fullstop 16778964)
+(define XK:Arabic-0 16778848)
+(define XK:Arabic-1 16778849)
+(define XK:Arabic-2 16778850)
+(define XK:Arabic-3 16778851)
+(define XK:Arabic-4 16778852)
+(define XK:Arabic-5 16778853)
+(define XK:Arabic-6 16778854)
+(define XK:Arabic-7 16778855)
+(define XK:Arabic-8 16778856)
+(define XK:Arabic-9 16778857)
(define XK:Arabic-semicolon 1467)
(define XK:Arabic-question-mark 1471)
(define XK:Arabic-hamza 1473)
@@ -762,50 +763,50 @@
(define XK:Arabic-kasra 1520)
(define XK:Arabic-shadda 1521)
(define XK:Arabic-sukun 1522)
-(define XK:Arabic-madda-above 1523)
-(define XK:Arabic-hamza-above 1524)
-(define XK:Arabic-hamza-below 1525)
-(define XK:Arabic-jeh 1526)
-(define XK:Arabic-veh 1527)
-(define XK:Arabic-keheh 1528)
-(define XK:Arabic-gaf 1529)
-(define XK:Arabic-noon-ghunna 1530)
-(define XK:Arabic-heh-doachashmee 1531)
-(define XK:Farsi-yeh 1532)
-(define XK:Arabic-farsi-yeh 1532)
-(define XK:Arabic-yeh-baree 1533)
-(define XK:Arabic-heh-goal 1534)
+(define XK:Arabic-madda-above 16778835)
+(define XK:Arabic-hamza-above 16778836)
+(define XK:Arabic-hamza-below 16778837)
+(define XK:Arabic-jeh 16778904)
+(define XK:Arabic-veh 16778916)
+(define XK:Arabic-keheh 16778921)
+(define XK:Arabic-gaf 16778927)
+(define XK:Arabic-noon-ghunna 16778938)
+(define XK:Arabic-heh-doachashmee 16778942)
+(define XK:Farsi-yeh 16778956)
+(define XK:Arabic-farsi-yeh 16778956)
+(define XK:Arabic-yeh-baree 16778962)
+(define XK:Arabic-heh-goal 16778945)
(define XK:Arabic-switch 65406)
-(define XK:Cyrillic-GHE-bar 1664)
-(define XK:Cyrillic-ghe-bar 1680)
-(define XK:Cyrillic-ZHE-descender 1665)
-(define XK:Cyrillic-zhe-descender 1681)
-(define XK:Cyrillic-KA-descender 1666)
-(define XK:Cyrillic-ka-descender 1682)
-(define XK:Cyrillic-KA-vertstroke 1667)
-(define XK:Cyrillic-ka-vertstroke 1683)
-(define XK:Cyrillic-EN-descender 1668)
-(define XK:Cyrillic-en-descender 1684)
-(define XK:Cyrillic-U-straight 1669)
-(define XK:Cyrillic-u-straight 1685)
-(define XK:Cyrillic-U-straight-bar 1670)
-(define XK:Cyrillic-u-straight-bar 1686)
-(define XK:Cyrillic-HA-descender 1671)
-(define XK:Cyrillic-ha-descender 1687)
-(define XK:Cyrillic-CHE-descender 1672)
-(define XK:Cyrillic-che-descender 1688)
-(define XK:Cyrillic-CHE-vertstroke 1673)
-(define XK:Cyrillic-che-vertstroke 1689)
-(define XK:Cyrillic-SHHA 1674)
-(define XK:Cyrillic-shha 1690)
-(define XK:Cyrillic-SCHWA 1676)
-(define XK:Cyrillic-schwa 1692)
-(define XK:Cyrillic-I-macron 1677)
-(define XK:Cyrillic-i-macron 1693)
-(define XK:Cyrillic-O-bar 1678)
-(define XK:Cyrillic-o-bar 1694)
-(define XK:Cyrillic-U-macron 1679)
-(define XK:Cyrillic-u-macron 1695)
+(define XK:Cyrillic-GHE-bar 16778386)
+(define XK:Cyrillic-ghe-bar 16778387)
+(define XK:Cyrillic-ZHE-descender 16778390)
+(define XK:Cyrillic-zhe-descender 16778391)
+(define XK:Cyrillic-KA-descender 16778394)
+(define XK:Cyrillic-ka-descender 16778395)
+(define XK:Cyrillic-KA-vertstroke 16778396)
+(define XK:Cyrillic-ka-vertstroke 16778397)
+(define XK:Cyrillic-EN-descender 16778402)
+(define XK:Cyrillic-en-descender 16778403)
+(define XK:Cyrillic-U-straight 16778414)
+(define XK:Cyrillic-u-straight 16778415)
+(define XK:Cyrillic-U-straight-bar 16778416)
+(define XK:Cyrillic-u-straight-bar 16778417)
+(define XK:Cyrillic-HA-descender 16778418)
+(define XK:Cyrillic-ha-descender 16778419)
+(define XK:Cyrillic-CHE-descender 16778422)
+(define XK:Cyrillic-che-descender 16778423)
+(define XK:Cyrillic-CHE-vertstroke 16778424)
+(define XK:Cyrillic-che-vertstroke 16778425)
+(define XK:Cyrillic-SHHA 16778426)
+(define XK:Cyrillic-shha 16778427)
+(define XK:Cyrillic-SCHWA 16778456)
+(define XK:Cyrillic-schwa 16778457)
+(define XK:Cyrillic-I-macron 16778466)
+(define XK:Cyrillic-i-macron 16778467)
+(define XK:Cyrillic-O-bar 16778472)
+(define XK:Cyrillic-o-bar 16778473)
+(define XK:Cyrillic-U-macron 16778478)
+(define XK:Cyrillic-u-macron 16778479)
(define XK:Serbian-dje 1697)
(define XK:Macedonia-gje 1698)
(define XK:Cyrillic-io 1699)
@@ -1221,282 +1222,551 @@
(define XK:Hangul-J-KkogjiDalrinIeung 3833)
(define XK:Hangul-J-YeorinHieuh 3834)
(define XK:Korean-Won 3839)
-(define XK:Armenian-eternity 5281)
-(define XK:Armenian-ligature-ew 5282)
-(define XK:Armenian-full-stop 5283)
-(define XK:Armenian-verjaket 5283)
-(define XK:Armenian-parenright 5284)
-(define XK:Armenian-parenleft 5285)
-(define XK:Armenian-guillemotright 5286)
-(define XK:Armenian-guillemotleft 5287)
-(define XK:Armenian-em-dash 5288)
-(define XK:Armenian-dot 5289)
-(define XK:Armenian-mijaket 5289)
-(define XK:Armenian-separation-mark 5290)
-(define XK:Armenian-but 5290)
-(define XK:Armenian-comma 5291)
-(define XK:Armenian-en-dash 5292)
-(define XK:Armenian-hyphen 5293)
-(define XK:Armenian-yentamna 5293)
-(define XK:Armenian-ellipsis 5294)
-(define XK:Armenian-exclam 5295)
-(define XK:Armenian-amanak 5295)
-(define XK:Armenian-accent 5296)
-(define XK:Armenian-shesht 5296)
-(define XK:Armenian-question 5297)
-(define XK:Armenian-paruyk 5297)
-(define XK:Armenian-AYB 5298)
-(define XK:Armenian-ayb 5299)
-(define XK:Armenian-BEN 5300)
-(define XK:Armenian-ben 5301)
-(define XK:Armenian-GIM 5302)
-(define XK:Armenian-gim 5303)
-(define XK:Armenian-DA 5304)
-(define XK:Armenian-da 5305)
-(define XK:Armenian-YECH 5306)
-(define XK:Armenian-yech 5307)
-(define XK:Armenian-ZA 5308)
-(define XK:Armenian-za 5309)
-(define XK:Armenian-E 5310)
-(define XK:Armenian-e 5311)
-(define XK:Armenian-AT 5312)
-(define XK:Armenian-at 5313)
-(define XK:Armenian-TO 5314)
-(define XK:Armenian-to 5315)
-(define XK:Armenian-ZHE 5316)
-(define XK:Armenian-zhe 5317)
-(define XK:Armenian-INI 5318)
-(define XK:Armenian-ini 5319)
-(define XK:Armenian-LYUN 5320)
-(define XK:Armenian-lyun 5321)
-(define XK:Armenian-KHE 5322)
-(define XK:Armenian-khe 5323)
-(define XK:Armenian-TSA 5324)
-(define XK:Armenian-tsa 5325)
-(define XK:Armenian-KEN 5326)
-(define XK:Armenian-ken 5327)
-(define XK:Armenian-HO 5328)
-(define XK:Armenian-ho 5329)
-(define XK:Armenian-DZA 5330)
-(define XK:Armenian-dza 5331)
-(define XK:Armenian-GHAT 5332)
-(define XK:Armenian-ghat 5333)
-(define XK:Armenian-TCHE 5334)
-(define XK:Armenian-tche 5335)
-(define XK:Armenian-MEN 5336)
-(define XK:Armenian-men 5337)
-(define XK:Armenian-HI 5338)
-(define XK:Armenian-hi 5339)
-(define XK:Armenian-NU 5340)
-(define XK:Armenian-nu 5341)
-(define XK:Armenian-SHA 5342)
-(define XK:Armenian-sha 5343)
-(define XK:Armenian-VO 5344)
-(define XK:Armenian-vo 5345)
-(define XK:Armenian-CHA 5346)
-(define XK:Armenian-cha 5347)
-(define XK:Armenian-PE 5348)
-(define XK:Armenian-pe 5349)
-(define XK:Armenian-JE 5350)
-(define XK:Armenian-je 5351)
-(define XK:Armenian-RA 5352)
-(define XK:Armenian-ra 5353)
-(define XK:Armenian-SE 5354)
-(define XK:Armenian-se 5355)
-(define XK:Armenian-VEV 5356)
-(define XK:Armenian-vev 5357)
-(define XK:Armenian-TYUN 5358)
-(define XK:Armenian-tyun 5359)
-(define XK:Armenian-RE 5360)
-(define XK:Armenian-re 5361)
-(define XK:Armenian-TSO 5362)
-(define XK:Armenian-tso 5363)
-(define XK:Armenian-VYUN 5364)
-(define XK:Armenian-vyun 5365)
-(define XK:Armenian-PYUR 5366)
-(define XK:Armenian-pyur 5367)
-(define XK:Armenian-KE 5368)
-(define XK:Armenian-ke 5369)
-(define XK:Armenian-O 5370)
-(define XK:Armenian-o 5371)
-(define XK:Armenian-FE 5372)
-(define XK:Armenian-fe 5373)
-(define XK:Armenian-apostrophe 5374)
-(define XK:Armenian-section-sign 5375)
-(define XK:Georgian-an 5584)
-(define XK:Georgian-ban 5585)
-(define XK:Georgian-gan 5586)
-(define XK:Georgian-don 5587)
-(define XK:Georgian-en 5588)
-(define XK:Georgian-vin 5589)
-(define XK:Georgian-zen 5590)
-(define XK:Georgian-tan 5591)
-(define XK:Georgian-in 5592)
-(define XK:Georgian-kan 5593)
-(define XK:Georgian-las 5594)
-(define XK:Georgian-man 5595)
-(define XK:Georgian-nar 5596)
-(define XK:Georgian-on 5597)
-(define XK:Georgian-par 5598)
-(define XK:Georgian-zhar 5599)
-(define XK:Georgian-rae 5600)
-(define XK:Georgian-san 5601)
-(define XK:Georgian-tar 5602)
-(define XK:Georgian-un 5603)
-(define XK:Georgian-phar 5604)
-(define XK:Georgian-khar 5605)
-(define XK:Georgian-ghan 5606)
-(define XK:Georgian-qar 5607)
-(define XK:Georgian-shin 5608)
-(define XK:Georgian-chin 5609)
-(define XK:Georgian-can 5610)
-(define XK:Georgian-jil 5611)
-(define XK:Georgian-cil 5612)
-(define XK:Georgian-char 5613)
-(define XK:Georgian-xan 5614)
-(define XK:Georgian-jhan 5615)
-(define XK:Georgian-hae 5616)
-(define XK:Georgian-he 5617)
-(define XK:Georgian-hie 5618)
-(define XK:Georgian-we 5619)
-(define XK:Georgian-har 5620)
-(define XK:Georgian-hoe 5621)
-(define XK:Georgian-fi 5622)
-(define XK:Ccedillaabovedot 5794)
-(define XK:Xabovedot 5795)
-(define XK:Qabovedot 5797)
-(define XK:Ibreve 5798)
-(define XK:IE 5799)
-(define XK:UO 5800)
-(define XK:Zstroke 5801)
-(define XK:Gcaron 5802)
-(define XK:Obarred 5807)
-(define XK:ccedillaabovedot 5810)
-(define XK:xabovedot 5811)
-(define XK:Ocaron 5812)
-(define XK:qabovedot 5813)
-(define XK:ibreve 5814)
-(define XK:ie 5815)
-(define XK:uo 5816)
-(define XK:zstroke 5817)
-(define XK:gcaron 5818)
-(define XK:ocaron 5821)
-(define XK:obarred 5823)
-(define XK:SCHWA 5830)
-(define XK:schwa 5878)
-(define XK:Lbelowdot 5841)
-(define XK:Lstrokebelowdot 5842)
-(define XK:lbelowdot 5857)
-(define XK:lstrokebelowdot 5858)
-(define XK:Gtilde 5843)
-(define XK:gtilde 5859)
-(define XK:Abelowdot 7840)
-(define XK:abelowdot 7841)
-(define XK:Ahook 7842)
-(define XK:ahook 7843)
-(define XK:Acircumflexacute 7844)
-(define XK:acircumflexacute 7845)
-(define XK:Acircumflexgrave 7846)
-(define XK:acircumflexgrave 7847)
-(define XK:Acircumflexhook 7848)
-(define XK:acircumflexhook 7849)
-(define XK:Acircumflextilde 7850)
-(define XK:acircumflextilde 7851)
-(define XK:Acircumflexbelowdot 7852)
-(define XK:acircumflexbelowdot 7853)
-(define XK:Abreveacute 7854)
-(define XK:abreveacute 7855)
-(define XK:Abrevegrave 7856)
-(define XK:abrevegrave 7857)
-(define XK:Abrevehook 7858)
-(define XK:abrevehook 7859)
-(define XK:Abrevetilde 7860)
-(define XK:abrevetilde 7861)
-(define XK:Abrevebelowdot 7862)
-(define XK:abrevebelowdot 7863)
-(define XK:Ebelowdot 7864)
-(define XK:ebelowdot 7865)
-(define XK:Ehook 7866)
-(define XK:ehook 7867)
-(define XK:Etilde 7868)
-(define XK:etilde 7869)
-(define XK:Ecircumflexacute 7870)
-(define XK:ecircumflexacute 7871)
-(define XK:Ecircumflexgrave 7872)
-(define XK:ecircumflexgrave 7873)
-(define XK:Ecircumflexhook 7874)
-(define XK:ecircumflexhook 7875)
-(define XK:Ecircumflextilde 7876)
-(define XK:ecircumflextilde 7877)
-(define XK:Ecircumflexbelowdot 7878)
-(define XK:ecircumflexbelowdot 7879)
-(define XK:Ihook 7880)
-(define XK:ihook 7881)
-(define XK:Ibelowdot 7882)
-(define XK:ibelowdot 7883)
-(define XK:Obelowdot 7884)
-(define XK:obelowdot 7885)
-(define XK:Ohook 7886)
-(define XK:ohook 7887)
-(define XK:Ocircumflexacute 7888)
-(define XK:ocircumflexacute 7889)
-(define XK:Ocircumflexgrave 7890)
-(define XK:ocircumflexgrave 7891)
-(define XK:Ocircumflexhook 7892)
-(define XK:ocircumflexhook 7893)
-(define XK:Ocircumflextilde 7894)
-(define XK:ocircumflextilde 7895)
-(define XK:Ocircumflexbelowdot 7896)
-(define XK:ocircumflexbelowdot 7897)
-(define XK:Ohornacute 7898)
-(define XK:ohornacute 7899)
-(define XK:Ohorngrave 7900)
-(define XK:ohorngrave 7901)
-(define XK:Ohornhook 7902)
-(define XK:ohornhook 7903)
-(define XK:Ohorntilde 7904)
-(define XK:ohorntilde 7905)
-(define XK:Ohornbelowdot 7906)
-(define XK:ohornbelowdot 7907)
-(define XK:Ubelowdot 7908)
-(define XK:ubelowdot 7909)
-(define XK:Uhook 7910)
-(define XK:uhook 7911)
-(define XK:Uhornacute 7912)
-(define XK:uhornacute 7913)
-(define XK:Uhorngrave 7914)
-(define XK:uhorngrave 7915)
-(define XK:Uhornhook 7916)
-(define XK:uhornhook 7917)
-(define XK:Uhorntilde 7918)
-(define XK:uhorntilde 7919)
-(define XK:Uhornbelowdot 7920)
-(define XK:uhornbelowdot 7921)
-(define XK:Ybelowdot 7924)
-(define XK:ybelowdot 7925)
-(define XK:Yhook 7926)
-(define XK:yhook 7927)
-(define XK:Ytilde 7928)
-(define XK:ytilde 7929)
-(define XK:Ohorn 7930)
-(define XK:ohorn 7931)
-(define XK:Uhorn 7932)
-(define XK:uhorn 7933)
-(define XK:combining-tilde 7839)
-(define XK:combining-grave 7922)
-(define XK:combining-acute 7923)
-(define XK:combining-hook 7934)
-(define XK:combining-belowdot 7935)
-(define XK:EcuSign 8352)
-(define XK:ColonSign 8353)
-(define XK:CruzeiroSign 8354)
-(define XK:FFrancSign 8355)
-(define XK:LiraSign 8356)
-(define XK:MillSign 8357)
-(define XK:NairaSign 8358)
-(define XK:PesetaSign 8359)
-(define XK:RupeeSign 8360)
-(define XK:WonSign 8361)
-(define XK:NewSheqelSign 8362)
-(define XK:DongSign 8363)
+(define XK:Armenian-ligature-ew 16778631)
+(define XK:Armenian-full-stop 16778633)
+(define XK:Armenian-verjaket 16778633)
+(define XK:Armenian-separation-mark 16778589)
+(define XK:Armenian-but 16778589)
+(define XK:Armenian-hyphen 16778634)
+(define XK:Armenian-yentamna 16778634)
+(define XK:Armenian-exclam 16778588)
+(define XK:Armenian-amanak 16778588)
+(define XK:Armenian-accent 16778587)
+(define XK:Armenian-shesht 16778587)
+(define XK:Armenian-question 16778590)
+(define XK:Armenian-paruyk 16778590)
+(define XK:Armenian-AYB 16778545)
+(define XK:Armenian-ayb 16778593)
+(define XK:Armenian-BEN 16778546)
+(define XK:Armenian-ben 16778594)
+(define XK:Armenian-GIM 16778547)
+(define XK:Armenian-gim 16778595)
+(define XK:Armenian-DA 16778548)
+(define XK:Armenian-da 16778596)
+(define XK:Armenian-YECH 16778549)
+(define XK:Armenian-yech 16778597)
+(define XK:Armenian-ZA 16778550)
+(define XK:Armenian-za 16778598)
+(define XK:Armenian-E 16778551)
+(define XK:Armenian-e 16778599)
+(define XK:Armenian-AT 16778552)
+(define XK:Armenian-at 16778600)
+(define XK:Armenian-TO 16778553)
+(define XK:Armenian-to 16778601)
+(define XK:Armenian-ZHE 16778554)
+(define XK:Armenian-zhe 16778602)
+(define XK:Armenian-INI 16778555)
+(define XK:Armenian-ini 16778603)
+(define XK:Armenian-LYUN 16778556)
+(define XK:Armenian-lyun 16778604)
+(define XK:Armenian-KHE 16778557)
+(define XK:Armenian-khe 16778605)
+(define XK:Armenian-TSA 16778558)
+(define XK:Armenian-tsa 16778606)
+(define XK:Armenian-KEN 16778559)
+(define XK:Armenian-ken 16778607)
+(define XK:Armenian-HO 16778560)
+(define XK:Armenian-ho 16778608)
+(define XK:Armenian-DZA 16778561)
+(define XK:Armenian-dza 16778609)
+(define XK:Armenian-GHAT 16778562)
+(define XK:Armenian-ghat 16778610)
+(define XK:Armenian-TCHE 16778563)
+(define XK:Armenian-tche 16778611)
+(define XK:Armenian-MEN 16778564)
+(define XK:Armenian-men 16778612)
+(define XK:Armenian-HI 16778565)
+(define XK:Armenian-hi 16778613)
+(define XK:Armenian-NU 16778566)
+(define XK:Armenian-nu 16778614)
+(define XK:Armenian-SHA 16778567)
+(define XK:Armenian-sha 16778615)
+(define XK:Armenian-VO 16778568)
+(define XK:Armenian-vo 16778616)
+(define XK:Armenian-CHA 16778569)
+(define XK:Armenian-cha 16778617)
+(define XK:Armenian-PE 16778570)
+(define XK:Armenian-pe 16778618)
+(define XK:Armenian-JE 16778571)
+(define XK:Armenian-je 16778619)
+(define XK:Armenian-RA 16778572)
+(define XK:Armenian-ra 16778620)
+(define XK:Armenian-SE 16778573)
+(define XK:Armenian-se 16778621)
+(define XK:Armenian-VEV 16778574)
+(define XK:Armenian-vev 16778622)
+(define XK:Armenian-TYUN 16778575)
+(define XK:Armenian-tyun 16778623)
+(define XK:Armenian-RE 16778576)
+(define XK:Armenian-re 16778624)
+(define XK:Armenian-TSO 16778577)
+(define XK:Armenian-tso 16778625)
+(define XK:Armenian-VYUN 16778578)
+(define XK:Armenian-vyun 16778626)
+(define XK:Armenian-PYUR 16778579)
+(define XK:Armenian-pyur 16778627)
+(define XK:Armenian-KE 16778580)
+(define XK:Armenian-ke 16778628)
+(define XK:Armenian-O 16778581)
+(define XK:Armenian-o 16778629)
+(define XK:Armenian-FE 16778582)
+(define XK:Armenian-fe 16778630)
+(define XK:Armenian-apostrophe 16778586)
+(define XK:Georgian-an 16781520)
+(define XK:Georgian-ban 16781521)
+(define XK:Georgian-gan 16781522)
+(define XK:Georgian-don 16781523)
+(define XK:Georgian-en 16781524)
+(define XK:Georgian-vin 16781525)
+(define XK:Georgian-zen 16781526)
+(define XK:Georgian-tan 16781527)
+(define XK:Georgian-in 16781528)
+(define XK:Georgian-kan 16781529)
+(define XK:Georgian-las 16781530)
+(define XK:Georgian-man 16781531)
+(define XK:Georgian-nar 16781532)
+(define XK:Georgian-on 16781533)
+(define XK:Georgian-par 16781534)
+(define XK:Georgian-zhar 16781535)
+(define XK:Georgian-rae 16781536)
+(define XK:Georgian-san 16781537)
+(define XK:Georgian-tar 16781538)
+(define XK:Georgian-un 16781539)
+(define XK:Georgian-phar 16781540)
+(define XK:Georgian-khar 16781541)
+(define XK:Georgian-ghan 16781542)
+(define XK:Georgian-qar 16781543)
+(define XK:Georgian-shin 16781544)
+(define XK:Georgian-chin 16781545)
+(define XK:Georgian-can 16781546)
+(define XK:Georgian-jil 16781547)
+(define XK:Georgian-cil 16781548)
+(define XK:Georgian-char 16781549)
+(define XK:Georgian-xan 16781550)
+(define XK:Georgian-jhan 16781551)
+(define XK:Georgian-hae 16781552)
+(define XK:Georgian-he 16781553)
+(define XK:Georgian-hie 16781554)
+(define XK:Georgian-we 16781555)
+(define XK:Georgian-har 16781556)
+(define XK:Georgian-hoe 16781557)
+(define XK:Georgian-fi 16781558)
+(define XK:Xabovedot 16785034)
+(define XK:Ibreve 16777516)
+(define XK:Zstroke 16777653)
+(define XK:Gcaron 16777702)
+(define XK:Ocaron 16777681)
+(define XK:Obarred 16777631)
+(define XK:xabovedot 16785035)
+(define XK:ibreve 16777517)
+(define XK:zstroke 16777654)
+(define XK:gcaron 16777703)
+(define XK:ocaron 16777682)
+(define XK:obarred 16777845)
+(define XK:SCHWA 16777615)
+(define XK:schwa 16777817)
+(define XK:Lbelowdot 16784950)
+(define XK:lbelowdot 16784951)
+(define XK:Abelowdot 16785056)
+(define XK:abelowdot 16785057)
+(define XK:Ahook 16785058)
+(define XK:ahook 16785059)
+(define XK:Acircumflexacute 16785060)
+(define XK:acircumflexacute 16785061)
+(define XK:Acircumflexgrave 16785062)
+(define XK:acircumflexgrave 16785063)
+(define XK:Acircumflexhook 16785064)
+(define XK:acircumflexhook 16785065)
+(define XK:Acircumflextilde 16785066)
+(define XK:acircumflextilde 16785067)
+(define XK:Acircumflexbelowdot 16785068)
+(define XK:acircumflexbelowdot 16785069)
+(define XK:Abreveacute 16785070)
+(define XK:abreveacute 16785071)
+(define XK:Abrevegrave 16785072)
+(define XK:abrevegrave 16785073)
+(define XK:Abrevehook 16785074)
+(define XK:abrevehook 16785075)
+(define XK:Abrevetilde 16785076)
+(define XK:abrevetilde 16785077)
+(define XK:Abrevebelowdot 16785078)
+(define XK:abrevebelowdot 16785079)
+(define XK:Ebelowdot 16785080)
+(define XK:ebelowdot 16785081)
+(define XK:Ehook 16785082)
+(define XK:ehook 16785083)
+(define XK:Etilde 16785084)
+(define XK:etilde 16785085)
+(define XK:Ecircumflexacute 16785086)
+(define XK:ecircumflexacute 16785087)
+(define XK:Ecircumflexgrave 16785088)
+(define XK:ecircumflexgrave 16785089)
+(define XK:Ecircumflexhook 16785090)
+(define XK:ecircumflexhook 16785091)
+(define XK:Ecircumflextilde 16785092)
+(define XK:ecircumflextilde 16785093)
+(define XK:Ecircumflexbelowdot 16785094)
+(define XK:ecircumflexbelowdot 16785095)
+(define XK:Ihook 16785096)
+(define XK:ihook 16785097)
+(define XK:Ibelowdot 16785098)
+(define XK:ibelowdot 16785099)
+(define XK:Obelowdot 16785100)
+(define XK:obelowdot 16785101)
+(define XK:Ohook 16785102)
+(define XK:ohook 16785103)
+(define XK:Ocircumflexacute 16785104)
+(define XK:ocircumflexacute 16785105)
+(define XK:Ocircumflexgrave 16785106)
+(define XK:ocircumflexgrave 16785107)
+(define XK:Ocircumflexhook 16785108)
+(define XK:ocircumflexhook 16785109)
+(define XK:Ocircumflextilde 16785110)
+(define XK:ocircumflextilde 16785111)
+(define XK:Ocircumflexbelowdot 16785112)
+(define XK:ocircumflexbelowdot 16785113)
+(define XK:Ohornacute 16785114)
+(define XK:ohornacute 16785115)
+(define XK:Ohorngrave 16785116)
+(define XK:ohorngrave 16785117)
+(define XK:Ohornhook 16785118)
+(define XK:ohornhook 16785119)
+(define XK:Ohorntilde 16785120)
+(define XK:ohorntilde 16785121)
+(define XK:Ohornbelowdot 16785122)
+(define XK:ohornbelowdot 16785123)
+(define XK:Ubelowdot 16785124)
+(define XK:ubelowdot 16785125)
+(define XK:Uhook 16785126)
+(define XK:uhook 16785127)
+(define XK:Uhornacute 16785128)
+(define XK:uhornacute 16785129)
+(define XK:Uhorngrave 16785130)
+(define XK:uhorngrave 16785131)
+(define XK:Uhornhook 16785132)
+(define XK:uhornhook 16785133)
+(define XK:Uhorntilde 16785134)
+(define XK:uhorntilde 16785135)
+(define XK:Uhornbelowdot 16785136)
+(define XK:uhornbelowdot 16785137)
+(define XK:Ybelowdot 16785140)
+(define XK:ybelowdot 16785141)
+(define XK:Yhook 16785142)
+(define XK:yhook 16785143)
+(define XK:Ytilde 16785144)
+(define XK:ytilde 16785145)
+(define XK:Ohorn 16777632)
+(define XK:ohorn 16777633)
+(define XK:Uhorn 16777647)
+(define XK:uhorn 16777648)
+(define XK:EcuSign 16785568)
+(define XK:ColonSign 16785569)
+(define XK:CruzeiroSign 16785570)
+(define XK:FFrancSign 16785571)
+(define XK:LiraSign 16785572)
+(define XK:MillSign 16785573)
+(define XK:NairaSign 16785574)
+(define XK:PesetaSign 16785575)
+(define XK:RupeeSign 16785576)
+(define XK:WonSign 16785577)
+(define XK:NewSheqelSign 16785578)
+(define XK:DongSign 16785579)
(define XK:EuroSign 8364)
+(define XK:zerosuperior 16785520)
+(define XK:foursuperior 16785524)
+(define XK:fivesuperior 16785525)
+(define XK:sixsuperior 16785526)
+(define XK:sevensuperior 16785527)
+(define XK:eightsuperior 16785528)
+(define XK:ninesuperior 16785529)
+(define XK:zerosubscript 16785536)
+(define XK:onesubscript 16785537)
+(define XK:twosubscript 16785538)
+(define XK:threesubscript 16785539)
+(define XK:foursubscript 16785540)
+(define XK:fivesubscript 16785541)
+(define XK:sixsubscript 16785542)
+(define XK:sevensubscript 16785543)
+(define XK:eightsubscript 16785544)
+(define XK:ninesubscript 16785545)
+(define XK:partdifferential 16785922)
+(define XK:emptyset 16785925)
+(define XK:elementof 16785928)
+(define XK:notelementof 16785929)
+(define XK:containsas 16785931)
+(define XK:squareroot 16785946)
+(define XK:cuberoot 16785947)
+(define XK:fourthroot 16785948)
+(define XK:dintegral 16785964)
+(define XK:tintegral 16785965)
+(define XK:because 16785973)
+(define XK:approxeq 16785992)
+(define XK:notapproxeq 16785991)
+(define XK:notidentical 16786018)
+(define XK:stricteq 16786019)
+(define XK:braille-dot-1 65521)
+(define XK:braille-dot-2 65522)
+(define XK:braille-dot-3 65523)
+(define XK:braille-dot-4 65524)
+(define XK:braille-dot-5 65525)
+(define XK:braille-dot-6 65526)
+(define XK:braille-dot-7 65527)
+(define XK:braille-dot-8 65528)
+(define XK:braille-dot-9 65529)
+(define XK:braille-dot-10 65530)
+(define XK:braille-blank 16787456)
+(define XK:braille-dots-1 16787457)
+(define XK:braille-dots-2 16787458)
+(define XK:braille-dots-12 16787459)
+(define XK:braille-dots-3 16787460)
+(define XK:braille-dots-13 16787461)
+(define XK:braille-dots-23 16787462)
+(define XK:braille-dots-123 16787463)
+(define XK:braille-dots-4 16787464)
+(define XK:braille-dots-14 16787465)
+(define XK:braille-dots-24 16787466)
+(define XK:braille-dots-124 16787467)
+(define XK:braille-dots-34 16787468)
+(define XK:braille-dots-134 16787469)
+(define XK:braille-dots-234 16787470)
+(define XK:braille-dots-1234 16787471)
+(define XK:braille-dots-5 16787472)
+(define XK:braille-dots-15 16787473)
+(define XK:braille-dots-25 16787474)
+(define XK:braille-dots-125 16787475)
+(define XK:braille-dots-35 16787476)
+(define XK:braille-dots-135 16787477)
+(define XK:braille-dots-235 16787478)
+(define XK:braille-dots-1235 16787479)
+(define XK:braille-dots-45 16787480)
+(define XK:braille-dots-145 16787481)
+(define XK:braille-dots-245 16787482)
+(define XK:braille-dots-1245 16787483)
+(define XK:braille-dots-345 16787484)
+(define XK:braille-dots-1345 16787485)
+(define XK:braille-dots-2345 16787486)
+(define XK:braille-dots-12345 16787487)
+(define XK:braille-dots-6 16787488)
+(define XK:braille-dots-16 16787489)
+(define XK:braille-dots-26 16787490)
+(define XK:braille-dots-126 16787491)
+(define XK:braille-dots-36 16787492)
+(define XK:braille-dots-136 16787493)
+(define XK:braille-dots-236 16787494)
+(define XK:braille-dots-1236 16787495)
+(define XK:braille-dots-46 16787496)
+(define XK:braille-dots-146 16787497)
+(define XK:braille-dots-246 16787498)
+(define XK:braille-dots-1246 16787499)
+(define XK:braille-dots-346 16787500)
+(define XK:braille-dots-1346 16787501)
+(define XK:braille-dots-2346 16787502)
+(define XK:braille-dots-12346 16787503)
+(define XK:braille-dots-56 16787504)
+(define XK:braille-dots-156 16787505)
+(define XK:braille-dots-256 16787506)
+(define XK:braille-dots-1256 16787507)
+(define XK:braille-dots-356 16787508)
+(define XK:braille-dots-1356 16787509)
+(define XK:braille-dots-2356 16787510)
+(define XK:braille-dots-12356 16787511)
+(define XK:braille-dots-456 16787512)
+(define XK:braille-dots-1456 16787513)
+(define XK:braille-dots-2456 16787514)
+(define XK:braille-dots-12456 16787515)
+(define XK:braille-dots-3456 16787516)
+(define XK:braille-dots-13456 16787517)
+(define XK:braille-dots-23456 16787518)
+(define XK:braille-dots-123456 16787519)
+(define XK:braille-dots-7 16787520)
+(define XK:braille-dots-17 16787521)
+(define XK:braille-dots-27 16787522)
+(define XK:braille-dots-127 16787523)
+(define XK:braille-dots-37 16787524)
+(define XK:braille-dots-137 16787525)
+(define XK:braille-dots-237 16787526)
+(define XK:braille-dots-1237 16787527)
+(define XK:braille-dots-47 16787528)
+(define XK:braille-dots-147 16787529)
+(define XK:braille-dots-247 16787530)
+(define XK:braille-dots-1247 16787531)
+(define XK:braille-dots-347 16787532)
+(define XK:braille-dots-1347 16787533)
+(define XK:braille-dots-2347 16787534)
+(define XK:braille-dots-12347 16787535)
+(define XK:braille-dots-57 16787536)
+(define XK:braille-dots-157 16787537)
+(define XK:braille-dots-257 16787538)
+(define XK:braille-dots-1257 16787539)
+(define XK:braille-dots-357 16787540)
+(define XK:braille-dots-1357 16787541)
+(define XK:braille-dots-2357 16787542)
+(define XK:braille-dots-12357 16787543)
+(define XK:braille-dots-457 16787544)
+(define XK:braille-dots-1457 16787545)
+(define XK:braille-dots-2457 16787546)
+(define XK:braille-dots-12457 16787547)
+(define XK:braille-dots-3457 16787548)
+(define XK:braille-dots-13457 16787549)
+(define XK:braille-dots-23457 16787550)
+(define XK:braille-dots-123457 16787551)
+(define XK:braille-dots-67 16787552)
+(define XK:braille-dots-167 16787553)
+(define XK:braille-dots-267 16787554)
+(define XK:braille-dots-1267 16787555)
+(define XK:braille-dots-367 16787556)
+(define XK:braille-dots-1367 16787557)
+(define XK:braille-dots-2367 16787558)
+(define XK:braille-dots-12367 16787559)
+(define XK:braille-dots-467 16787560)
+(define XK:braille-dots-1467 16787561)
+(define XK:braille-dots-2467 16787562)
+(define XK:braille-dots-12467 16787563)
+(define XK:braille-dots-3467 16787564)
+(define XK:braille-dots-13467 16787565)
+(define XK:braille-dots-23467 16787566)
+(define XK:braille-dots-123467 16787567)
+(define XK:braille-dots-567 16787568)
+(define XK:braille-dots-1567 16787569)
+(define XK:braille-dots-2567 16787570)
+(define XK:braille-dots-12567 16787571)
+(define XK:braille-dots-3567 16787572)
+(define XK:braille-dots-13567 16787573)
+(define XK:braille-dots-23567 16787574)
+(define XK:braille-dots-123567 16787575)
+(define XK:braille-dots-4567 16787576)
+(define XK:braille-dots-14567 16787577)
+(define XK:braille-dots-24567 16787578)
+(define XK:braille-dots-124567 16787579)
+(define XK:braille-dots-34567 16787580)
+(define XK:braille-dots-134567 16787581)
+(define XK:braille-dots-234567 16787582)
+(define XK:braille-dots-1234567 16787583)
+(define XK:braille-dots-8 16787584)
+(define XK:braille-dots-18 16787585)
+(define XK:braille-dots-28 16787586)
+(define XK:braille-dots-128 16787587)
+(define XK:braille-dots-38 16787588)
+(define XK:braille-dots-138 16787589)
+(define XK:braille-dots-238 16787590)
+(define XK:braille-dots-1238 16787591)
+(define XK:braille-dots-48 16787592)
+(define XK:braille-dots-148 16787593)
+(define XK:braille-dots-248 16787594)
+(define XK:braille-dots-1248 16787595)
+(define XK:braille-dots-348 16787596)
+(define XK:braille-dots-1348 16787597)
+(define XK:braille-dots-2348 16787598)
+(define XK:braille-dots-12348 16787599)
+(define XK:braille-dots-58 16787600)
+(define XK:braille-dots-158 16787601)
+(define XK:braille-dots-258 16787602)
+(define XK:braille-dots-1258 16787603)
+(define XK:braille-dots-358 16787604)
+(define XK:braille-dots-1358 16787605)
+(define XK:braille-dots-2358 16787606)
+(define XK:braille-dots-12358 16787607)
+(define XK:braille-dots-458 16787608)
+(define XK:braille-dots-1458 16787609)
+(define XK:braille-dots-2458 16787610)
+(define XK:braille-dots-12458 16787611)
+(define XK:braille-dots-3458 16787612)
+(define XK:braille-dots-13458 16787613)
+(define XK:braille-dots-23458 16787614)
+(define XK:braille-dots-123458 16787615)
+(define XK:braille-dots-68 16787616)
+(define XK:braille-dots-168 16787617)
+(define XK:braille-dots-268 16787618)
+(define XK:braille-dots-1268 16787619)
+(define XK:braille-dots-368 16787620)
+(define XK:braille-dots-1368 16787621)
+(define XK:braille-dots-2368 16787622)
+(define XK:braille-dots-12368 16787623)
+(define XK:braille-dots-468 16787624)
+(define XK:braille-dots-1468 16787625)
+(define XK:braille-dots-2468 16787626)
+(define XK:braille-dots-12468 16787627)
+(define XK:braille-dots-3468 16787628)
+(define XK:braille-dots-13468 16787629)
+(define XK:braille-dots-23468 16787630)
+(define XK:braille-dots-123468 16787631)
+(define XK:braille-dots-568 16787632)
+(define XK:braille-dots-1568 16787633)
+(define XK:braille-dots-2568 16787634)
+(define XK:braille-dots-12568 16787635)
+(define XK:braille-dots-3568 16787636)
+(define XK:braille-dots-13568 16787637)
+(define XK:braille-dots-23568 16787638)
+(define XK:braille-dots-123568 16787639)
+(define XK:braille-dots-4568 16787640)
+(define XK:braille-dots-14568 16787641)
+(define XK:braille-dots-24568 16787642)
+(define XK:braille-dots-124568 16787643)
+(define XK:braille-dots-34568 16787644)
+(define XK:braille-dots-134568 16787645)
+(define XK:braille-dots-234568 16787646)
+(define XK:braille-dots-1234568 16787647)
+(define XK:braille-dots-78 16787648)
+(define XK:braille-dots-178 16787649)
+(define XK:braille-dots-278 16787650)
+(define XK:braille-dots-1278 16787651)
+(define XK:braille-dots-378 16787652)
+(define XK:braille-dots-1378 16787653)
+(define XK:braille-dots-2378 16787654)
+(define XK:braille-dots-12378 16787655)
+(define XK:braille-dots-478 16787656)
+(define XK:braille-dots-1478 16787657)
+(define XK:braille-dots-2478 16787658)
+(define XK:braille-dots-12478 16787659)
+(define XK:braille-dots-3478 16787660)
+(define XK:braille-dots-13478 16787661)
+(define XK:braille-dots-23478 16787662)
+(define XK:braille-dots-123478 16787663)
+(define XK:braille-dots-578 16787664)
+(define XK:braille-dots-1578 16787665)
+(define XK:braille-dots-2578 16787666)
+(define XK:braille-dots-12578 16787667)
+(define XK:braille-dots-3578 16787668)
+(define XK:braille-dots-13578 16787669)
+(define XK:braille-dots-23578 16787670)
+(define XK:braille-dots-123578 16787671)
+(define XK:braille-dots-4578 16787672)
+(define XK:braille-dots-14578 16787673)
+(define XK:braille-dots-24578 16787674)
+(define XK:braille-dots-124578 16787675)
+(define XK:braille-dots-34578 16787676)
+(define XK:braille-dots-134578 16787677)
+(define XK:braille-dots-234578 16787678)
+(define XK:braille-dots-1234578 16787679)
+(define XK:braille-dots-678 16787680)
+(define XK:braille-dots-1678 16787681)
+(define XK:braille-dots-2678 16787682)
+(define XK:braille-dots-12678 16787683)
+(define XK:braille-dots-3678 16787684)
+(define XK:braille-dots-13678 16787685)
+(define XK:braille-dots-23678 16787686)
+(define XK:braille-dots-123678 16787687)
+(define XK:braille-dots-4678 16787688)
+(define XK:braille-dots-14678 16787689)
+(define XK:braille-dots-24678 16787690)
+(define XK:braille-dots-124678 16787691)
+(define XK:braille-dots-34678 16787692)
+(define XK:braille-dots-134678 16787693)
+(define XK:braille-dots-234678 16787694)
+(define XK:braille-dots-1234678 16787695)
+(define XK:braille-dots-5678 16787696)
+(define XK:braille-dots-15678 16787697)
+(define XK:braille-dots-25678 16787698)
+(define XK:braille-dots-125678 16787699)
+(define XK:braille-dots-35678 16787700)
+(define XK:braille-dots-135678 16787701)
+(define XK:braille-dots-235678 16787702)
+(define XK:braille-dots-1235678 16787703)
+(define XK:braille-dots-45678 16787704)
+(define XK:braille-dots-145678 16787705)
+(define XK:braille-dots-245678 16787706)
+(define XK:braille-dots-1245678 16787707)
+(define XK:braille-dots-345678 16787708)
+(define XK:braille-dots-1345678 16787709)
+(define XK:braille-dots-2345678 16787710)
+(define XK:braille-dots-12345678 16787711)
diff --git a/mkimpcat.scm b/mkimpcat.scm
index ad39438..08e33eb 100644
--- a/mkimpcat.scm
+++ b/mkimpcat.scm
@@ -1,44 +1,20 @@
+;;;; "mkimpcat.scm" Build SCM-specific catalog for SLIB.
;; Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2001, 2003, 2004, 2006 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "mkimpcat.scm" Build SCM-specific catalog for SLIB.
;;; Author: Aubrey Jaffer.
(let ((catname "implcat")
diff --git a/patchlvl.h b/patchlvl.h
index 7d4b210..f206945 100644
--- a/patchlvl.h
+++ b/patchlvl.h
@@ -4,11 +4,11 @@
# for alpha release, "b" for beta release, "c", and so on), and the
# trailing number is the patchlevel. */
# /* This next line sets VERSION when included from the Makefile */
-VERSION=5e4
+VERSION=5e5
#endif
#ifndef SCMVERSION
-# define SCMVERSION "5e4"
+# define SCMVERSION "5e5"
#endif
#ifdef nosve
# define INIT_FILE_NAME "Init"SCMVERSION"_scm";
diff --git a/pi.c b/pi.c
index 99e9374..b03660e 100644
--- a/pi.c
+++ b/pi.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1991 1995 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+/* "pi.c", program for computing digits of numerical value of PI.
+ * Copyright (C) 1991 1995 Free Software Foundation, Inc.
*
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE. If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "pi.c", program for computing digits of numerical value of PI.
- Author: Aubrey Jaffer
+/* Author: Aubrey Jaffer
pi <n> <d> prints out <n> digits of pi in groups of <d> digits.
diff --git a/pi.scm b/pi.scm
index dfa2580..20d3c20 100644
--- a/pi.scm
+++ b/pi.scm
@@ -1,46 +1,20 @@
+;;;; "pi.scm" Programs for computing digits of PI and e.
;; Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of GUILE.
-;;
-;; The exception is that, if you link the GUILE library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the GUILE library code into it.
-;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name GUILE. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; GUILE, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; If you write modifications of your own for GUILE, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "pi.scm", program for computing digits of numerical value of PI.
-;;;; "bigpi.scm", program for computing digits of numerical value of PI.
-;;;; "e.scm", program for computing digits of numerical value of 'e'.
;;; Authors: Aubrey Jaffer & Jerry D. Hedden
;;; (pi <n> <d>) prints out <n> digits of pi in groups of <d> digits.
diff --git a/posix.c b/posix.c
index 1413930..0705dea 100644
--- a/posix.c
+++ b/posix.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994, 1995, 1998, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "posix.c" functions only in Posix (unix).
+ * Copyright (C) 1994, 1995, 1998, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "posix.c" functions only in Posix (unix).
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
diff --git a/r4rstest.scm b/r4rstest.scm
index 95298f0..b10cbd4 100644
--- a/r4rstest.scm
+++ b/r4rstest.scm
@@ -1,19 +1,19 @@
+;;;;"r4rstest.scm": Test R4RS correctness of scheme implementations.
;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 2000, 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify it
-;; under the terms of the GNU General Public License as published by the
-;; Free Software Foundation; either version 2, or (at your option) any
-;; later version.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
;;
-;; To receive a copy of the GNU General Public License, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA; or view
-;; http://swiss.csail.mit.edu/~jaffer/GPL.html
+;; You should have received a copy of the GNU General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
;;;;"r4rstest.scm": Test R4RS correctness of scheme implementations.
;;; Author: Aubrey Jaffer
diff --git a/ramap.c b/ramap.c
index ad3a74e..0cedfad 100644
--- a/ramap.c
+++ b/ramap.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994, 1995, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "ramap.c" Array mapping functions for APL-Scheme.
+ * Copyright (C) 1994, 1995, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "ramap.c" Array mapping functions for APL-Scheme.
- Author: Radey Shouman */
+/* Author: Radey Shouman */
#include "scm.h"
diff --git a/record.c b/record.c
index 30fa677..55f8f47 100644
--- a/record.c
+++ b/record.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "record.c" code for (R5RS) proposed "Record" user definable datatypes.
+ * Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "record.c" code for (R5RS) proposed "Record" user definable datatypes.
- Author: Radey Shouman */
+/* Author: Radey Shouman */
#include "scm.h"
long tc16_record;
diff --git a/repl.c b/repl.c
index 5fa98d9..5e5ad10 100644
--- a/repl.c
+++ b/repl.c
@@ -1,50 +1,26 @@
-/* Copyright (C) 1990-2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "repl.c" error, read-eval-print loop, read, write and load code.
+ * Copyright (C) 1990-2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "repl.c" error, read-eval-print loop, read, write and load code.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
#include "setjump.h"
-void igc P((const char *what, SCM rootcont));
+void igc P((const char *what, SCM basecont));
void unexec P((char *new_name, char *a_name, unsigned data_start,
unsigned bss_start, unsigned entry_address));
void scm_fill_freelist P((void));
@@ -142,7 +118,7 @@ char *isymnames[] = {
"#@let", "#@let*", "#@letrec", "#@or", "#@quote", "#@set!",
"#@funcall", "#@apply", "#@farloc-car", "#@farloc-cdr", "#@delay",
"#@quasiquote", "#@eval-for-apply", "#@let-syntax", "#@acro-call",
- "#<line>", "#@define",
+ "#<line>", "#@define", "#@eval-values",
"#@unquote", "#@unquote-splicing", "#@else", "#@=>", "#@values-token",
"#@keyword",
/* user visible ISYMS */
@@ -1263,7 +1239,7 @@ struct errdesc errmsgs[] = {
void (* deferred_proc) P((void)) = 0;
char *errjmp_bad = "init";
-int ints_disabled = 1;
+VOLATILE int ints_disabled = 1;
unsigned long SIG_deferred = 0;
int scm_verbose = 1; /* Low so that monitor info won't be */
/* printed while in init_storage. (BOOM) */
diff --git a/rgx.c b/rgx.c
index 81af5c4..df5e360 100644
--- a/rgx.c
+++ b/rgx.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "rgx.c" regular expression matching using C regex library.
+ * Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "rgx.c" regular expression matching using C regex library.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
#ifdef __FreeBSD__
@@ -55,7 +31,7 @@
#endif
static char rcsid[] =
- "$Id: rgx.c,v 1.18 2007/11/24 19:56:56 jaffer Exp $";
+ "$Id: rgx.c,v 1.19 2008/01/31 03:32:33 jaffer Exp $";
#ifdef HAVE_ALLOCA
# include <alloca.h>
diff --git a/rope.c b/rope.c
index d4fc16a..4c482a4 100644
--- a/rope.c
+++ b/rope.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "rope.c" interface between C and SCM.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "rope.c" interface between C and SCM.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
diff --git a/sc2.c b/sc2.c
index 1487dbd..6264aab 100644
--- a/sc2.c
+++ b/sc2.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "sc2.c" R2RS and R3RS procedures not in R4RS.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "sc2.c" R2RS and R3RS procedures not in R4RS.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
diff --git a/scl.c b/scl.c
index b7c3f35..2fb2d17 100644
--- a/scl.c
+++ b/scl.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2005, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "scl.c" non-IEEE utility functions and non-integer arithmetic.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2005, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "scl.c" non-IEEE utility functions and non-integer arithmetic.
- Authors: Jerry D. Hedden and Aubrey Jaffer */
+/* Authors: Jerry D. Hedden and Aubrey Jaffer */
#include "scm.h"
diff --git a/scm.c b/scm.c
index dc0ad7b..f226db1 100644
--- a/scm.c
+++ b/scm.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990-2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "scm.c" Initialization and interrupt code.
+ * Copyright (C) 1990-2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "scm.c" Initialization and interrupt code.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#ifdef PLAN9
# define signal(a,b) 0/* no signals in Plan 9 */
@@ -527,6 +503,11 @@ void init_scm(iverbose, buf0stdin, init_heap_size)
init_types();
init_tables();
init_storage(&i, init_heap_size); /* CONT(rootcont)->stkbse gets set here */
+ } else {
+ /* The streams when the program was dumped need to be reset. */
+ SETSTREAM(def_inp, stdin);
+ SETSTREAM(def_outp, stdout);
+ SETSTREAM(def_errp, stderr);
}
if (buf0stdin) SCM_PORTFLAGS(def_inp) |= BUF0;
else SCM_PORTFLAGS(def_inp) &= ~BUF0;
diff --git a/scm.h b/scm.h
index 9608d87..763f2b2 100644
--- a/scm.h
+++ b/scm.h
@@ -1,46 +1,21 @@
-/* Copyright (C) 1990-2006 Free Software Foundation, Inc.
+/* "scm.h" SCM data types and external functions.
+ * Copyright (C) 1990-2006 Free Software Foundation, Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "scm.h" SCM data types and external functions. */
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -253,21 +228,22 @@ SCM_EXPORT SCM i_dot, i_quote, i_quasiquote, i_unquote, i_uq_splicing;
#define IM_ACRO_CALL MAKISYM(21)
#define IM_LINUM MAKISYM(22)
#define IM_DEFINE MAKISYM(23)
+#define IM_EVAL_VALUES MAKISYM(24)
/* These are not used for dispatch. */
-#define IM_UNQUOTE MAKISYM(24)
-#define IM_UQ_SPLICING MAKISYM(25)
-#define IM_ELSE MAKISYM(26)
-#define IM_ARROW MAKISYM(27)
-#define IM_VALUES_TOKEN MAKISYM(28)
-#define IM_KEYWORD MAKISYM(29)
+#define IM_UNQUOTE MAKISYM(25)
+#define IM_UQ_SPLICING MAKISYM(26)
+#define IM_ELSE MAKISYM(27)
+#define IM_ARROW MAKISYM(28)
+#define IM_VALUES_TOKEN MAKISYM(29)
+#define IM_KEYWORD MAKISYM(30)
+
+#define NUM_ISYMS 31
#define SCM_MAKE_LINUM(n) (IM_LINUM | ((unsigned long)(n))<<16)
#define SCM_LINUM(x) ((unsigned long)(x)>>16)
#define SCM_LINUMP(x) ((0xffffL & (x))==IM_LINUM)
-#define NUM_ISYMS 30
-
#define BOOL_F MAKIFLAG(NUM_ISYMS+0)
#define BOOL_T MAKIFLAG(NUM_ISYMS+1)
#define UNDEFINED MAKIFLAG(NUM_ISYMS+2)
@@ -674,7 +650,8 @@ SCM_EXPORT SCM *loc_loadpath;
SCM_EXPORT SCM *loc_errobj;
SCM_EXPORT SCM loadport;
SCM_EXPORT char *errjmp_bad;
-SCM_EXPORT int ints_disabled, output_deferred, gc_hook_pending, gc_hook_active;
+SCM_EXPORT VOLATILE int ints_disabled;
+SCM_EXPORT int output_deferred, gc_hook_pending, gc_hook_active;
SCM_EXPORT unsigned long SIG_deferred;
SCM_EXPORT SCM exitval;
SCM_EXPORT int cursinit;
diff --git a/scm.info b/scm.info
index 367942a..f1a693a 100644
--- a/scm.info
+++ b/scm.info
@@ -1,23 +1,16 @@
This is scm.info, produced by makeinfo version 4.8 from scm.texi.
-This manual is for SCM (version 5e4, November 2007), and algorithmic |
+This manual is for SCM (version 5e5, February 2008), and algorithmic |
language Scheme implementation.
-Copyright (C) 1990-2007 Free Software Foundation, Inc. |
+Copyright (C) 1990-2007 Free Software Foundation, Inc.
- Permission is granted to make and distribute verbatim copies of
- this manual provided the copyright notice and this permission
- notice are preserved on all copies.
-
- Permission is granted to copy and distribute modified versions of
- this manual under the conditions for verbatim copying, provided
- that the entire resulting derived work is distributed under the
- terms of a permission notice identical to this one.
-
- Permission is granted to copy and distribute translations of this
- manual into another language, under the above conditions for
- modified versions, except that this permission notice may be
- stated in a translation approved by the author.
+ Permission is granted to copy, distribute and/or modify this |
+ document under the terms of the GNU Free Documentation License, |
+ Version 1.2 or any later version published by the Free Software |
+ Foundation; with no Invariant Sections, no Front-Cover Texts, and |
+ no Back-Cover Texts. A copy of the license is included in the |
+ section entitled "GNU Free Documentation License." |
INFO-DIR-SECTION The Algorithmic Language Scheme
START-INFO-DIR-ENTRY
@@ -30,24 +23,17 @@ File: scm.info, Node: Top, Next: Overview, Prev: (dir), Up: (dir)
SCM
***
-This manual is for SCM (version 5e4, November 2007), and algorithmic |
+This manual is for SCM (version 5e5, February 2008), and algorithmic |
language Scheme implementation.
-Copyright (C) 1990-2007 Free Software Foundation, Inc. |
-
- Permission is granted to make and distribute verbatim copies of
- this manual provided the copyright notice and this permission
- notice are preserved on all copies.
+Copyright (C) 1990-2007 Free Software Foundation, Inc.
- Permission is granted to copy and distribute modified versions of
- this manual under the conditions for verbatim copying, provided
- that the entire resulting derived work is distributed under the
- terms of a permission notice identical to this one.
-
- Permission is granted to copy and distribute translations of this
- manual into another language, under the above conditions for
- modified versions, except that this permission notice may be
- stated in a translation approved by the author.
+ Permission is granted to copy, distribute and/or modify this |
+ document under the terms of the GNU Free Documentation License, |
+ Version 1.2 or any later version published by the Free Software |
+ Foundation; with no Invariant Sections, no Front-Cover Texts, and |
+ no Back-Cover Texts. A copy of the license is included in the |
+ section entitled "GNU Free Documentation License." |
* Menu:
@@ -65,8 +51,10 @@ File: scm.info, Node: Overview, Next: Installing SCM, Prev: Top, Up: Top
1 Overview
**********
-Scm is a portable Scheme implementation written in C. Scm provides a
+SCM is a portable Scheme implementation written in C. SCM provides a |
machine independent platform for [JACAL], a symbolic algebra system.
+SCM supports and requires the SLIB Scheme library. SCM, SLIB, and |
+JACAL are GNU projects. |
* Menu:
@@ -117,8 +105,7 @@ File: scm.info, Node: SCM Features, Next: SCM Authors, Prev: Overview, Up: O
database, X-window graphics, BGI graphics, Motif, and Open-Windows
packages.
- * A compiler (HOBBIT, available separately) and dynamic linking of
- compiled modules.
+ * The Hobbit compiler and dynamic linking of compiled modules. |
* User definable responses to interrupts and errors,
Process-syncronization primitives. Setable levels of monitoring
@@ -169,6 +156,7 @@ Authors have assigned their SCM copyrights to:
* The SCM License::
* SIOD copyright::
+* GNU Free Documentation License:: Copying this Manual

File: scm.info, Node: The SCM License, Next: SIOD copyright, Prev: Copying, Up: Copying
@@ -176,82 +164,23 @@ File: scm.info, Node: The SCM License, Next: SIOD copyright, Prev: Copying,
1.3.1 The SCM License
---------------------
-The license of SCM consists of the GNU GPL plus a special statement
-giving blanket permission to link with non-free software. This is the
-license statement as found in any individual file that it applies to:
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this software; see the file COPYING. If not, write to
- the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- Boston, MA 02111-1307 USA
-
- As a special exception, the Free Software Foundation gives
- permission for additional uses of the text contained in its
- release of SCM.
-
- The exception is that, if you link the SCM library with other
- files to produce an executable, this does not by itself cause the
- resulting executable to be covered by the GNU General Public
- License. Your use of that executable is in no way restricted on
- account of linking the SCM library code into it.
-
- This exception does not however invalidate any other reasons why
- the executable file might be covered by the GNU General Public
- License.
-
- This exception applies only to the code released by the Free
- Software Foundation under the name SCM. If you copy code from
- other Free Software Foundation releases into a copy of SCM, as the
- General Public License permits, the exception does not apply to
- the code that you add in this way. To avoid misleading anyone as
- to the status of such modified files, you must delete this
- exception notice from them.
-
- If you write modifications of your own for SCM, it is your choice
- whether to permit this exception to apply to your modifications.
- If you do not wish that, delete this exception notice.
-
-Permission to use, copy, modify, distribute, and sell this software and
-its documentation for any purpose is hereby granted without fee,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation.
-
- NO WARRANTY
+This program is free software: you can redistribute it and/or modify it |
+under the terms of the GNU Lesser General Public License as published |
+by the Free Software Foundation, either version 3 of the License, or |
+(at your option) any later version.
-BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
-THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
-EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
-ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
-YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
-NECESSARY SERVICING, REPAIR OR CORRECTION.
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details. |
-IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
-DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
-DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
-(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
-INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
-THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
-OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+You should have received a copy of the GNU Lesser General Public |
+License along with this program. If not, see |
+`http://www.gnu.org/licenses/'. |

-File: scm.info, Node: SIOD copyright, Prev: The SCM License, Up: Copying
-
+File: scm.info, Node: SIOD copyright, Next: GNU Free Documentation License, Prev: The SCM License, Up: Copying
+ |
1.3.2 SIOD copyright
--------------------
@@ -284,8 +213,440 @@ Paradigm Associates Inc
Cambridge, MA 02138

+File: scm.info, Node: GNU Free Documentation License, Prev: SIOD copyright, Up: Copying
+ |
+1.3.3 GNU Free Documentation License |
+------------------------------------ |
+ |
+ Version 1.2, November 2002 |
+ |
+ Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. |
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
+ |
+ Everyone is permitted to copy and distribute verbatim copies |
+ of this license document, but changing it is not allowed. |
+ |
+ 0. PREAMBLE |
+ |
+ The purpose of this License is to make a manual, textbook, or other |
+ functional and useful document "free" in the sense of freedom: to |
+ assure everyone the effective freedom to copy and redistribute it, |
+ with or without modifying it, either commercially or |
+ noncommercially. Secondarily, this License preserves for the |
+ author and publisher a way to get credit for their work, while not |
+ being considered responsible for modifications made by others. |
+ |
+ This License is a kind of "copyleft", which means that derivative |
+ works of the document must themselves be free in the same sense. |
+ It complements the GNU General Public License, which is a copyleft |
+ license designed for free software. |
+ |
+ We have designed this License in order to use it for manuals for |
+ free software, because free software needs free documentation: a |
+ free program should come with manuals providing the same freedoms |
+ that the software does. But this License is not limited to |
+ software manuals; it can be used for any textual work, regardless |
+ of subject matter or whether it is published as a printed book. |
+ We recommend this License principally for works whose purpose is |
+ instruction or reference. |
+ |
+ 1. APPLICABILITY AND DEFINITIONS |
+ |
+ This License applies to any manual or other work, in any medium, |
+ that contains a notice placed by the copyright holder saying it |
+ can be distributed under the terms of this License. Such a notice |
+ grants a world-wide, royalty-free license, unlimited in duration, |
+ to use that work under the conditions stated herein. The |
+ "Document", below, refers to any such manual or work. Any member |
+ of the public is a licensee, and is addressed as "you". You |
+ accept the license if you copy, modify or distribute the work in a |
+ way requiring permission under copyright law. |
+ |
+ A "Modified Version" of the Document means any work containing the |
+ Document or a portion of it, either copied verbatim, or with |
+ modifications and/or translated into another language. |
+ |
+ A "Secondary Section" is a named appendix or a front-matter section |
+ of the Document that deals exclusively with the relationship of the |
+ publishers or authors of the Document to the Document's overall |
+ subject (or to related matters) and contains nothing that could |
+ fall directly within that overall subject. (Thus, if the Document |
+ is in part a textbook of mathematics, a Secondary Section may not |
+ explain any mathematics.) The relationship could be a matter of |
+ historical connection with the subject or with related matters, or |
+ of legal, commercial, philosophical, ethical or political position |
+ regarding them. |
+ |
+ The "Invariant Sections" are certain Secondary Sections whose |
+ titles are designated, as being those of Invariant Sections, in |
+ the notice that says that the Document is released under this |
+ License. If a section does not fit the above definition of |
+ Secondary then it is not allowed to be designated as Invariant. |
+ The Document may contain zero Invariant Sections. If the Document |
+ does not identify any Invariant Sections then there are none. |
+ |
+ The "Cover Texts" are certain short passages of text that are |
+ listed, as Front-Cover Texts or Back-Cover Texts, in the notice |
+ that says that the Document is released under this License. A |
+ Front-Cover Text may be at most 5 words, and a Back-Cover Text may |
+ be at most 25 words. |
+ |
+ A "Transparent" copy of the Document means a machine-readable copy, |
+ represented in a format whose specification is available to the |
+ general public, that is suitable for revising the document |
+ straightforwardly with generic text editors or (for images |
+ composed of pixels) generic paint programs or (for drawings) some |
+ widely available drawing editor, and that is suitable for input to |
+ text formatters or for automatic translation to a variety of |
+ formats suitable for input to text formatters. A copy made in an |
+ otherwise Transparent file format whose markup, or absence of |
+ markup, has been arranged to thwart or discourage subsequent |
+ modification by readers is not Transparent. An image format is |
+ not Transparent if used for any substantial amount of text. A |
+ copy that is not "Transparent" is called "Opaque". |
+ |
+ Examples of suitable formats for Transparent copies include plain |
+ ASCII without markup, Texinfo input format, LaTeX input format, |
+ SGML or XML using a publicly available DTD, and |
+ standard-conforming simple HTML, PostScript or PDF designed for |
+ human modification. Examples of transparent image formats include |
+ PNG, XCF and JPG. Opaque formats include proprietary formats that |
+ can be read and edited only by proprietary word processors, SGML or |
+ XML for which the DTD and/or processing tools are not generally |
+ available, and the machine-generated HTML, PostScript or PDF |
+ produced by some word processors for output purposes only. |
+ |
+ The "Title Page" means, for a printed book, the title page itself, |
+ plus such following pages as are needed to hold, legibly, the |
+ material this License requires to appear in the title page. For |
+ works in formats which do not have any title page as such, "Title |
+ Page" means the text near the most prominent appearance of the |
+ work's title, preceding the beginning of the body of the text. |
+ |
+ A section "Entitled XYZ" means a named subunit of the Document |
+ whose title either is precisely XYZ or contains XYZ in parentheses |
+ following text that translates XYZ in another language. (Here XYZ |
+ stands for a specific section name mentioned below, such as |
+ "Acknowledgements", "Dedications", "Endorsements", or "History".) |
+ To "Preserve the Title" of such a section when you modify the |
+ Document means that it remains a section "Entitled XYZ" according |
+ to this definition. |
+ |
+ The Document may include Warranty Disclaimers next to the notice |
+ which states that this License applies to the Document. These |
+ Warranty Disclaimers are considered to be included by reference in |
+ this License, but only as regards disclaiming warranties: any other |
+ implication that these Warranty Disclaimers may have is void and |
+ has no effect on the meaning of this License. |
+ |
+ 2. VERBATIM COPYING |
+ |
+ You may copy and distribute the Document in any medium, either |
+ commercially or noncommercially, provided that this License, the |
+ copyright notices, and the license notice saying this License |
+ applies to the Document are reproduced in all copies, and that you |
+ add no other conditions whatsoever to those of this License. You |
+ may not use technical measures to obstruct or control the reading |
+ or further copying of the copies you make or distribute. However, |
+ you may accept compensation in exchange for copies. If you |
+ distribute a large enough number of copies you must also follow |
+ the conditions in section 3. |
+ |
+ You may also lend copies, under the same conditions stated above, |
+ and you may publicly display copies. |
+ |
+ 3. COPYING IN QUANTITY |
+ |
+ If you publish printed copies (or copies in media that commonly |
+ have printed covers) of the Document, numbering more than 100, and |
+ the Document's license notice requires Cover Texts, you must |
+ enclose the copies in covers that carry, clearly and legibly, all |
+ these Cover Texts: Front-Cover Texts on the front cover, and |
+ Back-Cover Texts on the back cover. Both covers must also clearly |
+ and legibly identify you as the publisher of these copies. The |
+ front cover must present the full title with all words of the |
+ title equally prominent and visible. You may add other material |
+ on the covers in addition. Copying with changes limited to the |
+ covers, as long as they preserve the title of the Document and |
+ satisfy these conditions, can be treated as verbatim copying in |
+ other respects. |
+ |
+ If the required texts for either cover are too voluminous to fit |
+ legibly, you should put the first ones listed (as many as fit |
+ reasonably) on the actual cover, and continue the rest onto |
+ adjacent pages. |
+ |
+ If you publish or distribute Opaque copies of the Document |
+ numbering more than 100, you must either include a |
+ machine-readable Transparent copy along with each Opaque copy, or |
+ state in or with each Opaque copy a computer-network location from |
+ which the general network-using public has access to download |
+ using public-standard network protocols a complete Transparent |
+ copy of the Document, free of added material. If you use the |
+ latter option, you must take reasonably prudent steps, when you |
+ begin distribution of Opaque copies in quantity, to ensure that |
+ this Transparent copy will remain thus accessible at the stated |
+ location until at least one year after the last time you |
+ distribute an Opaque copy (directly or through your agents or |
+ retailers) of that edition to the public. |
+ |
+ It is requested, but not required, that you contact the authors of |
+ the Document well before redistributing any large number of |
+ copies, to give them a chance to provide you with an updated |
+ version of the Document. |
+ |
+ 4. MODIFICATIONS |
+ |
+ You may copy and distribute a Modified Version of the Document |
+ under the conditions of sections 2 and 3 above, provided that you |
+ release the Modified Version under precisely this License, with |
+ the Modified Version filling the role of the Document, thus |
+ licensing distribution and modification of the Modified Version to |
+ whoever possesses a copy of it. In addition, you must do these |
+ things in the Modified Version: |
+ |
+ A. Use in the Title Page (and on the covers, if any) a title |
+ distinct from that of the Document, and from those of |
+ previous versions (which should, if there were any, be listed |
+ in the History section of the Document). You may use the |
+ same title as a previous version if the original publisher of |
+ that version gives permission. |
+ |
+ B. List on the Title Page, as authors, one or more persons or |
+ entities responsible for authorship of the modifications in |
+ the Modified Version, together with at least five of the |
+ principal authors of the Document (all of its principal |
+ authors, if it has fewer than five), unless they release you |
+ from this requirement. |
+ |
+ C. State on the Title page the name of the publisher of the |
+ Modified Version, as the publisher. |
+ |
+ D. Preserve all the copyright notices of the Document. |
+ |
+ E. Add an appropriate copyright notice for your modifications |
+ adjacent to the other copyright notices. |
+ |
+ F. Include, immediately after the copyright notices, a license |
+ notice giving the public permission to use the Modified |
+ Version under the terms of this License, in the form shown in |
+ the Addendum below. |
+ |
+ G. Preserve in that license notice the full lists of Invariant |
+ Sections and required Cover Texts given in the Document's |
+ license notice. |
+ |
+ H. Include an unaltered copy of this License. |
+ |
+ I. Preserve the section Entitled "History", Preserve its Title, |
+ and add to it an item stating at least the title, year, new |
+ authors, and publisher of the Modified Version as given on |
+ the Title Page. If there is no section Entitled "History" in |
+ the Document, create one stating the title, year, authors, |
+ and publisher of the Document as given on its Title Page, |
+ then add an item describing the Modified Version as stated in |
+ the previous sentence. |
+ |
+ J. Preserve the network location, if any, given in the Document |
+ for public access to a Transparent copy of the Document, and |
+ likewise the network locations given in the Document for |
+ previous versions it was based on. These may be placed in |
+ the "History" section. You may omit a network location for a |
+ work that was published at least four years before the |
+ Document itself, or if the original publisher of the version |
+ it refers to gives permission. |
+ |
+ K. For any section Entitled "Acknowledgements" or "Dedications", |
+ Preserve the Title of the section, and preserve in the |
+ section all the substance and tone of each of the contributor |
+ acknowledgements and/or dedications given therein. |
+ |
+ L. Preserve all the Invariant Sections of the Document, |
+ unaltered in their text and in their titles. Section numbers |
+ or the equivalent are not considered part of the section |
+ titles. |
+ |
+ M. Delete any section Entitled "Endorsements". Such a section |
+ may not be included in the Modified Version. |
+ |
+ N. Do not retitle any existing section to be Entitled |
+ "Endorsements" or to conflict in title with any Invariant |
+ Section. |
+ |
+ O. Preserve any Warranty Disclaimers. |
+ |
+ If the Modified Version includes new front-matter sections or |
+ appendices that qualify as Secondary Sections and contain no |
+ material copied from the Document, you may at your option |
+ designate some or all of these sections as invariant. To do this, |
+ add their titles to the list of Invariant Sections in the Modified |
+ Version's license notice. These titles must be distinct from any |
+ other section titles. |
+ |
+ You may add a section Entitled "Endorsements", provided it contains |
+ nothing but endorsements of your Modified Version by various |
+ parties--for example, statements of peer review or that the text |
+ has been approved by an organization as the authoritative |
+ definition of a standard. |
+ |
+ You may add a passage of up to five words as a Front-Cover Text, |
+ and a passage of up to 25 words as a Back-Cover Text, to the end |
+ of the list of Cover Texts in the Modified Version. Only one |
+ passage of Front-Cover Text and one of Back-Cover Text may be |
+ added by (or through arrangements made by) any one entity. If the |
+ Document already includes a cover text for the same cover, |
+ previously added by you or by arrangement made by the same entity |
+ you are acting on behalf of, you may not add another; but you may |
+ replace the old one, on explicit permission from the previous |
+ publisher that added the old one. |
+ |
+ The author(s) and publisher(s) of the Document do not by this |
+ License give permission to use their names for publicity for or to |
+ assert or imply endorsement of any Modified Version. |
+ |
+ 5. COMBINING DOCUMENTS |
+ |
+ You may combine the Document with other documents released under |
+ this License, under the terms defined in section 4 above for |
+ modified versions, provided that you include in the combination |
+ all of the Invariant Sections of all of the original documents, |
+ unmodified, and list them all as Invariant Sections of your |
+ combined work in its license notice, and that you preserve all |
+ their Warranty Disclaimers. |
+ |
+ The combined work need only contain one copy of this License, and |
+ multiple identical Invariant Sections may be replaced with a single |
+ copy. If there are multiple Invariant Sections with the same name |
+ but different contents, make the title of each such section unique |
+ by adding at the end of it, in parentheses, the name of the |
+ original author or publisher of that section if known, or else a |
+ unique number. Make the same adjustment to the section titles in |
+ the list of Invariant Sections in the license notice of the |
+ combined work. |
+ |
+ In the combination, you must combine any sections Entitled |
+ "History" in the various original documents, forming one section |
+ Entitled "History"; likewise combine any sections Entitled |
+ "Acknowledgements", and any sections Entitled "Dedications". You |
+ must delete all sections Entitled "Endorsements." |
+ |
+ 6. COLLECTIONS OF DOCUMENTS |
+ |
+ You may make a collection consisting of the Document and other |
+ documents released under this License, and replace the individual |
+ copies of this License in the various documents with a single copy |
+ that is included in the collection, provided that you follow the |
+ rules of this License for verbatim copying of each of the |
+ documents in all other respects. |
+ |
+ You may extract a single document from such a collection, and |
+ distribute it individually under this License, provided you insert |
+ a copy of this License into the extracted document, and follow |
+ this License in all other respects regarding verbatim copying of |
+ that document. |
+ |
+ 7. AGGREGATION WITH INDEPENDENT WORKS |
+ |
+ A compilation of the Document or its derivatives with other |
+ separate and independent documents or works, in or on a volume of |
+ a storage or distribution medium, is called an "aggregate" if the |
+ copyright resulting from the compilation is not used to limit the |
+ legal rights of the compilation's users beyond what the individual |
+ works permit. When the Document is included in an aggregate, this |
+ License does not apply to the other works in the aggregate which |
+ are not themselves derivative works of the Document. |
+ |
+ If the Cover Text requirement of section 3 is applicable to these |
+ copies of the Document, then if the Document is less than one half |
+ of the entire aggregate, the Document's Cover Texts may be placed |
+ on covers that bracket the Document within the aggregate, or the |
+ electronic equivalent of covers if the Document is in electronic |
+ form. Otherwise they must appear on printed covers that bracket |
+ the whole aggregate. |
+ |
+ 8. TRANSLATION |
+ |
+ Translation is considered a kind of modification, so you may |
+ distribute translations of the Document under the terms of section |
+ 4. Replacing Invariant Sections with translations requires special |
+ permission from their copyright holders, but you may include |
+ translations of some or all Invariant Sections in addition to the |
+ original versions of these Invariant Sections. You may include a |
+ translation of this License, and all the license notices in the |
+ Document, and any Warranty Disclaimers, provided that you also |
+ include the original English version of this License and the |
+ original versions of those notices and disclaimers. In case of a |
+ disagreement between the translation and the original version of |
+ this License or a notice or disclaimer, the original version will |
+ prevail. |
+ |
+ If a section in the Document is Entitled "Acknowledgements", |
+ "Dedications", or "History", the requirement (section 4) to |
+ Preserve its Title (section 1) will typically require changing the |
+ actual title. |
+ |
+ 9. TERMINATION |
+ |
+ You may not copy, modify, sublicense, or distribute the Document |
+ except as expressly provided for under this License. Any other |
+ attempt to copy, modify, sublicense or distribute the Document is |
+ void, and will automatically terminate your rights under this |
+ License. However, parties who have received copies, or rights, |
+ from you under this License will not have their licenses |
+ terminated so long as such parties remain in full compliance. |
+ |
+ 10. FUTURE REVISIONS OF THIS LICENSE |
+ |
+ The Free Software Foundation may publish new, revised versions of |
+ the GNU Free Documentation License from time to time. Such new |
+ versions will be similar in spirit to the present version, but may |
+ differ in detail to address new problems or concerns. See |
+ `http://www.gnu.org/copyleft/'. |
+ |
+ Each version of the License is given a distinguishing version |
+ number. If the Document specifies that a particular numbered |
+ version of this License "or any later version" applies to it, you |
+ have the option of following the terms and conditions either of |
+ that specified version or of any later version that has been |
+ published (not as a draft) by the Free Software Foundation. If |
+ the Document does not specify a version number of this License, |
+ you may choose any version ever published (not as a draft) by the |
+ Free Software Foundation. |
+ |
+ADDENDUM: How to use this License for your documents |
+==================================================== |
+ |
+To use this License in a document you have written, include a copy of |
+the License in the document and put the following copyright and license |
+notices just after the title page: |
+ |
+ Copyright (C) YEAR YOUR NAME. |
+ Permission is granted to copy, distribute and/or modify this document |
+ under the terms of the GNU Free Documentation License, Version 1.2 |
+ or any later version published by the Free Software Foundation; |
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover |
+ Texts. A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''. |
+ |
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, |
+replace the "with...Texts." line with this: |
+ |
+ with the Invariant Sections being LIST THEIR TITLES, with |
+ the Front-Cover Texts being LIST, and with the Back-Cover Texts |
+ being LIST. |
+ |
+If you have Invariant Sections without Cover Texts, or some other |
+combination of the three, merge those two alternatives to suit the |
+situation. |
+ |
+If your document contains nontrivial examples of program code, we |
+recommend releasing these examples in parallel under your choice of |
+free software license, such as the GNU General Public License, to |
+permit their use in free software. |
+ |
+
File: scm.info, Node: Bibliography, Prev: Copying, Up: Overview
-
+ |
1.4 Bibliography
================
@@ -377,7 +738,7 @@ File: scm.info, Node: Making SCM, Next: SLIB, Prev: Installing SCM, Up: Inst
The SCM distribution has "Makefile" which contains rules for making
"scmlit", a "bare-bones" version of SCM sufficient for running `build'.
`build' is used to compile (or create scripts to compile) full
-featured versions (*note Building SCM::). |
+featured versions (*note Building SCM::).
Makefiles are not portable to the majority of platforms. If `Makefile'
works for you, good; If not, I don't want to hear about it. If you
@@ -406,16 +767,16 @@ SLIB is not _neccessary_ to run SCM, I strongly suggest you obtain and
install it. Bug reports about running SCM without SLIB have very low
priority. SLIB is available from the same sites as SCM:
- * swiss.csail.mit.edu:/pub/scm/slib3a5.tar.gz |
+ * swiss.csail.mit.edu:/pub/scm/slib-3b1.tar.gz |
- * ftp.gnu.org:/pub/gnu/jacal/slib3a5.tar.gz |
+ * ftp.gnu.org:/pub/gnu/jacal/slib-3b1.tar.gz |
-Unpack SLIB (`tar xzf slib3a5.tar.gz' or `unzip -ao slib3a5.zip') in an |
-appropriate directory for your system; both `tar' and `unzip' will
+Unpack SLIB (`tar xzf slib-3b1.tar.gz' or `unzip -ao slib-3b1.zip') in |
+an appropriate directory for your system; both `tar' and `unzip' will |
create the directory `slib'.
Then create a file `require.scm' in the SCM "implementation-vicinity"
-(this is the same directory as where the file `Init5e4.scm' is |
+(this is the same directory as where the file `Init5e5.scm' is |
installed). `require.scm' should have the contents:
(define (library-vicinity) "/usr/local/lib/slib/")
@@ -487,7 +848,7 @@ script with the `arrays', `inexact', and `bignums' options as defaults.
# unix (linux) script created by SLIB/batch
# ================ Write file with C defines
rm -f scmflags.h
- echo '#define IMPLINIT "Init5e4.scm"'>>scmflags.h |
+ echo '#define IMPLINIT "Init5e5.scm"'>>scmflags.h |
echo '#define BIGNUMS'>>scmflags.h
echo '#define FLOATS'>>scmflags.h
echo '#define ARRAYS'>>scmflags.h
@@ -506,7 +867,7 @@ in the `-p' or `--platform=' option.
# unix (darwin) script created by SLIB/batch
# ================ Write file with C defines
rm -f scmflags.h
- echo '#define IMPLINIT "Init5e4.scm"'>>scmflags.h |
+ echo '#define IMPLINIT "Init5e5.scm"'>>scmflags.h |
# ================ Compile C source files
cc -O3 -c continue.c scm.c scmmain.c findexec.c script.c time.c repl.c scl.c eval.c sys.c subr.c debug.c unif.c rope.c
# ================ Link C object files
@@ -547,18 +908,18 @@ the SCM command line options.
amiga-dice-c m68000 amiga dcc
amiga-gcc m68000 amiga gcc
amiga-sas m68000 amiga lc
- atari-st-gcc m68000 atari-st gcc |
- atari-st-turbo-c m68000 atari-st tcc |
+ atari-st-gcc m68000 atari-st gcc
+ atari-st-turbo-c m68000 atari-st tcc
borland-c i8086 ms-dos bcc
darwin powerpc unix cc
djgpp i386 ms-dos gcc
- freebsd *unknown* unix cc |
+ freebsd *unknown* unix cc
gcc *unknown* unix gcc
gnu-win32 i386 unix gcc
highc i386 ms-dos hc386
hp-ux hp-risc hp-ux cc
irix mips irix gcc
- linux *unknown* linux gcc |
+ linux *unknown* linux gcc
linux-aout i386 linux gcc
linux-ia64 ia64 linux gcc
microsoft-c i8086 ms-dos cl
@@ -640,7 +1001,7 @@ the SCM command line options.
-- Build Option: -s PATHNAME
-- Build Option: --scheme-initial=PATHNAME
specifies that PATHNAME should be the default location of the SCM
- initialization file `Init5e4.scm'. SCM tries several likely |
+ initialization file `Init5e5.scm'. SCM tries several likely |
locations before resorting to PATHNAME (*note File-System
Habitat::). If not specified, the current directory (where build
is building) is used.
@@ -723,9 +1084,9 @@ the SCM command line options.
"byte"
Treating strings as byte-vectors.
- "byte-number" |
- Byte/number conversions |
- |
+ "byte-number"
+ Byte/number conversions
+
"careful-interrupt-masking"
Define this for extra checking of interrupt masking and some
simple checks for proper use of malloc and free. This is for
@@ -901,7 +1262,7 @@ link your file at compile time, use the `-c' and `-i' options to build:
-|
#! /bin/sh
rm -f scmflags.h
- echo '#define IMPLINIT "/home/jaffer/scm/Init5e4.scm"'>>scmflags.h |
+ echo '#define IMPLINIT "/home/jaffer/scm/Init5e5.scm"'>>scmflags.h |
echo '#define COMPILED_INITS init_foo();'>>scmflags.h
echo '#define BIGNUMS'>>scmflags.h
echo '#define FLOATS'>>scmflags.h
@@ -917,7 +1278,7 @@ To make a dynamically loadable object file use the `-t dll' option:
-|
#! /bin/sh
rm -f scmflags.h
- echo '#define IMPLINIT "/home/jaffer/scm/Init5e4.scm"'>>scmflags.h |
+ echo '#define IMPLINIT "/home/jaffer/scm/Init5e5.scm"'>>scmflags.h |
echo '#define BIGNUMS'>>scmflags.h
echo '#define FLOATS'>>scmflags.h
echo '#define ARRAYS'>>scmflags.h
@@ -944,9 +1305,9 @@ format. For notes about porting to MS-Windows and finishing the port
to VMS *Note VMS Dynamic Linking::.
"DLD" is a library package of C functions that performs "dynamic link
-editing" on GNU/Linux, VAX (Ultrix), Sun 3 (SunOS 3.4 and 4.0), |
-SPARCstation (SunOS 4.0), Sequent Symmetry (Dynix), and Atari ST. It |
-is available from: |
+editing" on GNU/Linux, VAX (Ultrix), Sun 3 (SunOS 3.4 and 4.0),
+SPARCstation (SunOS 4.0), Sequent Symmetry (Dynix), and Atari ST. It
+is available from:
* ftp.gnu.org:pub/gnu/dld-3.3.tar.gz
@@ -1040,7 +1401,7 @@ file from emacs.
The `dscm4' and `dscm5' targets in the SCM `Makefile' save images from
`udscm4' and `udscm5' executables respectively.
-Recent GNU/Linux innovations interfere with `dump'. For: |
+Recent GNU/Linux innovations interfere with `dump'. For:
Fedora-Core-1
Remove the `#' from the line `#SETARCH = setarch i386' in the
@@ -1108,12 +1469,12 @@ lines or add a `#define FLAG' line to `scmfig.h' or the beginning of
AMIGA SAS/C 5.10 or Dice C on AMIGA
__amigaos__ Gnu CC on AMIGA
atarist ATARI-ST under Gnu CC
- __DragonflyBSD__ DragonflyBSD |
+ __DragonflyBSD__ DragonflyBSD
__FreeBSD__ FreeBSD
GNUDOS DJGPP (obsolete in version 1.08)
__GO32__ DJGPP (future?)
hpux HP-UX
- linux GNU/Linux |
+ linux GNU/Linux
macintosh Macintosh (THINK_C and __MWERKS__ define)
MCH_AMIGA Aztec_c 5.2a on AMIGA
__MACH__ Apple Darwin
@@ -1123,7 +1484,7 @@ lines or add a `#define FLAG' line to `scmfig.h' or the beginning of
__MSDOS__ Turbo C, Borland C, and DJGPP
__NetBSD__ NetBSD
nosve Control Data NOS/VE
- __OpenBSD__ OpenBSD |
+ __OpenBSD__ OpenBSD
SVR2 System V Revision 2.
sun SunOS
__SVR4 SunOS
@@ -1227,17 +1588,17 @@ remove <FLAG> in scmfig.h and Do so and recompile files.
recompile scm.
add <FLAG> in scmfig.h and
recompile scm.
-ERROR: Init5e4.scm not found. Assign correct IMPLINIT in makefile |
+ERROR: Init5e5.scm not found. Assign correct IMPLINIT in makefile |
or scmfig.h.
Define environment variable
SCM_INIT_PATH to be the full
- pathname of Init5e4.scm. |
+ pathname of Init5e5.scm. |
WARNING: require.scm not found. Define environment variable
SCHEME_LIBRARY_PATH to be the full
pathname of the scheme library
[SLIB].
Change library-vicinity in
- Init5e4.scm to point to library or |
+ Init5e5.scm to point to library or |
remove.
Make sure the value of
(library-vicinity) has a trailing
@@ -1297,7 +1658,7 @@ Some symbol names print incorrectly. Change memory model option to C
than HEAP_SEG_SIZE).
ERROR: Rogue pointer in Heap. See above under machine crashes.
Newlines don't appear correctly in Check file mode (define OPEN_... in
-output files. `Init5e4.scm'). |
+output files. `Init5e5.scm'). |
Spaces or control characters appear Check character defines in
in symbol names. `scmfig.h'.
Negative numbers turn positive. Check SRS in `scmfig.h'.
@@ -1371,8 +1732,8 @@ File: scm.info, Node: Invoking SCM, Next: SCM Options, Prev: Operational Feat
================
scm [-a kbytes] [-muvbiq] [-version] [-help]
- [[-]-no-init-file] [--no-symbol-case-fold] |
- [-p int] [-r feature] [-h feature] |
+ [[-]-no-init-file] [--no-symbol-case-fold]
+ [-p int] [-r feature] [-h feature]
[-d filename] [-f filename] [-l filename]
[-c expression] [-e expression] [-o dumpname]
[-- | - | -s] [filename] [arguments ...]
@@ -1383,7 +1744,7 @@ variable SCM_INIT_PATH.
If SCM_INIT_PATH is not defined or if the file it names is not present,
`scm' tries to find the directory containing the executable file. If
it is able to locate the executable, `scm' looks for the initialization
-file (usually `Init5e4.scm') in platform-dependent directories relative |
+file (usually `Init5e5.scm') in platform-dependent directories relative |
to this directory. See *Note File-System Habitat:: for a blow-by-blow
description.
@@ -1392,12 +1753,12 @@ compile parameter IMPLINIT (defined in the makefile or `scmfig.h') is
tried.
Unless the option `-no-init-file' or `--no-init-file' occurs in the
-command line, or if `scm' is being invoked as a script, `Init5e4.scm' |
+command line, or if `scm' is being invoked as a script, `Init5e5.scm' |
checks to see if there is file `ScmInit.scm' in the path specified by
the environment variable HOME (or in the current directory if HOME is
undefined). If it finds such a file, then it is loaded.
-`Init5e4.scm' then looks for command input from one of three sources: |
+`Init5e5.scm' then looks for command input from one of three sources: |
From an option on the command line, from a file named on the command
line, or from standard input.
@@ -1425,9 +1786,9 @@ The options are processed in the order specified on the command line.
-- Command Option: --no-init-file
Inhibits the loading of `ScmInit.scm' as described above.
- -- Command Option: -no-symbol-case-fold |
- Symbol (and identifier) names will be case sensitive. |
- |
+ -- Command Option: -no-symbol-case-fold
+ Symbol (and identifier) names will be case sensitive.
+
-- Command Option: --help
prints usage information and URI; then exit.
@@ -1561,13 +1922,13 @@ File: scm.info, Node: SCM Variables, Next: SCM Session, Prev: Invocation Exam
-- Environment Variable: SCM_INIT_PATH
is the pathname where `scm' will look for its initialization code.
- The default is the file `Init5e4.scm' in the source directory. |
+ The default is the file `Init5e5.scm' in the source directory. |
-- Environment Variable: SCHEME_LIBRARY_PATH
is the [SLIB] Scheme library directory.
-- Environment Variable: HOME
- is the directory where `Init5e4.scm' will look for the user |
+ is the directory where `Init5e5.scm' will look for the user |
initialization file `ScmInit.scm'.
-- Environment Variable: EDITOR
@@ -1986,13 +2347,13 @@ warnings and errors.
-- Function: warn arg1 arg2 arg3 ...
Alias for *Note slib:warn: (slib)System. Outputs an error message
- containing the arguments. `warn' is defined in `Init5e4.scm'. |
+ containing the arguments. `warn' is defined in `Init5e5.scm'. |
-- Function: error arg1 arg2 arg3 ...
Alias for *Note slib:error: (slib)System. Outputs an error
message containing the arguments, aborts evaluation of the current
form and resumes the top level read-eval-print loop. `Error' is
- defined in `Init5e4.scm'. |
+ defined in `Init5e5.scm'. |
If SCM is built with the `CAUTIOUS' flag, then when an error occurs, a
"stack trace" of certain pending calls are printed as part of the
@@ -2010,7 +2371,7 @@ with Lisp systems.
-- Function: stack-trace
Prints information describing the stack of partially evaluated
expressions. `stack-trace' returns `#t' if any lines were printed
- and `#f' otherwise. See `Init5e4.scm' for an example of the use |
+ and `#f' otherwise. See `Init5e5.scm' for an example of the use |
of `stack-trace'.

@@ -2035,10 +2396,10 @@ a convenient aid to locating bugs and untested expressions.
* The names of identifiers which are not lexiallly bound but defined
at top-level have #@ prepended.
-For instance, `open-input-file' is defined as follows in `Init5e4.scm': |
+For instance, `open-input-file' is defined as follows in `Init5e5.scm': |
(define (open-input-file str)
- (or (open-file str open_read) |
+ (or (open-file str open_read)
(and (procedure? could-not-open) (could-not-open) #f)
(error "OPEN-INPUT-FILE couldn't open file " str)))
@@ -2084,7 +2445,7 @@ File: scm.info, Node: Internal State, Next: Scripting, Prev: Memoized Express
*INTERACTIVE* is controlled directly by the command-line options
`-b', `-i', and `-s' (*note Invoking SCM::). If none of these
options are specified, the rules to determine interactivity are
- more complicated; see `Init5e4.scm' for details. |
+ more complicated; see `Init5e5.scm' for details. |
-- Function: abort
Resumes the top level Read-Eval-Print loop.
@@ -2139,7 +2500,7 @@ File: scm.info, Node: Internal State, Next: Scripting, Prev: Memoized Express
#t)' also gives the hexadecimal heap segment and stack bounds.
-- Constant: *scm-version*
- Contains the version string (e.g. `5e4') of SCM. |
+ Contains the version string (e.g. `5e5') of SCM. |
3.12.1 Executable path
----------------------
@@ -2751,8 +3112,8 @@ File: scm.info, Node: Opening and Closing, Next: Port Properties, Prev: Files
reading, writing, and both reading and writing respectively.
Both input and output functions can be used with io-ports. An end
- of file must be read or a two-argument file-position done on the |
- port between a read operation and a write operation or vice-versa. |
+ of file must be read or a two-argument file-position done on the
+ port between a read operation and a write operation or vice-versa.
-- Function: _ionbf modestr
Returns a version of MODESTR which when `open-file' is called with
@@ -2801,17 +3162,17 @@ File: scm.info, Node: Port Properties, Next: Port Redirection, Prev: Opening
Returns the filename PORT was opened with. If PORT is not open to
a file the result is unspecified.
- -- Function: file-position port |
- -- Function: file-position port #f |
- Returns the current position of the character in PORT which will |
- next be read or written. If PORT is open to a non-file then `#f' |
- is returned. |
- |
- -- Function: file-position port k |
- Sets the current position in PORT which will next be read or |
- written. If successful, `#f' is returned. If PORT is open to a |
- non-file, then `file-position' returns `#f'. |
- |
+ -- Function: file-position port
+ -- Function: file-position port #f
+ Returns the current position of the character in PORT which will
+ next be read or written. If PORT is open to a non-file then `#f'
+ is returned.
+
+ -- Function: file-position port k
+ Sets the current position in PORT which will next be read or
+ written. If successful, `#f' is returned. If PORT is open to a
+ non-file, then `file-position' returns `#f'.
+
-- Function: port-line port
-- Function: port-column port
If PORT is a tracked port, return the current line (column) number,
@@ -3725,7 +4086,7 @@ of load and ([SLIB]) require specified here are supported. The
The LIB1 ... pathnames specify additional libraries which may be
needed for object files not produced by the Hobbit compiler. For
- instance, crs is linked on GNU/Linux by |
+ instance, crs is linked on GNU/Linux by
(load (in-vicinity (implementation-vicinity) "crs.o")
(usr:lib "ncurses") (usr:lib "c"))
@@ -4327,7 +4688,7 @@ I/O: (slib)Line I/O, and the following functions are defined:
-- Function: getpid
Returns the process ID of the current process.
- |
+
-- Function: try-create-file name modes perms
If the file with name NAME already exists, return `#f', otherwise
try to create and open the file like `try-open-file', *Note Files
@@ -4390,7 +4751,7 @@ I/O: (slib)Line I/O, and the following functions are defined:
"Link.scm"
"Macro.scm"
"Transcen.scm"
- "Init5e4.scm" |
+ "Init5e5.scm" |
-- Function: mkdir path mode
The `mkdir' function creates a new, empty directory whose name is
@@ -5633,7 +5994,7 @@ sockets for multiple connections without input blocking.
(next (cdr con-list)))
(else
(for-each (lambda (con)
- (file-position con 0) |
+ (file-position con 0)
(write-char c con)
(file-position con 0))
connections)
@@ -5661,9 +6022,9 @@ you can use a client written in scheme:
(ct (and actives (memq (current-input-port) actives) (read-char))))
(cond ((or (eof-object? cs) (eof-object? ct)) (close-port con))
(else (cond (cs (display cs)))
- (cond (ct (file-position con 0) |
+ (cond (ct (file-position con 0)
(display ct con)
- (file-position con 0))) |
+ (file-position con 0)))
(go)))))
(cond (con (display "Connecting to ")
(display (getpeername con))
@@ -6734,7 +7095,7 @@ To add a package of new procedures to scm (see `crs.c' for example):
7. put any scheme code which needs to be run as part of your package
into `Ifoo.scm'.
- 8. put an `if' into `Init5e4.scm' which loads `Ifoo.scm' if your |
+ 8. put an `if' into `Init5e5.scm' which loads `Ifoo.scm' if your |
package is included:
(if (defined? twiddle-bits!)
@@ -7034,7 +7395,7 @@ SCM, then you can replace `scm_find_implpath'.
environment variable is defined, its value will be returned from
`scm_find_implpath'. Otherwise find_impl_file() is called with the
arguments EXECPATH, GENERIC_NAME (default "scm"), INIT_FILE_NAME
- (default "Init5e4_scm"), and the directory separator string |
+ (default "Init5e5_scm"), and the directory separator string |
DIRSEP. If find_impl_file() returns 0 and IMPLINIT is defined,
then a copy of the string IMPLINIT is returned.
@@ -7157,7 +7518,7 @@ Here is a minimal embedding program `libtest.c':
-|
dld_find_executable(./libtest): /home/jaffer/scm/libtest
- implpath: /home/jaffer/scm/Init5e4.scm |
+ implpath: /home/jaffer/scm/Init5e5.scm |
This is libtest_init_user_scm
hello world
@@ -7173,7 +7534,7 @@ The source code for these routines are found in `rope.c'.
-- Function: int scm_ldfile (char *FILE)
Loads the Scheme source file FILE. Returns 0 if successful, non-0
if not. This function is used to load SCM's initialization file
- `Init5e4.scm'. |
+ `Init5e5.scm'. |
-- Function: int scm_ldprog (char *FILE)
Loads the Scheme source file `(in-vicinity (program-vicinity)
@@ -7593,7 +7954,7 @@ File: scm.info, Node: Executable Pathname, Next: Script Support, Prev: File-S
6.3.2 Executable Pathname
-------------------------
-For purposes of finding `Init5e4.scm', dumping an executable, and |
+For purposes of finding `Init5e5.scm', dumping an executable, and |
dynamic linking, a SCM session needs the pathname of its executable
image.
@@ -8684,131 +9045,132 @@ Concept Index

Tag Table:
-Node: Top1099
-Node: Overview2318
-Node: SCM Features2633
-Node: SCM Authors4656
-Node: Copying5557
-Node: The SCM License5886
-Node: SIOD copyright9810
-Node: Bibliography11163
-Node: Installing SCM13039
-Node: Making SCM13558
-Node: SLIB14544
-Node: Building SCM16379
-Node: Invoking Build16961
-Node: Build Options19298
-Node: Compiling and Linking Custom Files32922
-Node: Installing Dynamic Linking34918
-Node: Configure Module Catalog36795
-Node: Saving Images38803
-Node: Automatic C Preprocessor Definitions40567
-Node: Problems Compiling44555
-Node: Problems Linking46216
-Node: Problems Running46489
-Node: Testing48607
-Node: Reporting Problems51876
-Node: Operational Features52728
-Node: Invoking SCM53124
-Node: SCM Options54916
-Node: Invocation Examples59525
-Node: SCM Variables60485
-Node: SCM Session61965
-Node: Editing Scheme Code63496
-Node: Debugging Scheme Code65514
-Node: Debugging Continuations69779
-Node: Errors72339
-Node: Memoized Expressions76657
-Node: Internal State79064
-Node: Scripting82290
-Node: Unix Scheme Scripts82594
-Node: MS-DOS Compatible Scripts85626
-Node: Unix Shell Scripts87481
-Node: The Language89622
-Node: Standards Compliance90244
-Node: Storage92667
-Node: Time95147
-Node: Interrupts96163
-Node: Process Synchronization99796
-Node: Files and Ports101325
-Node: Opening and Closing101666
-Node: Port Properties104184
-Node: Port Redirection107750
-Node: Soft Ports109242
-Node: Eval and Load111024
-Node: Line Numbers112440
-Node: Lexical Conventions114863
-Node: Common-Lisp Read Syntax115125
-Node: Load Syntax117112
-Node: Documentation and Comments117732
-Node: Modifying Read Syntax118956
-Node: Syntax120679
-Node: Define and Set121583
-Node: Defmacro125117
-Node: Syntax-Rules126197
-Node: Macro Primitives128003
-Node: Environment Frames129642
-Node: Syntactic Hooks for Hygienic Macros132062
-Node: Packages139036
-Node: Dynamic Linking139916
-Node: Dump144630
-Node: Numeric148651
-Node: Arrays150467
-Node: Conventional Arrays150685
-Node: Uniform Array154224
-Node: Bit Vectors159036
-Node: Array Mapping160344
-Node: Records163037
-Node: I/O-Extensions163909
-Node: Posix Extensions172155
-Node: Unix Extensions181707
-Node: Sequence Comparison183608
-Node: Regular Expression Pattern Matching183938
-Node: Line Editing187916
-Node: Curses189277
-Node: Output Options Setting190212
-Node: Terminal Mode Setting192879
-Node: Window Manipulation195980
-Node: Output199465
-Node: Input203117
-Node: Curses Miscellany204161
-Node: Sockets205602
-Node: Host and Other Inquiries205965
-Node: Internet Addresses and Socket Names209106
-Node: Socket210679
-Node: SCMDB217950
-Node: The Implementation218188
-Node: Data Types218451
-Node: Immediates219280
-Node: Cells223662
-Node: Header Cells225780
-Node: Subr Cells229076
-Node: Ptob Cells231373
-Node: Smob Cells232942
-Node: Data Type Representations236165
-Node: Operations241044
-Node: Garbage Collection241638
-Node: Marking Cells242271
-Node: Sweeping the Heap244392
-Node: Memory Management for Environments245354
-Node: Signals249923
-Node: C Macros251484
-Node: Changing Scm252621
-Node: Defining Subrs257085
-Node: Defining Smobs258945
-Node: Defining Ptobs262002
-Node: Allocating memory263191
-Node: Embedding SCM265521
-Node: Callbacks273235
-Node: Type Conversions275056
-Node: Continuations279105
-Node: Evaluation283343
-Node: Program Self-Knowledge288526
-Node: File-System Habitat288780
-Node: Executable Pathname292393
-Node: Script Support294031
-Node: Improvements To Make295366
-Node: VMS Dynamic Linking297584
-Node: Index302297
+Node: Top853
+Node: Overview1826
+Node: SCM Features2311
+Node: SCM Authors4321
+Node: Copying5222
+Node: The SCM License5607
+Node: SIOD copyright6539
+Node: GNU Free Documentation License8010
+Node: Bibliography42502
+Node: Installing SCM44457
+Node: Making SCM44976
+Node: SLIB45924
+Node: Building SCM47772
+Node: Invoking Build48354
+Node: Build Options50691
+Node: Compiling and Linking Custom Files64059
+Node: Installing Dynamic Linking66055
+Node: Configure Module Catalog67845
+Node: Saving Images69853
+Node: Automatic C Preprocessor Definitions71595
+Node: Problems Compiling75438
+Node: Problems Linking77099
+Node: Problems Running77372
+Node: Testing79490
+Node: Reporting Problems82759
+Node: Operational Features83611
+Node: Invoking SCM84007
+Node: SCM Options85727
+Node: Invocation Examples90197
+Node: SCM Variables91157
+Node: SCM Session92637
+Node: Editing Scheme Code94168
+Node: Debugging Scheme Code96186
+Node: Debugging Continuations100451
+Node: Errors103011
+Node: Memoized Expressions107329
+Node: Internal State109693
+Node: Scripting112919
+Node: Unix Scheme Scripts113223
+Node: MS-DOS Compatible Scripts116255
+Node: Unix Shell Scripts118110
+Node: The Language120251
+Node: Standards Compliance120873
+Node: Storage123296
+Node: Time125776
+Node: Interrupts126792
+Node: Process Synchronization130425
+Node: Files and Ports131954
+Node: Opening and Closing132295
+Node: Port Properties134795
+Node: Port Redirection137932
+Node: Soft Ports139424
+Node: Eval and Load141206
+Node: Line Numbers142622
+Node: Lexical Conventions145045
+Node: Common-Lisp Read Syntax145307
+Node: Load Syntax147294
+Node: Documentation and Comments147914
+Node: Modifying Read Syntax149138
+Node: Syntax150861
+Node: Define and Set151765
+Node: Defmacro155299
+Node: Syntax-Rules156379
+Node: Macro Primitives158185
+Node: Environment Frames159824
+Node: Syntactic Hooks for Hygienic Macros162244
+Node: Packages169218
+Node: Dynamic Linking170098
+Node: Dump174777
+Node: Numeric178798
+Node: Arrays180614
+Node: Conventional Arrays180832
+Node: Uniform Array184371
+Node: Bit Vectors189183
+Node: Array Mapping190491
+Node: Records193184
+Node: I/O-Extensions194056
+Node: Posix Extensions202223
+Node: Unix Extensions211775
+Node: Sequence Comparison213676
+Node: Regular Expression Pattern Matching214006
+Node: Line Editing217984
+Node: Curses219345
+Node: Output Options Setting220280
+Node: Terminal Mode Setting222947
+Node: Window Manipulation226048
+Node: Output229533
+Node: Input233185
+Node: Curses Miscellany234229
+Node: Sockets235670
+Node: Host and Other Inquiries236033
+Node: Internet Addresses and Socket Names239174
+Node: Socket240747
+Node: SCMDB247964
+Node: The Implementation248202
+Node: Data Types248465
+Node: Immediates249294
+Node: Cells253676
+Node: Header Cells255794
+Node: Subr Cells259090
+Node: Ptob Cells261387
+Node: Smob Cells262956
+Node: Data Type Representations266179
+Node: Operations271058
+Node: Garbage Collection271652
+Node: Marking Cells272285
+Node: Sweeping the Heap274406
+Node: Memory Management for Environments275368
+Node: Signals279937
+Node: C Macros281498
+Node: Changing Scm282635
+Node: Defining Subrs287099
+Node: Defining Smobs288959
+Node: Defining Ptobs292016
+Node: Allocating memory293205
+Node: Embedding SCM295535
+Node: Callbacks303249
+Node: Type Conversions305070
+Node: Continuations309119
+Node: Evaluation313357
+Node: Program Self-Knowledge318540
+Node: File-System Habitat318794
+Node: Executable Pathname322407
+Node: Script Support324045
+Node: Improvements To Make325380
+Node: VMS Dynamic Linking327598
+Node: Index332311

End Tag Table
diff --git a/scm.nsi b/scm.nsi
index 0c06fc6..1954b05 100644
--- a/scm.nsi
+++ b/scm.nsi
@@ -4,8 +4,8 @@
; placed in the public domain
; *** version numbers ***
-!define PRODUCT_VERSION "5e4-1"
-!define REQ_SLIB_VERSION "3a5-1"
+!define PRODUCT_VERSION "5e5-1"
+!define REQ_SLIB_VERSION "3b1-1"
; ----------------[ NO CHANGES BELOW ]----------------
@@ -32,7 +32,7 @@
; MUI Settings
!define MUI_ABORTWARNING
-!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_ICON "SCM.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
; Welcome page
@@ -68,7 +68,7 @@ var ICONS_GROUP
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "SCM-${PRODUCT_VERSION}.exe"
+OutFile "scm-${PRODUCT_VERSION}.exe"
InstallDir "$PROGRAMFILES\scm"
InstallDirRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
@@ -100,10 +100,10 @@ FunctionEnd
Section "MainSection" SEC01
SetOutPath "$INSTDIR"
SetOverwrite try
- File "SCM.lnk"
File "scm.exe"
File "scm.html"
- File "Init5e4.scm"
+ File "SCM.ico"
+ File "Init5e5.scm"
File "Transcen.scm"
File "mkimpcat.scm"
File "hobbit.scm"
@@ -116,10 +116,10 @@ Section "MainSection" SEC01
; Shortcuts
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
- CreateShortCut "$DESKTOP\SCM.lnk" "$INSTDIR\scm.lnk"
+ CreateShortCut "$DESKTOP\SCM.lnk" "$INSTDIR\scm.exe" "" "$INSTDIR\SCM.ico"
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\SCM Manual.lnk" "$INSTDIR\scm.html"
- CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\SCM.lnk" "$INSTDIR\SCM.lnk"
+ CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\SCM.lnk" "$INSTDIR\scm.exe" "" "$INSTDIR\SCM.ico"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Hobbit Manual.lnk" "$INSTDIR\hobbit.html"
!insertmacro MUI_STARTMENU_WRITE_END
@@ -181,10 +181,16 @@ Section Uninstall
Delete "$INSTDIR\hobbit.scm"
Delete "$INSTDIR\mkimpcat.scm"
Delete "$INSTDIR\Transcen.scm"
- Delete "$INSTDIR\Init5e4.scm"
+ Delete "$INSTDIR\Init5e5.scm"
+ Delete "$INSTDIR\SCM.ico"
Delete "$INSTDIR\scm.html"
Delete "$INSTDIR\scm.exe"
- Delete "$INSTDIR\SCM.lnk"
+ Delete "$INSTDIR\scmlit.exe"
+ Delete "$INSTDIR\implcat"
+ Delete "$INSTDIR\slibcat"
+ Delete "$INSTDIR\tmp1"
+ Delete "$INSTDIR\tmp2"
+ Delete "$INSTDIR\tmp3"
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
diff --git a/scm.spec b/scm.spec
index 7bf1c10..9a1f57c 100644
--- a/scm.spec
+++ b/scm.spec
@@ -1,5 +1,5 @@
%define name scm
-%define version 5e4
+%define version 5e5
%define release 1
%define implpath %{prefix}/lib/scm
%define slibpath %{prefix}/lib/slib
@@ -19,9 +19,9 @@ Provides: scm
Requires: slib
Summary: SCM Scheme implementation
-Source: ftp://swiss.csail.mit.edu/pub/scm/scm%{version}.zip
+Source: ftp://swiss.csail.mit.edu/pub/scm/scm-%{version}.zip
URL: http://swiss.csail.mit.edu/~jaffer/SCM
-BuildRoot: %{_tmppath}/%{name}%{version}
+BuildRoot: %{_tmppath}/%{name}-%{version}
Prefix: /usr
%description
@@ -36,10 +36,10 @@ install with --nodeps.
%define __os_install_post /usr/lib/rpm/brp-compress
%prep
-rm -rf /var/tmp/%{name}%{version}
+rm -rf /var/tmp/%{name}-%{version}
%setup -n scm -c -T
cd ..
-unzip $RPM_SOURCE_DIR/scm%{version}.zip
+unzip $RPM_SOURCE_DIR/scm-%{version}.zip
%build
# SLIB is required to build SCM.
@@ -173,6 +173,7 @@ rm -f %{prefix}/bin/scm
%{prefix}/lib/scm/wbtab.scm
%{prefix}/lib/scm/rwb-isam.scm
%{prefix}/lib/scm/COPYING
+%{prefix}/lib/scm/COPYING.LESSER
%{prefix}/info/Xlibscm.info.gz
%{prefix}/info/hobbit.info.gz
%{prefix}/info/scm.info.gz
@@ -183,6 +184,6 @@ rm -f %{prefix}/bin/scm
%{prefix}/include/scmfig.h
%{prefix}/include/scmflags.h
-%doc ANNOUNCE COPYING QUICKREF README ChangeLog
+%doc ANNOUNCE COPYING COPYING.LESSER QUICKREF README ChangeLog
%changelog
diff --git a/scm.texi b/scm.texi
index b7f29a7..3547f12 100644
--- a/scm.texi
+++ b/scm.texi
@@ -13,25 +13,18 @@
@copying
@noindent
This manual is for SCM (version @value{SCMVERSION}, @value{SCMDATE}),
-and algorithmic language Scheme implementation.
+an implementation of the algorithmic language Scheme.
@noindent
Copyright @copyright{} 1990-2007 Free Software Foundation, Inc.
@quotation
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided that the entire
-resulting derived work is distributed under the terms of a permission
-notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions,
-except that this permission notice may be stated in a translation approved
-by the author.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
+copy of the license is included in the section entitled ``GNU Free
+Documentation License.''
@end quotation
@end copying
@@ -80,8 +73,10 @@ by the author.
@chapter Overview
@noindent
-Scm is a portable Scheme implementation written in C. Scm provides a
+SCM is a portable Scheme implementation written in C. SCM provides a
machine independent platform for [JACAL], a symbolic algebra system.
+SCM supports and requires the SLIB Scheme library. SCM, SLIB, and
+JACAL are GNU projects.
@iftex
@noindent
@@ -145,8 +140,7 @@ expression matching and the CURSES screen management package.
Available add-on packages including an interactive debugger, database,
X-window graphics, BGI graphics, Motif, and Open-Windows packages.
@item
-A compiler (HOBBIT, available separately) and dynamic linking of
-compiled modules.
+The Hobbit compiler and dynamic linking of compiled modules.
@item
User definable responses to interrupts and errors,
Process-syncronization primitives. Setable levels of monitoring and
@@ -194,88 +188,28 @@ Authors have assigned their SCM copyrights to:
@menu
* The SCM License::
* SIOD copyright::
+* GNU Free Documentation License:: Copying this Manual
@end menu
@node The SCM License, SIOD copyright, Copying, Copying
@subsection The SCM License
-The license of SCM consists of the GNU GPL plus a special statement
-giving blanket permission to link with non-free software. This is the
-license statement as found in any individual file that it applies to:
-
-@quotation
-This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the
-Free Software Foundation; either version 2, or (at your option) any
-later version.
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License along
-with this software; see the file COPYING. If not, write to the Free
-Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-02111-1307 USA
-
-As a special exception, the Free Software Foundation gives permission
-for additional uses of the text contained in its release of SCM.
-
-The exception is that, if you link the SCM library with other files to
-produce an executable, this does not by itself cause the resulting
-executable to be covered by the GNU General Public License. Your use of
-that executable is in no way restricted on account of linking the SCM
-library code into it.
-
-This exception does not however invalidate any other reasons why the
-executable file might be covered by the GNU General Public License.
-
-This exception applies only to the code released by the Free Software
-Foundation under the name SCM. If you copy code from other Free
-Software Foundation releases into a copy of SCM, as the General Public
-License permits, the exception does not apply to the code that you add
-in this way. To avoid misleading anyone as to the status of such
-modified files, you must delete this exception notice from them.
-
-If you write modifications of your own for SCM, it is your choice
-whether to permit this exception to apply to your modifications. If you
-do not wish that, delete this exception notice.
-@end quotation
+Lesser General Public License for more details.
-@noindent
-Permission to use, copy, modify, distribute, and sell this software and
-its documentation for any purpose is hereby granted without fee,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation.
+You should have received a copy of the GNU Lesser General Public
+License along with this program. If not, see
+@url{http://www.gnu.org/licenses/}.
-@center NO WARRANTY
-@noindent
-BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
-THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
-EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
-ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
-YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
-NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-@noindent
-IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
-DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
-DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
-(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
-INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
-THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
-OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-
-@node SIOD copyright, , The SCM License, Copying
+@node SIOD copyright, GNU Free Documentation License, The SCM License, Copying
@subsection SIOD copyright
@sp 1
@@ -313,6 +247,12 @@ Cambridge, MA 02138
@end flushleft
+@node GNU Free Documentation License, , SIOD copyright, Copying
+@subsection GNU Free Documentation License
+
+@include fdl.texi
+
+
@node Bibliography, , Copying, Overview
@section Bibliography
@@ -519,28 +459,28 @@ low priority. SLIB is available from the same sites as SCM:
@ifclear html
@itemize @bullet
@item
-swiss.csail.mit.edu:/pub/scm/slib3a5.tar.gz
+swiss.csail.mit.edu:/pub/scm/slib-3b1.tar.gz
@item
-ftp.gnu.org:/pub/gnu/jacal/slib3a5.tar.gz
+ftp.gnu.org:/pub/gnu/jacal/slib-3b1.tar.gz
@end itemize
@end ifclear
@ifset html
@itemize @bullet
@item
-<A HREF="http://swiss.csail.mit.edu/ftpdir/scm/slib3a5.zip">
-http://swiss.csail.mit.edu/ftpdir/scm/slib3a5.zip
+<A HREF="http://swiss.csail.mit.edu/ftpdir/scm/slib-3b1.zip">
+http://swiss.csail.mit.edu/ftpdir/scm/slib-3b1.zip
</A>
@item
-<A HREF="ftp://ftp.gnu.org/pub/gnu/jacal/slib3a5.tar.gz">
-ftp.gnu.org:/pub/gnu/jacal/slib3a5.tar.gz
+<A HREF="ftp://ftp.gnu.org/pub/gnu/jacal/slib-3b1.tar.gz">
+ftp.gnu.org:/pub/gnu/jacal/slib-3b1.tar.gz
</A>
@end itemize
@end ifset
@noindent
-Unpack SLIB (@samp{tar xzf slib3a5.tar.gz} or @samp{unzip -ao
-slib3a5.zip}) in an appropriate directory for your system; both
+Unpack SLIB (@samp{tar xzf slib-3b1.tar.gz} or @samp{unzip -ao
+slib-3b1.zip}) in an appropriate directory for your system; both
@code{tar} and @code{unzip} will create the directory @file{slib}.
@noindent
@@ -6305,6 +6245,7 @@ interface to the @dfn{X Window System}.
@code{(require 'hobbit)}
@code{(require 'compile)}
+
@ifset html
<A HREF="hobbit_toc.html">
@dfn{Hobbit}
diff --git a/scmfig.h b/scmfig.h
index 969f3ca..a8e8667 100644
--- a/scmfig.h
+++ b/scmfig.h
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990-2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "scmfig.h" system-dependent configuration.
+ * Copyright (C) 1990-2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "scmfig.h" system-dependent configuration.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#ifdef sequent
# include <strings.h>
diff --git a/scmhob.h b/scmhob.h
index 1e8e961..59b16f4 100644
--- a/scmhob.h
+++ b/scmhob.h
@@ -1,20 +1,22 @@
-/* scmhob.h is a header file for scheme source compiled with hobbit5x
- Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Tanel Tammet
+/* "scmhob.h" is a header file for scheme source compiled with hobbit5x
+ * Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-*/
+/* Author: Tanel Tammet */
#include "scm.h"
diff --git a/scmhob.scm b/scmhob.scm
index c1912c5..6c5fa9f 100644
--- a/scmhob.scm
+++ b/scmhob.scm
@@ -1,56 +1,12 @@
-;====================================================================
-;
-; scmhob.scm defines several procedures recognized
-; by the hobbit compiler as primitives, but not defined in scm or slib.
-;
-; Use scmhob when running code (meant for compilation by
-; hobbit) under interpreter. Never compile scmhob.scm!
-;
-; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Tanel Tammet
-; tammet@cs.chalmers.se
-;
-; version 5x
-;
-; This program is free software; you can redistribute it and/or modify
-; it under the terms of the GNU General Public License as published by
-; the Free Software Foundation; either version 1, or (at your option)
-; any later version.
-;
-; This program is distributed in the hope that it will be useful,
-; but WITHOUT ANY WARRANTY; without even the implied warranty of
-; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-; GNU General Public License for more details.
-;
-; You should have received a copy of the GNU General Public License
-; along with this program; if not, write to the Free Software
-; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;
-;====================================================================
+;;;; "scmhob.scm" Scheme runtime support for hobbit.
+;For interpretation of code meant for compilation by hobbit. Never compile!
; bitwise operations: logical shift left and logical shift right
-
-(define (logsleft x y) (ash x y))
-(define (logsright x y) (ash x (- 0 y)))
-
-(define logical:logand logand)
-(define logical:logior logior)
-(define logical:logxor logxor)
-(define logical:lognot lognot)
-
+(define (logsleft x y) (ash x y)) (define (logsright x y) (ash x (- 0 y)))
+(define logical:logand logand) (define logical:logior logior)
+(define logical:logxor logxor) (define logical:lognot lognot)
; immediate-integer (30-bit signed int) versions of arithmetic primitives:
-
-(define %eqv? eqv?)
-(define %zero? zero?)
-(define %negative? negative?)
-(define %positive? positive?)
-(define %number? number?)
-(define %= =)
-(define %< <)
-(define %> >)
-(define %<= <=)
-(define %>= >=)
-(define %+ +)
-(define %- -)
-(define %* *)
-(define %/ /)
-
+(define %number? number?) (define %eqv? eqv?) (define %zero? zero?)
+(define %negative? negative?) (define %positive? positive?)
+(define %= =) (define %< <) (define %> >) (define %<= <=) (define %>= >=)
+(define %+ +) (define %- -) (define %* *) (define %/ /)
diff --git a/scmmain.c b/scmmain.c
index 93c2985..85e2e09 100644
--- a/scmmain.c
+++ b/scmmain.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990-1999 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "scmmain.c" main() for SCM.
+ * Copyright (C) 1990-1999 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "scmmain.c" main() for SCM.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
/* added by Dai Inukai 2001-03-21*/
#ifdef __FreeBSD__
diff --git a/script.c b/script.c
index 7544284..5a80186 100644
--- a/script.c
+++ b/script.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994-1999 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "script.c" argv tricks for `#!' scripts.
+ * Copyright (C) 1994-1999 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "script.c" argv tricks for `#!' scripts.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include <ctype.h>
#include "scm.h"
diff --git a/setjump.h b/setjump.h
index dfacb84..e63423e 100644
--- a/setjump.h
+++ b/setjump.h
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "setjump.h" memory and stack parameters.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "setjump.h" memory and stack parameters.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
/* CELL_UP and CELL_DN are used by init_heap_seg to find cell aligned inner
bounds for allocated storage */
diff --git a/socket.c b/socket.c
index fdbcfa2..1c55553 100644
--- a/socket.c
+++ b/socket.c
@@ -1,49 +1,25 @@
-/* Copyright (C) 1994, 1995, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "socket.c" internet stream socket support for client/server in SCM
+ * Copyright (C) 1994, 1995, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "socket.c" internet stream socket support for client/server in SCM
- Author: Aubrey Jaffer.
- Thanks to Hallvard.Tretteberg@si.sintef.no
- who credits NCSA httpd software by Rob McCool 3/21/93
-*/
+/* Author: Aubrey Jaffer.
+ * Thanks to Hallvard.Tretteberg@si.sintef.no
+ * who credits NCSA httpd software by Rob McCool 3/21/93
+ */
#include "scm.h"
diff --git a/split.scm b/split.scm
index da6dfc9..9c02f46 100644
--- a/split.scm
+++ b/split.scm
@@ -1,44 +1,20 @@
+;;;; "split.scm", split input, output, and error streams into windows.
;; Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of GUILE.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the GUILE library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the GUILE library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name GUILE. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; GUILE, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for GUILE, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "split.scm", split input, output, and error streams into windows.
;;; Author: Aubrey Jaffer.
(require 'curses)
diff --git a/subr.c b/subr.c
index 6703d7c..95eed21 100644
--- a/subr.c
+++ b/subr.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "subr.c" integer and other Scheme procedures
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "subr.c" integer and other Scheme procedures
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include <ctype.h>
#include "scm.h"
diff --git a/syntest2.scm b/syntest2.scm
index 68633cf..3a162c4 100644
--- a/syntest2.scm
+++ b/syntest2.scm
@@ -1,42 +1,19 @@
+;;;; "syntest2.scm" Test macros.
;; Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of GUILE.
-;;
-;; The exception is that, if you link the GUILE library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the GUILE library code into it.
-;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name GUILE. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; GUILE, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for GUILE, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
(require 'macro)
diff --git a/sys.c b/sys.c
index 8a24c1c..bfef80e 100644
--- a/sys.c
+++ b/sys.c
@@ -1,46 +1,21 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2006 Free Software Foundation, Inc.
+/* "sys.c" opening and closing files, storage, and GC.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2006 Free Software Foundation, Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "sys.c" opening and closing files, storage, and GC. */
-
#include <ctype.h>
#include "scm.h"
diff --git a/time.c b/time.c
index 3efa19e..575518e 100644
--- a/time.c
+++ b/time.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "time.c" functions dealing with time.
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1997, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "time.c" functions dealing with time.
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
diff --git a/unexalpha.c b/unexalpha.c
index 69db5fd..b71ab1e 100644
--- a/unexalpha.c
+++ b/unexalpha.c
@@ -4,20 +4,19 @@
This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>. */
#ifndef emacs
diff --git a/unexec.c b/unexec.c
index f7ff9ca..3d03e4c 100644
--- a/unexec.c
+++ b/unexec.c
@@ -2,20 +2,19 @@
This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>. */
/*
diff --git a/unexelf.c b/unexelf.c
index 7f4c9b9..9a2933e 100644
--- a/unexelf.c
+++ b/unexelf.c
@@ -3,24 +3,19 @@
This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.
-
-In other words, you are welcome to use, share and improve this program.
-You are forbidden to forbid anyone else to use, share and improve
-what you give them. Help stamp out software-hoarding! */
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>. */
/*
diff --git a/unexsgi.c b/unexsgi.c
index 9c14441..22c7025 100644
--- a/unexsgi.c
+++ b/unexsgi.c
@@ -3,20 +3,19 @@
This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>.
In other words, you are welcome to use, share and improve this program.
You are forbidden to forbid anyone else to use, share and improve
diff --git a/unexsunos4.c b/unexsunos4.c
index bdc2033..40d9bad 100644
--- a/unexsunos4.c
+++ b/unexsunos4.c
@@ -3,20 +3,19 @@
This file is part of GNU Emacs.
-GNU Emacs is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs; see the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with GNU Emacs. If not, see
+<http://www.gnu.org/licenses/>. */
/* Contributed by Viktor Dukhovni. */
/*
diff --git a/unif.c b/unif.c
index e65ca21..490d2a7 100644
--- a/unif.c
+++ b/unif.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2006 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "unif.c" Uniform vectors and arrays
+ * Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2002, 2006 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "unif.c" Uniform vectors and arrays
- Authors: Aubrey Jaffer & Radey Shouman.
+/* Authors: Aubrey Jaffer & Radey Shouman.
The set of uniform vector types is:
Vector of: Called:
diff --git a/unix.c b/unix.c
index 24dfbe1..df24bd7 100644
--- a/unix.c
+++ b/unix.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "unix.c" functions only in Unix (unix).
+ * Copyright (C) 1994, 1995 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "unix.c" functions only in Unix (unix).
- Author: Aubrey Jaffer */
+/* Author: Aubrey Jaffer */
#include "scm.h"
diff --git a/version.txi b/version.txi
index 16a9b55..8c730ca 100644
--- a/version.txi
+++ b/version.txi
@@ -1,2 +1,2 @@
-@set SCMVERSION 5e4
-@set SCMDATE November 2007
+@set SCMVERSION 5e5
+@set SCMDATE February 2008
diff --git a/x.c b/x.c
index 0c13a52..d619724 100644
--- a/x.c
+++ b/x.c
@@ -1,46 +1,22 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of SCM.
- *
- * The exception is that, if you link the SCM library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the SCM library code into it.
+/* "x.c" SCM interface to Xlib.
+ * Copyright (C) 1999 Free Software Foundation, Inc.
*
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
*
- * This exception applies only to the code released by the
- * Free Software Foundation under the name SCM. If you copy
- * code from other Free Software Foundation releases into a copy of
- * SCM, as the General Public License permits, the exception does
- * not apply to the code that you add in this way. To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * If you write modifications of your own for SCM, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
-/* "x.c" SCM interface to Xlib.
- * Authors: Aubrey Jaffer (I have rewritten nearly all of it) and:
+/* Authors: Aubrey Jaffer (I have rewritten nearly all of it) and:
*
* Modified by Shigenobu Kimura (skimu@izanagi.phys.s.u-tokyo.ac.jp)
* Author: Larry Campbell (campbell@world.std.com)
diff --git a/x11.scm b/x11.scm
index c4ffe28..ad6691c 100644
--- a/x11.scm
+++ b/x11.scm
@@ -434,16 +434,16 @@
(define x:Queued-After-Reading 1)
(define x:Queued-After-Flush 2)
(define x:All-Planes -1)
-(define x:XN-Required-Char-Set 134531802)
-(define x:XN-Query-Orientation 134531841)
-(define x:XN-Base-Font-Name 134531881)
-(define x:XNOM-Automatic 134531914)
-(define x:XN-Missing-Char-Set 134531943)
-(define x:XN-Default-String 134531980)
-(define x:XN-Orientation 134532014)
-(define x:XN-Directional-Dependent-Drawing 134532043)
-(define x:XN-Contextual-Drawing 134532107)
-(define x:XN-Font-Info 134532149)
+(define x:XN-Required-Char-Set 134532633)
+(define x:XN-Query-Orientation 134532672)
+(define x:XN-Base-Font-Name 134532712)
+(define x:XNOM-Automatic 134532745)
+(define x:XN-Missing-Char-Set 134532774)
+(define x:XN-Default-String 134532811)
+(define x:XN-Orientation 134532845)
+(define x:XN-Directional-Dependent-Drawing 134532874)
+(define x:XN-Contextual-Drawing 134532939)
+(define x:XN-Font-Info 134532981)
(define x:XIM-Preedit-Area 1)
(define x:XIM-Preedit-Callbacks 2)
(define x:XIM-Preedit-Position 4)
@@ -453,48 +453,48 @@
(define x:XIM-Status-Callbacks 512)
(define x:XIM-Status-Nothing 1024)
(define x:XIM-Status-None 2048)
-(define x:XN-Va-Nested-List 134532360)
-(define x:XN-Query-Input-Style 134532395)
-(define x:XN-Client-Window 134532434)
-(define x:XN-Input-Style 134532466)
-(define x:XN-Focus-Window 134532494)
-(define x:XN-Resource-Name 134532524)
-(define x:XN-Resource-Class 134532556)
-(define x:XN-Geometry-Callback 134532590)
-(define x:XN-Destroy-Callback 134532630)
-(define x:XN-Filter-Events 134532668)
-(define x:XN-Preedit-Start-Callback 134532700)
-(define x:XN-Preedit-Done-Callback 134532749)
-(define x:XN-Preedit-Draw-Callback 134532796)
-(define x:XN-Preedit-Caret-Callback 134532843)
-(define x:XN-Preedit-State-Notify-Callback 134532892)
-(define x:XN-Preedit-Attributes 134532955)
-(define x:XN-Status-Start-Callback 134532997)
-(define x:XN-Status-Done-Callback 134533044)
-(define x:XN-Status-Draw-Callback 134533089)
-(define x:XN-Status-Attributes 134533134)
-(define x:XN-Area 134533174)
-(define x:XN-Area-Needed 134533189)
-(define x:XN-Spot-Location 134533217)
-(define x:XN-Colormap 134533249)
-(define x:XN-Std-Colormap 134533272)
-(define x:XN-Foreground 134533302)
-(define x:XN-Background 134533329)
-(define x:XN-Background-Pixmap 134533356)
-(define x:XN-Font-Set 134533396)
-(define x:XN-Line-Space 134533418)
-(define x:XN-Cursor 134533444)
-(define x:XN-Query-IM-Values-List 134533463)
-(define x:XN-Query-IC-Values-List 134533507)
-(define x:XN-Visible-Position 134533551)
-(define x:XNR6-Preedit-Callback 134533589)
-(define x:XN-String-Conversion-Callback 134533631)
-(define x:XN-String-Conversion 134533688)
-(define x:XN-Reset-State 134533728)
-(define x:XN-Hot-Key 134533756)
-(define x:XN-Hot-Key-State 134533776)
-(define x:XN-Preedit-State 134533807)
-(define x:XN-Separatorof-Nested-List 134533839)
+(define x:XN-Va-Nested-List 134533192)
+(define x:XN-Query-Input-Style 134533227)
+(define x:XN-Client-Window 134533266)
+(define x:XN-Input-Style 134533298)
+(define x:XN-Focus-Window 134533326)
+(define x:XN-Resource-Name 134533356)
+(define x:XN-Resource-Class 134533388)
+(define x:XN-Geometry-Callback 134533422)
+(define x:XN-Destroy-Callback 134533462)
+(define x:XN-Filter-Events 134533500)
+(define x:XN-Preedit-Start-Callback 134533532)
+(define x:XN-Preedit-Done-Callback 134533581)
+(define x:XN-Preedit-Draw-Callback 134533628)
+(define x:XN-Preedit-Caret-Callback 134533675)
+(define x:XN-Preedit-State-Notify-Callback 134533724)
+(define x:XN-Preedit-Attributes 134533787)
+(define x:XN-Status-Start-Callback 134533829)
+(define x:XN-Status-Done-Callback 134533876)
+(define x:XN-Status-Draw-Callback 134533921)
+(define x:XN-Status-Attributes 134533966)
+(define x:XN-Area 134534006)
+(define x:XN-Area-Needed 134534021)
+(define x:XN-Spot-Location 134534049)
+(define x:XN-Colormap 134534081)
+(define x:XN-Std-Colormap 134534104)
+(define x:XN-Foreground 134534134)
+(define x:XN-Background 134534161)
+(define x:XN-Background-Pixmap 134534188)
+(define x:XN-Font-Set 134534228)
+(define x:XN-Line-Space 134534250)
+(define x:XN-Cursor 134534276)
+(define x:XN-Query-IM-Values-List 134534295)
+(define x:XN-Query-IC-Values-List 134534339)
+(define x:XN-Visible-Position 134534383)
+(define x:XNR6-Preedit-Callback 134534421)
+(define x:XN-String-Conversion-Callback 134534463)
+(define x:XN-String-Conversion 134534520)
+(define x:XN-Reset-State 134534560)
+(define x:XN-Hot-Key 134534588)
+(define x:XN-Hot-Key-State 134534608)
+(define x:XN-Preedit-State 134534639)
+(define x:XN-Separatorof-Nested-List 134534671)
(define x:X-Buffer-Overflow -1)
(define x:X-Lookup-None 1)
(define x:X-Lookup-Chars 2)
diff --git a/xgen.scm b/xgen.scm
index 11071a4..8296775 100755
--- a/xgen.scm
+++ b/xgen.scm
@@ -1,46 +1,22 @@
#! /usr/local/bin/scm \ %0 %*
- !#
+;;;; "xgen.scm", Convert C Event structs to xevent.h and xevent.scm.
;; Copyright (C) 1991-2000 Free Software Foundation, Inc.
;;
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
-;; any later version.
-;;
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-;;
-;; You should have received a copy of the GNU General Public License
-;; along with this software; see the file COPYING. If not, write to
-;; the Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111, USA.
-;;
-;; As a special exception, the Free Software Foundation gives permission
-;; for additional uses of the text contained in its release of SCM.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Lesser General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
;;
-;; The exception is that, if you link the SCM library with other files
-;; to produce an executable, this does not by itself cause the
-;; resulting executable to be covered by the GNU General Public License.
-;; Your use of that executable is in no way restricted on account of
-;; linking the SCM library code into it.
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; Lesser General Public License for more details.
;;
-;; This exception does not however invalidate any other reasons why
-;; the executable file might be covered by the GNU General Public License.
-;;
-;; This exception applies only to the code released by the
-;; Free Software Foundation under the name SCM. If you copy
-;; code from other Free Software Foundation releases into a copy of
-;; SCM, as the General Public License permits, the exception does
-;; not apply to the code that you add in this way. To avoid misleading
-;; anyone as to the status of such modified files, you must delete
-;; this exception notice from them.
-;;
-;; If you write modifications of your own for SCM, it is your choice
-;; whether to permit this exception to apply to your modifications.
-;; If you do not wish that, delete this exception notice.
+;; You should have received a copy of the GNU Lesser General Public
+;; License along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
-;;;; "xgen.scm", Convert C Event structs to xevent.h and xevent.scm.
;;; Author: Aubrey Jaffer.
(define (xgen.scm args)