*** empty log message ***
[bpt/guile.git] / NEWS
CommitLineData
f7b47737
JB
1Guile NEWS --- history of user-visible changes. -*- text -*-
2Copyright (C) 1996, 1997 Free Software Foundation, Inc.
5c54da76
JB
3See the end for copying conditions.
4
16f2ebea 5Please send Guile bug reports to bug-guile@prep.ai.mit.edu.
5c54da76 6\f
737c9113 7Changes in Guile 1.2:
cf78e9e8 8
737c9113
JB
9[[trim out any sections we don't need]]
10
11* Changes to the distribution
12
832b09ed
JB
13** Nightly snapshots are now available from ftp.red-bean.com.
14The old server, ftp.cyclic.com, has been relinquished to its rightful
15owner.
16
17Nightly snapshots of the Guile development sources are now available via
18anonymous FTP from ftp.red-bean.com, as /pub/guile/guile-snap.tar.gz.
19
20Via the web, that's: ftp://ftp.red-bean.com/pub/guile/guile-snap.tar.gz
21For getit, that's: ftp.red-bean.com:/pub/guile/guile-snap.tar.gz
22
737c9113
JB
23* Changes to the procedure for linking libguile with your programs
24
27590f82
JB
25** Like Guile 1.1, Guile 1.2 will now use the Rx regular expression
26library, if it is installed on your system. When you are linking
27libguile into your own programs, this means you will have to link
28against -lguile, -lqt (if you configured Guile with thread support),
29and -lrx.
30
31If you are using autoconf to generate configuration scripts for your
32application, the following lines should suffice to add the appropriate
33libraries to your link command:
34
35### Find Rx, quickthreads and libguile.
36AC_CHECK_LIB(rx, main)
37AC_CHECK_LIB(qt, main)
38AC_CHECK_LIB(guile, scm_shell)
39
b83b8bee
JB
40* Changes to Scheme functions and syntax
41
27590f82
JB
42** The #/ syntax for module names is depreciated, and will be removed
43in a future version of Guile. Instead of
44
45 #/foo/bar/baz
46
47instead write
48
49 (foo bar baz)
50
51The latter syntax is more consistent with existing Lisp practice.
52
5dade857
MV
53** Guile now does fancier printing of structures. Structures are the
54underlying implementation for records, which in turn are used to
55implement modules, so all of these object now print differently and in
56a more informative way.
57
58The Scheme printer will examine the builtin variable
59*struct-printer* whenever it needs to print a structure object. When
60this variable is not `#f' it is deemed to be a procedure and will be
61applied to the structure object and the output port. When
62*struct-printer* is `#f' or the procedure return `#f' the structure
63object will be printed in the boring #<struct 80458270> form.
64
65This hook is used by some routines in ice-9/boot-9.scm to implement
66type specific printing routines. Please read the comments there about
67"printing structs".
68
69One of the more specific uses of structs are records. The printing
70procedure that could be passed to MAKE-RECORD-TYPE is now actually
71called. It should behave like a *struct-printer* procedure (described
72above).
73
b83b8bee
JB
74** Guile now supports a new R4RS-compliant syntax for keywords. A
75token of the form #:NAME, where NAME has the same syntax as a Scheme
76symbol, is the external representation of the keyword named NAME.
77Keyword objects print using this syntax as well, so values containing
1e5afba0
JB
78keyword objects can be read back into Guile. When used in an
79expression, keywords are self-quoting objects.
b83b8bee
JB
80
81Guile suports this read syntax, and uses this print syntax, regardless
82of the current setting of the `keyword' read option. The `keyword'
83read option only controls whether Guile recognizes the `:NAME' syntax,
84which is incompatible with R4RS. (R4RS says such token represent
85symbols.)
737c9113
JB
86
87** Guile has regular expression support again. Guile 1.0 included
88functions for matching regular expressions, based on the Rx library.
89In Guile 1.1, the Guile/Rx interface was removed to simplify the
90distribution, and thus Guile had no regular expression support. Guile
911.2 now adds back the most commonly used functions, and supports all
92of SCSH's regular expression functions. They are:
93
94*** [[get docs from Tim?]]
95
96* Changes to the gh_ interface
97
98* Changes to the scm_ interface
cf78e9e8 99
e1a191a8
GH
100* Changes to system call interfaces:
101
102** The value returned by `raise' is now unspecified. It throws an exception
103if an error occurs.
104
105** A new procedure `sigaction' can be used to install signal handlers
115b09a5
GH
106
107(sigaction signum [action] [flags])
108
109signum is the signal number, which can be specified using the value
110of SIGINT etc.
111
112If action is omitted, sigaction returns a pair: the CAR is the current
113signal hander, which will be either an integer with the value SIG_DFL
114(default action) or SIG_IGN (ignore), or the Scheme procedure which
115handles the signal, or #f if a non-Scheme procedure handles the
116signal. The CDR contains the current sigaction flags for the handler.
117
118If action is provided, it is installed as the new handler for signum.
119action can be a Scheme procedure taking one argument, or the value of
120SIG_DFL (default action) or SIG_IGN (ignore), or #f to restore
121whatever signal handler was installed before sigaction was first used.
122Flags can optionally be specified for the new handler (SA_RESTART is
123always used if the system provides it, so need not be specified.) The
124return value is a pair with information about the old handler as
125described above.
126
127This interface does not provide access to the "signal blocking"
128facility. Maybe this is not needed, since the thread support may
129provide solutions to the problem of consistent access to data
130structures.
e1a191a8 131
cf78e9e8
JB
132\f
133Changes in Guile 1.1 (Fri May 16 1997):
f3b1485f
JB
134
135* Changes to the distribution.
136
137The Guile 1.0 distribution has been split up into several smaller
138pieces:
139guile-core --- the Guile interpreter itself.
140guile-tcltk --- the interface between the Guile interpreter and
141 Tcl/Tk; Tcl is an interpreter for a stringy language, and Tk
142 is a toolkit for building graphical user interfaces.
143guile-rgx-ctax --- the interface between Guile and the Rx regular
144 expression matcher, and the translator for the Ctax
145 programming language. These are packaged together because the
146 Ctax translator uses Rx to parse Ctax source code.
147
095936d2
JB
148This NEWS file describes the changes made to guile-core since the 1.0
149release.
150
48d224d7
JB
151We no longer distribute the documentation, since it was either out of
152date, or incomplete. As soon as we have current documentation, we
153will distribute it.
154
f3b1485f
JB
155* Changes to the stand-alone interpreter
156
48d224d7
JB
157** guile now accepts command-line arguments compatible with SCSH, Olin
158Shivers' Scheme Shell.
159
160In general, arguments are evaluated from left to right, but there are
161exceptions. The following switches stop argument processing, and
162stash all remaining command-line arguments as the value returned by
163the (command-line) function.
164 -s SCRIPT load Scheme source code from FILE, and exit
165 -c EXPR evalute Scheme expression EXPR, and exit
166 -- stop scanning arguments; run interactively
167
168The switches below are processed as they are encountered.
169 -l FILE load Scheme source code from FILE
170 -e FUNCTION after reading script, apply FUNCTION to
171 command line arguments
172 -ds do -s script at this point
173 --emacs enable Emacs protocol (experimental)
174 -h, --help display this help and exit
175 -v, --version display version information and exit
176 \ read arguments from following script lines
177
178So, for example, here is a Guile script named `ekko' (thanks, Olin)
179which re-implements the traditional "echo" command:
180
181#!/usr/local/bin/guile -s
182!#
183(define (main args)
184 (map (lambda (arg) (display arg) (display " "))
185 (cdr args))
186 (newline))
187
188(main (command-line))
189
190Suppose we invoke this script as follows:
191
192 ekko a speckled gecko
193
194Through the magic of Unix script processing (triggered by the `#!'
195token at the top of the file), /usr/local/bin/guile receives the
196following list of command-line arguments:
197
198 ("-s" "./ekko" "a" "speckled" "gecko")
199
200Unix inserts the name of the script after the argument specified on
201the first line of the file (in this case, "-s"), and then follows that
202with the arguments given to the script. Guile loads the script, which
203defines the `main' function, and then applies it to the list of
204remaining command-line arguments, ("a" "speckled" "gecko").
205
095936d2
JB
206In Unix, the first line of a script file must take the following form:
207
208#!INTERPRETER ARGUMENT
209
210where INTERPRETER is the absolute filename of the interpreter
211executable, and ARGUMENT is a single command-line argument to pass to
212the interpreter.
213
214You may only pass one argument to the interpreter, and its length is
215limited. These restrictions can be annoying to work around, so Guile
216provides a general mechanism (borrowed from, and compatible with,
217SCSH) for circumventing them.
218
219If the ARGUMENT in a Guile script is a single backslash character,
220`\', Guile will open the script file, parse arguments from its second
221and subsequent lines, and replace the `\' with them. So, for example,
222here is another implementation of the `ekko' script:
223
224#!/usr/local/bin/guile \
225-e main -s
226!#
227(define (main args)
228 (for-each (lambda (arg) (display arg) (display " "))
229 (cdr args))
230 (newline))
231
232If the user invokes this script as follows:
233
234 ekko a speckled gecko
235
236Unix expands this into
237
238 /usr/local/bin/guile \ ekko a speckled gecko
239
240When Guile sees the `\' argument, it replaces it with the arguments
241read from the second line of the script, producing:
242
243 /usr/local/bin/guile -e main -s ekko a speckled gecko
244
245This tells Guile to load the `ekko' script, and apply the function
246`main' to the argument list ("a" "speckled" "gecko").
247
248Here is how Guile parses the command-line arguments:
249- Each space character terminates an argument. This means that two
250 spaces in a row introduce an empty-string argument.
251- The tab character is not permitted (unless you quote it with the
252 backslash character, as described below), to avoid confusion.
253- The newline character terminates the sequence of arguments, and will
254 also terminate a final non-empty argument. (However, a newline
255 following a space will not introduce a final empty-string argument;
256 it only terminates the argument list.)
257- The backslash character is the escape character. It escapes
258 backslash, space, tab, and newline. The ANSI C escape sequences
259 like \n and \t are also supported. These produce argument
260 constituents; the two-character combination \n doesn't act like a
261 terminating newline. The escape sequence \NNN for exactly three
262 octal digits reads as the character whose ASCII code is NNN. As
263 above, characters produced this way are argument constituents.
264 Backslash followed by other characters is not allowed.
265
48d224d7
JB
266* Changes to the procedure for linking libguile with your programs
267
268** Guile now builds and installs a shared guile library, if your
269system support shared libraries. (It still builds a static library on
270all systems.) Guile automatically detects whether your system
271supports shared libraries. To prevent Guile from buildisg shared
272libraries, pass the `--disable-shared' flag to the configure script.
273
274Guile takes longer to compile when it builds shared libraries, because
275it must compile every file twice --- once to produce position-
276independent object code, and once to produce normal object code.
277
278** The libthreads library has been merged into libguile.
279
280To link a program against Guile, you now need only link against
281-lguile and -lqt; -lthreads is no longer needed. If you are using
282autoconf to generate configuration scripts for your application, the
283following lines should suffice to add the appropriate libraries to
284your link command:
285
286### Find quickthreads and libguile.
287AC_CHECK_LIB(qt, main)
288AC_CHECK_LIB(guile, scm_shell)
f3b1485f
JB
289
290* Changes to Scheme functions
291
095936d2
JB
292** Guile Scheme's special syntax for keyword objects is now optional,
293and disabled by default.
294
295The syntax variation from R4RS made it difficult to port some
296interesting packages to Guile. The routines which accepted keyword
297arguments (mostly in the module system) have been modified to also
298accept symbols whose names begin with `:'.
299
300To change the keyword syntax, you must first import the (ice-9 debug)
301module:
302 (use-modules (ice-9 debug))
303
304Then you can enable the keyword syntax as follows:
305 (read-set! keywords 'prefix)
306
307To disable keyword syntax, do this:
308 (read-set! keywords #f)
309
310** Many more primitive functions accept shared substrings as
311arguments. In the past, these functions required normal, mutable
312strings as arguments, although they never made use of this
313restriction.
314
315** The uniform array functions now operate on byte vectors. These
316functions are `array-fill!', `serial-array-copy!', `array-copy!',
317`serial-array-map', `array-map', `array-for-each', and
318`array-index-map!'.
319
320** The new functions `trace' and `untrace' implement simple debugging
321support for Scheme functions.
322
323The `trace' function accepts any number of procedures as arguments,
324and tells the Guile interpreter to display each procedure's name and
325arguments each time the procedure is invoked. When invoked with no
326arguments, `trace' returns the list of procedures currently being
327traced.
328
329The `untrace' function accepts any number of procedures as arguments,
330and tells the Guile interpreter not to trace them any more. When
331invoked with no arguments, `untrace' untraces all curretly traced
332procedures.
333
334The tracing in Guile has an advantage over most other systems: we
335don't create new procedure objects, but mark the procedure objects
336themselves. This means that anonymous and internal procedures can be
337traced.
338
339** The function `assert-repl-prompt' has been renamed to
340`set-repl-prompt!'. It takes one argument, PROMPT.
341- If PROMPT is #f, the Guile read-eval-print loop will not prompt.
342- If PROMPT is a string, we use it as a prompt.
343- If PROMPT is a procedure accepting no arguments, we call it, and
344 display the result as a prompt.
345- Otherwise, we display "> ".
346
347** The new function `eval-string' reads Scheme expressions from a
348string and evaluates them, returning the value of the last expression
349in the string. If the string contains no expressions, it returns an
350unspecified value.
351
352** The new function `thunk?' returns true iff its argument is a
353procedure of zero arguments.
354
355** `defined?' is now a builtin function, instead of syntax. This
356means that its argument should be quoted. It returns #t iff its
357argument is bound in the current module.
358
359** The new syntax `use-modules' allows you to add new modules to your
360environment without re-typing a complete `define-module' form. It
361accepts any number of module names as arguments, and imports their
362public bindings into the current module.
363
364** The new function (module-defined? NAME MODULE) returns true iff
365NAME, a symbol, is defined in MODULE, a module object.
366
367** The new function `builtin-bindings' creates and returns a hash
368table containing copies of all the root module's bindings.
369
370** The new function `builtin-weak-bindings' does the same as
371`builtin-bindings', but creates a doubly-weak hash table.
372
373** The `equal?' function now considers variable objects to be
374equivalent if they have the same name and the same value.
375
376** The new function `command-line' returns the command-line arguments
377given to Guile, as a list of strings.
378
379When using guile as a script interpreter, `command-line' returns the
380script's arguments; those processed by the interpreter (like `-s' or
381`-c') are omitted. (In other words, you get the normal, expected
382behavior.) Any application that uses scm_shell to process its
383command-line arguments gets this behavior as well.
384
385** The new function `load-user-init' looks for a file called `.guile'
386in the user's home directory, and loads it if it exists. This is
387mostly for use by the code generated by scm_compile_shell_switches,
388but we thought it might also be useful in other circumstances.
389
390** The new function `log10' returns the base-10 logarithm of its
391argument.
392
393** Changes to I/O functions
394
395*** The functions `read', `primitive-load', `read-and-eval!', and
396`primitive-load-path' no longer take optional arguments controlling
397case insensitivity and a `#' parser.
398
399Case sensitivity is now controlled by a read option called
400`case-insensitive'. The user can add new `#' syntaxes with the
401`read-hash-extend' function (see below).
402
403*** The new function `read-hash-extend' allows the user to change the
404syntax of Guile Scheme in a somewhat controlled way.
405
406(read-hash-extend CHAR PROC)
407 When parsing S-expressions, if we read a `#' character followed by
408 the character CHAR, use PROC to parse an object from the stream.
409 If PROC is #f, remove any parsing procedure registered for CHAR.
410
411 The reader applies PROC to two arguments: CHAR and an input port.
412
413*** The new functions read-delimited and read-delimited! provide a
414general mechanism for doing delimited input on streams.
415
416(read-delimited DELIMS [PORT HANDLE-DELIM])
417 Read until we encounter one of the characters in DELIMS (a string),
418 or end-of-file. PORT is the input port to read from; it defaults to
419 the current input port. The HANDLE-DELIM parameter determines how
420 the terminating character is handled; it should be one of the
421 following symbols:
422
423 'trim omit delimiter from result
424 'peek leave delimiter character in input stream
425 'concat append delimiter character to returned value
426 'split return a pair: (RESULT . TERMINATOR)
427
428 HANDLE-DELIM defaults to 'peek.
429
430(read-delimited! DELIMS BUF [PORT HANDLE-DELIM START END])
431 A side-effecting variant of `read-delimited'.
432
433 The data is written into the string BUF at the indices in the
434 half-open interval [START, END); the default interval is the whole
435 string: START = 0 and END = (string-length BUF). The values of
436 START and END must specify a well-defined interval in BUF, i.e.
437 0 <= START <= END <= (string-length BUF).
438
439 It returns NBYTES, the number of bytes read. If the buffer filled
440 up without a delimiter character being found, it returns #f. If the
441 port is at EOF when the read starts, it returns the EOF object.
442
443 If an integer is returned (i.e., the read is successfully terminated
444 by reading a delimiter character), then the HANDLE-DELIM parameter
445 determines how to handle the terminating character. It is described
446 above, and defaults to 'peek.
447
448(The descriptions of these functions were borrowed from the SCSH
449manual, by Olin Shivers and Brian Carlstrom.)
450
451*** The `%read-delimited!' function is the primitive used to implement
452`read-delimited' and `read-delimited!'.
453
454(%read-delimited! DELIMS BUF GOBBLE? [PORT START END])
455
456This returns a pair of values: (TERMINATOR . NUM-READ).
457- TERMINATOR describes why the read was terminated. If it is a
458 character or the eof object, then that is the value that terminated
459 the read. If it is #f, the function filled the buffer without finding
460 a delimiting character.
461- NUM-READ is the number of characters read into BUF.
462
463If the read is successfully terminated by reading a delimiter
464character, then the gobble? parameter determines what to do with the
465terminating character. If true, the character is removed from the
466input stream; if false, the character is left in the input stream
467where a subsequent read operation will retrieve it. In either case,
468the character is also the first value returned by the procedure call.
469
470(The descriptions of this function was borrowed from the SCSH manual,
471by Olin Shivers and Brian Carlstrom.)
472
473*** The `read-line' and `read-line!' functions have changed; they now
474trim the terminator by default; previously they appended it to the
475returned string. For the old behavior, use (read-line PORT 'concat).
476
477*** The functions `uniform-array-read!' and `uniform-array-write!' now
478take new optional START and END arguments, specifying the region of
479the array to read and write.
480
f348c807
JB
481*** The `ungetc-char-ready?' function has been removed. We feel it's
482inappropriate for an interface to expose implementation details this
483way.
095936d2
JB
484
485** Changes to the Unix library and system call interface
486
487*** The new fcntl function provides access to the Unix `fcntl' system
488call.
489
490(fcntl PORT COMMAND VALUE)
491 Apply COMMAND to PORT's file descriptor, with VALUE as an argument.
492 Values for COMMAND are:
493
494 F_DUPFD duplicate a file descriptor
495 F_GETFD read the descriptor's close-on-exec flag
496 F_SETFD set the descriptor's close-on-exec flag to VALUE
497 F_GETFL read the descriptor's flags, as set on open
498 F_SETFL set the descriptor's flags, as set on open to VALUE
499 F_GETOWN return the process ID of a socket's owner, for SIGIO
500 F_SETOWN set the process that owns a socket to VALUE, for SIGIO
501 FD_CLOEXEC not sure what this is
502
503For details, see the documentation for the fcntl system call.
504
505*** The arguments to `select' have changed, for compatibility with
506SCSH. The TIMEOUT parameter may now be non-integral, yielding the
507expected behavior. The MILLISECONDS parameter has been changed to
508MICROSECONDS, to more closely resemble the underlying system call.
509The RVEC, WVEC, and EVEC arguments can now be vectors; the type of the
510corresponding return set will be the same.
511
512*** The arguments to the `mknod' system call have changed. They are
513now:
514
515(mknod PATH TYPE PERMS DEV)
516 Create a new file (`node') in the file system. PATH is the name of
517 the file to create. TYPE is the kind of file to create; it should
518 be 'fifo, 'block-special, or 'char-special. PERMS specifies the
519 permission bits to give the newly created file. If TYPE is
520 'block-special or 'char-special, DEV specifies which device the
521 special file refers to; its interpretation depends on the kind of
522 special file being created.
523
524*** The `fork' function has been renamed to `primitive-fork', to avoid
525clashing with various SCSH forks.
526
527*** The `recv' and `recvfrom' functions have been renamed to `recv!'
528and `recvfrom!'. They no longer accept a size for a second argument;
529you must pass a string to hold the received value. They no longer
530return the buffer. Instead, `recv' returns the length of the message
531received, and `recvfrom' returns a pair containing the packet's length
532and originating address.
533
534*** The file descriptor datatype has been removed, as have the
535`read-fd', `write-fd', `close', `lseek', and `dup' functions.
536We plan to replace these functions with a SCSH-compatible interface.
537
538*** The `create' function has been removed; it's just a special case
539of `open'.
540
541*** There are new functions to break down process termination status
542values. In the descriptions below, STATUS is a value returned by
543`waitpid'.
544
545(status:exit-val STATUS)
546 If the child process exited normally, this function returns the exit
547 code for the child process (i.e., the value passed to exit, or
548 returned from main). If the child process did not exit normally,
549 this function returns #f.
550
551(status:stop-sig STATUS)
552 If the child process was suspended by a signal, this function
553 returns the signal that suspended the child. Otherwise, it returns
554 #f.
555
556(status:term-sig STATUS)
557 If the child process terminated abnormally, this function returns
558 the signal that terminated the child. Otherwise, this function
559 returns false.
560
561POSIX promises that exactly one of these functions will return true on
562a valid STATUS value.
563
564These functions are compatible with SCSH.
565
566*** There are new accessors and setters for the broken-out time vectors
48d224d7
JB
567returned by `localtime', `gmtime', and that ilk. They are:
568
569 Component Accessor Setter
570 ========================= ============ ============
571 seconds tm:sec set-tm:sec
572 minutes tm:min set-tm:min
573 hours tm:hour set-tm:hour
574 day of the month tm:mday set-tm:mday
575 month tm:mon set-tm:mon
576 year tm:year set-tm:year
577 day of the week tm:wday set-tm:wday
578 day in the year tm:yday set-tm:yday
579 daylight saving time tm:isdst set-tm:isdst
580 GMT offset, seconds tm:gmtoff set-tm:gmtoff
581 name of time zone tm:zone set-tm:zone
582
095936d2
JB
583*** There are new accessors for the vectors returned by `uname',
584describing the host system:
48d224d7
JB
585
586 Component Accessor
587 ============================================== ================
588 name of the operating system implementation utsname:sysname
589 network name of this machine utsname:nodename
590 release level of the operating system utsname:release
591 version level of the operating system utsname:version
592 machine hardware platform utsname:machine
593
095936d2
JB
594*** There are new accessors for the vectors returned by `getpw',
595`getpwnam', `getpwuid', and `getpwent', describing entries from the
596system's user database:
597
598 Component Accessor
599 ====================== =================
600 user name passwd:name
601 user password passwd:passwd
602 user id passwd:uid
603 group id passwd:gid
604 real name passwd:gecos
605 home directory passwd:dir
606 shell program passwd:shell
607
608*** There are new accessors for the vectors returned by `getgr',
609`getgrnam', `getgrgid', and `getgrent', describing entries from the
610system's group database:
611
612 Component Accessor
613 ======================= ============
614 group name group:name
615 group password group:passwd
616 group id group:gid
617 group members group:mem
618
619*** There are new accessors for the vectors returned by `gethost',
620`gethostbyaddr', `gethostbyname', and `gethostent', describing
621internet hosts:
622
623 Component Accessor
624 ========================= ===============
625 official name of host hostent:name
626 alias list hostent:aliases
627 host address type hostent:addrtype
628 length of address hostent:length
629 list of addresses hostent:addr-list
630
631*** There are new accessors for the vectors returned by `getnet',
632`getnetbyaddr', `getnetbyname', and `getnetent', describing internet
633networks:
634
635 Component Accessor
636 ========================= ===============
637 official name of net netent:name
638 alias list netent:aliases
639 net number type netent:addrtype
640 net number netent:net
641
642*** There are new accessors for the vectors returned by `getproto',
643`getprotobyname', `getprotobynumber', and `getprotoent', describing
644internet protocols:
645
646 Component Accessor
647 ========================= ===============
648 official protocol name protoent:name
649 alias list protoent:aliases
650 protocol number protoent:proto
651
652*** There are new accessors for the vectors returned by `getserv',
653`getservbyname', `getservbyport', and `getservent', describing
654internet protocols:
655
656 Component Accessor
657 ========================= ===============
658 official service name servent:name
659 alias list servent:aliases
660 port number servent:port
661 protocol to use servent:proto
662
663*** There are new accessors for the sockaddr structures returned by
664`accept', `getsockname', `getpeername', `recvfrom!':
665
666 Component Accessor
667 ======================================== ===============
668 address format (`family') sockaddr:fam
669 path, for file domain addresses sockaddr:path
670 address, for internet domain addresses sockaddr:addr
671 TCP or UDP port, for internet sockaddr:port
672
673*** The `getpwent', `getgrent', `gethostent', `getnetent',
674`getprotoent', and `getservent' functions now return #f at the end of
675the user database. (They used to throw an exception.)
676
677Note that calling MUMBLEent function is equivalent to calling the
678corresponding MUMBLE function with no arguments.
679
680*** The `setpwent', `setgrent', `sethostent', `setnetent',
681`setprotoent', and `setservent' routines now take no arguments.
682
683*** The `gethost', `getproto', `getnet', and `getserv' functions now
684provide more useful information when they throw an exception.
685
686*** The `lnaof' function has been renamed to `inet-lnaof'.
687
688*** Guile now claims to have the `current-time' feature.
689
690*** The `mktime' function now takes an optional second argument ZONE,
691giving the time zone to use for the conversion. ZONE should be a
692string, in the same format as expected for the "TZ" environment variable.
693
694*** The `strptime' function now returns a pair (TIME . COUNT), where
695TIME is the parsed time as a vector, and COUNT is the number of
696characters from the string left unparsed. This function used to
697return the remaining characters as a string.
698
699*** The `gettimeofday' function has replaced the old `time+ticks' function.
700The return value is now (SECONDS . MICROSECONDS); the fractional
701component is no longer expressed in "ticks".
702
703*** The `ticks/sec' constant has been removed, in light of the above change.
6685dc83 704
ea00ecba
MG
705* Changes to the gh_ interface
706
707** gh_eval_str() now returns an SCM object which is the result of the
708evaluation
709
aaef0d2a
MG
710** gh_scm2str() now copies the Scheme data to a caller-provided C
711array
712
713** gh_scm2newstr() now makes a C array, copies the Scheme data to it,
714and returns the array
715
716** gh_scm2str0() is gone: there is no need to distinguish
717null-terminated from non-null-terminated, since gh_scm2newstr() allows
718the user to interpret the data both ways.
719
f3b1485f
JB
720* Changes to the scm_ interface
721
095936d2
JB
722** The new function scm_symbol_value0 provides an easy way to get a
723symbol's value from C code:
724
725SCM scm_symbol_value0 (char *NAME)
726 Return the value of the symbol named by the null-terminated string
727 NAME in the current module. If the symbol named NAME is unbound in
728 the current module, return SCM_UNDEFINED.
729
730** The new function scm_sysintern0 creates new top-level variables,
731without assigning them a value.
732
733SCM scm_sysintern0 (char *NAME)
734 Create a new Scheme top-level variable named NAME. NAME is a
735 null-terminated string. Return the variable's value cell.
736
737** The function scm_internal_catch is the guts of catch. It handles
738all the mechanics of setting up a catch target, invoking the catch
739body, and perhaps invoking the handler if the body does a throw.
740
741The function is designed to be usable from C code, but is general
742enough to implement all the semantics Guile Scheme expects from throw.
743
744TAG is the catch tag. Typically, this is a symbol, but this function
745doesn't actually care about that.
746
747BODY is a pointer to a C function which runs the body of the catch;
748this is the code you can throw from. We call it like this:
749 BODY (BODY_DATA, JMPBUF)
750where:
751 BODY_DATA is just the BODY_DATA argument we received; we pass it
752 through to BODY as its first argument. The caller can make
753 BODY_DATA point to anything useful that BODY might need.
754 JMPBUF is the Scheme jmpbuf object corresponding to this catch,
755 which we have just created and initialized.
756
757HANDLER is a pointer to a C function to deal with a throw to TAG,
758should one occur. We call it like this:
759 HANDLER (HANDLER_DATA, THROWN_TAG, THROW_ARGS)
760where
761 HANDLER_DATA is the HANDLER_DATA argument we recevied; it's the
762 same idea as BODY_DATA above.
763 THROWN_TAG is the tag that the user threw to; usually this is
764 TAG, but it could be something else if TAG was #t (i.e., a
765 catch-all), or the user threw to a jmpbuf.
766 THROW_ARGS is the list of arguments the user passed to the THROW
767 function.
768
769BODY_DATA is just a pointer we pass through to BODY. HANDLER_DATA
770is just a pointer we pass through to HANDLER. We don't actually
771use either of those pointers otherwise ourselves. The idea is
772that, if our caller wants to communicate something to BODY or
773HANDLER, it can pass a pointer to it as MUMBLE_DATA, which BODY and
774HANDLER can then use. Think of it as a way to make BODY and
775HANDLER closures, not just functions; MUMBLE_DATA points to the
776enclosed variables.
777
778Of course, it's up to the caller to make sure that any data a
779MUMBLE_DATA needs is protected from GC. A common way to do this is
780to make MUMBLE_DATA a pointer to data stored in an automatic
781structure variable; since the collector must scan the stack for
782references anyway, this assures that any references in MUMBLE_DATA
783will be found.
784
785** The new function scm_internal_lazy_catch is exactly like
786scm_internal_catch, except:
787
788- It does not unwind the stack (this is the major difference).
789- If handler returns, its value is returned from the throw.
790- BODY always receives #f as its JMPBUF argument (since there's no
791 jmpbuf associated with a lazy catch, because we don't unwind the
792 stack.)
793
794** scm_body_thunk is a new body function you can pass to
795scm_internal_catch if you want the body to be like Scheme's `catch'
796--- a thunk, or a function of one argument if the tag is #f.
797
798BODY_DATA is a pointer to a scm_body_thunk_data structure, which
799contains the Scheme procedure to invoke as the body, and the tag
800we're catching. If the tag is #f, then we pass JMPBUF (created by
801scm_internal_catch) to the body procedure; otherwise, the body gets
802no arguments.
803
804** scm_handle_by_proc is a new handler function you can pass to
805scm_internal_catch if you want the handler to act like Scheme's catch
806--- call a procedure with the tag and the throw arguments.
807
808If the user does a throw to this catch, this function runs a handler
809procedure written in Scheme. HANDLER_DATA is a pointer to an SCM
810variable holding the Scheme procedure object to invoke. It ought to
811be a pointer to an automatic variable (i.e., one living on the stack),
812or the procedure object should be otherwise protected from GC.
813
814** scm_handle_by_message is a new handler function to use with
815`scm_internal_catch' if you want Guile to print a message and die.
816It's useful for dealing with throws to uncaught keys at the top level.
817
818HANDLER_DATA, if non-zero, is assumed to be a char * pointing to a
819message header to print; if zero, we use "guile" instead. That
820text is followed by a colon, then the message described by ARGS.
821
822** The return type of scm_boot_guile is now void; the function does
823not return a value, and indeed, never returns at all.
824
f3b1485f
JB
825** The new function scm_shell makes it easy for user applications to
826process command-line arguments in a way that is compatible with the
827stand-alone guile interpreter (which is in turn compatible with SCSH,
828the Scheme shell).
829
830To use the scm_shell function, first initialize any guile modules
831linked into your application, and then call scm_shell with the values
832of ARGC and ARGV your `main' function received. scm_shell will adding
833any SCSH-style meta-arguments from the top of the script file to the
834argument vector, and then process the command-line arguments. This
835generally means loading a script file or starting up an interactive
836command interpreter. For details, see "Changes to the stand-alone
837interpreter" above.
838
095936d2
JB
839** The new functions scm_get_meta_args and scm_count_argv help you
840implement the SCSH-style meta-argument, `\'.
841
842char **scm_get_meta_args (int ARGC, char **ARGV)
843 If the second element of ARGV is a string consisting of a single
844 backslash character (i.e. "\\" in Scheme notation), open the file
845 named by the following argument, parse arguments from it, and return
846 the spliced command line. The returned array is terminated by a
847 null pointer.
848
849 For details of argument parsing, see above, under "guile now accepts
850 command-line arguments compatible with SCSH..."
851
852int scm_count_argv (char **ARGV)
853 Count the arguments in ARGV, assuming it is terminated by a null
854 pointer.
855
856For an example of how these functions might be used, see the source
857code for the function scm_shell in libguile/script.c.
858
859You will usually want to use scm_shell instead of calling this
860function yourself.
861
862** The new function scm_compile_shell_switches turns an array of
863command-line arguments into Scheme code to carry out the actions they
864describe. Given ARGC and ARGV, it returns a Scheme expression to
865evaluate, and calls scm_set_program_arguments to make any remaining
866command-line arguments available to the Scheme code. For example,
867given the following arguments:
868
869 -e main -s ekko a speckled gecko
870
871scm_set_program_arguments will return the following expression:
872
873 (begin (load "ekko") (main (command-line)) (quit))
874
875You will usually want to use scm_shell instead of calling this
876function yourself.
877
878** The function scm_shell_usage prints a usage message appropriate for
879an interpreter that uses scm_compile_shell_switches to handle its
880command-line arguments.
881
882void scm_shell_usage (int FATAL, char *MESSAGE)
883 Print a usage message to the standard error output. If MESSAGE is
884 non-zero, write it before the usage message, followed by a newline.
885 If FATAL is non-zero, exit the process, using FATAL as the
886 termination status. (If you want to be compatible with Guile,
887 always use 1 as the exit status when terminating due to command-line
888 usage problems.)
889
890You will usually want to use scm_shell instead of calling this
891function yourself.
48d224d7
JB
892
893** scm_eval_0str now returns SCM_UNSPECIFIED if the string contains no
095936d2
JB
894expressions. It used to return SCM_EOL. Earth-shattering.
895
896** The macros for declaring scheme objects in C code have been
897rearranged slightly. They are now:
898
899SCM_SYMBOL (C_NAME, SCHEME_NAME)
900 Declare a static SCM variable named C_NAME, and initialize it to
901 point to the Scheme symbol whose name is SCHEME_NAME. C_NAME should
902 be a C identifier, and SCHEME_NAME should be a C string.
903
904SCM_GLOBAL_SYMBOL (C_NAME, SCHEME_NAME)
905 Just like SCM_SYMBOL, but make C_NAME globally visible.
906
907SCM_VCELL (C_NAME, SCHEME_NAME)
908 Create a global variable at the Scheme level named SCHEME_NAME.
909 Declare a static SCM variable named C_NAME, and initialize it to
910 point to the Scheme variable's value cell.
911
912SCM_GLOBAL_VCELL (C_NAME, SCHEME_NAME)
913 Just like SCM_VCELL, but make C_NAME globally visible.
914
915The `guile-snarf' script writes initialization code for these macros
916to its standard output, given C source code as input.
917
918The SCM_GLOBAL macro is gone.
919
920** The scm_read_line and scm_read_line_x functions have been replaced
921by Scheme code based on the %read-delimited! procedure (known to C
922code as scm_read_delimited_x). See its description above for more
923information.
48d224d7 924
095936d2
JB
925** The function scm_sys_open has been renamed to scm_open. It now
926returns a port instead of an FD object.
ea00ecba 927
095936d2
JB
928* The dynamic linking support has changed. For more information, see
929libguile/DYNAMIC-LINKING.
ea00ecba 930
f7b47737
JB
931\f
932Guile 1.0b3
3065a62a 933
f3b1485f
JB
934User-visible changes from Thursday, September 5, 1996 until Guile 1.0
935(Sun 5 Jan 1997):
3065a62a 936
4b521edb 937* Changes to the 'guile' program:
3065a62a 938
4b521edb
JB
939** Guile now loads some new files when it starts up. Guile first
940searches the load path for init.scm, and loads it if found. Then, if
941Guile is not being used to execute a script, and the user's home
942directory contains a file named `.guile', Guile loads that.
c6486f8a 943
4b521edb 944** You can now use Guile as a shell script interpreter.
3065a62a
JB
945
946To paraphrase the SCSH manual:
947
948 When Unix tries to execute an executable file whose first two
949 characters are the `#!', it treats the file not as machine code to
950 be directly executed by the native processor, but as source code
951 to be executed by some interpreter. The interpreter to use is
952 specified immediately after the #! sequence on the first line of
953 the source file. The kernel reads in the name of the interpreter,
954 and executes that instead. It passes the interpreter the source
955 filename as its first argument, with the original arguments
956 following. Consult the Unix man page for the `exec' system call
957 for more information.
958
1a1945be
JB
959Now you can use Guile as an interpreter, using a mechanism which is a
960compatible subset of that provided by SCSH.
961
3065a62a
JB
962Guile now recognizes a '-s' command line switch, whose argument is the
963name of a file of Scheme code to load. It also treats the two
964characters `#!' as the start of a comment, terminated by `!#'. Thus,
965to make a file of Scheme code directly executable by Unix, insert the
966following two lines at the top of the file:
967
968#!/usr/local/bin/guile -s
969!#
970
971Guile treats the argument of the `-s' command-line switch as the name
972of a file of Scheme code to load, and treats the sequence `#!' as the
973start of a block comment, terminated by `!#'.
974
975For example, here's a version of 'echo' written in Scheme:
976
977#!/usr/local/bin/guile -s
978!#
979(let loop ((args (cdr (program-arguments))))
980 (if (pair? args)
981 (begin
982 (display (car args))
983 (if (pair? (cdr args))
984 (display " "))
985 (loop (cdr args)))))
986(newline)
987
988Why does `#!' start a block comment terminated by `!#', instead of the
989end of the line? That is the notation SCSH uses, and although we
990don't yet support the other SCSH features that motivate that choice,
991we would like to be backward-compatible with any existing Guile
3763761c
JB
992scripts once we do. Furthermore, if the path to Guile on your system
993is too long for your kernel, you can start the script with this
994horrible hack:
995
996#!/bin/sh
997exec /really/long/path/to/guile -s "$0" ${1+"$@"}
998!#
3065a62a
JB
999
1000Note that some very old Unix systems don't support the `#!' syntax.
1001
c6486f8a 1002
4b521edb 1003** You can now run Guile without installing it.
6685dc83
JB
1004
1005Previous versions of the interactive Guile interpreter (`guile')
1006couldn't start up unless Guile's Scheme library had been installed;
1007they used the value of the environment variable `SCHEME_LOAD_PATH'
1008later on in the startup process, but not to find the startup code
1009itself. Now Guile uses `SCHEME_LOAD_PATH' in all searches for Scheme
1010code.
1011
1012To run Guile without installing it, build it in the normal way, and
1013then set the environment variable `SCHEME_LOAD_PATH' to a
1014colon-separated list of directories, including the top-level directory
1015of the Guile sources. For example, if you unpacked Guile so that the
1016full filename of this NEWS file is /home/jimb/guile-1.0b3/NEWS, then
1017you might say
1018
1019 export SCHEME_LOAD_PATH=/home/jimb/my-scheme:/home/jimb/guile-1.0b3
1020
c6486f8a 1021
4b521edb
JB
1022** Guile's read-eval-print loop no longer prints #<unspecified>
1023results. If the user wants to see this, she can evaluate the
1024expression (assert-repl-print-unspecified #t), perhaps in her startup
48d224d7 1025file.
6685dc83 1026
4b521edb
JB
1027** Guile no longer shows backtraces by default when an error occurs;
1028however, it does display a message saying how to get one, and how to
1029request that they be displayed by default. After an error, evaluate
1030 (backtrace)
1031to see a backtrace, and
1032 (debug-enable 'backtrace)
1033to see them by default.
6685dc83 1034
6685dc83 1035
d9fb83d9 1036
4b521edb
JB
1037* Changes to Guile Scheme:
1038
1039** Guile now distinguishes between #f and the empty list.
1040
1041This is for compatibility with the IEEE standard, the (possibly)
1042upcoming Revised^5 Report on Scheme, and many extant Scheme
1043implementations.
1044
1045Guile used to have #f and '() denote the same object, to make Scheme's
1046type system more compatible with Emacs Lisp's. However, the change
1047caused too much trouble for Scheme programmers, and we found another
1048way to reconcile Emacs Lisp with Scheme that didn't require this.
1049
1050
1051** Guile's delq, delv, delete functions, and their destructive
c6486f8a
JB
1052counterparts, delq!, delv!, and delete!, now remove all matching
1053elements from the list, not just the first. This matches the behavior
1054of the corresponding Emacs Lisp functions, and (I believe) the Maclisp
1055functions which inspired them.
1056
1057I recognize that this change may break code in subtle ways, but it
1058seems best to make the change before the FSF's first Guile release,
1059rather than after.
1060
1061
4b521edb 1062** The compiled-library-path function has been deleted from libguile.
6685dc83 1063
4b521edb 1064** The facilities for loading Scheme source files have changed.
c6486f8a 1065
4b521edb 1066*** The variable %load-path now tells Guile which directories to search
6685dc83
JB
1067for Scheme code. Its value is a list of strings, each of which names
1068a directory.
1069
4b521edb
JB
1070*** The variable %load-extensions now tells Guile which extensions to
1071try appending to a filename when searching the load path. Its value
1072is a list of strings. Its default value is ("" ".scm").
1073
1074*** (%search-load-path FILENAME) searches the directories listed in the
1075value of the %load-path variable for a Scheme file named FILENAME,
1076with all the extensions listed in %load-extensions. If it finds a
1077match, then it returns its full filename. If FILENAME is absolute, it
1078returns it unchanged. Otherwise, it returns #f.
6685dc83 1079
4b521edb
JB
1080%search-load-path will not return matches that refer to directories.
1081
1082*** (primitive-load FILENAME :optional CASE-INSENSITIVE-P SHARP)
1083uses %seach-load-path to find a file named FILENAME, and loads it if
1084it finds it. If it can't read FILENAME for any reason, it throws an
1085error.
6685dc83
JB
1086
1087The arguments CASE-INSENSITIVE-P and SHARP are interpreted as by the
4b521edb
JB
1088`read' function.
1089
1090*** load uses the same searching semantics as primitive-load.
1091
1092*** The functions %try-load, try-load-with-path, %load, load-with-path,
1093basic-try-load-with-path, basic-load-with-path, try-load-module-with-
1094path, and load-module-with-path have been deleted. The functions
1095above should serve their purposes.
1096
1097*** If the value of the variable %load-hook is a procedure,
1098`primitive-load' applies its value to the name of the file being
1099loaded (without the load path directory name prepended). If its value
1100is #f, it is ignored. Otherwise, an error occurs.
1101
1102This is mostly useful for printing load notification messages.
1103
1104
1105** The function `eval!' is no longer accessible from the scheme level.
1106We can't allow operations which introduce glocs into the scheme level,
1107because Guile's type system can't handle these as data. Use `eval' or
1108`read-and-eval!' (see below) as replacement.
1109
1110** The new function read-and-eval! reads an expression from PORT,
1111evaluates it, and returns the result. This is more efficient than
1112simply calling `read' and `eval', since it is not necessary to make a
1113copy of the expression for the evaluator to munge.
1114
1115Its optional arguments CASE_INSENSITIVE_P and SHARP are interpreted as
1116for the `read' function.
1117
1118
1119** The function `int?' has been removed; its definition was identical
1120to that of `integer?'.
1121
1122** The functions `<?', `<?', `<=?', `=?', `>?', and `>=?'. Code should
1123use the R4RS names for these functions.
1124
1125** The function object-properties no longer returns the hash handle;
1126it simply returns the object's property list.
1127
1128** Many functions have been changed to throw errors, instead of
1129returning #f on failure. The point of providing exception handling in
1130the language is to simplify the logic of user code, but this is less
1131useful if Guile's primitives don't throw exceptions.
1132
1133** The function `fileno' has been renamed from `%fileno'.
1134
1135** The function primitive-mode->fdes returns #t or #f now, not 1 or 0.
1136
1137
1138* Changes to Guile's C interface:
1139
1140** The library's initialization procedure has been simplified.
1141scm_boot_guile now has the prototype:
1142
1143void scm_boot_guile (int ARGC,
1144 char **ARGV,
1145 void (*main_func) (),
1146 void *closure);
1147
1148scm_boot_guile calls MAIN_FUNC, passing it CLOSURE, ARGC, and ARGV.
1149MAIN_FUNC should do all the work of the program (initializing other
1150packages, reading user input, etc.) before returning. When MAIN_FUNC
1151returns, call exit (0); this function never returns. If you want some
1152other exit value, MAIN_FUNC may call exit itself.
1153
1154scm_boot_guile arranges for program-arguments to return the strings
1155given by ARGC and ARGV. If MAIN_FUNC modifies ARGC/ARGV, should call
1156scm_set_program_arguments with the final list, so Scheme code will
1157know which arguments have been processed.
1158
1159scm_boot_guile establishes a catch-all catch handler which prints an
1160error message and exits the process. This means that Guile exits in a
1161coherent way when system errors occur and the user isn't prepared to
1162handle it. If the user doesn't like this behavior, they can establish
1163their own universal catcher in MAIN_FUNC to shadow this one.
1164
1165Why must the caller do all the real work from MAIN_FUNC? The garbage
1166collector assumes that all local variables of type SCM will be above
1167scm_boot_guile's stack frame on the stack. If you try to manipulate
1168SCM values after this function returns, it's the luck of the draw
1169whether the GC will be able to find the objects you allocate. So,
1170scm_boot_guile function exits, rather than returning, to discourage
1171people from making that mistake.
1172
1173The IN, OUT, and ERR arguments were removed; there are other
1174convenient ways to override these when desired.
1175
1176The RESULT argument was deleted; this function should never return.
1177
1178The BOOT_CMD argument was deleted; the MAIN_FUNC argument is more
1179general.
1180
1181
1182** Guile's header files should no longer conflict with your system's
1183header files.
1184
1185In order to compile code which #included <libguile.h>, previous
1186versions of Guile required you to add a directory containing all the
1187Guile header files to your #include path. This was a problem, since
1188Guile's header files have names which conflict with many systems'
1189header files.
1190
1191Now only <libguile.h> need appear in your #include path; you must
1192refer to all Guile's other header files as <libguile/mumble.h>.
1193Guile's installation procedure puts libguile.h in $(includedir), and
1194the rest in $(includedir)/libguile.
1195
1196
1197** Two new C functions, scm_protect_object and scm_unprotect_object,
1198have been added to the Guile library.
1199
1200scm_protect_object (OBJ) protects OBJ from the garbage collector.
1201OBJ will not be freed, even if all other references are dropped,
1202until someone does scm_unprotect_object (OBJ). Both functions
1203return OBJ.
1204
1205Note that calls to scm_protect_object do not nest. You can call
1206scm_protect_object any number of times on a given object, and the
1207next call to scm_unprotect_object will unprotect it completely.
1208
1209Basically, scm_protect_object and scm_unprotect_object just
1210maintain a list of references to things. Since the GC knows about
1211this list, all objects it mentions stay alive. scm_protect_object
1212adds its argument to the list; scm_unprotect_object remove its
1213argument from the list.
1214
1215
1216** scm_eval_0str now returns the value of the last expression
1217evaluated.
1218
1219** The new function scm_read_0str reads an s-expression from a
1220null-terminated string, and returns it.
1221
1222** The new function `scm_stdio_to_port' converts a STDIO file pointer
1223to a Scheme port object.
1224
1225** The new function `scm_set_program_arguments' allows C code to set
1226the value teruturned by the Scheme `program-arguments' function.
6685dc83 1227
6685dc83 1228\f
1a1945be
JB
1229Older changes:
1230
1231* Guile no longer includes sophisticated Tcl/Tk support.
1232
1233The old Tcl/Tk support was unsatisfying to us, because it required the
1234user to link against the Tcl library, as well as Tk and Guile. The
1235interface was also un-lispy, in that it preserved Tcl/Tk's practice of
1236referring to widgets by names, rather than exporting widgets to Scheme
1237code as a special datatype.
1238
1239In the Usenix Tk Developer's Workshop held in July 1996, the Tcl/Tk
1240maintainers described some very interesting changes in progress to the
1241Tcl/Tk internals, which would facilitate clean interfaces between lone
1242Tk and other interpreters --- even for garbage-collected languages
1243like Scheme. They expected the new Tk to be publicly available in the
1244fall of 1996.
1245
1246Since it seems that Guile might soon have a new, cleaner interface to
1247lone Tk, and that the old Guile/Tk glue code would probably need to be
1248completely rewritten, we (Jim Blandy and Richard Stallman) have
1249decided not to support the old code. We'll spend the time instead on
1250a good interface to the newer Tk, as soon as it is available.
5c54da76 1251
8512dea6 1252Until then, gtcltk-lib provides trivial, low-maintenance functionality.
deb95d71 1253
5c54da76
JB
1254\f
1255Copyright information:
1256
ea00ecba 1257Copyright (C) 1996,1997 Free Software Foundation, Inc.
5c54da76
JB
1258
1259 Permission is granted to anyone to make or distribute verbatim copies
1260 of this document as received, in any medium, provided that the
1261 copyright notice and this permission notice are preserved,
1262 thus giving the recipient permission to redistribute in turn.
1263
1264 Permission is granted to distribute modified versions
1265 of this document, or of portions of it,
1266 under the above conditions, provided also that they
1267 carry prominent notices stating who last changed them.
1268
48d224d7
JB
1269\f
1270Local variables:
1271mode: outline
1272paragraph-separate: "[ \f]*$"
1273end:
1274